Class Federation.Builder (2.30.0)

public static final class Federation.Builder extends GeneratedMessageV3.Builder<Federation.Builder> implements FederationOrBuilder

Represents a federation of multiple backend metastores.

Protobuf type google.cloud.metastore.v1alpha.Federation

Implements

FederationOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Federation build()
Returns
TypeDescription
Federation

buildPartial()

public Federation buildPartial()
Returns
TypeDescription
Federation

clear()

public Federation.Builder clear()
Returns
TypeDescription
Federation.Builder
Overrides

clearBackendMetastores()

public Federation.Builder clearBackendMetastores()
Returns
TypeDescription
Federation.Builder

clearCreateTime()

public Federation.Builder clearCreateTime()

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.Builder

clearEndpointUri()

public Federation.Builder clearEndpointUri()

Output only. The federation endpoint.

string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Federation.Builder clearLabels()
Returns
TypeDescription
Federation.Builder

clearName()

public Federation.Builder clearName()

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Federation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public Federation.Builder clearState()

Output only. The current state of the federation.

.google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.Builder

This builder for chaining.

clearStateMessage()

public Federation.Builder clearStateMessage()

Output only. Additional information about the current state of the metastore federation, if available.

string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.Builder

This builder for chaining.

clearUid()

public Federation.Builder clearUid()

Output only. The globally unique resource identifier of the metastore federation.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.Builder

This builder for chaining.

clearUpdateTime()

public Federation.Builder clearUpdateTime()

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.Builder

clearVersion()

public Federation.Builder clearVersion()

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

string version = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Federation.Builder

This builder for chaining.

clone()

public Federation.Builder clone()
Returns
TypeDescription
Federation.Builder
Overrides

containsBackendMetastores(int key)

public boolean containsBackendMetastores(int key)

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Parameter
NameDescription
keyint
Returns
TypeDescription
boolean

containsLabels(String key)

public boolean containsLabels(String key)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBackendMetastores()

public Map<Integer,BackendMetastore> getBackendMetastores()
Returns
TypeDescription
Map<java.lang.Integer,BackendMetastore>

getBackendMetastoresCount()

public int getBackendMetastoresCount()

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Returns
TypeDescription
int

getBackendMetastoresMap()

public Map<Integer,BackendMetastore> getBackendMetastoresMap()

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Returns
TypeDescription
Map<java.lang.Integer,BackendMetastore>

getBackendMetastoresOrDefault(int key, BackendMetastore defaultValue)

public BackendMetastore getBackendMetastoresOrDefault(int key, BackendMetastore defaultValue)

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Parameters
NameDescription
keyint
defaultValueBackendMetastore
Returns
TypeDescription
BackendMetastore

getBackendMetastoresOrThrow(int key)

public BackendMetastore getBackendMetastoresOrThrow(int key)

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Parameter
NameDescription
keyint
Returns
TypeDescription
BackendMetastore

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Federation getDefaultInstanceForType()
Returns
TypeDescription
Federation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpointUri()

public String getEndpointUri()

Output only. The federation endpoint.

string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The endpointUri.

getEndpointUriBytes()

public ByteString getEndpointUriBytes()

Output only. The federation endpoint.

string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for endpointUri.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableBackendMetastores()

public Map<Integer,BackendMetastore> getMutableBackendMetastores()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<java.lang.Integer,BackendMetastore>

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getState()

public Federation.State getState()

Output only. The current state of the federation.

.google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Federation.State

The state.

getStateMessage()

public String getStateMessage()

Output only. Additional information about the current state of the metastore federation, if available.

string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public ByteString getStateMessageBytes()

Output only. Additional information about the current state of the metastore federation, if available.

string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for stateMessage.

getStateValue()

public int getStateValue()

Output only. The current state of the federation.

.google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. The globally unique resource identifier of the metastore federation.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. The globally unique resource identifier of the metastore federation.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getVersion()

public String getVersion()

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

string version = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

string version = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for version.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Federation.Builder mergeCreateTime(Timestamp value)

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Federation.Builder

mergeFrom(Federation other)

public Federation.Builder mergeFrom(Federation other)
Parameter
NameDescription
otherFederation
Returns
TypeDescription
Federation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Federation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Federation.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Federation.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Federation.Builder

putAllBackendMetastores(Map<Integer,BackendMetastore> values)

public Federation.Builder putAllBackendMetastores(Map<Integer,BackendMetastore> values)

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Parameter
NameDescription
valuesMap<java.lang.Integer,BackendMetastore>
Returns
TypeDescription
Federation.Builder

putAllLabels(Map<String,String> values)

public Federation.Builder putAllLabels(Map<String,String> values)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Federation.Builder

putBackendMetastores(int key, BackendMetastore value)

public Federation.Builder putBackendMetastores(int key, BackendMetastore value)

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Parameters
NameDescription
keyint
valueBackendMetastore
Returns
TypeDescription
Federation.Builder

putLabels(String key, String value)

public Federation.Builder putLabels(String key, String value)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Federation.Builder

removeBackendMetastores(int key)

public Federation.Builder removeBackendMetastores(int key)

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

map<int32, .google.cloud.metastore.v1alpha.BackendMetastore> backend_metastores = 6;

Parameter
NameDescription
keyint
Returns
TypeDescription
Federation.Builder

removeLabels(String key)

public Federation.Builder removeLabels(String key)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Federation.Builder

setCreateTime(Timestamp value)

public Federation.Builder setCreateTime(Timestamp value)

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Federation.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Federation.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the metastore federation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Federation.Builder

setEndpointUri(String value)

public Federation.Builder setEndpointUri(String value)

Output only. The federation endpoint.

string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The endpointUri to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setEndpointUriBytes(ByteString value)

public Federation.Builder setEndpointUriBytes(ByteString value)

Output only. The federation endpoint.

string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for endpointUri to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Federation.Builder setName(String value)

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Federation.Builder setNameBytes(ByteString value)

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

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

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

setState(Federation.State value)

public Federation.Builder setState(Federation.State value)

Output only. The current state of the federation.

.google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFederation.State

The state to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setStateMessage(String value)

public Federation.Builder setStateMessage(String value)

Output only. Additional information about the current state of the metastore federation, if available.

string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The stateMessage to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setStateMessageBytes(ByteString value)

public Federation.Builder setStateMessageBytes(ByteString value)

Output only. Additional information about the current state of the metastore federation, if available.

string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for stateMessage to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setStateValue(int value)

public Federation.Builder setStateValue(int value)

Output only. The current state of the federation.

.google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setUid(String value)

public Federation.Builder setUid(String value)

Output only. The globally unique resource identifier of the metastore federation.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Federation.Builder setUidBytes(ByteString value)

Output only. The globally unique resource identifier of the metastore federation.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Federation.Builder setUpdateTime(Timestamp value)

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Federation.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Federation.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time when the metastore federation was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Federation.Builder

setVersion(String value)

public Federation.Builder setVersion(String value)

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

string version = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Federation.Builder setVersionBytes(ByteString value)

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

string version = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
Federation.Builder

This builder for chaining.