Class IcebergCatalog.Replica.Builder (0.83.0)

public static final class IcebergCatalog.Replica.Builder extends GeneratedMessage.Builder<IcebergCatalog.Replica.Builder> implements IcebergCatalog.ReplicaOrBuilder

The replica of the Catalog.

Protobuf type google.cloud.biglake.v1.IcebergCatalog.Replica

Static Methods

getDescriptor()

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

Methods

build()

public IcebergCatalog.Replica build()
Returns
Type Description
IcebergCatalog.Replica

buildPartial()

public IcebergCatalog.Replica buildPartial()
Returns
Type Description
IcebergCatalog.Replica

clear()

public IcebergCatalog.Replica.Builder clear()
Returns
Type Description
IcebergCatalog.Replica.Builder
Overrides

clearRegion()

public IcebergCatalog.Replica.Builder clearRegion()

Output only. The region of the replica. For example "us-east1"

string region = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IcebergCatalog.Replica.Builder

This builder for chaining.

clearState()

public IcebergCatalog.Replica.Builder clearState()

Output only. The current state of the replica.

.google.cloud.biglake.v1.IcebergCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IcebergCatalog.Replica.Builder

This builder for chaining.

getDefaultInstanceForType()

public IcebergCatalog.Replica getDefaultInstanceForType()
Returns
Type Description
IcebergCatalog.Replica

getDescriptorForType()

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

getRegion()

public String getRegion()

Output only. The region of the replica. For example "us-east1"

string region = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Output only. The region of the replica. For example "us-east1"

string region = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for region.

getState()

public IcebergCatalog.Replica.State getState()

Output only. The current state of the replica.

.google.cloud.biglake.v1.IcebergCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IcebergCatalog.Replica.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the replica.

.google.cloud.biglake.v1.IcebergCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IcebergCatalog.Replica other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRegion(String value)

public IcebergCatalog.Replica.Builder setRegion(String value)

Output only. The region of the replica. For example "us-east1"

string region = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
IcebergCatalog.Replica.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public IcebergCatalog.Replica.Builder setRegionBytes(ByteString value)

Output only. The region of the replica. For example "us-east1"

string region = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
IcebergCatalog.Replica.Builder

This builder for chaining.

setState(IcebergCatalog.Replica.State value)

public IcebergCatalog.Replica.Builder setState(IcebergCatalog.Replica.State value)

Output only. The current state of the replica.

.google.cloud.biglake.v1.IcebergCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IcebergCatalog.Replica.State

The state to set.

Returns
Type Description
IcebergCatalog.Replica.Builder

This builder for chaining.

setStateValue(int value)

public IcebergCatalog.Replica.Builder setStateValue(int value)

Output only. The current state of the replica.

.google.cloud.biglake.v1.IcebergCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
IcebergCatalog.Replica.Builder

This builder for chaining.