public static final class SubmitBuildRequest.BuildpacksBuild extends GeneratedMessageV3 implements SubmitBuildRequest.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
public static final int BASE_IMAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CACHE_IMAGE_URI_FIELD_NUMBER
public static final int CACHE_IMAGE_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENABLE_AUTOMATIC_UPDATES_FIELD_NUMBER
public static final int ENABLE_AUTOMATIC_UPDATES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENVIRONMENT_VARIABLES_FIELD_NUMBER
public static final int ENVIRONMENT_VARIABLES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FUNCTION_TARGET_FIELD_NUMBER
public static final int FUNCTION_TARGET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SubmitBuildRequest.BuildpacksBuild getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SubmitBuildRequest.BuildpacksBuild.Builder newBuilder()
newBuilder(SubmitBuildRequest.BuildpacksBuild prototype)
public static SubmitBuildRequest.BuildpacksBuild.Builder newBuilder(SubmitBuildRequest.BuildpacksBuild prototype)
public static SubmitBuildRequest.BuildpacksBuild parseDelimitedFrom(InputStream input)
public static SubmitBuildRequest.BuildpacksBuild parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(CodedInputStream input)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(InputStream input)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubmitBuildRequest.BuildpacksBuild parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SubmitBuildRequest.BuildpacksBuild> parser()
Methods
containsEnvironmentVariables(String key)
public boolean containsEnvironmentVariables(String key)
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)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBaseImage()
public String getBaseImage()
Optional. The base image used to opt into automatic base image updates.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The baseImage.
|
getBaseImageBytes()
public ByteString getBaseImageBytes()
Optional. The base image used to opt into automatic base image updates.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for baseImage.
|
getCacheImageUri()
public 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];
Returns |
Type |
Description |
String |
The cacheImageUri.
|
getCacheImageUriBytes()
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for cacheImageUri.
|
getDefaultInstanceForType()
public SubmitBuildRequest.BuildpacksBuild getDefaultInstanceForType()
getEnableAutomaticUpdates()
public 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];
Returns |
Type |
Description |
boolean |
The enableAutomaticUpdates.
|
getEnvironmentVariables() (deprecated)
public Map<String,String> getEnvironmentVariables()
getEnvironmentVariablesCount()
public int getEnvironmentVariablesCount()
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getEnvironmentVariablesMap()
public Map<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)
public String getEnvironmentVariablesOrDefault(String key, String defaultValue)
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)
public String getEnvironmentVariablesOrThrow(String key)
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()
public 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];
Returns |
Type |
Description |
String |
The functionTarget.
|
getFunctionTargetBytes()
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for functionTarget.
|
getParserForType()
public Parser<SubmitBuildRequest.BuildpacksBuild> getParserForType()
Overrides
getRuntime() (deprecated)
public String getRuntime()
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)
public ByteString getRuntimeBytes()
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()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SubmitBuildRequest.BuildpacksBuild.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubmitBuildRequest.BuildpacksBuild.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SubmitBuildRequest.BuildpacksBuild.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides