diff --git a/discovery/remotebuildexecution-v1.json b/discovery/remotebuildexecution-v1.json index 1124d688754..1d81e1112be 100644 --- a/discovery/remotebuildexecution-v1.json +++ b/discovery/remotebuildexecution-v1.json @@ -307,7 +307,7 @@ } } }, - "revision": "20210412", + "revision": "20210517", "rootUrl": "https://remotebuildexecution.googleapis.com/", "schemas": { "BuildBazelRemoteExecutionV2Action": { @@ -1023,12 +1023,14 @@ "enum": [ "CONFIG_NONE", "CONFIG_MATCH", - "CONFIG_MISMATCH" + "CONFIG_MISMATCH", + "CONFIG_MISSING_CONTAINER" ], "enumDescriptions": [ "Container Manager is disabled or not running for this execution.", "Container Manager is enabled and there was a matching container available for use during execution.", - "Container Manager is enabled, but there was no matching container available for execution." + "Container Manager is enabled, but there was no matching container available for execution.", + "Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container." ], "type": "string" }, @@ -1132,7 +1134,8 @@ "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", - "WORKING_DIR_NOT_RELATIVE" + "WORKING_DIR_NOT_RELATIVE", + "DOCKER_MISSING_CONTAINER" ], "enumDescriptions": [ "The command succeeded.", @@ -1176,7 +1179,8 @@ "Docker failed to create an overlay mount because of too many levels of symbolic links.", "The local Container Manager is not running.", "Docker failed because a request was denied by the organization's policy.", - "Working directory is not relative" + "Working directory is not relative", + "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." ], "type": "string" }, @@ -1200,6 +1204,39 @@ }, "memoryUsage": { "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "totalDiskIoStats": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", + "properties": { + "readBytesCount": { + "format": "uint64", + "type": "string" + }, + "readCount": { + "format": "uint64", + "type": "string" + }, + "readTimeMs": { + "format": "uint64", + "type": "string" + }, + "writeBytesCount": { + "format": "uint64", + "type": "string" + }, + "writeCount": { + "format": "uint64", + "type": "string" + }, + "writeTimeMs": { + "format": "uint64", + "type": "string" } }, "type": "object" diff --git a/discovery/remotebuildexecution-v1alpha.json b/discovery/remotebuildexecution-v1alpha.json index 6879d40d28c..b580eafb70a 100644 --- a/discovery/remotebuildexecution-v1alpha.json +++ b/discovery/remotebuildexecution-v1alpha.json @@ -432,7 +432,7 @@ } } }, - "revision": "20210412", + "revision": "20210517", "rootUrl": "https://admin-remotebuildexecution.googleapis.com/", "schemas": { "BuildBazelRemoteExecutionV2Action": { @@ -1137,12 +1137,14 @@ "enum": [ "CONFIG_NONE", "CONFIG_MATCH", - "CONFIG_MISMATCH" + "CONFIG_MISMATCH", + "CONFIG_MISSING_CONTAINER" ], "enumDescriptions": [ "Container Manager is disabled or not running for this execution.", "Container Manager is enabled and there was a matching container available for use during execution.", - "Container Manager is enabled, but there was no matching container available for execution." + "Container Manager is enabled, but there was no matching container available for execution.", + "Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container." ], "type": "string" }, @@ -1246,7 +1248,8 @@ "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", - "WORKING_DIR_NOT_RELATIVE" + "WORKING_DIR_NOT_RELATIVE", + "DOCKER_MISSING_CONTAINER" ], "enumDescriptions": [ "The command succeeded.", @@ -1290,7 +1293,8 @@ "Docker failed to create an overlay mount because of too many levels of symbolic links.", "The local Container Manager is not running.", "Docker failed because a request was denied by the organization's policy.", - "Working directory is not relative" + "Working directory is not relative", + "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." ], "type": "string" }, @@ -1314,6 +1318,39 @@ }, "memoryUsage": { "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "totalDiskIoStats": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", + "properties": { + "readBytesCount": { + "format": "uint64", + "type": "string" + }, + "readCount": { + "format": "uint64", + "type": "string" + }, + "readTimeMs": { + "format": "uint64", + "type": "string" + }, + "writeBytesCount": { + "format": "uint64", + "type": "string" + }, + "writeCount": { + "format": "uint64", + "type": "string" + }, + "writeTimeMs": { + "format": "uint64", + "type": "string" } }, "type": "object" diff --git a/discovery/remotebuildexecution-v2.json b/discovery/remotebuildexecution-v2.json index bfc9c6cc7d6..31112f8fdab 100644 --- a/discovery/remotebuildexecution-v2.json +++ b/discovery/remotebuildexecution-v2.json @@ -447,7 +447,7 @@ } } }, - "revision": "20210412", + "revision": "20210517", "rootUrl": "https://remotebuildexecution.googleapis.com/", "schemas": { "BuildBazelRemoteExecutionV2Action": { @@ -1573,12 +1573,14 @@ "enum": [ "CONFIG_NONE", "CONFIG_MATCH", - "CONFIG_MISMATCH" + "CONFIG_MISMATCH", + "CONFIG_MISSING_CONTAINER" ], "enumDescriptions": [ "Container Manager is disabled or not running for this execution.", "Container Manager is enabled and there was a matching container available for use during execution.", - "Container Manager is enabled, but there was no matching container available for execution." + "Container Manager is enabled, but there was no matching container available for execution.", + "Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container." ], "type": "string" }, @@ -1682,7 +1684,8 @@ "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", - "WORKING_DIR_NOT_RELATIVE" + "WORKING_DIR_NOT_RELATIVE", + "DOCKER_MISSING_CONTAINER" ], "enumDescriptions": [ "The command succeeded.", @@ -1726,7 +1729,8 @@ "Docker failed to create an overlay mount because of too many levels of symbolic links.", "The local Container Manager is not running.", "Docker failed because a request was denied by the organization's policy.", - "Working directory is not relative" + "Working directory is not relative", + "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." ], "type": "string" }, @@ -1750,6 +1754,39 @@ }, "memoryUsage": { "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "totalDiskIoStats": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", + "properties": { + "readBytesCount": { + "format": "uint64", + "type": "string" + }, + "readCount": { + "format": "uint64", + "type": "string" + }, + "readTimeMs": { + "format": "uint64", + "type": "string" + }, + "writeBytesCount": { + "format": "uint64", + "type": "string" + }, + "writeCount": { + "format": "uint64", + "type": "string" + }, + "writeTimeMs": { + "format": "uint64", + "type": "string" } }, "type": "object" diff --git a/src/apis/remotebuildexecution/v1.ts b/src/apis/remotebuildexecution/v1.ts index 63815ce8b7d..54b131b5377 100644 --- a/src/apis/remotebuildexecution/v1.ts +++ b/src/apis/remotebuildexecution/v1.ts @@ -726,6 +726,15 @@ export namespace remotebuildexecution_v1 { cpuUsedPercent?: number | null; diskUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat; memoryUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat; + totalDiskIoStats?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats; + } + export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats { + readBytesCount?: string | null; + readCount?: string | null; + readTimeMs?: string | null; + writeBytesCount?: string | null; + writeCount?: string | null; + writeTimeMs?: string | null; } export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat { total?: string | null; diff --git a/src/apis/remotebuildexecution/v1alpha.ts b/src/apis/remotebuildexecution/v1alpha.ts index 91ea8019ce9..b13131cbc1c 100644 --- a/src/apis/remotebuildexecution/v1alpha.ts +++ b/src/apis/remotebuildexecution/v1alpha.ts @@ -713,6 +713,15 @@ export namespace remotebuildexecution_v1alpha { cpuUsedPercent?: number | null; diskUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat; memoryUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat; + totalDiskIoStats?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats; + } + export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats { + readBytesCount?: string | null; + readCount?: string | null; + readTimeMs?: string | null; + writeBytesCount?: string | null; + writeCount?: string | null; + writeTimeMs?: string | null; } export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat { total?: string | null; diff --git a/src/apis/remotebuildexecution/v2.ts b/src/apis/remotebuildexecution/v2.ts index bf360290b9c..541bf890c3e 100644 --- a/src/apis/remotebuildexecution/v2.ts +++ b/src/apis/remotebuildexecution/v2.ts @@ -995,6 +995,15 @@ export namespace remotebuildexecution_v2 { cpuUsedPercent?: number | null; diskUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat; memoryUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat; + totalDiskIoStats?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats; + } + export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats { + readBytesCount?: string | null; + readCount?: string | null; + readTimeMs?: string | null; + writeBytesCount?: string | null; + writeCount?: string | null; + writeTimeMs?: string | null; } export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat { total?: string | null;