Package com.google.cloud.metastore.v1
Interface ServiceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service
,Service.Builder
public interface ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
User-defined labels for the metastore service.String
getArtifactGcsUri()
Output only.com.google.protobuf.ByteString
getArtifactGcsUriBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Service.DatabaseType
getDatabaseType()
Immutable.int
getDatabaseTypeValue()
Immutable.EncryptionConfig
getEncryptionConfig()
Immutable.EncryptionConfigOrBuilder
getEncryptionConfigOrBuilder()
Immutable.String
getEndpointUri()
Output only.com.google.protobuf.ByteString
getEndpointUriBytes()
Output only.HiveMetastoreConfig
getHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.HiveMetastoreConfigOrBuilder
getHiveMetastoreConfigOrBuilder()
Configuration information specific to running Hive metastore software as the metastore service.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
User-defined labels for the metastore service.Map<String,String>
getLabelsMap()
User-defined labels for the metastore service.String
getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore service.String
getLabelsOrThrow(String key)
User-defined labels for the metastore service.MaintenanceWindow
getMaintenanceWindow()
The one hour maintenance window of the metastore service.MaintenanceWindowOrBuilder
getMaintenanceWindowOrBuilder()
The one hour maintenance window of the metastore service.MetadataManagementActivity
getMetadataManagementActivity()
Output only.MetadataManagementActivityOrBuilder
getMetadataManagementActivityOrBuilder()
Output only.Service.MetastoreConfigCase
getMetastoreConfigCase()
String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.String
getNetwork()
Immutable.com.google.protobuf.ByteString
getNetworkBytes()
Immutable.NetworkConfig
getNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.NetworkConfigOrBuilder
getNetworkConfigOrBuilder()
The configuration specifying the network settings for the Dataproc Metastore service.int
getPort()
The TCP port at which the metastore service is reached.Service.ReleaseChannel
getReleaseChannel()
Immutable.int
getReleaseChannelValue()
Immutable.ScalingConfig
getScalingConfig()
Scaling configuration of the metastore service.ScalingConfigOrBuilder
getScalingConfigOrBuilder()
Scaling configuration of the metastore service.Service.State
getState()
Output only.String
getStateMessage()
Output only.com.google.protobuf.ByteString
getStateMessageBytes()
Output only.int
getStateValue()
Output only.TelemetryConfig
getTelemetryConfig()
The configuration specifying telemetry settings for the Dataproc Metastore service.TelemetryConfigOrBuilder
getTelemetryConfigOrBuilder()
The configuration specifying telemetry settings for the Dataproc Metastore service.Service.Tier
getTier()
The tier of the service.int
getTierValue()
The tier of the service.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEncryptionConfig()
Immutable.boolean
hasHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.boolean
hasMaintenanceWindow()
The one hour maintenance window of the metastore service.boolean
hasMetadataManagementActivity()
Output only.boolean
hasNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.boolean
hasScalingConfig()
Scaling configuration of the metastore service.boolean
hasTelemetryConfig()
The configuration specifying telemetry settings for the Dataproc Metastore service.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHiveMetastoreConfig
boolean hasHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
- Returns:
- Whether the hiveMetastoreConfig field is set.
-
getHiveMetastoreConfig
HiveMetastoreConfig getHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
- Returns:
- The hiveMetastoreConfig.
-
getHiveMetastoreConfigOrBuilder
HiveMetastoreConfigOrBuilder getHiveMetastoreConfigOrBuilder()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
-
getName
String getName()
Immutable. The relative resource name of the metastore service, in the following format: `projects/{project_number}/locations/{location_id}/services/{service_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 metastore service, in the following format: `projects/{project_number}/locations/{location_id}/services/{service_id}`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the metastore service 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 service 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 service was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time when the metastore service 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 service 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 service was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
User-defined labels for the metastore service.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
User-defined labels for the metastore service.
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 service.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore service.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
-
getNetwork
String getNetwork()
Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: `projects/{project_number}/global/networks/{network_id}`.
string network = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: `projects/{project_number}/global/networks/{network_id}`.
string network = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for network.
-
getEndpointUri
String getEndpointUri()
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The endpointUri.
-
getEndpointUriBytes
com.google.protobuf.ByteString getEndpointUriBytes()
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for endpointUri.
-
getPort
int getPort()
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
- Returns:
- The port.
-
getStateValue
int getStateValue()
Output only. The current state of the metastore service.
.google.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Service.State getState()
Output only. The current state of the metastore service.
.google.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getStateMessage
String getStateMessage()
Output only. Additional information about the current state of the metastore service, if available.
string state_message = 11 [(.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 service, if available.
string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for stateMessage.
-
getArtifactGcsUri
String getArtifactGcsUri()
Output only. A Cloud Storage URI (starting with `gs://`) that specifies where artifacts related to the metastore service are stored.
string artifact_gcs_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The artifactGcsUri.
-
getArtifactGcsUriBytes
com.google.protobuf.ByteString getArtifactGcsUriBytes()
Output only. A Cloud Storage URI (starting with `gs://`) that specifies where artifacts related to the metastore service are stored.
string artifact_gcs_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for artifactGcsUri.
-
getTierValue
int getTierValue()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
- Returns:
- The enum numeric value on the wire for tier.
-
getTier
Service.Tier getTier()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
- Returns:
- The tier.
-
hasMaintenanceWindow
boolean hasMaintenanceWindow()
The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
- Returns:
- Whether the maintenanceWindow field is set.
-
getMaintenanceWindow
MaintenanceWindow getMaintenanceWindow()
The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
- Returns:
- The maintenanceWindow.
-
getMaintenanceWindowOrBuilder
MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()
The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
-
getUid
String getUid()
Output only. The globally unique resource identifier of the metastore service.
string uid = 16 [(.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 service.
string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for uid.
-
hasMetadataManagementActivity
boolean hasMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the metadataManagementActivity field is set.
-
getMetadataManagementActivity
MetadataManagementActivity getMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The metadataManagementActivity.
-
getMetadataManagementActivityOrBuilder
MetadataManagementActivityOrBuilder getMetadataManagementActivityOrBuilder()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getReleaseChannelValue
int getReleaseChannelValue()
Immutable. The release channel of the service. If unspecified, defaults to `STABLE`.
.google.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The enum numeric value on the wire for releaseChannel.
-
getReleaseChannel
Service.ReleaseChannel getReleaseChannel()
Immutable. The release channel of the service. If unspecified, defaults to `STABLE`.
.google.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The releaseChannel.
-
hasEncryptionConfig
boolean hasEncryptionConfig()
Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.
.google.cloud.metastore.v1.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
EncryptionConfig getEncryptionConfig()
Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.
.google.cloud.metastore.v1.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.
.google.cloud.metastore.v1.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];
-
hasNetworkConfig
boolean hasNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.cloud.metastore.v1.NetworkConfig network_config = 21;
- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
NetworkConfig getNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.cloud.metastore.v1.NetworkConfig network_config = 21;
- Returns:
- The networkConfig.
-
getNetworkConfigOrBuilder
NetworkConfigOrBuilder getNetworkConfigOrBuilder()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.cloud.metastore.v1.NetworkConfig network_config = 21;
-
getDatabaseTypeValue
int getDatabaseTypeValue()
Immutable. The database type that the Metastore service stores its data.
.google.cloud.metastore.v1.Service.DatabaseType database_type = 22 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The enum numeric value on the wire for databaseType.
-
getDatabaseType
Service.DatabaseType getDatabaseType()
Immutable. The database type that the Metastore service stores its data.
.google.cloud.metastore.v1.Service.DatabaseType database_type = 22 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The databaseType.
-
hasTelemetryConfig
boolean hasTelemetryConfig()
The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to `JSON`.
.google.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
- Returns:
- Whether the telemetryConfig field is set.
-
getTelemetryConfig
TelemetryConfig getTelemetryConfig()
The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to `JSON`.
.google.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
- Returns:
- The telemetryConfig.
-
getTelemetryConfigOrBuilder
TelemetryConfigOrBuilder getTelemetryConfigOrBuilder()
The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to `JSON`.
.google.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
-
hasScalingConfig
boolean hasScalingConfig()
Scaling configuration of the metastore service.
.google.cloud.metastore.v1.ScalingConfig scaling_config = 24;
- Returns:
- Whether the scalingConfig field is set.
-
getScalingConfig
ScalingConfig getScalingConfig()
Scaling configuration of the metastore service.
.google.cloud.metastore.v1.ScalingConfig scaling_config = 24;
- Returns:
- The scalingConfig.
-
getScalingConfigOrBuilder
ScalingConfigOrBuilder getScalingConfigOrBuilder()
Scaling configuration of the metastore service.
.google.cloud.metastore.v1.ScalingConfig scaling_config = 24;
-
getMetastoreConfigCase
Service.MetastoreConfigCase getMetastoreConfigCase()
-
-