com.google.cloud.metastore.v1alpha.FederationOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataproc-metastore-v1alpha Show documentation
Show all versions of proto-google-cloud-dataproc-metastore-v1alpha Show documentation
Proto library for google-cloud-dataproc-metastore
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/metastore/v1alpha/metastore_federation.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.metastore.v1alpha;
public interface FederationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.metastore.v1alpha.Federation)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return The name.
*/
java.lang.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];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. The time when the metastore federation was created.
*
*
* .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The time when the metastore federation was created.
*
*
* .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
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];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The time when the metastore federation was last updated.
*
*
* .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
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];
*
*
* @return The updateTime.
*/
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];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* User-defined labels for the metastore federation.
*
*
* map<string, string> labels = 4;
*/
int getLabelsCount();
/**
*
*
*
* User-defined labels for the metastore federation.
*
*
* map<string, string> labels = 4;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* User-defined labels for the metastore federation.
*
*
* map<string, string> labels = 4;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* User-defined labels for the metastore federation.
*
*
* map<string, string> labels = 4;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* User-defined labels for the metastore federation.
*
*
* map<string, string> labels = 4;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* 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];
*
* @return The version.
*/
java.lang.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];
*
* @return The bytes for version.
*/
com.google.protobuf.ByteString getVersionBytes();
/**
*
*
*
* 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;
*
*/
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;
*
*/
boolean containsBackendMetastores(int key);
/** Use {@link #getBackendMetastoresMap()} instead. */
@java.lang.Deprecated
java.util.Map
getBackendMetastores();
/**
*
*
*
* 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;
*
*/
java.util.Map
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;
*
*/
/* nullable */
com.google.cloud.metastore.v1alpha.BackendMetastore getBackendMetastoresOrDefault(
int key,
/* nullable */
com.google.cloud.metastore.v1alpha.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;
*
*/
com.google.cloud.metastore.v1alpha.BackendMetastore getBackendMetastoresOrThrow(int key);
/**
*
*
*
* Output only. The federation endpoint.
*
*
* string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The endpointUri.
*/
java.lang.String getEndpointUri();
/**
*
*
*
* Output only. The federation endpoint.
*
*
* string endpoint_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for endpointUri.
*/
com.google.protobuf.ByteString getEndpointUriBytes();
/**
*
*
*
* Output only. The current state of the federation.
*
*
*
* .google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. The current state of the federation.
*
*
*
* .google.cloud.metastore.v1alpha.Federation.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.metastore.v1alpha.Federation.State getState();
/**
*
*
*
* Output only. Additional information about the current state of the
* metastore federation, if available.
*
*
* string state_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The stateMessage.
*/
java.lang.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];
*
* @return The bytes for stateMessage.
*/
com.google.protobuf.ByteString getStateMessageBytes();
/**
*
*
*
* Output only. The globally unique resource identifier of the metastore
* federation.
*
*
* string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The uid.
*/
java.lang.String getUid();
/**
*
*
*
* Output only. The globally unique resource identifier of the metastore
* federation.
*
*
* string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for uid.
*/
com.google.protobuf.ByteString getUidBytes();
}