- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class SubmitBuildRequest.BuildpacksBuild.Builder extends GeneratedMessageV3.Builder<SubmitBuildRequest.BuildpacksBuild.Builder> implements SubmitBuildRequest.BuildpacksBuildOrBuilder
Build the source using Buildpacks.
Protobuf type google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SubmitBuildRequest.BuildpacksBuild.BuilderImplements
SubmitBuildRequest.BuildpacksBuildOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubmitBuildRequest.BuildpacksBuild.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
build()
public SubmitBuildRequest.BuildpacksBuild build()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild |
buildPartial()
public SubmitBuildRequest.BuildpacksBuild buildPartial()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild |
clear()
public SubmitBuildRequest.BuildpacksBuild.Builder clear()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
clearBaseImage()
public SubmitBuildRequest.BuildpacksBuild.Builder clearBaseImage()
Optional. The base image used to opt into automatic base image updates.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
clearCacheImageUri()
public SubmitBuildRequest.BuildpacksBuild.Builder clearCacheImageUri()
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 |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
clearEnableAutomaticUpdates()
public SubmitBuildRequest.BuildpacksBuild.Builder clearEnableAutomaticUpdates()
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 |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
clearEnvironmentVariables()
public SubmitBuildRequest.BuildpacksBuild.Builder clearEnvironmentVariables()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
clearField(Descriptors.FieldDescriptor field)
public SubmitBuildRequest.BuildpacksBuild.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
clearFunctionTarget()
public SubmitBuildRequest.BuildpacksBuild.Builder clearFunctionTarget()
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 |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SubmitBuildRequest.BuildpacksBuild.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
clearRuntime() (deprecated)
public SubmitBuildRequest.BuildpacksBuild.Builder clearRuntime()
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 |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
clone()
public SubmitBuildRequest.BuildpacksBuild.Builder clone()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
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 |
Returns | |
---|---|
Type | Description |
boolean |
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()
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Use #getEnvironmentVariablesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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];
Returns | |
---|---|
Type | Description |
Map<String,String> |
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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
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. |
getMutableEnvironmentVariables() (deprecated)
public Map<String,String> getMutableEnvironmentVariables()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SubmitBuildRequest.BuildpacksBuild other)
public SubmitBuildRequest.BuildpacksBuild.Builder mergeFrom(SubmitBuildRequest.BuildpacksBuild other)
Parameter | |
---|---|
Name | Description |
other |
SubmitBuildRequest.BuildpacksBuild |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubmitBuildRequest.BuildpacksBuild.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SubmitBuildRequest.BuildpacksBuild.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubmitBuildRequest.BuildpacksBuild.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
putAllEnvironmentVariables(Map<String,String> values)
public SubmitBuildRequest.BuildpacksBuild.Builder putAllEnvironmentVariables(Map<String,String> values)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
putEnvironmentVariables(String key, String value)
public SubmitBuildRequest.BuildpacksBuild.Builder putEnvironmentVariables(String key, String value)
Optional. User-provided build-time environment variables.
map<string, string> environment_variables = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
removeEnvironmentVariables(String key)
public SubmitBuildRequest.BuildpacksBuild.Builder removeEnvironmentVariables(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 |
SubmitBuildRequest.BuildpacksBuild.Builder |
setBaseImage(String value)
public SubmitBuildRequest.BuildpacksBuild.Builder setBaseImage(String value)
Optional. The base image used to opt into automatic base image updates.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The baseImage to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setBaseImageBytes(ByteString value)
public SubmitBuildRequest.BuildpacksBuild.Builder setBaseImageBytes(ByteString value)
Optional. The base image used to opt into automatic base image updates.
string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for baseImage to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setCacheImageUri(String value)
public SubmitBuildRequest.BuildpacksBuild.Builder setCacheImageUri(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The cacheImageUri to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setCacheImageUriBytes(ByteString value)
public SubmitBuildRequest.BuildpacksBuild.Builder setCacheImageUriBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cacheImageUri to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setEnableAutomaticUpdates(boolean value)
public SubmitBuildRequest.BuildpacksBuild.Builder setEnableAutomaticUpdates(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value |
boolean The enableAutomaticUpdates to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SubmitBuildRequest.BuildpacksBuild.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
setFunctionTarget(String value)
public SubmitBuildRequest.BuildpacksBuild.Builder setFunctionTarget(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The functionTarget to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setFunctionTargetBytes(ByteString value)
public SubmitBuildRequest.BuildpacksBuild.Builder setFunctionTargetBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for functionTarget to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubmitBuildRequest.BuildpacksBuild.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
setRuntime(String value) (deprecated)
public SubmitBuildRequest.BuildpacksBuild.Builder setRuntime(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The runtime to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setRuntimeBytes(ByteString value) (deprecated)
public SubmitBuildRequest.BuildpacksBuild.Builder setRuntimeBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for runtime to set. |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SubmitBuildRequest.BuildpacksBuild.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitBuildRequest.BuildpacksBuild.Builder |