public static final class HiveCatalog.Replica.Builder extends GeneratedMessage.Builder<HiveCatalog.Replica.Builder> implements HiveCatalog.ReplicaOrBuilderThe replica of the Catalog.
Protobuf type google.cloud.biglake.hive.v1beta.HiveCatalog.Replica
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HiveCatalog.Replica.BuilderImplements
HiveCatalog.ReplicaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HiveCatalog.Replica build()| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica |
|
buildPartial()
public HiveCatalog.Replica buildPartial()| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica |
|
clear()
public HiveCatalog.Replica.Builder clear()| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
|
clearRegion()
public HiveCatalog.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 |
HiveCatalog.Replica.Builder |
This builder for chaining. |
clearState()
public HiveCatalog.Replica.Builder clearState()Output only. The current state of the replica.
.google.cloud.biglake.hive.v1beta.HiveCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public HiveCatalog.Replica getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 HiveCatalog.Replica.State getState()Output only. The current state of the replica.
.google.cloud.biglake.hive.v1beta.HiveCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.State |
The state. |
getStateValue()
public int getStateValue()Output only. The current state of the replica.
.google.cloud.biglake.hive.v1beta.HiveCatalog.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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HiveCatalog.Replica other)
public HiveCatalog.Replica.Builder mergeFrom(HiveCatalog.Replica other)| Parameter | |
|---|---|
| Name | Description |
other |
HiveCatalog.Replica |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HiveCatalog.Replica.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HiveCatalog.Replica.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
|
setRegion(String value)
public HiveCatalog.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 |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public HiveCatalog.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 |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
This builder for chaining. |
setState(HiveCatalog.Replica.State value)
public HiveCatalog.Replica.Builder setState(HiveCatalog.Replica.State value)Output only. The current state of the replica.
.google.cloud.biglake.hive.v1beta.HiveCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
HiveCatalog.Replica.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
This builder for chaining. |
setStateValue(int value)
public HiveCatalog.Replica.Builder setStateValue(int value)Output only. The current state of the replica.
.google.cloud.biglake.hive.v1beta.HiveCatalog.Replica.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Replica.Builder |
This builder for chaining. |