Remove all gogoproto extensions

This commit removes the following gogoproto extensions;

- gogoproto.nullable
- gogoproto.customename
- gogoproto.unmarshaller_all
- gogoproto.stringer_all
- gogoproto.sizer_all
- gogoproto.marshaler_all
- gogoproto.goproto_unregonized_all
- gogoproto.goproto_stringer_all
- gogoproto.goproto_getters_all

None of them are supported by Google's toolchain (see #6564).

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato
2022-04-20 03:30:52 +00:00
parent 9b33526ef6
commit 237ef0de9b
48 changed files with 1301 additions and 1246 deletions

View File

@@ -165,7 +165,7 @@ func (m *InfoRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_InfoRequest proto.InternalMessageInfo
type InfoResponse struct {
Info Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
Info *Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -204,7 +204,7 @@ func (m *InfoResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_InfoResponse proto.InternalMessageInfo
type UpdateRequest struct {
Info Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
Info *Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
// UpdateMask specifies which fields to perform the update on. If empty,
// the operation applies to all fields.
//
@@ -250,7 +250,7 @@ func (m *UpdateRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_UpdateRequest proto.InternalMessageInfo
type UpdateResponse struct {
Info Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
Info *Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -338,7 +338,7 @@ func (m *ListContentRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ListContentRequest proto.InternalMessageInfo
type ListContentResponse struct {
Info []Info `protobuf:"bytes,1,rep,name=info,proto3" json:"info"`
Info []*Info `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -668,10 +668,10 @@ func (m *ListStatusesRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ListStatusesRequest proto.InternalMessageInfo
type ListStatusesResponse struct {
Statuses []Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Statuses []*Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListStatusesResponse) Reset() { *m = ListStatusesResponse{} }
@@ -931,68 +931,68 @@ func init() {
}
var fileDescriptor_468430ba3e400391 = []byte{
// 976 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcd, 0x8e, 0xdb, 0x44,
0x1c, 0xdf, 0xb1, 0x1d, 0xef, 0xe6, 0x9f, 0x6d, 0x15, 0xcd, 0x46, 0x55, 0x64, 0xa4, 0x34, 0x58,
0x80, 0x22, 0x4a, 0x9d, 0x6d, 0xda, 0x03, 0xa5, 0x12, 0x90, 0x2e, 0x5b, 0x75, 0xa5, 0x2e, 0x20,
0x37, 0x65, 0x51, 0x2f, 0x65, 0x92, 0x4c, 0x82, 0xb5, 0x89, 0x9d, 0x7a, 0x26, 0x11, 0xcb, 0x89,
0x07, 0xe0, 0xce, 0x53, 0xf0, 0x0a, 0x9c, 0xf7, 0xc8, 0x11, 0x71, 0xa8, 0xd8, 0x3c, 0x09, 0x9a,
0xf1, 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78, 0xab, 0x3b, 0xd0, 0x7a, 0xb8, 0x15, 0x27, 0x52, 0x78, 0x88, 0xf0, 0x77, 0x60, 0x46,
0x9b, 0x0c, 0x3f, 0x4a, 0x13, 0xb0, 0x6e, 0xe3, 0x59, 0x77, 0x56, 0x2a, 0xe9, 0x58, 0x7c, 0x36,
0x0a, 0x57, 0xc4, 0x5e, 0x4a, 0x77, 0x65, 0x75, 0x2f, 0xa6, 0xbb, 0xb2, 0x66, 0xe3, 0x1d, 0x22,
0x91, 0x26, 0xb5, 0xc6, 0xee, 0x67, 0x9c, 0xd7, 0x59, 0xd3, 0xb4, 0xb4, 0x1e, 0x2e, 0x60, 0x7f,
0x71, 0x5a, 0xe3, 0x4c, 0xa1, 0x5f, 0x5a, 0x06, 0xd6, 0xa3, 0xed, 0x48, 0x4a, 0xf5, 0x04, 0x72,
0xb2, 0x53, 0xd2, 0x75, 0xae, 0x19, 0x79, 0xe9, 0x3a, 0xd7, 0x0d, 0xb0, 0x1a, 0x3a, 0x44, 0xf8,
0x14, 0x72, 0xb2, 0x87, 0x71, 0x6a, 0xe7, 0x2c, 0xb6, 0xfa, 0xa6, 0xea, 0x78, 0xfa, 0xfa, 0xf2,
0xaa, 0xb2, 0xf3, 0xd7, 0x55, 0x65, 0xe7, 0x97, 0x69, 0x05, 0x5d, 0x4e, 0x2b, 0xe8, 0xcf, 0x69,
0x05, 0xfd, 0x33, 0xad, 0xa0, 0xd7, 0x5f, 0x5e, 0xf7, 0x6f, 0xd4, 0x13, 0x75, 0x6c, 0x9b, 0x52,
0xd7, 0xc3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x54, 0x3b, 0xab, 0x0f, 0x91, 0x0d, 0x00, 0x00,
// 971 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4f, 0x6f, 0x1b, 0x45,
0x14, 0xcf, 0xec, 0xda, 0x9b, 0xf8,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, 0xa2,
0x8b, 0x2f, 0x6f, 0xfa, 0x47, 0xe9, 0xb1, 0x3e, 0x76, 0x2c, 0x69, 0xeb, 0xfe, 0xbf, 0x01, 0x00,
0x00, 0xff, 0xff, 0x25, 0xc9, 0x15, 0xb2, 0x73, 0x0d, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -1678,16 +1678,18 @@ func (m *InfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
{
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Info != nil {
{
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContent(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContent(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1727,16 +1729,18 @@ func (m *UpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
{
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Info != nil {
{
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContent(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContent(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1764,16 +1768,18 @@ func (m *UpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
{
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Info != nil {
{
size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContent(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContent(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -2453,8 +2459,10 @@ func (m *InfoResponse) Size() (n int) {
}
var l int
_ = l
l = m.Info.Size()
n += 1 + l + sovContent(uint64(l))
if m.Info != nil {
l = m.Info.Size()
n += 1 + l + sovContent(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
@@ -2467,8 +2475,10 @@ func (m *UpdateRequest) Size() (n int) {
}
var l int
_ = l
l = m.Info.Size()
n += 1 + l + sovContent(uint64(l))
if m.Info != nil {
l = m.Info.Size()
n += 1 + l + sovContent(uint64(l))
}
if m.UpdateMask != nil {
l = m.UpdateMask.Size()
n += 1 + l + sovContent(uint64(l))
@@ -2485,8 +2495,10 @@ func (m *UpdateResponse) Size() (n int) {
}
var l int
_ = l
l = m.Info.Size()
n += 1 + l + sovContent(uint64(l))
if m.Info != nil {
l = m.Info.Size()
n += 1 + l + sovContent(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
@@ -2825,7 +2837,7 @@ func (this *InfoResponse) String() string {
return "nil"
}
s := strings.Join([]string{`&InfoResponse{`,
`Info:` + strings.Replace(strings.Replace(this.Info.String(), "Info", "Info", 1), `&`, ``, 1) + `,`,
`Info:` + strings.Replace(this.Info.String(), "Info", "Info", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
}, "")
@@ -2836,7 +2848,7 @@ func (this *UpdateRequest) String() string {
return "nil"
}
s := strings.Join([]string{`&UpdateRequest{`,
`Info:` + strings.Replace(strings.Replace(this.Info.String(), "Info", "Info", 1), `&`, ``, 1) + `,`,
`Info:` + strings.Replace(this.Info.String(), "Info", "Info", 1) + `,`,
`UpdateMask:` + strings.Replace(fmt.Sprintf("%v", this.UpdateMask), "FieldMask", "types.FieldMask", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
@@ -2848,7 +2860,7 @@ func (this *UpdateResponse) String() string {
return "nil"
}
s := strings.Join([]string{`&UpdateResponse{`,
`Info:` + strings.Replace(strings.Replace(this.Info.String(), "Info", "Info", 1), `&`, ``, 1) + `,`,
`Info:` + strings.Replace(this.Info.String(), "Info", "Info", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
}, "")
@@ -2869,9 +2881,9 @@ func (this *ListContentResponse) String() string {
if this == nil {
return "nil"
}
repeatedStringForInfo := "[]Info{"
repeatedStringForInfo := "[]*Info{"
for _, f := range this.Info {
repeatedStringForInfo += strings.Replace(strings.Replace(f.String(), "Info", "Info", 1), `&`, ``, 1) + ","
repeatedStringForInfo += strings.Replace(f.String(), "Info", "Info", 1) + ","
}
repeatedStringForInfo += "}"
s := strings.Join([]string{`&ListContentResponse{`,
@@ -2970,9 +2982,9 @@ func (this *ListStatusesResponse) String() string {
if this == nil {
return "nil"
}
repeatedStringForStatuses := "[]Status{"
repeatedStringForStatuses := "[]*Status{"
for _, f := range this.Statuses {
repeatedStringForStatuses += strings.Replace(strings.Replace(f.String(), "Status", "Status", 1), `&`, ``, 1) + ","
repeatedStringForStatuses += strings.Replace(f.String(), "Status", "Status", 1) + ","
}
repeatedStringForStatuses += "}"
s := strings.Join([]string{`&ListStatusesResponse{`,
@@ -3486,6 +3498,9 @@ func (m *InfoResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Info == nil {
m.Info = &Info{}
}
if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3570,6 +3585,9 @@ func (m *UpdateRequest) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Info == nil {
m.Info = &Info{}
}
if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3690,6 +3708,9 @@ func (m *UpdateResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Info == nil {
m.Info = &Info{}
}
if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3857,7 +3878,7 @@ func (m *ListContentResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Info = append(m.Info, Info{})
m.Info = append(m.Info, &Info{})
if err := m.Info[len(m.Info)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -4728,7 +4749,7 @@ func (m *ListStatusesResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Statuses = append(m.Statuses, Status{})
m.Statuses = append(m.Statuses, &Status{})
if err := m.Statuses[len(m.Statuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}

View File

@@ -114,11 +114,11 @@ message InfoRequest {
}
message InfoResponse {
Info info = 1 [(gogoproto.nullable) = false];
Info info = 1;
}
message UpdateRequest {
Info info = 1 [(gogoproto.nullable) = false];
Info info = 1;
// UpdateMask specifies which fields to perform the update on. If empty,
// the operation applies to all fields.
@@ -130,7 +130,7 @@ message UpdateRequest {
}
message UpdateResponse {
Info info = 1 [(gogoproto.nullable) = false];
Info info = 1;
}
message ListContentRequest {
@@ -148,7 +148,7 @@ message ListContentRequest {
}
message ListContentResponse {
repeated Info info = 1 [(gogoproto.nullable) = false];
repeated Info info = 1;
}
message DeleteContentRequest {
@@ -201,7 +201,7 @@ message ListStatusesRequest {
}
message ListStatusesResponse {
repeated Status statuses = 1 [(gogoproto.nullable) = false];
repeated Status statuses = 1;
}
// WriteAction defines the behavior of a WriteRequest.