public static final class SubmitBuildRequest.BuildpacksBuild extends com.google.protobuf.GeneratedMessageV3 implements SubmitBuildRequest.BuildpacksBuildOrBuilder
Build the source using Buildpacks.Protobuf type
google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild| Modifier and Type | Class and Description |
|---|---|
static class |
SubmitBuildRequest.BuildpacksBuild.Builder
Build the source using Buildpacks.
|
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 |
BASE_IMAGE_FIELD_NUMBER |
static int |
CACHE_IMAGE_URI_FIELD_NUMBER |
static int |
ENABLE_AUTOMATIC_UPDATES_FIELD_NUMBER |
static int |
ENVIRONMENT_VARIABLES_FIELD_NUMBER |
static int |
FUNCTION_TARGET_FIELD_NUMBER |
static int |
PROJECT_DESCRIPTOR_FIELD_NUMBER |
static int |
RUNTIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsEnvironmentVariables(String key)
Optional.
|
boolean |
equals(Object obj) |
String |
getBaseImage()
Optional.
|
com.google.protobuf.ByteString |
getBaseImageBytes()
Optional.
|
String |
getCacheImageUri()
Optional. cache_image_uri is the GCR/AR URL where the cache image will be
stored. cache_image_uri is optional and omitting it will disable caching.
|
com.google.protobuf.ByteString |
getCacheImageUriBytes()
Optional. cache_image_uri is the GCR/AR URL where the cache image will be
stored. cache_image_uri is optional and omitting it will disable caching.
|
static SubmitBuildRequest.BuildpacksBuild |
getDefaultInstance() |
SubmitBuildRequest.BuildpacksBuild |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableAutomaticUpdates()
Optional.
|
Map<String,String> |
getEnvironmentVariables()
Deprecated.
|
int |
getEnvironmentVariablesCount()
Optional.
|
Map<String,String> |
getEnvironmentVariablesMap()
Optional.
|
String |
getEnvironmentVariablesOrDefault(String key,
String defaultValue)
Optional.
|
String |
getEnvironmentVariablesOrThrow(String key)
Optional.
|
String |
getFunctionTarget()
Optional.
|
com.google.protobuf.ByteString |
getFunctionTargetBytes()
Optional.
|
com.google.protobuf.Parser<SubmitBuildRequest.BuildpacksBuild> |
getParserForType() |
String |
getProjectDescriptor()
Optional. project_descriptor stores the path to the project descriptor
file.
|
com.google.protobuf.ByteString |
getProjectDescriptorBytes()
Optional. project_descriptor stores the path to the project descriptor
file.
|
String |
getRuntime()
Deprecated.
google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.runtime is deprecated. See
google/cloud/run/v2/build.proto;l=56
|
com.google.protobuf.ByteString |
getRuntimeBytes()
Deprecated.
google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.runtime is deprecated. See
google/cloud/run/v2/build.proto;l=56
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static SubmitBuildRequest.BuildpacksBuild.Builder |
newBuilder() |
static SubmitBuildRequest.BuildpacksBuild.Builder |
newBuilder(SubmitBuildRequest.BuildpacksBuild prototype) |
SubmitBuildRequest.BuildpacksBuild.Builder |
newBuilderForType() |
protected SubmitBuildRequest.BuildpacksBuild.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SubmitBuildRequest.BuildpacksBuild |
parseDelimitedFrom(InputStream input) |
static SubmitBuildRequest.BuildpacksBuild |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(byte[] data) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(ByteBuffer data) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(com.google.protobuf.ByteString data) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(InputStream input) |
static SubmitBuildRequest.BuildpacksBuild |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SubmitBuildRequest.BuildpacksBuild> |
parser() |
SubmitBuildRequest.BuildpacksBuild.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, 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 RUNTIME_FIELD_NUMBER
public static final int FUNCTION_TARGET_FIELD_NUMBER
public static final int CACHE_IMAGE_URI_FIELD_NUMBER
public static final int BASE_IMAGE_FIELD_NUMBER
public static final int ENVIRONMENT_VARIABLES_FIELD_NUMBER
public static final int ENABLE_AUTOMATIC_UPDATES_FIELD_NUMBER
public static final int PROJECT_DESCRIPTOR_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.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3@Deprecated public String getRuntime()
The runtime name, e.g. 'go113'. Leave blank for generic builds.
string runtime = 1 [deprecated = true];getRuntime in interface SubmitBuildRequest.BuildpacksBuildOrBuilder@Deprecated public com.google.protobuf.ByteString getRuntimeBytes()
The runtime name, e.g. 'go113'. Leave blank for generic builds.
string runtime = 1 [deprecated = true];getRuntimeBytes in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic String getFunctionTarget()
Optional. Name of the function target if the source is a function source. Required for function builds.
string function_target = 2 [(.google.api.field_behavior) = OPTIONAL];getFunctionTarget in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic com.google.protobuf.ByteString getFunctionTargetBytes()
Optional. Name of the function target if the source is a function source. Required for function builds.
string function_target = 2 [(.google.api.field_behavior) = OPTIONAL];getFunctionTargetBytes in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic String getCacheImageUri()
Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis.
string cache_image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];getCacheImageUri in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic com.google.protobuf.ByteString getCacheImageUriBytes()
Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis.
string cache_image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];getCacheImageUriBytes in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic String getBaseImage()
Optional. The base image to use for the build.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];getBaseImage in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic com.google.protobuf.ByteString getBaseImageBytes()
Optional. The base image to use for the build.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];getBaseImageBytes in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic int getEnvironmentVariablesCount()
SubmitBuildRequest.BuildpacksBuildOrBuilderOptional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentVariablesCount in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic boolean containsEnvironmentVariables(String key)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
containsEnvironmentVariables in interface SubmitBuildRequest.BuildpacksBuildOrBuilder@Deprecated public Map<String,String> getEnvironmentVariables()
getEnvironmentVariablesMap() instead.getEnvironmentVariables in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic Map<String,String> getEnvironmentVariablesMap()
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentVariablesMap in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic String getEnvironmentVariablesOrDefault(String key, String defaultValue)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentVariablesOrDefault in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic String getEnvironmentVariablesOrThrow(String key)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentVariablesOrThrow in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic boolean getEnableAutomaticUpdates()
Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time.
bool enable_automatic_updates = 6 [(.google.api.field_behavior) = OPTIONAL];getEnableAutomaticUpdates in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic String getProjectDescriptor()
Optional. project_descriptor stores the path to the project descriptor file. When empty, it means that there is no project descriptor file in the source.
string project_descriptor = 7 [(.google.api.field_behavior) = OPTIONAL];getProjectDescriptor in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic com.google.protobuf.ByteString getProjectDescriptorBytes()
Optional. project_descriptor stores the path to the project descriptor file. When empty, it means that there is no project descriptor file in the source.
string project_descriptor = 7 [(.google.api.field_behavior) = OPTIONAL];getProjectDescriptorBytes in interface SubmitBuildRequest.BuildpacksBuildOrBuilderpublic 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.BuildpacksBuild parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(InputStream input) throws IOException
IOExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SubmitBuildRequest.BuildpacksBuild parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SubmitBuildRequest.BuildpacksBuild.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SubmitBuildRequest.BuildpacksBuild.Builder newBuilder()
public static SubmitBuildRequest.BuildpacksBuild.Builder newBuilder(SubmitBuildRequest.BuildpacksBuild prototype)
public SubmitBuildRequest.BuildpacksBuild.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SubmitBuildRequest.BuildpacksBuild.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SubmitBuildRequest.BuildpacksBuild getDefaultInstance()
public static com.google.protobuf.Parser<SubmitBuildRequest.BuildpacksBuild> parser()
public com.google.protobuf.Parser<SubmitBuildRequest.BuildpacksBuild> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SubmitBuildRequest.BuildpacksBuild getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.