public interface SubmitBuildRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SubmitBuildRequest.BuildpacksBuild |
getBuildpackBuild()
Build the source using Buildpacks.
|
SubmitBuildRequest.BuildpacksBuildOrBuilder |
getBuildpackBuildOrBuilder()
Build the source using Buildpacks.
|
SubmitBuildRequest.BuildTypeCase |
getBuildTypeCase() |
SubmitBuildRequest.DockerBuild |
getDockerBuild()
Build the source using Docker.
|
SubmitBuildRequest.DockerBuildOrBuilder |
getDockerBuildOrBuilder()
Build the source using Docker.
|
String |
getImageUri()
Required.
|
com.google.protobuf.ByteString |
getImageUriBytes()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getServiceAccount()
Optional.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Optional.
|
SubmitBuildRequest.SourceCase |
getSourceCase() |
StorageSource |
getStorageSource()
Required.
|
StorageSourceOrBuilder |
getStorageSourceOrBuilder()
Required.
|
String |
getTags(int index)
Optional.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
Optional.
|
int |
getTagsCount()
Optional.
|
List<String> |
getTagsList()
Optional.
|
String |
getWorkerPool()
Optional.
|
com.google.protobuf.ByteString |
getWorkerPoolBytes()
Optional.
|
boolean |
hasBuildpackBuild()
Build the source using Buildpacks.
|
boolean |
hasDockerBuild()
Build the source using Docker.
|
boolean |
hasStorageSource()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];com.google.protobuf.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];boolean hasStorageSource()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
StorageSource getStorageSource()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
StorageSourceOrBuilder getStorageSourceOrBuilder()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
String getImageUri()
Required. Artifact Registry URI to store the built image.
string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getImageUriBytes()
Required. Artifact Registry URI to store the built image.
string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];boolean hasBuildpackBuild()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;SubmitBuildRequest.BuildpacksBuild getBuildpackBuild()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;SubmitBuildRequest.BuildpacksBuildOrBuilder getBuildpackBuildOrBuilder()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;boolean hasDockerBuild()
Build the source using Docker. This means the source has a Dockerfile.
.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;SubmitBuildRequest.DockerBuild getDockerBuild()
Build the source using Docker. This means the source has a Dockerfile.
.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;SubmitBuildRequest.DockerBuildOrBuilder getDockerBuildOrBuilder()
Build the source using Docker. This means the source has a Dockerfile.
.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;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];com.google.protobuf.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];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) = { ... }
com.google.protobuf.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) = { ... }
List<String> getTagsList()
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];int getTagsCount()
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];String getTags(int index)
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];index - The index of the element to return.com.google.protobuf.ByteString getTagsBytes(int index)
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];index - The index of the value to return.SubmitBuildRequest.SourceCase getSourceCase()
SubmitBuildRequest.BuildTypeCase getBuildTypeCase()
Copyright © 2025 Google LLC. All rights reserved.