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 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;
      • 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;
      • 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.