| // Copyright 2020 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: internal/testprotos/required/required.proto |
| |
| package required |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| ) |
| |
| type Int32 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *int32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Int32) Reset() { |
| *x = Int32{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Int32) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Int32) ProtoMessage() {} |
| |
| func (x *Int32) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Int32.ProtoReflect.Descriptor instead. |
| func (*Int32) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Int32) GetV() int32 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Int64 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *int64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Int64) Reset() { |
| *x = Int64{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Int64) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Int64) ProtoMessage() {} |
| |
| func (x *Int64) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Int64.ProtoReflect.Descriptor instead. |
| func (*Int64) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *Int64) GetV() int64 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Uint32 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *uint32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Uint32) Reset() { |
| *x = Uint32{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Uint32) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Uint32) ProtoMessage() {} |
| |
| func (x *Uint32) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[2] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Uint32.ProtoReflect.Descriptor instead. |
| func (*Uint32) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *Uint32) GetV() uint32 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Uint64 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *uint64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Uint64) Reset() { |
| *x = Uint64{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Uint64) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Uint64) ProtoMessage() {} |
| |
| func (x *Uint64) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[3] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Uint64.ProtoReflect.Descriptor instead. |
| func (*Uint64) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *Uint64) GetV() uint64 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Sint32 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *int32 `protobuf:"zigzag32,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Sint32) Reset() { |
| *x = Sint32{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Sint32) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Sint32) ProtoMessage() {} |
| |
| func (x *Sint32) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[4] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Sint32.ProtoReflect.Descriptor instead. |
| func (*Sint32) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *Sint32) GetV() int32 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Sint64 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *int64 `protobuf:"zigzag64,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Sint64) Reset() { |
| *x = Sint64{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Sint64) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Sint64) ProtoMessage() {} |
| |
| func (x *Sint64) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[5] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Sint64.ProtoReflect.Descriptor instead. |
| func (*Sint64) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *Sint64) GetV() int64 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Fixed32 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *uint32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Fixed32) Reset() { |
| *x = Fixed32{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Fixed32) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Fixed32) ProtoMessage() {} |
| |
| func (x *Fixed32) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[6] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Fixed32.ProtoReflect.Descriptor instead. |
| func (*Fixed32) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *Fixed32) GetV() uint32 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Fixed64 struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *uint64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Fixed64) Reset() { |
| *x = Fixed64{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Fixed64) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Fixed64) ProtoMessage() {} |
| |
| func (x *Fixed64) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[7] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Fixed64.ProtoReflect.Descriptor instead. |
| func (*Fixed64) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *Fixed64) GetV() uint64 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Float struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *float32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Float) Reset() { |
| *x = Float{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Float) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Float) ProtoMessage() {} |
| |
| func (x *Float) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[8] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Float.ProtoReflect.Descriptor instead. |
| func (*Float) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{8} |
| } |
| |
| func (x *Float) GetV() float32 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Double struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *float64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Double) Reset() { |
| *x = Double{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Double) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Double) ProtoMessage() {} |
| |
| func (x *Double) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[9] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Double.ProtoReflect.Descriptor instead. |
| func (*Double) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *Double) GetV() float64 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| type Bool struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *bool `protobuf:"varint,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Bool) Reset() { |
| *x = Bool{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Bool) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Bool) ProtoMessage() {} |
| |
| func (x *Bool) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[10] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Bool.ProtoReflect.Descriptor instead. |
| func (*Bool) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{10} |
| } |
| |
| func (x *Bool) GetV() bool { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return false |
| } |
| |
| type String struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *string `protobuf:"bytes,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *String) Reset() { |
| *x = String{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *String) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*String) ProtoMessage() {} |
| |
| func (x *String) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[11] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use String.ProtoReflect.Descriptor instead. |
| func (*String) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (x *String) GetV() string { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return "" |
| } |
| |
| type Bytes struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V []byte `protobuf:"bytes,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Bytes) Reset() { |
| *x = Bytes{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Bytes) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Bytes) ProtoMessage() {} |
| |
| func (x *Bytes) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[12] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Bytes.ProtoReflect.Descriptor instead. |
| func (*Bytes) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *Bytes) GetV() []byte { |
| if x != nil { |
| return x.V |
| } |
| return nil |
| } |
| |
| type Message struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *Message_M `protobuf:"bytes,1,req,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Message) Reset() { |
| *x = Message{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[13] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Message) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Message) ProtoMessage() {} |
| |
| func (x *Message) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[13] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Message.ProtoReflect.Descriptor instead. |
| func (*Message) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{13} |
| } |
| |
| func (x *Message) GetV() *Message_M { |
| if x != nil { |
| return x.V |
| } |
| return nil |
| } |
| |
| type Group struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Group *Group_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Group) Reset() { |
| *x = Group{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[14] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Group) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Group) ProtoMessage() {} |
| |
| func (x *Group) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[14] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Group.ProtoReflect.Descriptor instead. |
| func (*Group) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{14} |
| } |
| |
| func (x *Group) GetGroup() *Group_Group { |
| if x != nil { |
| return x.Group |
| } |
| return nil |
| } |
| |
| type Message_M struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Message_M) Reset() { |
| *x = Message_M{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Message_M) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Message_M) ProtoMessage() {} |
| |
| func (x *Message_M) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[15] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Message_M.ProtoReflect.Descriptor instead. |
| func (*Message_M) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{13, 0} |
| } |
| |
| type Group_Group struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| V *int32 `protobuf:"varint,1,opt,name=v" json:"v,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Group_Group) Reset() { |
| *x = Group_Group{} |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[16] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Group_Group) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Group_Group) ProtoMessage() {} |
| |
| func (x *Group_Group) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_required_required_proto_msgTypes[16] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Group_Group.ProtoReflect.Descriptor instead. |
| func (*Group_Group) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{14, 0} |
| } |
| |
| func (x *Group_Group) GetV() int32 { |
| if x != nil && x.V != nil { |
| return *x.V |
| } |
| return 0 |
| } |
| |
| var File_internal_testprotos_required_required_proto protoreflect.FileDescriptor |
| |
| const file_internal_testprotos_required_required_proto_rawDesc = "" + |
| "\n" + |
| "+internal/testprotos/required/required.proto\x12\x1agoproto.proto.testrequired\"\x1c\n" + |
| "\x05Int32\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x05B\x05\xaa\x01\x02\b\x03R\x01v\"\x1c\n" + |
| "\x05Int64\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x03B\x05\xaa\x01\x02\b\x03R\x01v\"\x1d\n" + |
| "\x06Uint32\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\rB\x05\xaa\x01\x02\b\x03R\x01v\"\x1d\n" + |
| "\x06Uint64\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x04B\x05\xaa\x01\x02\b\x03R\x01v\"\x1d\n" + |
| "\x06Sint32\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x11B\x05\xaa\x01\x02\b\x03R\x01v\"\x1d\n" + |
| "\x06Sint64\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x12B\x05\xaa\x01\x02\b\x03R\x01v\"\x1e\n" + |
| "\aFixed32\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\aB\x05\xaa\x01\x02\b\x03R\x01v\"\x1e\n" + |
| "\aFixed64\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x06B\x05\xaa\x01\x02\b\x03R\x01v\"\x1c\n" + |
| "\x05Float\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x02B\x05\xaa\x01\x02\b\x03R\x01v\"\x1d\n" + |
| "\x06Double\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\x01B\x05\xaa\x01\x02\b\x03R\x01v\"\x1b\n" + |
| "\x04Bool\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\bB\x05\xaa\x01\x02\b\x03R\x01v\"\x1d\n" + |
| "\x06String\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\tB\x05\xaa\x01\x02\b\x03R\x01v\"\x1c\n" + |
| "\x05Bytes\x12\x13\n" + |
| "\x01v\x18\x01 \x01(\fB\x05\xaa\x01\x02\b\x03R\x01v\"J\n" + |
| "\aMessage\x12:\n" + |
| "\x01v\x18\x01 \x01(\v2%.goproto.proto.testrequired.Message.MB\x05\xaa\x01\x02\b\x03R\x01v\x1a\x03\n" + |
| "\x01M\"f\n" + |
| "\x05Group\x12F\n" + |
| "\x05group\x18\x01 \x01(\v2'.goproto.proto.testrequired.Group.GroupB\a\xaa\x01\x04\b\x03(\x02R\x05group\x1a\x15\n" + |
| "\x05Group\x12\f\n" + |
| "\x01v\x18\x01 \x01(\x05R\x01vB9Z7google.golang.org/protobuf/internal/testprotos/requiredb\beditionsp\xe8\a" |
| |
| var ( |
| file_internal_testprotos_required_required_proto_rawDescOnce sync.Once |
| file_internal_testprotos_required_required_proto_rawDescData []byte |
| ) |
| |
| func file_internal_testprotos_required_required_proto_rawDescGZIP() []byte { |
| file_internal_testprotos_required_required_proto_rawDescOnce.Do(func() { |
| file_internal_testprotos_required_required_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_testprotos_required_required_proto_rawDesc), len(file_internal_testprotos_required_required_proto_rawDesc))) |
| }) |
| return file_internal_testprotos_required_required_proto_rawDescData |
| } |
| |
| var file_internal_testprotos_required_required_proto_msgTypes = make([]protoimpl.MessageInfo, 17) |
| var file_internal_testprotos_required_required_proto_goTypes = []any{ |
| (*Int32)(nil), // 0: goproto.proto.testrequired.Int32 |
| (*Int64)(nil), // 1: goproto.proto.testrequired.Int64 |
| (*Uint32)(nil), // 2: goproto.proto.testrequired.Uint32 |
| (*Uint64)(nil), // 3: goproto.proto.testrequired.Uint64 |
| (*Sint32)(nil), // 4: goproto.proto.testrequired.Sint32 |
| (*Sint64)(nil), // 5: goproto.proto.testrequired.Sint64 |
| (*Fixed32)(nil), // 6: goproto.proto.testrequired.Fixed32 |
| (*Fixed64)(nil), // 7: goproto.proto.testrequired.Fixed64 |
| (*Float)(nil), // 8: goproto.proto.testrequired.Float |
| (*Double)(nil), // 9: goproto.proto.testrequired.Double |
| (*Bool)(nil), // 10: goproto.proto.testrequired.Bool |
| (*String)(nil), // 11: goproto.proto.testrequired.String |
| (*Bytes)(nil), // 12: goproto.proto.testrequired.Bytes |
| (*Message)(nil), // 13: goproto.proto.testrequired.Message |
| (*Group)(nil), // 14: goproto.proto.testrequired.Group |
| (*Message_M)(nil), // 15: goproto.proto.testrequired.Message.M |
| (*Group_Group)(nil), // 16: goproto.proto.testrequired.Group.Group |
| } |
| var file_internal_testprotos_required_required_proto_depIdxs = []int32{ |
| 15, // 0: goproto.proto.testrequired.Message.v:type_name -> goproto.proto.testrequired.Message.M |
| 16, // 1: goproto.proto.testrequired.Group.group:type_name -> goproto.proto.testrequired.Group.Group |
| 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_internal_testprotos_required_required_proto_init() } |
| func file_internal_testprotos_required_required_proto_init() { |
| if File_internal_testprotos_required_required_proto != nil { |
| return |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_testprotos_required_required_proto_rawDesc), len(file_internal_testprotos_required_required_proto_rawDesc)), |
| NumEnums: 0, |
| NumMessages: 17, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_internal_testprotos_required_required_proto_goTypes, |
| DependencyIndexes: file_internal_testprotos_required_required_proto_depIdxs, |
| MessageInfos: file_internal_testprotos_required_required_proto_msgTypes, |
| }.Build() |
| File_internal_testprotos_required_required_proto = out.File |
| file_internal_testprotos_required_required_proto_goTypes = nil |
| file_internal_testprotos_required_required_proto_depIdxs = nil |
| } |