public final class SubmitBuildRequest extends com.google.protobuf.GeneratedMessageV3 implements SubmitBuildRequestOrBuilder
Request message for submitting a Build.Protobuf type
google.cloud.run.v2.SubmitBuildRequest| Modifier and Type | Class and Description |
|---|---|
static class |
SubmitBuildRequest.Builder
Request message for submitting a Build.
|
static class |
SubmitBuildRequest.BuildpacksBuild
Build the source using Buildpacks.
|
static interface |
SubmitBuildRequest.BuildpacksBuildOrBuilder |
static class |
SubmitBuildRequest.BuildTypeCase |
static class |
SubmitBuildRequest.DockerBuild
Build the source using Docker.
|
static interface |
SubmitBuildRequest.DockerBuildOrBuilder |
static class |
SubmitBuildRequest.SourceCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BUILDPACK_BUILD_FIELD_NUMBER |
static int |
DOCKER_BUILD_FIELD_NUMBER |
static int |
IMAGE_URI_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
STORAGE_SOURCE_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
WORKER_POOL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SubmitBuildRequest.BuildpacksBuild |
getBuildpackBuild()
Build the source using Buildpacks.
|
SubmitBuildRequest.BuildpacksBuildOrBuilder |
getBuildpackBuildOrBuilder()
Build the source using Buildpacks.
|
SubmitBuildRequest.BuildTypeCase |
getBuildTypeCase() |
static SubmitBuildRequest |
getDefaultInstance() |
SubmitBuildRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<SubmitBuildRequest> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
int |
hashCode() |
boolean |
hasStorageSource()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SubmitBuildRequest.Builder |
newBuilder() |
static SubmitBuildRequest.Builder |
newBuilder(SubmitBuildRequest prototype) |
SubmitBuildRequest.Builder |
newBuilderForType() |
protected SubmitBuildRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SubmitBuildRequest |
parseDelimitedFrom(InputStream input) |
static SubmitBuildRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest |
parseFrom(byte[] data) |
static SubmitBuildRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest |
parseFrom(ByteBuffer data) |
static SubmitBuildRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest |
parseFrom(com.google.protobuf.ByteString data) |
static SubmitBuildRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SubmitBuildRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest |
parseFrom(InputStream input) |
static SubmitBuildRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SubmitBuildRequest> |
parser() |
SubmitBuildRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int STORAGE_SOURCE_FIELD_NUMBER
public static final int IMAGE_URI_FIELD_NUMBER
public static final int BUILDPACK_BUILD_FIELD_NUMBER
public static final int DOCKER_BUILD_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public SubmitBuildRequest.SourceCase getSourceCase()
getSourceCase in interface SubmitBuildRequestOrBuilderpublic SubmitBuildRequest.BuildTypeCase getBuildTypeCase()
getBuildTypeCase in interface SubmitBuildRequestOrBuilderpublic 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];getParent in interface SubmitBuildRequestOrBuilderpublic 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];getParentBytes in interface SubmitBuildRequestOrBuilderpublic boolean hasStorageSource()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
hasStorageSource in interface SubmitBuildRequestOrBuilderpublic StorageSource getStorageSource()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
getStorageSource in interface SubmitBuildRequestOrBuilderpublic StorageSourceOrBuilder getStorageSourceOrBuilder()
Required. Source for the build.
.google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
getStorageSourceOrBuilder in interface SubmitBuildRequestOrBuilderpublic String getImageUri()
Required. Artifact Registry URI to store the built image.
string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];getImageUri in interface SubmitBuildRequestOrBuilderpublic com.google.protobuf.ByteString getImageUriBytes()
Required. Artifact Registry URI to store the built image.
string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];getImageUriBytes in interface SubmitBuildRequestOrBuilderpublic boolean hasBuildpackBuild()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;hasBuildpackBuild in interface SubmitBuildRequestOrBuilderpublic SubmitBuildRequest.BuildpacksBuild getBuildpackBuild()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;getBuildpackBuild in interface SubmitBuildRequestOrBuilderpublic SubmitBuildRequest.BuildpacksBuildOrBuilder getBuildpackBuildOrBuilder()
Build the source using Buildpacks.
.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;getBuildpackBuildOrBuilder in interface SubmitBuildRequestOrBuilderpublic boolean hasDockerBuild()
Build the source using Docker. This means the source has a Dockerfile.
.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;hasDockerBuild in interface SubmitBuildRequestOrBuilderpublic SubmitBuildRequest.DockerBuild getDockerBuild()
Build the source using Docker. This means the source has a Dockerfile.
.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;getDockerBuild in interface SubmitBuildRequestOrBuilderpublic SubmitBuildRequest.DockerBuildOrBuilder getDockerBuildOrBuilder()
Build the source using Docker. This means the source has a Dockerfile.
.google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;getDockerBuildOrBuilder in interface SubmitBuildRequestOrBuilderpublic 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];getServiceAccount in interface SubmitBuildRequestOrBuilderpublic 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];getServiceAccountBytes in interface SubmitBuildRequestOrBuilderpublic 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) = { ... }
getWorkerPool in interface SubmitBuildRequestOrBuilderpublic 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) = { ... }
getWorkerPoolBytes in interface SubmitBuildRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getTagsList()
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];getTagsList in interface SubmitBuildRequestOrBuilderpublic int getTagsCount()
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];getTagsCount in interface SubmitBuildRequestOrBuilderpublic String getTags(int index)
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];getTags in interface SubmitBuildRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. Additional tags to annotate the build.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];getTagsBytes in interface SubmitBuildRequestOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SubmitBuildRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static SubmitBuildRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SubmitBuildRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SubmitBuildRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SubmitBuildRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SubmitBuildRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SubmitBuildRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SubmitBuildRequest.Builder newBuilder()
public static SubmitBuildRequest.Builder newBuilder(SubmitBuildRequest prototype)
public SubmitBuildRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SubmitBuildRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SubmitBuildRequest getDefaultInstance()
public static com.google.protobuf.Parser<SubmitBuildRequest> parser()
public com.google.protobuf.Parser<SubmitBuildRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SubmitBuildRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.