Class StorageConfig.Builder (1.45.0)

public static final class StorageConfig.Builder extends GeneratedMessageV3.Builder<StorageConfig.Builder> implements StorageConfigOrBuilder

The configuration for data storage in the environment.

Protobuf type google.cloud.orchestration.airflow.service.v1.StorageConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StorageConfig build()
Returns
Type Description
StorageConfig

buildPartial()

public StorageConfig buildPartial()
Returns
Type Description
StorageConfig

clear()

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

clearBucket()

public StorageConfig.Builder clearBucket()

Optional. The name of the Cloud Storage bucket used by the environment. No gs:// prefix.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBucket()

public String getBucket()

Optional. The name of the Cloud Storage bucket used by the environment. No gs:// prefix.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Optional. The name of the Cloud Storage bucket used by the environment. No gs:// prefix.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public StorageConfig getDefaultInstanceForType()
Returns
Type Description
StorageConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBucket(String value)

public StorageConfig.Builder setBucket(String value)

Optional. The name of the Cloud Storage bucket used by the environment. No gs:// prefix.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
StorageConfig.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public StorageConfig.Builder setBucketBytes(ByteString value)

Optional. The name of the Cloud Storage bucket used by the environment. No gs:// prefix.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
StorageConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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