Class CloudBuildOptions.Builder (2.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudBuildOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

build()

public CloudBuildOptions build()
Returns
TypeDescription
CloudBuildOptions

buildPartial()

public CloudBuildOptions buildPartial()
Returns
TypeDescription
CloudBuildOptions

clear()

public CloudBuildOptions.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CloudBuildOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public CloudBuildOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudBuildOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

clone()

public CloudBuildOptions.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getDefaultInstanceForType()

public CloudBuildOptions getDefaultInstanceForType()
Returns
TypeDescription
CloudBuildOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the cloudBuildTimeout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
CloudBuildOptions.Builder

mergeFrom(CloudBuildOptions other)

public CloudBuildOptions.Builder mergeFrom(CloudBuildOptions other)
Parameter
NameDescription
otherCloudBuildOptions
Returns
TypeDescription
CloudBuildOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudBuildOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudBuildOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudBuildOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The appYamlPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for appYamlPath to set.

Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CloudBuildOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CloudBuildOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

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

public CloudBuildOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudBuildOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides