Class SubmitBuildRequest.Builder (0.76.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.78.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
publicstaticfinalclass SubmitBuildRequest.BuilderextendsGeneratedMessageV3.Builder<SubmitBuildRequest.Builder>implementsSubmitBuildRequestOrBuilderRequest message for submitting a Build.
Protobuf type google.cloud.run.v2.SubmitBuildRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SubmitBuildRequest.BuilderImplements
SubmitBuildRequestOrBuilderInherited Members
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicSubmitBuildRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SubmitBuildRequest.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
|
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. |