Class SubmitBuildRequest.Builder (0.76.0)

publicstaticfinalclass SubmitBuildRequest.BuilderextendsGeneratedMessageV3.Builder<SubmitBuildRequest.Builder>implementsSubmitBuildRequestOrBuilder

Request message for submitting a Build.

Protobuf type google.cloud.run.v2.SubmitBuildRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTags(Iterable<String> values)

publicSubmitBuildRequest.BuilderaddAllTags(Iterable<String>values)

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSubmitBuildRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

addTags(String value)

publicSubmitBuildRequest.BuilderaddTags(Stringvalue)

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tags to add.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

addTagsBytes(ByteString value)

publicSubmitBuildRequest.BuilderaddTagsBytes(ByteStringvalue)

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

build()

publicSubmitBuildRequestbuild()
Returns
Type Description
SubmitBuildRequest

buildPartial()

publicSubmitBuildRequestbuildPartial()
Returns
Type Description
SubmitBuildRequest

clear()

publicSubmitBuildRequest.Builderclear()
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

clearBuildType()

publicSubmitBuildRequest.BuilderclearBuildType()
Returns
Type Description
SubmitBuildRequest.Builder

clearBuildpackBuild()

publicSubmitBuildRequest.BuilderclearBuildpackBuild()

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Returns
Type Description
SubmitBuildRequest.Builder

clearDockerBuild()

publicSubmitBuildRequest.BuilderclearDockerBuild()

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Returns
Type Description
SubmitBuildRequest.Builder

clearField(Descriptors.FieldDescriptor field)

publicSubmitBuildRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

clearImageUri()

publicSubmitBuildRequest.BuilderclearImageUri()

Required. Artifact Registry URI to store the built image.

string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicSubmitBuildRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

clearParent()

publicSubmitBuildRequest.BuilderclearParent()

Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

clearServiceAccount()

publicSubmitBuildRequest.BuilderclearServiceAccount()

Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.

string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

clearSource()

publicSubmitBuildRequest.BuilderclearSource()
Returns
Type Description
SubmitBuildRequest.Builder

clearStorageSource()

publicSubmitBuildRequest.BuilderclearStorageSource()

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubmitBuildRequest.Builder

clearTags()

publicSubmitBuildRequest.BuilderclearTags()

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

clearWorkerPool()

publicSubmitBuildRequest.BuilderclearWorkerPool()

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

clone()

publicSubmitBuildRequest.Builderclone()
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

getBuildTypeCase()

publicSubmitBuildRequest.BuildTypeCasegetBuildTypeCase()
Returns
Type Description
SubmitBuildRequest.BuildTypeCase

getBuildpackBuild()

publicSubmitBuildRequest.BuildpacksBuildgetBuildpackBuild()

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Returns
Type Description
SubmitBuildRequest.BuildpacksBuild

The buildpackBuild.

getBuildpackBuildBuilder()

publicSubmitBuildRequest.BuildpacksBuild.BuildergetBuildpackBuildBuilder()

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Returns
Type Description
SubmitBuildRequest.BuildpacksBuild.Builder

getBuildpackBuildOrBuilder()

publicSubmitBuildRequest.BuildpacksBuildOrBuildergetBuildpackBuildOrBuilder()

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Returns
Type Description
SubmitBuildRequest.BuildpacksBuildOrBuilder

getDefaultInstanceForType()

publicSubmitBuildRequestgetDefaultInstanceForType()
Returns
Type Description
SubmitBuildRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDockerBuild()

publicSubmitBuildRequest.DockerBuildgetDockerBuild()

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Returns
Type Description
SubmitBuildRequest.DockerBuild

The dockerBuild.

getDockerBuildBuilder()

publicSubmitBuildRequest.DockerBuild.BuildergetDockerBuildBuilder()

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Returns
Type Description
SubmitBuildRequest.DockerBuild.Builder

getDockerBuildOrBuilder()

publicSubmitBuildRequest.DockerBuildOrBuildergetDockerBuildOrBuilder()

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Returns
Type Description
SubmitBuildRequest.DockerBuildOrBuilder

getImageUri()

publicStringgetImageUri()

Required. Artifact Registry URI to store the built image.

string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The imageUri.

getImageUriBytes()

publicByteStringgetImageUriBytes()

Required. Artifact Registry URI to store the built image.

string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for imageUri.

getParent()

publicStringgetParent()

Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getServiceAccount()

publicStringgetServiceAccount()

Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.

string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

publicByteStringgetServiceAccountBytes()

Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.

string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceAccount.

getSourceCase()

publicSubmitBuildRequest.SourceCasegetSourceCase()
Returns
Type Description
SubmitBuildRequest.SourceCase

getStorageSource()

publicStorageSourcegetStorageSource()

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageSource

The storageSource.

getStorageSourceBuilder()

publicStorageSource.BuildergetStorageSourceBuilder()

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageSource.Builder

getStorageSourceOrBuilder()

publicStorageSourceOrBuildergetStorageSourceOrBuilder()

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageSourceOrBuilder

getTags(int index)

publicStringgetTags(intindex)

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

publicByteStringgetTagsBytes(intindex)

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

publicintgetTagsCount()

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of tags.

getTagsList()

publicProtocolStringListgetTagsList()

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the tags.

getWorkerPool()

publicStringgetWorkerPool()

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workerPool.

getWorkerPoolBytes()

publicByteStringgetWorkerPoolBytes()

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workerPool.

hasBuildpackBuild()

publicbooleanhasBuildpackBuild()

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Returns
Type Description
boolean

Whether the buildpackBuild field is set.

hasDockerBuild()

publicbooleanhasDockerBuild()

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Returns
Type Description
boolean

Whether the dockerBuild field is set.

hasStorageSource()

publicbooleanhasStorageSource()

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the storageSource field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeBuildpackBuild(SubmitBuildRequest.BuildpacksBuild value)

publicSubmitBuildRequest.BuildermergeBuildpackBuild(SubmitBuildRequest.BuildpacksBuildvalue)

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Parameter
Name Description
value SubmitBuildRequest.BuildpacksBuild
Returns
Type Description
SubmitBuildRequest.Builder

mergeDockerBuild(SubmitBuildRequest.DockerBuild value)

publicSubmitBuildRequest.BuildermergeDockerBuild(SubmitBuildRequest.DockerBuildvalue)

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Parameter
Name Description
value SubmitBuildRequest.DockerBuild
Returns
Type Description
SubmitBuildRequest.Builder

mergeFrom(SubmitBuildRequest other)

publicSubmitBuildRequest.BuildermergeFrom(SubmitBuildRequestother)
Parameter
Name Description
other SubmitBuildRequest
Returns
Type Description
SubmitBuildRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSubmitBuildRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitBuildRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSubmitBuildRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

mergeStorageSource(StorageSource value)

publicSubmitBuildRequest.BuildermergeStorageSource(StorageSourcevalue)

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StorageSource
Returns
Type Description
SubmitBuildRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSubmitBuildRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

setBuildpackBuild(SubmitBuildRequest.BuildpacksBuild value)

publicSubmitBuildRequest.BuildersetBuildpackBuild(SubmitBuildRequest.BuildpacksBuildvalue)

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Parameter
Name Description
value SubmitBuildRequest.BuildpacksBuild
Returns
Type Description
SubmitBuildRequest.Builder

setBuildpackBuild(SubmitBuildRequest.BuildpacksBuild.Builder builderForValue)

publicSubmitBuildRequest.BuildersetBuildpackBuild(SubmitBuildRequest.BuildpacksBuild.BuilderbuilderForValue)

Build the source using Buildpacks.

.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;

Parameter
Name Description
builderForValue SubmitBuildRequest.BuildpacksBuild.Builder
Returns
Type Description
SubmitBuildRequest.Builder

setDockerBuild(SubmitBuildRequest.DockerBuild value)

publicSubmitBuildRequest.BuildersetDockerBuild(SubmitBuildRequest.DockerBuildvalue)

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Parameter
Name Description
value SubmitBuildRequest.DockerBuild
Returns
Type Description
SubmitBuildRequest.Builder

setDockerBuild(SubmitBuildRequest.DockerBuild.Builder builderForValue)

publicSubmitBuildRequest.BuildersetDockerBuild(SubmitBuildRequest.DockerBuild.BuilderbuilderForValue)

Build the source using Docker. This means the source has a Dockerfile.

.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;

Parameter
Name Description
builderForValue SubmitBuildRequest.DockerBuild.Builder
Returns
Type Description
SubmitBuildRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicSubmitBuildRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

setImageUri(String value)

publicSubmitBuildRequest.BuildersetImageUri(Stringvalue)

Required. Artifact Registry URI to store the built image.

string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The imageUri to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setImageUriBytes(ByteString value)

publicSubmitBuildRequest.BuildersetImageUriBytes(ByteStringvalue)

Required. Artifact Registry URI to store the built image.

string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for imageUri to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setParent(String value)

publicSubmitBuildRequest.BuildersetParent(Stringvalue)

Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicSubmitBuildRequest.BuildersetParentBytes(ByteStringvalue)

Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicSubmitBuildRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

setServiceAccount(String value)

publicSubmitBuildRequest.BuildersetServiceAccount(Stringvalue)

Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.

string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

publicSubmitBuildRequest.BuildersetServiceAccountBytes(ByteStringvalue)

Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.

string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setStorageSource(StorageSource value)

publicSubmitBuildRequest.BuildersetStorageSource(StorageSourcevalue)

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StorageSource
Returns
Type Description
SubmitBuildRequest.Builder

setStorageSource(StorageSource.Builder builderForValue)

publicSubmitBuildRequest.BuildersetStorageSource(StorageSource.BuilderbuilderForValue)

Required. Source for the build.

.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue StorageSource.Builder
Returns
Type Description
SubmitBuildRequest.Builder

setTags(int index, String value)

publicSubmitBuildRequest.BuildersetTags(intindex,Stringvalue)

Optional. Additional tags to annotate the build.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSubmitBuildRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitBuildRequest.Builder
Overrides

setWorkerPool(String value)

publicSubmitBuildRequest.BuildersetWorkerPool(Stringvalue)

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The workerPool to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

setWorkerPoolBytes(ByteString value)

publicSubmitBuildRequest.BuildersetWorkerPoolBytes(ByteStringvalue)

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for workerPool to set.

Returns
Type Description
SubmitBuildRequest.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.