Class Federation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
com.google.cloud.metastore.v1beta.Federation.Builder
- All Implemented Interfaces:
FederationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Federation
public static final class Federation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
implements FederationOrBuilder
Represents a federation of multiple backend metastores.Protobuf type
google.cloud.metastore.v1beta.Federation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Immutable.Output only.Output only.clearUid()Output only.Output only.Immutable.booleancontainsBackendMetastores(int key) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.booleancontainsLabels(String key) User-defined labels for the metastore federation.Deprecated.intA map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.getBackendMetastoresOrDefault(int key, BackendMetastore defaultValue) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.getBackendMetastoresOrThrow(int key) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Deprecated.intUser-defined labels for the metastore federation.User-defined labels for the metastore federation.getLabelsOrDefault(String key, String defaultValue) User-defined labels for the metastore federation.getLabelsOrThrow(String key) User-defined labels for the metastore federation.Deprecated.Deprecated.getName()Immutable.com.google.protobuf.ByteStringImmutable.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Immutable.com.google.protobuf.ByteStringImmutable.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(Federation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.putAllLabels(Map<String, String> values) User-defined labels for the metastore federation.putBackendMetastores(int key, BackendMetastore value) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.putBackendMetastoresBuilderIfAbsent(int key) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.User-defined labels for the metastore federation.removeBackendMetastores(int key) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.removeLabels(String key) User-defined labels for the metastore federation.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setEndpointUri(String value) Output only.setEndpointUriBytes(com.google.protobuf.ByteString value) Output only.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setState(Federation.State value) Output only.setStateMessage(String value) Output only.setStateMessageBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setVersion(String value) Immutable.setVersionBytes(com.google.protobuf.ByteString value) Immutable.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Federation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Federation.Builder>
-
mergeFrom
public Federation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Federation.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceFederationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceFederationOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceFederationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceFederationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.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]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceFederationOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceFederationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.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];- Specified by:
getUpdateTimein interfaceFederationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time when the metastore federation was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time when the metastore federation was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time when the metastore federation was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time when the metastore federation was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.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]; -
getUpdateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getUpdateTimeOrBuilderin interfaceFederationOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:FederationOrBuilderUser-defined labels for the metastore federation.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceFederationOrBuilder
-
containsLabels
User-defined labels for the metastore federation.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceFederationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFederationOrBuilder
-
getLabelsMap
User-defined labels for the metastore federation.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceFederationOrBuilder
-
getLabelsOrDefault
User-defined labels for the metastore federation.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceFederationOrBuilder
-
getLabelsOrThrow
User-defined labels for the metastore federation.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceFederationOrBuilder
-
clearLabels
-
removeLabels
User-defined labels for the metastore federation.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
User-defined labels for the metastore federation.
map<string, string> labels = 4; -
putAllLabels
User-defined labels for the metastore federation.
map<string, string> labels = 4; -
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];- Specified by:
getVersionin interfaceFederationOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.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];- Specified by:
getVersionBytesin interfaceFederationOrBuilder- Returns:
- The bytes for version.
-
setVersion
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];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVersionBytes
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];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getBackendMetastoresCount
public int getBackendMetastoresCount()Description copied from interface:FederationOrBuilderA map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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;- Specified by:
getBackendMetastoresCountin interfaceFederationOrBuilder
-
containsBackendMetastores
public boolean containsBackendMetastores(int key) A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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;- Specified by:
containsBackendMetastoresin interfaceFederationOrBuilder
-
getBackendMetastores
Deprecated.UsegetBackendMetastoresMap()instead.- Specified by:
getBackendMetastoresin interfaceFederationOrBuilder
-
getBackendMetastoresMap
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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;- Specified by:
getBackendMetastoresMapin interfaceFederationOrBuilder
-
getBackendMetastoresOrDefault
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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;- Specified by:
getBackendMetastoresOrDefaultin interfaceFederationOrBuilder
-
getBackendMetastoresOrThrow
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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;- Specified by:
getBackendMetastoresOrThrowin interfaceFederationOrBuilder
-
clearBackendMetastores
-
removeBackendMetastores
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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; -
getMutableBackendMetastores
Deprecated.Use alternate mutation accessors instead. -
putBackendMetastores
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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; -
putAllBackendMetastores
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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; -
putBackendMetastoresBuilderIfAbsent
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s 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; -
getEndpointUri
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndpointUriin interfaceFederationOrBuilder- Returns:
- The endpointUri.
-
getEndpointUriBytes
public com.google.protobuf.ByteString getEndpointUriBytes()Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndpointUriBytesin interfaceFederationOrBuilder- Returns:
- The bytes for endpointUri.
-
setEndpointUri
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The endpointUri to set.- Returns:
- This builder for chaining.
-
clearEndpointUri
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEndpointUriBytes
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for endpointUri to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceFederationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state of the federation.
.google.cloud.metastore.v1beta.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current state of the federation.
.google.cloud.metastore.v1beta.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceFederationOrBuilder- Returns:
- The state.
-
setState
Output only. The current state of the federation.
.google.cloud.metastore.v1beta.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state of the federation.
.google.cloud.metastore.v1beta.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateMessagein interfaceFederationOrBuilder- Returns:
- The stateMessage.
-
getStateMessageBytes
public com.google.protobuf.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];- Specified by:
getStateMessageBytesin interfaceFederationOrBuilder- Returns:
- The bytes for stateMessage.
-
setStateMessage
Output only. Additional information about the current state of the metastore federation, if available.
string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateMessage to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setStateMessageBytes
Output only. Additional information about the current state of the metastore federation, if available.
string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stateMessage to set.- Returns:
- This builder for chaining.
-
getUid
Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceFederationOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceFederationOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-