Class CloudBuildOptions (2.22.0)

public final class CloudBuildOptions extends GeneratedMessageV3 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 Fields

APP_YAML_PATH_FIELD_NUMBER

public static final int APP_YAML_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

CLOUD_BUILD_TIMEOUT_FIELD_NUMBER

public static final int CLOUD_BUILD_TIMEOUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudBuildOptions getDefaultInstance()
Returns
TypeDescription
CloudBuildOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CloudBuildOptions.Builder newBuilder()
Returns
TypeDescription
CloudBuildOptions.Builder

newBuilder(CloudBuildOptions prototype)

public static CloudBuildOptions.Builder newBuilder(CloudBuildOptions prototype)
Parameter
NameDescription
prototypeCloudBuildOptions
Returns
TypeDescription
CloudBuildOptions.Builder

parseDelimitedFrom(InputStream input)

public static CloudBuildOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudBuildOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudBuildOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudBuildOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudBuildOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudBuildOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudBuildOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudBuildOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudBuildOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudBuildOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudBuildOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudBuildOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudBuildOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudBuildOptions> parser()
Returns
TypeDescription
Parser<CloudBuildOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<CloudBuildOptions> getParserForType()
Returns
TypeDescription
Parser<CloudBuildOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudBuildOptions.Builder newBuilderForType()
Returns
TypeDescription
CloudBuildOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudBuildOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudBuildOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudBuildOptions.Builder toBuilder()
Returns
TypeDescription
CloudBuildOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException