Interface FederationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Federation,Federation.Builder
@Generated
public interface FederationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsBackendMetastores(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.TimestampOrBuilderOutput only.Output 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.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.TimestampOrBuilderOutput only.Immutable.com.google.protobuf.ByteStringImmutable.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
User-defined labels for the metastore federation.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
User-defined labels for the metastore federation.
map<string, string> labels = 4; -
getLabelsOrDefault
User-defined labels for the metastore federation.
map<string, string> labels = 4; -
getLabelsOrThrow
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.v1beta.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.v1beta.BackendMetastore> backend_metastores = 6; -
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.v1beta.BackendMetastore> backend_metastores = 6; -
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; -
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; -
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.v1beta.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.v1beta.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.
-