api: update protobuf descriptors

Because we merged the PR that added the API descriptors and modified the
API at the same time. This updates the protobufs to be consistent.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2017-08-17 14:22:14 -07:00
parent ed1c40420e
commit 8ae20a135a
No known key found for this signature in database
GPG Key ID: 67B3DED84EDC823F

View File

@ -762,6 +762,34 @@ file {
type: TYPE_BYTES
json_name: "data"
}
field {
name: "labels"
number: 7
label: LABEL_REPEATED
type: TYPE_MESSAGE
type_name: ".containerd.services.content.v1.WriteContentRequest.LabelsEntry"
json_name: "labels"
}
nested_type {
name: "LabelsEntry"
field {
name: "key"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "key"
}
field {
name: "value"
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "value"
}
options {
map_entry: true
}
}
}
message_type {
name: "WriteContentResponse"
@ -2332,6 +2360,8 @@ file {
package: "containerd.services.snapshots.v1"
dependency: "gogoproto/gogo.proto"
dependency: "google/protobuf/empty.proto"
dependency: "google/protobuf/field_mask.proto"
dependency: "google/protobuf/timestamp.proto"
dependency: "github.com/containerd/containerd/api/types/mount.proto"
message_type {
name: "PrepareSnapshotRequest"
@ -2356,6 +2386,34 @@ file {
type: TYPE_STRING
json_name: "parent"
}
field {
name: "labels"
number: 4
label: LABEL_REPEATED
type: TYPE_MESSAGE
type_name: ".containerd.services.snapshots.v1.PrepareSnapshotRequest.LabelsEntry"
json_name: "labels"
}
nested_type {
name: "LabelsEntry"
field {
name: "key"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "key"
}
field {
name: "value"
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "value"
}
options {
map_entry: true
}
}
}
message_type {
name: "PrepareSnapshotResponse"
@ -2391,6 +2449,34 @@ file {
type: TYPE_STRING
json_name: "parent"
}
field {
name: "labels"
number: 4
label: LABEL_REPEATED
type: TYPE_MESSAGE
type_name: ".containerd.services.snapshots.v1.ViewSnapshotRequest.LabelsEntry"
json_name: "labels"
}
nested_type {
name: "LabelsEntry"
field {
name: "key"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "key"
}
field {
name: "value"
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "value"
}
options {
map_entry: true
}
}
}
message_type {
name: "ViewSnapshotResponse"
@ -2471,6 +2557,34 @@ file {
type: TYPE_STRING
json_name: "key"
}
field {
name: "labels"
number: 4
label: LABEL_REPEATED
type: TYPE_MESSAGE
type_name: ".containerd.services.snapshots.v1.CommitSnapshotRequest.LabelsEntry"
json_name: "labels"
}
nested_type {
name: "LabelsEntry"
field {
name: "key"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "key"
}
field {
name: "value"
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "value"
}
options {
map_entry: true
}
}
}
message_type {
name: "StatSnapshotRequest"
@ -2513,6 +2627,58 @@ file {
type_name: ".containerd.services.snapshots.v1.Kind"
json_name: "kind"
}
field {
name: "created_at"
number: 4
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65010: 1
65001: 0
}
json_name: "createdAt"
}
field {
name: "updated_at"
number: 5
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65010: 1
65001: 0
}
json_name: "updatedAt"
}
field {
name: "labels"
number: 6
label: LABEL_REPEATED
type: TYPE_MESSAGE
type_name: ".containerd.services.snapshots.v1.Info.LabelsEntry"
json_name: "labels"
}
nested_type {
name: "LabelsEntry"
field {
name: "key"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "key"
}
field {
name: "value"
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "value"
}
options {
map_entry: true
}
}
}
message_type {
name: "StatSnapshotResponse"
@ -2528,6 +2694,49 @@ file {
json_name: "info"
}
}
message_type {
name: "UpdateSnapshotRequest"
field {
name: "snapshotter"
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "snapshotter"
}
field {
name: "info"
number: 2
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".containerd.services.snapshots.v1.Info"
options {
65001: 0
}
json_name: "info"
}
field {
name: "update_mask"
number: 3
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".google.protobuf.FieldMask"
json_name: "updateMask"
}
}
message_type {
name: "UpdateSnapshotResponse"
field {
name: "info"
number: 1
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".containerd.services.snapshots.v1.Info"
options {
65001: 0
}
json_name: "info"
}
}
message_type {
name: "ListSnapshotsRequest"
field {
@ -2653,6 +2862,11 @@ file {
input_type: ".containerd.services.snapshots.v1.StatSnapshotRequest"
output_type: ".containerd.services.snapshots.v1.StatSnapshotResponse"
}
method {
name: "Update"
input_type: ".containerd.services.snapshots.v1.UpdateSnapshotRequest"
output_type: ".containerd.services.snapshots.v1.UpdateSnapshotResponse"
}
method {
name: "List"
input_type: ".containerd.services.snapshots.v1.ListSnapshotsRequest"