@@ -3,6 +3,7 @@ syntax = "proto3";
3
3
package csi.v1 ;
4
4
5
5
import "google/protobuf/descriptor.proto" ;
6
+ import "google/protobuf/timestamp.proto" ;
6
7
import "google/protobuf/wrappers.proto" ;
7
8
8
9
option go_package = "csi" ;
@@ -107,7 +108,7 @@ message GetPluginCapabilitiesRequest {
107
108
message GetPluginCapabilitiesResponse {
108
109
// All the capabilities that the controller service supports. This
109
110
// field is OPTIONAL.
110
- repeated PluginCapability capabilities = 2 ;
111
+ repeated PluginCapability capabilities = 1 ;
111
112
}
112
113
113
114
// Specifies a capability of the plugin.
@@ -798,7 +799,7 @@ message ControllerGetCapabilitiesRequest {
798
799
message ControllerGetCapabilitiesResponse {
799
800
// All the capabilities that the controller service supports. This
800
801
// field is OPTIONAL.
801
- repeated ControllerServiceCapability capabilities = 2 ;
802
+ repeated ControllerServiceCapability capabilities = 1 ;
802
803
}
803
804
804
805
// Specifies a capability of the controller service.
@@ -900,11 +901,8 @@ message Snapshot {
900
901
string source_volume_id = 3 ;
901
902
902
903
// Timestamp when the point-in-time snapshot is taken on the storage
903
- // system. The format of this field SHOULD be a Unix nanoseconds time
904
- // encoded as an int64. On Unix, the command `date +%s%N` returns the
905
- // current time in nanoseconds since 1970-01-01 00:00:00 UTC. This
906
- // field is REQUIRED.
907
- int64 created_at = 4 ;
904
+ // system. This field is REQUIRED.
905
+ .google.protobuf.Timestamp creation_time = 4 ;
908
906
909
907
// Indicates if a snapshot is ready to use as a
910
908
// `volume_content_source` in a `CreateVolumeRequest`. The default
0 commit comments