publicstaticfinalclass SubmitBuildRequest.BuildpacksBuildextendsGeneratedMessageV3implementsSubmitBuildRequest.BuildpacksBuildOrBuilder
Build the source using Buildpacks.
Protobuf type google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BASE_IMAGE_FIELD_NUMBER
publicstaticfinalintBASE_IMAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CACHE_IMAGE_URI_FIELD_NUMBER
publicstaticfinalintCACHE_IMAGE_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ENABLE_AUTOMATIC_UPDATES_FIELD_NUMBER
publicstaticfinalintENABLE_AUTOMATIC_UPDATES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ENVIRONMENT_VARIABLES_FIELD_NUMBER
publicstaticfinalintENVIRONMENT_VARIABLES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
FUNCTION_TARGET_FIELD_NUMBER
publicstaticfinalintFUNCTION_TARGET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PROJECT_DESCRIPTOR_FIELD_NUMBER
publicstaticfinalintPROJECT_DESCRIPTOR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RUNTIME_FIELD_NUMBER
publicstaticfinalintRUNTIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticSubmitBuildRequest.BuildpacksBuildgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticSubmitBuildRequest.BuildpacksBuild.BuildernewBuilder()
newBuilder(SubmitBuildRequest.BuildpacksBuild prototype)
publicstaticSubmitBuildRequest.BuildpacksBuild.BuildernewBuilder(SubmitBuildRequest.BuildpacksBuildprototype)
publicstaticSubmitBuildRequest.BuildpacksBuildparseDelimitedFrom(InputStreaminput)
publicstaticSubmitBuildRequest.BuildpacksBuildparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(CodedInputStreaminput)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(InputStreaminput)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSubmitBuildRequest.BuildpacksBuildparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<SubmitBuildRequest.BuildpacksBuild>parser()
Methods
containsEnvironmentVariables(String key)
publicbooleancontainsEnvironmentVariables(Stringkey)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBaseImage()
publicStringgetBaseImage()
Optional. The base image to use for the build.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The baseImage.
|
getBaseImageBytes()
publicByteStringgetBaseImageBytes()
Optional. The base image to use for the build.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for baseImage.
|
getCacheImageUri()
publicStringgetCacheImageUri()
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];
| Returns |
| Type |
Description |
String |
The cacheImageUri.
|
getCacheImageUriBytes()
publicByteStringgetCacheImageUriBytes()
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for cacheImageUri.
|
getDefaultInstanceForType()
publicSubmitBuildRequest.BuildpacksBuildgetDefaultInstanceForType()
getEnableAutomaticUpdates()
publicbooleangetEnableAutomaticUpdates()
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];
| Returns |
| Type |
Description |
boolean |
The enableAutomaticUpdates.
|
getEnvironmentVariables() (deprecated)
publicMap<String,String>getEnvironmentVariables()
getEnvironmentVariablesCount()
publicintgetEnvironmentVariablesCount()
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
getEnvironmentVariablesMap()
publicMap<String,String>getEnvironmentVariablesMap()
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentVariablesOrDefault(String key, String defaultValue)
publicStringgetEnvironmentVariablesOrDefault(Stringkey,StringdefaultValue)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
getEnvironmentVariablesOrThrow(String key)
publicStringgetEnvironmentVariablesOrThrow(Stringkey)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
getFunctionTarget()
publicStringgetFunctionTarget()
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];
| Returns |
| Type |
Description |
String |
The functionTarget.
|
getFunctionTargetBytes()
publicByteStringgetFunctionTargetBytes()
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for functionTarget.
|
getParserForType()
publicParser<SubmitBuildRequest.BuildpacksBuild>getParserForType()
Overrides
getProjectDescriptor()
publicStringgetProjectDescriptor()
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];
| Returns |
| Type |
Description |
String |
The projectDescriptor.
|
getProjectDescriptorBytes()
publicByteStringgetProjectDescriptorBytes()
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for projectDescriptor.
|
getRuntime() (deprecated)
Deprecated. google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.runtime is deprecated. See
google/cloud/run/v2/build.proto;l=56
The runtime name, e.g. 'go113'. Leave blank for generic builds.
string runtime = 1 [deprecated = true];
| Returns |
| Type |
Description |
String |
The runtime.
|
getRuntimeBytes() (deprecated)
publicByteStringgetRuntimeBytes()
Deprecated. google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.runtime is deprecated. See
google/cloud/run/v2/build.proto;l=56
The runtime name, e.g. 'go113'. Leave blank for generic builds.
string runtime = 1 [deprecated = true];
| Returns |
| Type |
Description |
ByteString |
The bytes for runtime.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicSubmitBuildRequest.BuildpacksBuild.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedSubmitBuildRequest.BuildpacksBuild.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicSubmitBuildRequest.BuildpacksBuild.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides