Interface BuildConfigOrBuilder (0.58.0)

public interface BuildConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsEnvironmentVariables(String key)

public abstract boolean containsEnvironmentVariables(String key)

Optional. User-provided build-time environment variables for the function

map<string, string> environment_variables = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getBaseImage()

public abstract String getBaseImage()

Optional. The base image used to build the function.

string base_image = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The baseImage.

getBaseImageBytes()

public abstract ByteString getBaseImageBytes()

Optional. The base image used to build the function.

string base_image = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for baseImage.

getEnableAutomaticUpdates()

public abstract boolean getEnableAutomaticUpdates()

Optional. Sets whether the function will receive automatic base image updates.

bool enable_automatic_updates = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableAutomaticUpdates.

getEnvironmentVariables() (deprecated)

public abstract Map<String,String> getEnvironmentVariables()
Returns
Type Description
Map<String,String>

getEnvironmentVariablesCount()

public abstract int getEnvironmentVariablesCount()

Optional. User-provided build-time environment variables for the function

map<string, string> environment_variables = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getEnvironmentVariablesMap()

public abstract Map<String,String> getEnvironmentVariablesMap()

Optional. User-provided build-time environment variables for the function

map<string, string> environment_variables = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getEnvironmentVariablesOrDefault(String key, String defaultValue)

public abstract String getEnvironmentVariablesOrDefault(String key, String defaultValue)

Optional. User-provided build-time environment variables for the function

map<string, string> environment_variables = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvironmentVariablesOrThrow(String key)

public abstract String getEnvironmentVariablesOrThrow(String key)

Optional. User-provided build-time environment variables for the function

map<string, string> environment_variables = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getFunctionTarget()

public abstract String getFunctionTarget()

Optional. The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".

string function_target = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The functionTarget.

getFunctionTargetBytes()

public abstract ByteString getFunctionTargetBytes()

Optional. The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".

string function_target = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for functionTarget.

getImageUri()

public abstract String getImageUri()

Optional. Artifact Registry URI to store the built image.

string image_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

Optional. Artifact Registry URI to store the built image.

string image_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imageUri.

getName()

public abstract String getName()

Output only. The Cloud Build name of the latest successful deployment of the function.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The Cloud Build name of the latest successful deployment of the function.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getServiceAccount()

public abstract String getServiceAccount()

Optional. Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}.

string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

Optional. Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}.

string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceAccount.

getSourceLocation()

public abstract String getSourceLocation()

The Cloud Storage bucket URI where the function source code is located.

string source_location = 2;

Returns
Type Description
String

The sourceLocation.

getSourceLocationBytes()

public abstract ByteString getSourceLocationBytes()

The Cloud Storage bucket URI where the function source code is located.

string source_location = 2;

Returns
Type Description
ByteString

The bytes for sourceLocation.

getWorkerPool()

public abstract String getWorkerPool()

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run 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) = { ... }

Returns
Type Description
String

The workerPool.

getWorkerPoolBytes()

public abstract ByteString getWorkerPoolBytes()

Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run 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) = { ... }

Returns
Type Description
ByteString

The bytes for workerPool.