Package com.google.cloud.metastore.v1
Class Federation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
- com.google.cloud.metastore.v1.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.GeneratedMessageV3.Builder<Federation.Builder> implements FederationOrBuilder
Represents a federation of multiple backend metastores.
Protobuf typegoogle.cloud.metastore.v1.Federation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Federation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Federation
build()
Federation
buildPartial()
Federation.Builder
clear()
Federation.Builder
clearBackendMetastores()
Federation.Builder
clearCreateTime()
Output only.Federation.Builder
clearEndpointUri()
Output only.Federation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Federation.Builder
clearLabels()
Federation.Builder
clearName()
Immutable.Federation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Federation.Builder
clearState()
Output only.Federation.Builder
clearStateMessage()
Output only.Federation.Builder
clearUid()
Output only.Federation.Builder
clearUpdateTime()
Output only.Federation.Builder
clearVersion()
Immutable.Federation.Builder
clone()
boolean
containsBackendMetastores(int key)
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.boolean
containsLabels(String key)
User-defined labels for the metastore federation.Map<Integer,BackendMetastore>
getBackendMetastores()
Deprecated.int
getBackendMetastoresCount()
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.Map<Integer,BackendMetastore>
getBackendMetastoresMap()
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.BackendMetastore
getBackendMetastoresOrDefault(int key, BackendMetastore defaultValue)
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.BackendMetastore
getBackendMetastoresOrThrow(int key)
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Federation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEndpointUri()
Output only.com.google.protobuf.ByteString
getEndpointUriBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
User-defined labels for the metastore federation.Map<String,String>
getLabelsMap()
User-defined labels for the metastore federation.String
getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore federation.String
getLabelsOrThrow(String key)
User-defined labels for the metastore federation.Map<Integer,BackendMetastore>
getMutableBackendMetastores()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.Federation.State
getState()
Output only.String
getStateMessage()
Output only.com.google.protobuf.ByteString
getStateMessageBytes()
Output only.int
getStateValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getVersion()
Immutable.com.google.protobuf.ByteString
getVersionBytes()
Immutable.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Federation.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Federation.Builder
mergeFrom(Federation other)
Federation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Federation.Builder
mergeFrom(com.google.protobuf.Message other)
Federation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Federation.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Federation.Builder
putAllBackendMetastores(Map<Integer,BackendMetastore> values)
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.Federation.Builder
putAllLabels(Map<String,String> values)
User-defined labels for the metastore federation.Federation.Builder
putBackendMetastores(int key, BackendMetastore value)
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.Federation.Builder
putLabels(String key, String value)
User-defined labels for the metastore federation.Federation.Builder
removeBackendMetastores(int key)
A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.Federation.Builder
removeLabels(String key)
User-defined labels for the metastore federation.Federation.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Federation.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Federation.Builder
setEndpointUri(String value)
Output only.Federation.Builder
setEndpointUriBytes(com.google.protobuf.ByteString value)
Output only.Federation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Federation.Builder
setName(String value)
Immutable.Federation.Builder
setNameBytes(com.google.protobuf.ByteString value)
Immutable.Federation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Federation.Builder
setState(Federation.State value)
Output only.Federation.Builder
setStateMessage(String value)
Output only.Federation.Builder
setStateMessageBytes(com.google.protobuf.ByteString value)
Output only.Federation.Builder
setStateValue(int value)
Output only.Federation.Builder
setUid(String value)
Output only.Federation.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Federation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Federation.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Federation.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Federation.Builder
setVersion(String value)
Immutable.Federation.Builder
setVersionBytes(com.google.protobuf.ByteString value)
Immutable.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
clear
public Federation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
getDefaultInstanceForType
public Federation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Federation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Federation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Federation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
setField
public Federation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
clearField
public Federation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
clearOneof
public Federation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
setRepeatedField
public Federation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
addRepeatedField
public Federation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
mergeFrom
public Federation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Federation.Builder>
-
mergeFrom
public Federation.Builder mergeFrom(Federation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
mergeFrom
public Federation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Federation.Builder>
- Throws:
IOException
-
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];
- Specified by:
getName
in 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:
getNameBytes
in interfaceFederationOrBuilder
- Returns:
- The bytes for name.
-
setName
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public Federation.Builder setNameBytes(com.google.protobuf.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];
- 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:
hasCreateTime
in 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:
getCreateTime
in interfaceFederationOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Federation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Federation.Builder setCreateTime(com.google.protobuf.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];
-
mergeCreateTime
public Federation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the metastore federation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in interfaceFederationOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Federation.Builder setUpdateTime(com.google.protobuf.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];
-
setUpdateTime
public Federation.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public Federation.Builder mergeUpdateTime(com.google.protobuf.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];
-
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];
-
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:
getUpdateTimeOrBuilder
in interfaceFederationOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:FederationOrBuilder
User-defined labels for the metastore federation.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceFederationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceFederationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceFederationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
User-defined labels for the metastore federation.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceFederationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceFederationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceFederationOrBuilder
-
clearLabels
public Federation.Builder clearLabels()
-
removeLabels
public Federation.Builder removeLabels(String key)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Federation.Builder putLabels(String key, String value)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
putAllLabels
public Federation.Builder putAllLabels(Map<String,String> values)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
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];
- Specified by:
getVersion
in 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:
getVersionBytes
in interfaceFederationOrBuilder
- Returns:
- The bytes for version.
-
setVersion
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];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVersionBytes
public Federation.Builder setVersionBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getBackendMetastoresCount
public int getBackendMetastoresCount()
Description copied from interface:FederationOrBuilder
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.v1.BackendMetastore> backend_metastores = 6;
- Specified by:
getBackendMetastoresCount
in 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.v1.BackendMetastore> backend_metastores = 6;
- Specified by:
containsBackendMetastores
in interfaceFederationOrBuilder
-
getBackendMetastores
@Deprecated public Map<Integer,BackendMetastore> getBackendMetastores()
Deprecated.UsegetBackendMetastoresMap()
instead.- Specified by:
getBackendMetastores
in interfaceFederationOrBuilder
-
getBackendMetastoresMap
public Map<Integer,BackendMetastore> 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.v1.BackendMetastore> backend_metastores = 6;
- Specified by:
getBackendMetastoresMap
in interfaceFederationOrBuilder
-
getBackendMetastoresOrDefault
public BackendMetastore getBackendMetastoresOrDefault(int key, BackendMetastore defaultValue)
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.v1.BackendMetastore> backend_metastores = 6;
- Specified by:
getBackendMetastoresOrDefault
in interfaceFederationOrBuilder
-
getBackendMetastoresOrThrow
public BackendMetastore getBackendMetastoresOrThrow(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.v1.BackendMetastore> backend_metastores = 6;
- Specified by:
getBackendMetastoresOrThrow
in interfaceFederationOrBuilder
-
clearBackendMetastores
public Federation.Builder clearBackendMetastores()
-
removeBackendMetastores
public Federation.Builder removeBackendMetastores(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.v1.BackendMetastore> backend_metastores = 6;
-
getMutableBackendMetastores
@Deprecated public Map<Integer,BackendMetastore> getMutableBackendMetastores()
Deprecated.Use alternate mutation accessors instead.
-
putBackendMetastores
public Federation.Builder putBackendMetastores(int key, BackendMetastore value)
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.v1.BackendMetastore> backend_metastores = 6;
-
putAllBackendMetastores
public Federation.Builder putAllBackendMetastores(Map<Integer,BackendMetastore> values)
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.v1.BackendMetastore> backend_metastores = 6;
-
getEndpointUri
public String getEndpointUri()
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndpointUri
in 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:
getEndpointUriBytes
in interfaceFederationOrBuilder
- Returns:
- The bytes for endpointUri.
-
setEndpointUri
public Federation.Builder setEndpointUri(String value)
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
public Federation.Builder clearEndpointUri()
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEndpointUriBytes
public Federation.Builder setEndpointUriBytes(com.google.protobuf.ByteString value)
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.v1.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceFederationOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Federation.Builder setStateValue(int value)
Output only. The current state of the federation.
.google.cloud.metastore.v1.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
public Federation.State getState()
Output only. The current state of the federation.
.google.cloud.metastore.v1.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceFederationOrBuilder
- Returns:
- The state.
-
setState
public Federation.Builder setState(Federation.State value)
Output only. The current state of the federation.
.google.cloud.metastore.v1.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Federation.Builder clearState()
Output only. The current state of the federation.
.google.cloud.metastore.v1.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
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];
- Specified by:
getStateMessage
in 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:
getStateMessageBytes
in interfaceFederationOrBuilder
- Returns:
- The bytes for stateMessage.
-
setStateMessage
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];
- Parameters:
value
- The stateMessage to set.- Returns:
- 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:
- This builder for chaining.
-
setStateMessageBytes
public Federation.Builder setStateMessageBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for stateMessage to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in 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:
getUidBytes
in interfaceFederationOrBuilder
- Returns:
- The bytes for uid.
-
setUid
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];
- Parameters:
value
- The uid to set.- Returns:
- 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:
- This builder for chaining.
-
setUidBytes
public Federation.Builder setUidBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final Federation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
mergeUnknownFields
public final Federation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Federation.Builder>
-
-