Interface FederationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Federation,Federation.Builder
public interface FederationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.Map<Integer,BackendMetastore>getBackendMetastores()Deprecated.intgetBackendMetastoresCount()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.BackendMetastoregetBackendMetastoresOrDefault(int key, BackendMetastore defaultValue)A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.BackendMetastoregetBackendMetastoresOrThrow(int key)A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetEndpointUri()Output only.com.google.protobuf.ByteStringgetEndpointUriBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()User-defined labels for the metastore federation.Map<String,String>getLabelsMap()User-defined labels for the metastore federation.StringgetLabelsOrDefault(String key, String defaultValue)User-defined labels for the metastore federation.StringgetLabelsOrThrow(String key)User-defined labels for the metastore federation.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.Federation.StategetState()Output only.StringgetStateMessage()Output only.com.google.protobuf.ByteStringgetStateMessageBytes()Output only.intgetStateValue()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.StringgetVersion()Immutable.com.google.protobuf.ByteStringgetVersionBytes()Immutable.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
hasCreateTime
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:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
getLabelsCount
int getLabelsCount()
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
User-defined labels for the metastore federation.
map<string, string> labels = 4;
-
getVersion
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:
- The version.
-
getVersionBytes
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];- Returns:
- The bytes for version.
-
getBackendMetastoresCount
int getBackendMetastoresCount()
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.v1alpha.BackendMetastore> backend_metastores = 6;
-
containsBackendMetastores
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.v1alpha.BackendMetastore> backend_metastores = 6;
-
getBackendMetastores
@Deprecated Map<Integer,BackendMetastore> getBackendMetastores()
Deprecated.UsegetBackendMetastoresMap()instead.
-
getBackendMetastoresMap
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.v1alpha.BackendMetastore> backend_metastores = 6;
-
getBackendMetastoresOrDefault
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.v1alpha.BackendMetastore> backend_metastores = 6;
-
getBackendMetastoresOrThrow
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.v1alpha.BackendMetastore> backend_metastores = 6;
-
getEndpointUri
String getEndpointUri()
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endpointUri.
-
getEndpointUriBytes
com.google.protobuf.ByteString getEndpointUriBytes()
Output only. The federation endpoint.
string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for endpointUri.
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getStateMessage
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:
- The stateMessage.
-
getStateMessageBytes
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];- Returns:
- The bytes for stateMessage.
-
getUid
String getUid()
Output only. The globally unique resource identifier of the metastore federation.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The uid.
-
getUidBytes
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];- Returns:
- The bytes for uid.
-
-