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

@@ -78,7 +78,7 @@ type Container struct {
// that should be unique against other extensions. When updating extension
// data, one should only update the specified extension using field paths
// to select a specific map key.
Extensions map[string]types.Any `protobuf:"bytes,10,rep,name=extensions,proto3" json:"extensions" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Extensions map[string]*types.Any `protobuf:"bytes,10,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Sandbox ID this container belongs to.
Sandbox string `protobuf:"bytes,11,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@@ -200,10 +200,10 @@ func (m *GetContainerRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_GetContainerRequest proto.InternalMessageInfo
type GetContainerResponse struct {
Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetContainerResponse) Reset() { *m = GetContainerResponse{} }
@@ -288,10 +288,10 @@ func (m *ListContainersRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ListContainersRequest proto.InternalMessageInfo
type ListContainersResponse struct {
Containers []Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListContainersResponse) Reset() { *m = ListContainersResponse{} }
@@ -327,10 +327,10 @@ func (m *ListContainersResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_ListContainersResponse proto.InternalMessageInfo
type CreateContainerRequest struct {
Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateContainerRequest) Reset() { *m = CreateContainerRequest{} }
@@ -366,10 +366,10 @@ func (m *CreateContainerRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreateContainerRequest proto.InternalMessageInfo
type CreateContainerResponse struct {
Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateContainerResponse) Reset() { *m = CreateContainerResponse{} }
@@ -413,7 +413,7 @@ type UpdateContainerRequest struct {
// Container provides the target values, as declared by the mask, for the update.
//
// The ID field must be set.
Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"`
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
// UpdateMask specifies which fields to perform the update on. If empty,
// the operation applies to all fields.
UpdateMask *types.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
@@ -455,10 +455,10 @@ func (m *UpdateContainerRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_UpdateContainerRequest proto.InternalMessageInfo
type UpdateContainerResponse struct {
Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateContainerResponse) Reset() { *m = UpdateContainerResponse{} }
@@ -573,7 +573,7 @@ var xxx_messageInfo_ListContainerMessage proto.InternalMessageInfo
func init() {
proto.RegisterType((*Container)(nil), "containerd.services.containers.v1.Container")
proto.RegisterMapType((map[string]types.Any)(nil), "containerd.services.containers.v1.Container.ExtensionsEntry")
proto.RegisterMapType((map[string]*types.Any)(nil), "containerd.services.containers.v1.Container.ExtensionsEntry")
proto.RegisterMapType((map[string]string)(nil), "containerd.services.containers.v1.Container.LabelsEntry")
proto.RegisterType((*Container_Runtime)(nil), "containerd.services.containers.v1.Container.Runtime")
proto.RegisterType((*GetContainerRequest)(nil), "containerd.services.containers.v1.GetContainerRequest")
@@ -593,59 +593,58 @@ func init() {
}
var fileDescriptor_311afb8e15951042 = []byte{
// 820 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcb, 0x6e, 0x13, 0x49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 0x81, 0x3f, 0x26, 0x22, 0x30, 0xda, 0x4a, 0x6a, 0x7e, 0xc8, 0xf9, 0xdb, 0xec,
0x7b, 0x70, 0xe3, 0xcd, 0xf9, 0x65, 0x61, 0xe6, 0xeb, 0x65, 0x61, 0xe6, 0x43, 0xaf, 0x20, 0x9d,
0xf7, 0x0a, 0xd2, 0x97, 0x5e, 0x41, 0xfa, 0xd6, 0x2b, 0x48, 0xaf, 0x76, 0x6e, 0xf1, 0x89, 0xbb,
0x16, 0x45, 0x35, 0x99, 0x77, 0x7c, 0xf0, 0x23, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x68, 0x0f, 0x41,
0x33, 0x0b, 0x00, 0x00,
// 806 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4b, 0x6f, 0xda, 0x58,
0x14, 0x8e, 0x81, 0x98, 0xe1, 0x30, 0xd2, 0x8c, 0xee, 0x30, 0x8c, 0xc7, 0x23, 0x11, 0xc2, 0x0a,
0x8d, 0x5a, 0x93, 0xd0, 0xaa, 0x79, 0x75, 0x93, 0xb7, 0xda, 0x92, 0xaa, 0x72, 0xda, 0x4d, 0x5b,
0x29, 0x35, 0xf8, 0x40, 0xac, 0xe0, 0x47, 0x7d, 0x2f, 0x28, 0xa8, 0x8b, 0xb4, 0xbf, 0xa2, 0xeb,
0xfe, 0x9b, 0x2c, 0xbb, 0xec, 0xaa, 0x6a, 0x50, 0x7f, 0x48, 0xe5, 0x6b, 0x1b, 0x3b, 0x40, 0x12,
0xc8, 0x63, 0x77, 0x0f, 0xf7, 0x7c, 0xf7, 0x7c, 0xe7, 0x3b, 0xf7, 0xbb, 0x18, 0x6a, 0x2d, 0x83,
0x1d, 0x76, 0xea, 0x4a, 0xc3, 0x36, 0x2b, 0x0d, 0xdb, 0x62, 0x9a, 0x61, 0xa1, 0xab, 0xc7, 0x97,
0x9a, 0x63, 0x54, 0x28,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d0,
0x1f, 0x20, 0xe5, 0xb5, 0x4a, 0x26, 0xf9, 0x3b, 0x1c, 0x6b, 0x5c, 0x79, 0xe5, 0x1a, 0xc8, 0xa0,
0xf8, 0x27, 0x01, 0xc0, 0xdb, 0xda, 0x67, 0x2e, 0x6a, 0xe6, 0x0d, 0x38, 0x2c, 0x4d, 0x8b, 0x0c,
0x26, 0xba, 0x20, 0x90, 0x13, 0x10, 0x7d, 0x3f, 0x92, 0x49, 0x1a, 0x19, 0xff, 0x40, 0xc8, 0xab,
0xd7, 0x81, 0x06, 0x22, 0x9c, 0x80, 0xe8, 0xbb, 0x60, 0x22, 0x02, 0xe3, 0x3d, 0x3d, 0x11, 0x81,
0x8b, 0xbc, 0xf6, 0x06, 0x44, 0xdf, 0x1f, 0x13, 0x11, 0x18, 0x6f, 0x25, 0x39, 0x3f, 0xe2, 0xf9,
0x6d, 0xef, 0x2b, 0x6f, 0xe3, 0xdd, 0xe9, 0x59, 0x61, 0xe6, 0xdb, 0x59, 0x61, 0xe6, 0x63, 0xbf,
0x20, 0x9c, 0xf6, 0x0b, 0xc2, 0xd7, 0x7e, 0x41, 0xf8, 0xd1, 0x2f, 0x08, 0xaf, 0x77, 0x6e, 0xf0,
0xe1, 0xba, 0x16, 0x45, 0x75, 0x91, 0x57, 0x7c, 0xf0, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x54, 0x96,
0x6a, 0x94, 0x09, 0x0b, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -971,16 +970,18 @@ func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error) {
for k := range m.Extensions {
v := m.Extensions[k]
baseI := i
{
size, err := (&v).MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if v != nil {
{
size, err := v.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
i--
dAtA[i] = 0x12
}
i--
dAtA[i] = 0x12
i -= len(k)
copy(dAtA[i:], k)
i = encodeVarintContainers(dAtA, i, uint64(len(k)))
@@ -1193,16 +1194,18 @@ func (m *GetContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Container != nil {
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1307,16 +1310,18 @@ func (m *CreateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Container != nil {
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1344,16 +1349,18 @@ func (m *CreateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Container != nil {
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1393,16 +1400,18 @@ func (m *UpdateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
i--
dAtA[i] = 0x12
}
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Container != nil {
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1430,16 +1439,18 @@ func (m *UpdateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
if m.Container != nil {
{
size, err := m.Container.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
}
i -= size
i = encodeVarintContainers(dAtA, i, uint64(size))
i--
dAtA[i] = 0xa
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
@@ -1577,8 +1588,12 @@ func (m *Container) Size() (n int) {
for k, v := range m.Extensions {
_ = k
_ = v
l = v.Size()
mapEntrySize := 1 + len(k) + sovContainers(uint64(len(k))) + 1 + l + sovContainers(uint64(l))
l = 0
if v != nil {
l = v.Size()
l += 1 + sovContainers(uint64(l))
}
mapEntrySize := 1 + len(k) + sovContainers(uint64(len(k))) + l
n += mapEntrySize + 1 + sovContainers(uint64(mapEntrySize))
}
}
@@ -1634,8 +1649,10 @@ func (m *GetContainerResponse) Size() (n int) {
}
var l int
_ = l
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
if m.Container != nil {
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
@@ -1684,8 +1701,10 @@ func (m *CreateContainerRequest) Size() (n int) {
}
var l int
_ = l
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
if m.Container != nil {
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
@@ -1698,8 +1717,10 @@ func (m *CreateContainerResponse) Size() (n int) {
}
var l int
_ = l
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
if m.Container != nil {
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
@@ -1712,8 +1733,10 @@ func (m *UpdateContainerRequest) Size() (n int) {
}
var l int
_ = l
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
if m.Container != nil {
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
}
if m.UpdateMask != nil {
l = m.UpdateMask.Size()
n += 1 + l + sovContainers(uint64(l))
@@ -1730,8 +1753,10 @@ func (m *UpdateContainerResponse) Size() (n int) {
}
var l int
_ = l
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
if m.Container != nil {
l = m.Container.Size()
n += 1 + l + sovContainers(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
@@ -1795,7 +1820,7 @@ func (this *Container) String() string {
keysForExtensions = append(keysForExtensions, k)
}
github_com_gogo_protobuf_sortkeys.Strings(keysForExtensions)
mapStringForExtensions := "map[string]types.Any{"
mapStringForExtensions := "map[string]*types.Any{"
for _, k := range keysForExtensions {
mapStringForExtensions += fmt.Sprintf("%v: %v,", k, this.Extensions[k])
}
@@ -1845,7 +1870,7 @@ func (this *GetContainerResponse) String() string {
return "nil"
}
s := strings.Join([]string{`&GetContainerResponse{`,
`Container:` + strings.Replace(strings.Replace(this.Container.String(), "Container", "Container", 1), `&`, ``, 1) + `,`,
`Container:` + strings.Replace(this.Container.String(), "Container", "Container", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
}, "")
@@ -1866,9 +1891,9 @@ func (this *ListContainersResponse) String() string {
if this == nil {
return "nil"
}
repeatedStringForContainers := "[]Container{"
repeatedStringForContainers := "[]*Container{"
for _, f := range this.Containers {
repeatedStringForContainers += strings.Replace(strings.Replace(f.String(), "Container", "Container", 1), `&`, ``, 1) + ","
repeatedStringForContainers += strings.Replace(f.String(), "Container", "Container", 1) + ","
}
repeatedStringForContainers += "}"
s := strings.Join([]string{`&ListContainersResponse{`,
@@ -1883,7 +1908,7 @@ func (this *CreateContainerRequest) String() string {
return "nil"
}
s := strings.Join([]string{`&CreateContainerRequest{`,
`Container:` + strings.Replace(strings.Replace(this.Container.String(), "Container", "Container", 1), `&`, ``, 1) + `,`,
`Container:` + strings.Replace(this.Container.String(), "Container", "Container", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
}, "")
@@ -1894,7 +1919,7 @@ func (this *CreateContainerResponse) String() string {
return "nil"
}
s := strings.Join([]string{`&CreateContainerResponse{`,
`Container:` + strings.Replace(strings.Replace(this.Container.String(), "Container", "Container", 1), `&`, ``, 1) + `,`,
`Container:` + strings.Replace(this.Container.String(), "Container", "Container", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
}, "")
@@ -1905,7 +1930,7 @@ func (this *UpdateContainerRequest) String() string {
return "nil"
}
s := strings.Join([]string{`&UpdateContainerRequest{`,
`Container:` + strings.Replace(strings.Replace(this.Container.String(), "Container", "Container", 1), `&`, ``, 1) + `,`,
`Container:` + strings.Replace(this.Container.String(), "Container", "Container", 1) + `,`,
`UpdateMask:` + strings.Replace(fmt.Sprintf("%v", this.UpdateMask), "FieldMask", "types.FieldMask", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
@@ -1917,7 +1942,7 @@ func (this *UpdateContainerResponse) String() string {
return "nil"
}
s := strings.Join([]string{`&UpdateContainerResponse{`,
`Container:` + strings.Replace(strings.Replace(this.Container.String(), "Container", "Container", 1), `&`, ``, 1) + `,`,
`Container:` + strings.Replace(this.Container.String(), "Container", "Container", 1) + `,`,
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
`}`,
}, "")
@@ -2411,10 +2436,10 @@ func (m *Container) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.Extensions == nil {
m.Extensions = make(map[string]types.Any)
m.Extensions = make(map[string]*types.Any)
}
var mapkey string
mapvalue := &types.Any{}
var mapvalue *types.Any
for iNdEx < postIndex {
entryPreIndex := iNdEx
var wire uint64
@@ -2508,7 +2533,7 @@ func (m *Container) Unmarshal(dAtA []byte) error {
iNdEx += skippy
}
}
m.Extensions[mapkey] = *mapvalue
m.Extensions[mapkey] = mapvalue
iNdEx = postIndex
case 11:
if wireType != 2 {
@@ -2824,6 +2849,9 @@ func (m *GetContainerResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Container == nil {
m.Container = &Container{}
}
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -2991,7 +3019,7 @@ func (m *ListContainersResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Containers = append(m.Containers, Container{})
m.Containers = append(m.Containers, &Container{})
if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3076,6 +3104,9 @@ func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Container == nil {
m.Container = &Container{}
}
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3160,6 +3191,9 @@ func (m *CreateContainerResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Container == nil {
m.Container = &Container{}
}
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3244,6 +3278,9 @@ func (m *UpdateContainerRequest) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Container == nil {
m.Container = &Container{}
}
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -3364,6 +3401,9 @@ func (m *UpdateContainerResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Container == nil {
m.Container = &Container{}
}
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}

View File

@@ -113,7 +113,7 @@ message Container {
// that should be unique against other extensions. When updating extension
// data, one should only update the specified extension using field paths
// to select a specific map key.
map<string, google.protobuf.Any> extensions = 10 [(gogoproto.nullable) = false];
map<string, google.protobuf.Any> extensions = 10;
// Sandbox ID this container belongs to.
string sandbox = 11;
@@ -124,7 +124,7 @@ message GetContainerRequest {
}
message GetContainerResponse {
Container container = 1 [(gogoproto.nullable) = false];
Container container = 1;
}
message ListContainersRequest {
@@ -142,15 +142,15 @@ message ListContainersRequest {
}
message ListContainersResponse {
repeated Container containers = 1 [(gogoproto.nullable) = false];
repeated Container containers = 1;
}
message CreateContainerRequest {
Container container = 1 [(gogoproto.nullable) = false];
Container container = 1;
}
message CreateContainerResponse {
Container container = 1 [(gogoproto.nullable) = false];
Container container = 1;
}
// UpdateContainerRequest updates the metadata on one or more container.
@@ -162,7 +162,7 @@ message UpdateContainerRequest {
// Container provides the target values, as declared by the mask, for the update.
//
// The ID field must be set.
Container container = 1 [(gogoproto.nullable) = false];
Container container = 1;
// UpdateMask specifies which fields to perform the update on. If empty,
// the operation applies to all fields.
@@ -170,7 +170,7 @@ message UpdateContainerRequest {
}
message UpdateContainerResponse {
Container container = 1 [(gogoproto.nullable) = false];
Container container = 1;
}
message DeleteContainerRequest {