- 0.54.0 (latest)
- 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
public static final class SubmitBuildRequest.Builder extends GeneratedMessageV3.Builder<SubmitBuildRequest.Builder> implements SubmitBuildRequestOrBuilder
Request 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
SubmitBuildRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTags(Iterable<String> values)
public SubmitBuildRequest.Builder addAllTags(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)
public SubmitBuildRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
addTags(String value)
public SubmitBuildRequest.Builder addTags(String value)
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)
public SubmitBuildRequest.Builder addTagsBytes(ByteString value)
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()
public SubmitBuildRequest build()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest |
buildPartial()
public SubmitBuildRequest buildPartial()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest |
clear()
public SubmitBuildRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearBuildType()
public SubmitBuildRequest.Builder clearBuildType()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearBuildpackBuild()
public SubmitBuildRequest.Builder clearBuildpackBuild()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearDockerBuild()
public SubmitBuildRequest.Builder clearDockerBuild()
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)
public SubmitBuildRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearImageUri()
public SubmitBuildRequest.Builder clearImageUri()
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)
public SubmitBuildRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearParent()
public SubmitBuildRequest.Builder clearParent()
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()
public SubmitBuildRequest.Builder clearServiceAccount()
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()
public SubmitBuildRequest.Builder clearSource()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearStorageSource()
public SubmitBuildRequest.Builder clearStorageSource()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
clearTags()
public SubmitBuildRequest.Builder clearTags()
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()
public SubmitBuildRequest.Builder clearWorkerPool()
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()
public SubmitBuildRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
getBuildTypeCase()
public SubmitBuildRequest.BuildTypeCase getBuildTypeCase()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildTypeCase |
getBuildpackBuild()
public SubmitBuildRequest.BuildpacksBuild getBuildpackBuild()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild |
The buildpackBuild. |
getBuildpackBuildBuilder()
public SubmitBuildRequest.BuildpacksBuild.Builder getBuildpackBuildBuilder()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
getBuildpackBuildOrBuilder()
public SubmitBuildRequest.BuildpacksBuildOrBuilder getBuildpackBuildOrBuilder()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuildOrBuilder |
getDefaultInstanceForType()
public SubmitBuildRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDockerBuild()
public SubmitBuildRequest.DockerBuild getDockerBuild()
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()
public SubmitBuildRequest.DockerBuild.Builder getDockerBuildBuilder()
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()
public SubmitBuildRequest.DockerBuildOrBuilder getDockerBuildOrBuilder()
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()
public String getImageUri()
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()
public ByteString getImageUriBytes()
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()
public String getParent()
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()
public ByteString getParentBytes()
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()
public String getServiceAccount()
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()
public ByteString getServiceAccountBytes()
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()
public SubmitBuildRequest.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.SourceCase |
getStorageSource()
public StorageSource getStorageSource()
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()
public StorageSource.Builder getStorageSourceBuilder()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StorageSource.Builder |
getStorageSourceOrBuilder()
public StorageSourceOrBuilder getStorageSourceOrBuilder()
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)
public String getTags(int index)
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)
public ByteString getTagsBytes(int index)
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()
public int getTagsCount()
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()
public ProtocolStringList getTagsList()
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()
public String getWorkerPool()
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()
public ByteString getWorkerPoolBytes()
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()
public boolean hasBuildpackBuild()
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()
public boolean hasDockerBuild()
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()
public boolean hasStorageSource()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBuildpackBuild(SubmitBuildRequest.BuildpacksBuild value)
public SubmitBuildRequest.Builder mergeBuildpackBuild(SubmitBuildRequest.BuildpacksBuild value)
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)
public SubmitBuildRequest.Builder mergeDockerBuild(SubmitBuildRequest.DockerBuild value)
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)
public SubmitBuildRequest.Builder mergeFrom(SubmitBuildRequest other)
Parameter | |
---|---|
Name | Description |
other |
SubmitBuildRequest |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubmitBuildRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SubmitBuildRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
mergeStorageSource(StorageSource value)
public SubmitBuildRequest.Builder mergeStorageSource(StorageSource value)
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)
public final SubmitBuildRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
setBuildpackBuild(SubmitBuildRequest.BuildpacksBuild value)
public SubmitBuildRequest.Builder setBuildpackBuild(SubmitBuildRequest.BuildpacksBuild value)
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)
public SubmitBuildRequest.Builder setBuildpackBuild(SubmitBuildRequest.BuildpacksBuild.Builder builderForValue)
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)
public SubmitBuildRequest.Builder setDockerBuild(SubmitBuildRequest.DockerBuild value)
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)
public SubmitBuildRequest.Builder setDockerBuild(SubmitBuildRequest.DockerBuild.Builder builderForValue)
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)
public SubmitBuildRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
setImageUri(String value)
public SubmitBuildRequest.Builder setImageUri(String value)
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)
public SubmitBuildRequest.Builder setImageUriBytes(ByteString value)
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)
public SubmitBuildRequest.Builder setParent(String value)
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)
public SubmitBuildRequest.Builder setParentBytes(ByteString value)
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)
public SubmitBuildRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
setServiceAccount(String value)
public SubmitBuildRequest.Builder setServiceAccount(String value)
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)
public SubmitBuildRequest.Builder setServiceAccountBytes(ByteString value)
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)
public SubmitBuildRequest.Builder setStorageSource(StorageSource value)
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)
public SubmitBuildRequest.Builder setStorageSource(StorageSource.Builder builderForValue)
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)
public SubmitBuildRequest.Builder setTags(int index, String value)
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)
public final SubmitBuildRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.Builder |
setWorkerPool(String value)
public SubmitBuildRequest.Builder setWorkerPool(String value)
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)
public SubmitBuildRequest.Builder setWorkerPoolBytes(ByteString value)
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. |