Class CloudBuildOptions.Builder (2.44.0)

public static final class CloudBuildOptions.Builder extends GeneratedMessageV3.Builder<CloudBuildOptions.Builder> implements CloudBuildOptionsOrBuilder

Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.

Protobuf type google.appengine.v1.CloudBuildOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudBuildOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudBuildOptions.Builder
Overrides

build()

public CloudBuildOptions build()
Returns
Type Description
CloudBuildOptions

buildPartial()

public CloudBuildOptions buildPartial()
Returns
Type Description
CloudBuildOptions

clear()

public CloudBuildOptions.Builder clear()
Returns
Type Description
CloudBuildOptions.Builder
Overrides

clearAppYamlPath()

public CloudBuildOptions.Builder clearAppYamlPath()

Path to the yaml file used in deployment, used to determine runtime configuration details.

Required for flexible environment builds.

See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.

string app_yaml_path = 1;

Returns
Type Description
CloudBuildOptions.Builder

This builder for chaining.

clearCloudBuildTimeout()

public CloudBuildOptions.Builder clearCloudBuildTimeout()

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Returns
Type Description
CloudBuildOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public CloudBuildOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudBuildOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudBuildOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudBuildOptions.Builder
Overrides

clone()

public CloudBuildOptions.Builder clone()
Returns
Type Description
CloudBuildOptions.Builder
Overrides

getAppYamlPath()

public String getAppYamlPath()

Path to the yaml file used in deployment, used to determine runtime configuration details.

Required for flexible environment builds.

See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.

string app_yaml_path = 1;

Returns
Type Description
String

The appYamlPath.

getAppYamlPathBytes()

public ByteString getAppYamlPathBytes()

Path to the yaml file used in deployment, used to determine runtime configuration details.

Required for flexible environment builds.

See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.

string app_yaml_path = 1;

Returns
Type Description
ByteString

The bytes for appYamlPath.

getCloudBuildTimeout()

public Duration getCloudBuildTimeout()

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Returns
Type Description
Duration

The cloudBuildTimeout.

getCloudBuildTimeoutBuilder()

public Duration.Builder getCloudBuildTimeoutBuilder()

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Returns
Type Description
Builder

getCloudBuildTimeoutOrBuilder()

public DurationOrBuilder getCloudBuildTimeoutOrBuilder()

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public CloudBuildOptions getDefaultInstanceForType()
Returns
Type Description
CloudBuildOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasCloudBuildTimeout()

public boolean hasCloudBuildTimeout()

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Returns
Type Description
boolean

Whether the cloudBuildTimeout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudBuildTimeout(Duration value)

public CloudBuildOptions.Builder mergeCloudBuildTimeout(Duration value)

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Parameter
Name Description
value Duration
Returns
Type Description
CloudBuildOptions.Builder

mergeFrom(CloudBuildOptions other)

public CloudBuildOptions.Builder mergeFrom(CloudBuildOptions other)
Parameter
Name Description
other CloudBuildOptions
Returns
Type Description
CloudBuildOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudBuildOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudBuildOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudBuildOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudBuildOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudBuildOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudBuildOptions.Builder
Overrides

setAppYamlPath(String value)

public CloudBuildOptions.Builder setAppYamlPath(String value)

Path to the yaml file used in deployment, used to determine runtime configuration details.

Required for flexible environment builds.

See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.

string app_yaml_path = 1;

Parameter
Name Description
value String

The appYamlPath to set.

Returns
Type Description
CloudBuildOptions.Builder

This builder for chaining.

setAppYamlPathBytes(ByteString value)

public CloudBuildOptions.Builder setAppYamlPathBytes(ByteString value)

Path to the yaml file used in deployment, used to determine runtime configuration details.

Required for flexible environment builds.

See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.

string app_yaml_path = 1;

Parameter
Name Description
value ByteString

The bytes for appYamlPath to set.

Returns
Type Description
CloudBuildOptions.Builder

This builder for chaining.

setCloudBuildTimeout(Duration value)

public CloudBuildOptions.Builder setCloudBuildTimeout(Duration value)

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Parameter
Name Description
value Duration
Returns
Type Description
CloudBuildOptions.Builder

setCloudBuildTimeout(Duration.Builder builderForValue)

public CloudBuildOptions.Builder setCloudBuildTimeout(Duration.Builder builderForValue)

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.

.google.protobuf.Duration cloud_build_timeout = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudBuildOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CloudBuildOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudBuildOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudBuildOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudBuildOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudBuildOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudBuildOptions.Builder
Overrides