| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.25.0-devel |
| // protoc v3.6.1 |
| // source: chromite/api/sdk.proto |
| |
| package api |
| |
| import ( |
| chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // The chroot version information. |
| type ChrootVersion struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The version number. |
| Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` |
| } |
| |
| func (x *ChrootVersion) Reset() { |
| *x = ChrootVersion{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ChrootVersion) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ChrootVersion) ProtoMessage() {} |
| |
| func (x *ChrootVersion) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ChrootVersion.ProtoReflect.Descriptor instead. |
| func (*ChrootVersion) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *ChrootVersion) GetVersion() uint32 { |
| if x != nil { |
| return x.Version |
| } |
| return 0 |
| } |
| |
| // Create request message. |
| type CreateRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The chroot-create flag arguments. |
| Flags *CreateRequest_Flags `protobuf:"bytes,1,opt,name=flags,proto3" json:"flags,omitempty"` |
| // The chroot to create. |
| Chroot *chromiumos.Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| } |
| |
| func (x *CreateRequest) Reset() { |
| *x = CreateRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateRequest) ProtoMessage() {} |
| |
| func (x *CreateRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead. |
| func (*CreateRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *CreateRequest) GetFlags() *CreateRequest_Flags { |
| if x != nil { |
| return x.Flags |
| } |
| return nil |
| } |
| |
| func (x *CreateRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| // Create response message. |
| type CreateResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The resulting chroot version. |
| Version *ChrootVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| } |
| |
| func (x *CreateResponse) Reset() { |
| *x = CreateResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateResponse) ProtoMessage() {} |
| |
| func (x *CreateResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead. |
| func (*CreateResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *CreateResponse) GetVersion() *ChrootVersion { |
| if x != nil { |
| return x.Version |
| } |
| return nil |
| } |
| |
| // Delete request message. |
| type DeleteRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The chroot to delete. |
| Chroot *chromiumos.Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| } |
| |
| func (x *DeleteRequest) Reset() { |
| *x = DeleteRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *DeleteRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeleteRequest) ProtoMessage() {} |
| |
| func (x *DeleteRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. |
| func (*DeleteRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *DeleteRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| // Delete request message. |
| type DeleteResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *DeleteResponse) Reset() { |
| *x = DeleteResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *DeleteResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeleteResponse) ProtoMessage() {} |
| |
| func (x *DeleteResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[4] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead. |
| func (*DeleteResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{4} |
| } |
| |
| type UnmountRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The chroot to unmount. |
| Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| } |
| |
| func (x *UnmountRequest) Reset() { |
| *x = UnmountRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UnmountRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UnmountRequest) ProtoMessage() {} |
| |
| func (x *UnmountRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UnmountRequest.ProtoReflect.Descriptor instead. |
| func (*UnmountRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *UnmountRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| type UnmountResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *UnmountResponse) Reset() { |
| *x = UnmountResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UnmountResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UnmountResponse) ProtoMessage() {} |
| |
| func (x *UnmountResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[6] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UnmountResponse.ProtoReflect.Descriptor instead. |
| func (*UnmountResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{6} |
| } |
| |
| // Chroot update request message. |
| // Example json: |
| // {"toolchain_targets": [{"name": "eve"}]} |
| type UpdateRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The flags. |
| Flags *UpdateRequest_Flags `protobuf:"bytes,1,opt,name=flags,proto3" json:"flags,omitempty"` |
| // The targets whose toolchains should be updated in the chroot. |
| ToolchainTargets []*chromiumos.BuildTarget `protobuf:"bytes,2,rep,name=toolchain_targets,json=toolchainTargets,proto3" json:"toolchain_targets,omitempty"` |
| // The chroot to use to execute the endpoint. |
| Chroot *chromiumos.Chroot `protobuf:"bytes,3,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| } |
| |
| func (x *UpdateRequest) Reset() { |
| *x = UpdateRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UpdateRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UpdateRequest) ProtoMessage() {} |
| |
| func (x *UpdateRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[7] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. |
| func (*UpdateRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *UpdateRequest) GetFlags() *UpdateRequest_Flags { |
| if x != nil { |
| return x.Flags |
| } |
| return nil |
| } |
| |
| func (x *UpdateRequest) GetToolchainTargets() []*chromiumos.BuildTarget { |
| if x != nil { |
| return x.ToolchainTargets |
| } |
| return nil |
| } |
| |
| func (x *UpdateRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| // Chroot update response message. |
| type UpdateResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The chroot version after update is complete. |
| Version *ChrootVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| } |
| |
| func (x *UpdateResponse) Reset() { |
| *x = UpdateResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UpdateResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UpdateResponse) ProtoMessage() {} |
| |
| func (x *UpdateResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[8] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead. |
| func (*UpdateResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{8} |
| } |
| |
| func (x *UpdateResponse) GetVersion() *ChrootVersion { |
| if x != nil { |
| return x.Version |
| } |
| return nil |
| } |
| |
| type CleanRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| } |
| |
| func (x *CleanRequest) Reset() { |
| *x = CleanRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CleanRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CleanRequest) ProtoMessage() {} |
| |
| func (x *CleanRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[9] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CleanRequest.ProtoReflect.Descriptor instead. |
| func (*CleanRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *CleanRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| type CleanResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *CleanResponse) Reset() { |
| *x = CleanResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CleanResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CleanResponse) ProtoMessage() {} |
| |
| func (x *CleanResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[10] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CleanResponse.ProtoReflect.Descriptor instead. |
| func (*CleanResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{10} |
| } |
| |
| // An opaque key to a chroot snapshot state. |
| type SnapshotToken struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| } |
| |
| func (x *SnapshotToken) Reset() { |
| *x = SnapshotToken{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *SnapshotToken) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SnapshotToken) ProtoMessage() {} |
| |
| func (x *SnapshotToken) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[11] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SnapshotToken.ProtoReflect.Descriptor instead. |
| func (*SnapshotToken) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (x *SnapshotToken) GetValue() string { |
| if x != nil { |
| return x.Value |
| } |
| return "" |
| } |
| |
| type CreateSnapshotRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| } |
| |
| func (x *CreateSnapshotRequest) Reset() { |
| *x = CreateSnapshotRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateSnapshotRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateSnapshotRequest) ProtoMessage() {} |
| |
| func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[12] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead. |
| func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *CreateSnapshotRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| type CreateSnapshotResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| SnapshotToken *SnapshotToken `protobuf:"bytes,1,opt,name=snapshot_token,json=snapshotToken,proto3" json:"snapshot_token,omitempty"` |
| } |
| |
| func (x *CreateSnapshotResponse) Reset() { |
| *x = CreateSnapshotResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[13] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateSnapshotResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateSnapshotResponse) ProtoMessage() {} |
| |
| func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[13] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead. |
| func (*CreateSnapshotResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{13} |
| } |
| |
| func (x *CreateSnapshotResponse) GetSnapshotToken() *SnapshotToken { |
| if x != nil { |
| return x.SnapshotToken |
| } |
| return nil |
| } |
| |
| type RestoreSnapshotRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"` |
| SnapshotToken *SnapshotToken `protobuf:"bytes,2,opt,name=snapshot_token,json=snapshotToken,proto3" json:"snapshot_token,omitempty"` |
| } |
| |
| func (x *RestoreSnapshotRequest) Reset() { |
| *x = RestoreSnapshotRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[14] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RestoreSnapshotRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RestoreSnapshotRequest) ProtoMessage() {} |
| |
| func (x *RestoreSnapshotRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[14] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use RestoreSnapshotRequest.ProtoReflect.Descriptor instead. |
| func (*RestoreSnapshotRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{14} |
| } |
| |
| func (x *RestoreSnapshotRequest) GetChroot() *chromiumos.Chroot { |
| if x != nil { |
| return x.Chroot |
| } |
| return nil |
| } |
| |
| func (x *RestoreSnapshotRequest) GetSnapshotToken() *SnapshotToken { |
| if x != nil { |
| return x.SnapshotToken |
| } |
| return nil |
| } |
| |
| type RestoreSnapshotResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *RestoreSnapshotResponse) Reset() { |
| *x = RestoreSnapshotResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RestoreSnapshotResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RestoreSnapshotResponse) ProtoMessage() {} |
| |
| func (x *RestoreSnapshotResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[15] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use RestoreSnapshotResponse.ProtoReflect.Descriptor instead. |
| func (*RestoreSnapshotResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{15} |
| } |
| |
| type UnmountPathRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Path to unmount. |
| Path *chromiumos.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| } |
| |
| func (x *UnmountPathRequest) Reset() { |
| *x = UnmountPathRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[16] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UnmountPathRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UnmountPathRequest) ProtoMessage() {} |
| |
| func (x *UnmountPathRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[16] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UnmountPathRequest.ProtoReflect.Descriptor instead. |
| func (*UnmountPathRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{16} |
| } |
| |
| func (x *UnmountPathRequest) GetPath() *chromiumos.Path { |
| if x != nil { |
| return x.Path |
| } |
| return nil |
| } |
| |
| type UnmountPathResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *UnmountPathResponse) Reset() { |
| *x = UnmountPathResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[17] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UnmountPathResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UnmountPathResponse) ProtoMessage() {} |
| |
| func (x *UnmountPathResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[17] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UnmountPathResponse.ProtoReflect.Descriptor instead. |
| func (*UnmountPathResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{17} |
| } |
| |
| // Options that affect how the chroot is created. |
| type CreateRequest_Flags struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Whether or not to replace the chroot if it already exists. |
| NoReplace bool `protobuf:"varint,1,opt,name=no_replace,json=noReplace,proto3" json:"no_replace,omitempty"` |
| // Whether to do a full build of the SDK or use prebuilts. |
| Bootstrap bool `protobuf:"varint,2,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"` |
| // Whether the chroot should be mounted on a loopback image or created |
| // directly inside a directory. Set to true to create in a directory. |
| NoUseImage bool `protobuf:"varint,3,opt,name=no_use_image,json=noUseImage,proto3" json:"no_use_image,omitempty"` |
| } |
| |
| func (x *CreateRequest_Flags) Reset() { |
| *x = CreateRequest_Flags{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[18] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateRequest_Flags) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateRequest_Flags) ProtoMessage() {} |
| |
| func (x *CreateRequest_Flags) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[18] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateRequest_Flags.ProtoReflect.Descriptor instead. |
| func (*CreateRequest_Flags) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{1, 0} |
| } |
| |
| func (x *CreateRequest_Flags) GetNoReplace() bool { |
| if x != nil { |
| return x.NoReplace |
| } |
| return false |
| } |
| |
| func (x *CreateRequest_Flags) GetBootstrap() bool { |
| if x != nil { |
| return x.Bootstrap |
| } |
| return false |
| } |
| |
| func (x *CreateRequest_Flags) GetNoUseImage() bool { |
| if x != nil { |
| return x.NoUseImage |
| } |
| return false |
| } |
| |
| // Update flag arguments. |
| type UpdateRequest_Flags struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Whether to build from source or use prebuilt packages. |
| BuildSource bool `protobuf:"varint,1,opt,name=build_source,json=buildSource,proto3" json:"build_source,omitempty"` |
| // Whether a toolchain change has occurred. |
| ToolchainChanged bool `protobuf:"varint,2,opt,name=toolchain_changed,json=toolchainChanged,proto3" json:"toolchain_changed,omitempty"` |
| } |
| |
| func (x *UpdateRequest_Flags) Reset() { |
| *x = UpdateRequest_Flags{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_sdk_proto_msgTypes[19] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UpdateRequest_Flags) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UpdateRequest_Flags) ProtoMessage() {} |
| |
| func (x *UpdateRequest_Flags) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_sdk_proto_msgTypes[19] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UpdateRequest_Flags.ProtoReflect.Descriptor instead. |
| func (*UpdateRequest_Flags) Descriptor() ([]byte, []int) { |
| return file_chromite_api_sdk_proto_rawDescGZIP(), []int{7, 0} |
| } |
| |
| func (x *UpdateRequest_Flags) GetBuildSource() bool { |
| if x != nil { |
| return x.BuildSource |
| } |
| return false |
| } |
| |
| func (x *UpdateRequest_Flags) GetToolchainChanged() bool { |
| if x != nil { |
| return x.ToolchainChanged |
| } |
| return false |
| } |
| |
| var File_chromite_api_sdk_proto protoreflect.FileDescriptor |
| |
| var file_chromite_api_sdk_proto_rawDesc = []byte{ |
| 0x0a, 0x16, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, |
| 0x64, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, |
| 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, |
| 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, |
| 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, |
| 0x0d, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, |
| 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, |
| 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xdc, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, |
| 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x05, 0x66, 0x6c, |
| 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, |
| 0x61, 0x67, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, |
| 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x1a, |
| 0x66, 0x0a, 0x05, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x5f, 0x72, |
| 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6e, 0x6f, |
| 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x73, |
| 0x74, 0x72, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x74, |
| 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x5f, |
| 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e, 0x6f, 0x55, |
| 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, |
| 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x76, 0x65, 0x72, |
| 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, |
| 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 0x22, 0x3b, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, |
| 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x10, 0x0a, |
| 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, |
| 0x3c, 0x0a, 0x0e, 0x55, 0x6e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, |
| 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x11, 0x0a, |
| 0x0f, 0x55, 0x6e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 0x22, 0x93, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x12, 0x37, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, |
| 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, |
| 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x44, 0x0a, 0x11, 0x74, |
| 0x6f, 0x6f, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, |
| 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, |
| 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, |
| 0x10, 0x74, 0x6f, 0x6f, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, |
| 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, |
| 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x1a, 0x57, 0x0a, |
| 0x05, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x62, 0x75, |
| 0x69, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x6f, 0x6f, |
| 0x6c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x02, |
| 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x74, 0x6f, 0x6f, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, |
| 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x47, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, |
| 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x56, |
| 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, |
| 0x3a, 0x0a, 0x0c, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x68, 0x72, |
| 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x43, |
| 0x6c, 0x65, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x0a, 0x0d, |
| 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, |
| 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, |
| 0x6c, 0x75, 0x65, 0x22, 0x43, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, |
| 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x06, |
| 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, |
| 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x5c, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, |
| 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x74, |
| 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, |
| 0x6f, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, |
| 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x74, 0x6f, |
| 0x72, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, |
| 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x42, 0x0a, |
| 0x0e, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x54, 0x6f, 0x6b, |
| 0x65, 0x6e, 0x52, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x54, 0x6f, 0x6b, 0x65, |
| 0x6e, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x6e, 0x61, 0x70, |
| 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x12, |
| 0x55, 0x6e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x10, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x50, 0x61, |
| 0x74, 0x68, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6d, 0x6f, |
| 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, |
| 0x8b, 0x05, 0x0a, 0x0a, 0x53, 0x64, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, |
| 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, |
| 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1b, 0x2e, |
| 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, |
| 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, |
| 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x43, 0x6c, 0x65, 0x61, |
| 0x6e, 0x12, 0x1a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, |
| 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, |
| 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x65, |
| 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x55, 0x6e, |
| 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, |
| 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, |
| 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, |
| 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, |
| 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xc2, 0xed, 0x1a, 0x02, 0x10, 0x01, 0x12, |
| 0x5b, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, |
| 0x74, 0x12, 0x23, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, |
| 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, |
| 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, |
| 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0f, |
| 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, |
| 0x24, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, |
| 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x6e, 0x61, 0x70, |
| 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, |
| 0x55, 0x6e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x20, 0x2e, 0x63, 0x68, |
| 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x6d, 0x6f, 0x75, |
| 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, |
| 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x6d, |
| 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 0x1a, 0x0b, 0xc2, 0xed, 0x1a, 0x07, 0x0a, 0x03, 0x73, 0x64, 0x6b, 0x10, 0x02, 0x42, 0x38, 0x5a, |
| 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, |
| 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x72, |
| 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, |
| 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromite_api_sdk_proto_rawDescOnce sync.Once |
| file_chromite_api_sdk_proto_rawDescData = file_chromite_api_sdk_proto_rawDesc |
| ) |
| |
| func file_chromite_api_sdk_proto_rawDescGZIP() []byte { |
| file_chromite_api_sdk_proto_rawDescOnce.Do(func() { |
| file_chromite_api_sdk_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_sdk_proto_rawDescData) |
| }) |
| return file_chromite_api_sdk_proto_rawDescData |
| } |
| |
| var file_chromite_api_sdk_proto_msgTypes = make([]protoimpl.MessageInfo, 20) |
| var file_chromite_api_sdk_proto_goTypes = []interface{}{ |
| (*ChrootVersion)(nil), // 0: chromite.api.ChrootVersion |
| (*CreateRequest)(nil), // 1: chromite.api.CreateRequest |
| (*CreateResponse)(nil), // 2: chromite.api.CreateResponse |
| (*DeleteRequest)(nil), // 3: chromite.api.DeleteRequest |
| (*DeleteResponse)(nil), // 4: chromite.api.DeleteResponse |
| (*UnmountRequest)(nil), // 5: chromite.api.UnmountRequest |
| (*UnmountResponse)(nil), // 6: chromite.api.UnmountResponse |
| (*UpdateRequest)(nil), // 7: chromite.api.UpdateRequest |
| (*UpdateResponse)(nil), // 8: chromite.api.UpdateResponse |
| (*CleanRequest)(nil), // 9: chromite.api.CleanRequest |
| (*CleanResponse)(nil), // 10: chromite.api.CleanResponse |
| (*SnapshotToken)(nil), // 11: chromite.api.SnapshotToken |
| (*CreateSnapshotRequest)(nil), // 12: chromite.api.CreateSnapshotRequest |
| (*CreateSnapshotResponse)(nil), // 13: chromite.api.CreateSnapshotResponse |
| (*RestoreSnapshotRequest)(nil), // 14: chromite.api.RestoreSnapshotRequest |
| (*RestoreSnapshotResponse)(nil), // 15: chromite.api.RestoreSnapshotResponse |
| (*UnmountPathRequest)(nil), // 16: chromite.api.UnmountPathRequest |
| (*UnmountPathResponse)(nil), // 17: chromite.api.UnmountPathResponse |
| (*CreateRequest_Flags)(nil), // 18: chromite.api.CreateRequest.Flags |
| (*UpdateRequest_Flags)(nil), // 19: chromite.api.UpdateRequest.Flags |
| (*chromiumos.Chroot)(nil), // 20: chromiumos.Chroot |
| (*chromiumos.BuildTarget)(nil), // 21: chromiumos.BuildTarget |
| (*chromiumos.Path)(nil), // 22: chromiumos.Path |
| } |
| var file_chromite_api_sdk_proto_depIdxs = []int32{ |
| 18, // 0: chromite.api.CreateRequest.flags:type_name -> chromite.api.CreateRequest.Flags |
| 20, // 1: chromite.api.CreateRequest.chroot:type_name -> chromiumos.Chroot |
| 0, // 2: chromite.api.CreateResponse.version:type_name -> chromite.api.ChrootVersion |
| 20, // 3: chromite.api.DeleteRequest.chroot:type_name -> chromiumos.Chroot |
| 20, // 4: chromite.api.UnmountRequest.chroot:type_name -> chromiumos.Chroot |
| 19, // 5: chromite.api.UpdateRequest.flags:type_name -> chromite.api.UpdateRequest.Flags |
| 21, // 6: chromite.api.UpdateRequest.toolchain_targets:type_name -> chromiumos.BuildTarget |
| 20, // 7: chromite.api.UpdateRequest.chroot:type_name -> chromiumos.Chroot |
| 0, // 8: chromite.api.UpdateResponse.version:type_name -> chromite.api.ChrootVersion |
| 20, // 9: chromite.api.CleanRequest.chroot:type_name -> chromiumos.Chroot |
| 20, // 10: chromite.api.CreateSnapshotRequest.chroot:type_name -> chromiumos.Chroot |
| 11, // 11: chromite.api.CreateSnapshotResponse.snapshot_token:type_name -> chromite.api.SnapshotToken |
| 20, // 12: chromite.api.RestoreSnapshotRequest.chroot:type_name -> chromiumos.Chroot |
| 11, // 13: chromite.api.RestoreSnapshotRequest.snapshot_token:type_name -> chromite.api.SnapshotToken |
| 22, // 14: chromite.api.UnmountPathRequest.path:type_name -> chromiumos.Path |
| 1, // 15: chromite.api.SdkService.Create:input_type -> chromite.api.CreateRequest |
| 3, // 16: chromite.api.SdkService.Delete:input_type -> chromite.api.DeleteRequest |
| 9, // 17: chromite.api.SdkService.Clean:input_type -> chromite.api.CleanRequest |
| 5, // 18: chromite.api.SdkService.Unmount:input_type -> chromite.api.UnmountRequest |
| 7, // 19: chromite.api.SdkService.Update:input_type -> chromite.api.UpdateRequest |
| 12, // 20: chromite.api.SdkService.CreateSnapshot:input_type -> chromite.api.CreateSnapshotRequest |
| 14, // 21: chromite.api.SdkService.RestoreSnapshot:input_type -> chromite.api.RestoreSnapshotRequest |
| 16, // 22: chromite.api.SdkService.UnmountPath:input_type -> chromite.api.UnmountPathRequest |
| 2, // 23: chromite.api.SdkService.Create:output_type -> chromite.api.CreateResponse |
| 4, // 24: chromite.api.SdkService.Delete:output_type -> chromite.api.DeleteResponse |
| 10, // 25: chromite.api.SdkService.Clean:output_type -> chromite.api.CleanResponse |
| 6, // 26: chromite.api.SdkService.Unmount:output_type -> chromite.api.UnmountResponse |
| 8, // 27: chromite.api.SdkService.Update:output_type -> chromite.api.UpdateResponse |
| 13, // 28: chromite.api.SdkService.CreateSnapshot:output_type -> chromite.api.CreateSnapshotResponse |
| 15, // 29: chromite.api.SdkService.RestoreSnapshot:output_type -> chromite.api.RestoreSnapshotResponse |
| 17, // 30: chromite.api.SdkService.UnmountPath:output_type -> chromite.api.UnmountPathResponse |
| 23, // [23:31] is the sub-list for method output_type |
| 15, // [15:23] is the sub-list for method input_type |
| 15, // [15:15] is the sub-list for extension type_name |
| 15, // [15:15] is the sub-list for extension extendee |
| 0, // [0:15] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromite_api_sdk_proto_init() } |
| func file_chromite_api_sdk_proto_init() { |
| if File_chromite_api_sdk_proto != nil { |
| return |
| } |
| file_chromite_api_build_api_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_chromite_api_sdk_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ChrootVersion); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*DeleteRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*DeleteResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UnmountRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UnmountResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UpdateRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UpdateResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CleanRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CleanResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*SnapshotToken); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateSnapshotRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateSnapshotResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RestoreSnapshotRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RestoreSnapshotResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UnmountPathRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UnmountPathResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateRequest_Flags); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_sdk_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UpdateRequest_Flags); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_chromite_api_sdk_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 20, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_chromite_api_sdk_proto_goTypes, |
| DependencyIndexes: file_chromite_api_sdk_proto_depIdxs, |
| MessageInfos: file_chromite_api_sdk_proto_msgTypes, |
| }.Build() |
| File_chromite_api_sdk_proto = out.File |
| file_chromite_api_sdk_proto_rawDesc = nil |
| file_chromite_api_sdk_proto_goTypes = nil |
| file_chromite_api_sdk_proto_depIdxs = nil |
| } |