Class Federation.Builder (2.54.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.v1beta.Federation

Implements

FederationOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Federation build()
Returns
Type Description
Federation

buildPartial()

public Federation buildPartial()
Returns
Type Description
Federation

clear()

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

clearBackendMetastores()

public Federation.Builder clearBackendMetastores()
Returns
Type Description
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
Type Description
Federation.Builder

clearEndpointUri()

public Federation.Builder clearEndpointUri()

Output only. The federation endpoint.

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

Returns
Type Description
Federation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Federation.Builder clearLabels()
Returns
Type Description
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
Type Description
Federation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public Federation.Builder clearState()

Output only. The current state of the federation.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Federation.Builder

This builder for chaining.

clone()

public Federation.Builder clone()
Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Parameter
Name Description
key int
Returns
Type Description
boolean

containsLabels(String key)

public boolean containsLabels(String key)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBackendMetastores() (deprecated)

public Map<Integer,BackendMetastore> getBackendMetastores()
Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Parameters
Name Description
key int
defaultValue BackendMetastore
Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Parameter
Name Description
key int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Federation getDefaultInstanceForType()
Returns
Type Description
Federation

getDescriptorForType()

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

getEndpointUri()

public String getEndpointUri()

Output only. The federation endpoint.

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

Returns
Type Description
String

The endpointUri.

getEndpointUriBytes()

public ByteString getEndpointUriBytes()

Output only. The federation endpoint.

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

Returns
Type Description
ByteString

The bytes for endpointUri.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableBackendMetastores() (deprecated)

public Map<Integer,BackendMetastore> getMutableBackendMetastores()

Use alternate mutation accessors instead.

Returns
Type Description
Map<java.lang.Integer,BackendMetastore>

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getState()

public Federation.State getState()

Output only. The current state of the federation.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for stateMessage.

getStateValue()

public int getStateValue()

Output only. The current state of the federation.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Federation.Builder

mergeFrom(Federation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Federation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Parameter
Name Description
values Map<java.lang.Integer,BackendMetastore>
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Parameters
Name Description
key int
value BackendMetastore
Returns
Type Description
Federation.Builder

putBackendMetastoresBuilderIfAbsent(int key)

public BackendMetastore.Builder putBackendMetastoresBuilderIfAbsent(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.v1beta.BackendMetastore> backend_metastores = 6;

Parameter
Name Description
key int
Returns
Type Description
BackendMetastore.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
Name Description
key String
value String
Returns
Type Description
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.v1beta.BackendMetastore> backend_metastores = 6;

Parameter
Name Description
key int
Returns
Type Description
Federation.Builder

removeLabels(String key)

public Federation.Builder removeLabels(String key)

User-defined labels for the metastore federation.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The endpointUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for endpointUri to set.

Returns
Type Description
Federation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Federation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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.v1beta.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Federation.State

The state to set.

Returns
Type Description
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
Name Description
value String

The stateMessage to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for stateMessage to set.

Returns
Type Description
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.v1beta.Federation.State state = 8 [(.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
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
Name Description
value String

The uid to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
Federation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Federation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The version to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
Federation.Builder

This builder for chaining.