|
1 |
| -// @generated by protoc-gen-es v1.3.0 with parameter "target=ts,import_extension=none" |
| 1 | +// @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none" |
2 | 2 | // @generated from file depot/cloud/v3/machine.proto (package depot.cloud.v3, syntax proto3)
|
3 | 3 | /* eslint-disable */
|
4 | 4 | // @ts-nocheck
|
@@ -900,6 +900,86 @@ export class PingMachineHealthResponse extends Message<PingMachineHealthResponse
|
900 | 900 | }
|
901 | 901 | }
|
902 | 902 |
|
| 903 | +/** |
| 904 | + * @generated from message depot.cloud.v3.ReportMachineHealthRequest |
| 905 | + */ |
| 906 | +export class ReportMachineHealthRequest extends Message<ReportMachineHealthRequest> { |
| 907 | + /** |
| 908 | + * @generated from field: repeated depot.cloud.v3.DiskSpace disks = 1; |
| 909 | + */ |
| 910 | + disks: DiskSpace[] = [] |
| 911 | + |
| 912 | + constructor(data?: PartialMessage<ReportMachineHealthRequest>) { |
| 913 | + super() |
| 914 | + proto3.util.initPartial(data, this) |
| 915 | + } |
| 916 | + |
| 917 | + static readonly runtime: typeof proto3 = proto3 |
| 918 | + static readonly typeName = 'depot.cloud.v3.ReportMachineHealthRequest' |
| 919 | + static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 920 | + {no: 1, name: 'disks', kind: 'message', T: DiskSpace, repeated: true}, |
| 921 | + ]) |
| 922 | + |
| 923 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportMachineHealthRequest { |
| 924 | + return new ReportMachineHealthRequest().fromBinary(bytes, options) |
| 925 | + } |
| 926 | + |
| 927 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportMachineHealthRequest { |
| 928 | + return new ReportMachineHealthRequest().fromJson(jsonValue, options) |
| 929 | + } |
| 930 | + |
| 931 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportMachineHealthRequest { |
| 932 | + return new ReportMachineHealthRequest().fromJsonString(jsonString, options) |
| 933 | + } |
| 934 | + |
| 935 | + static equals( |
| 936 | + a: ReportMachineHealthRequest | PlainMessage<ReportMachineHealthRequest> | undefined, |
| 937 | + b: ReportMachineHealthRequest | PlainMessage<ReportMachineHealthRequest> | undefined, |
| 938 | + ): boolean { |
| 939 | + return proto3.util.equals(ReportMachineHealthRequest, a, b) |
| 940 | + } |
| 941 | +} |
| 942 | + |
| 943 | +/** |
| 944 | + * @generated from message depot.cloud.v3.ReportMachineHealthResponse |
| 945 | + */ |
| 946 | +export class ReportMachineHealthResponse extends Message<ReportMachineHealthResponse> { |
| 947 | + /** |
| 948 | + * @generated from field: bool should_terminate = 1; |
| 949 | + */ |
| 950 | + shouldTerminate = false |
| 951 | + |
| 952 | + constructor(data?: PartialMessage<ReportMachineHealthResponse>) { |
| 953 | + super() |
| 954 | + proto3.util.initPartial(data, this) |
| 955 | + } |
| 956 | + |
| 957 | + static readonly runtime: typeof proto3 = proto3 |
| 958 | + static readonly typeName = 'depot.cloud.v3.ReportMachineHealthResponse' |
| 959 | + static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 960 | + {no: 1, name: 'should_terminate', kind: 'scalar', T: 8 /* ScalarType.BOOL */}, |
| 961 | + ]) |
| 962 | + |
| 963 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportMachineHealthResponse { |
| 964 | + return new ReportMachineHealthResponse().fromBinary(bytes, options) |
| 965 | + } |
| 966 | + |
| 967 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportMachineHealthResponse { |
| 968 | + return new ReportMachineHealthResponse().fromJson(jsonValue, options) |
| 969 | + } |
| 970 | + |
| 971 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportMachineHealthResponse { |
| 972 | + return new ReportMachineHealthResponse().fromJsonString(jsonString, options) |
| 973 | + } |
| 974 | + |
| 975 | + static equals( |
| 976 | + a: ReportMachineHealthResponse | PlainMessage<ReportMachineHealthResponse> | undefined, |
| 977 | + b: ReportMachineHealthResponse | PlainMessage<ReportMachineHealthResponse> | undefined, |
| 978 | + ): boolean { |
| 979 | + return proto3.util.equals(ReportMachineHealthResponse, a, b) |
| 980 | + } |
| 981 | +} |
| 982 | + |
903 | 983 | /**
|
904 | 984 | * @generated from message depot.cloud.v3.Cert
|
905 | 985 | */
|
|
0 commit comments