Interface ServiceOrBuilder (2.21.0)

public interface ServiceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getArtifactGcsUri()

public abstract 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
TypeDescription
String

The artifactGcsUri.

getArtifactGcsUriBytes()

public abstract 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
TypeDescription
ByteString

The bytes for artifactGcsUri.

getCreateTime()

public abstract 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
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the metastore service was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDatabaseType()

public abstract Service.DatabaseType getDatabaseType()

Immutable. The database type that the Metastore service stores its data.

.google.cloud.metastore.v1alpha.Service.DatabaseType database_type = 22 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Service.DatabaseType

The databaseType.

getDatabaseTypeValue()

public abstract int getDatabaseTypeValue()

Immutable. The database type that the Metastore service stores its data.

.google.cloud.metastore.v1alpha.Service.DatabaseType database_type = 22 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for databaseType.

getEncryptionConfig()

public abstract EncryptionConfig getEncryptionConfig()

Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.

.google.cloud.metastore.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
EncryptionConfig

The encryptionConfig.

getEncryptionConfigOrBuilder()

public abstract EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()

Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.

.google.cloud.metastore.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
EncryptionConfigOrBuilder

getEndpointUri()

public abstract 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
TypeDescription
String

The endpointUri.

getEndpointUriBytes()

public abstract 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
TypeDescription
ByteString

The bytes for endpointUri.

getHiveMetastoreConfig()

public abstract HiveMetastoreConfig getHiveMetastoreConfig()

Configuration information specific to running Hive metastore software as the metastore service.

.google.cloud.metastore.v1alpha.HiveMetastoreConfig hive_metastore_config = 5;

Returns
TypeDescription
HiveMetastoreConfig

The hiveMetastoreConfig.

getHiveMetastoreConfigOrBuilder()

public abstract HiveMetastoreConfigOrBuilder getHiveMetastoreConfigOrBuilder()

Configuration information specific to running Hive metastore software as the metastore service.

.google.cloud.metastore.v1alpha.HiveMetastoreConfig hive_metastore_config = 5;

Returns
TypeDescription
HiveMetastoreConfigOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

User-defined labels for the metastore service.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

User-defined labels for the metastore service.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMaintenanceWindow()

public abstract 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.v1alpha.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
MaintenanceWindow

The maintenanceWindow.

getMaintenanceWindowOrBuilder()

public abstract 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.v1alpha.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
MaintenanceWindowOrBuilder

getMetadataIntegration()

public abstract MetadataIntegration getMetadataIntegration()

The setting that defines how metastore metadata should be integrated with external services and systems.

.google.cloud.metastore.v1alpha.MetadataIntegration metadata_integration = 14;

Returns
TypeDescription
MetadataIntegration

The metadataIntegration.

getMetadataIntegrationOrBuilder()

public abstract MetadataIntegrationOrBuilder getMetadataIntegrationOrBuilder()

The setting that defines how metastore metadata should be integrated with external services and systems.

.google.cloud.metastore.v1alpha.MetadataIntegration metadata_integration = 14;

Returns
TypeDescription
MetadataIntegrationOrBuilder

getMetadataManagementActivity()

public abstract MetadataManagementActivity getMetadataManagementActivity()

Output only. The metadata management activities of the metastore service.

.google.cloud.metastore.v1alpha.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
MetadataManagementActivity

The metadataManagementActivity.

getMetadataManagementActivityOrBuilder()

public abstract MetadataManagementActivityOrBuilder getMetadataManagementActivityOrBuilder()

Output only. The metadata management activities of the metastore service.

.google.cloud.metastore.v1alpha.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
MetadataManagementActivityOrBuilder

getMetastoreConfigCase()

public abstract Service.MetastoreConfigCase getMetastoreConfigCase()
Returns
TypeDescription
Service.MetastoreConfigCase

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getNetwork()

public abstract 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
TypeDescription
String

The network.

getNetworkBytes()

public abstract 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
TypeDescription
ByteString

The bytes for network.

getNetworkConfig()

public abstract NetworkConfig getNetworkConfig()

The configuration specifying the network settings for the Dataproc Metastore service.

.google.cloud.metastore.v1alpha.NetworkConfig network_config = 21;

Returns
TypeDescription
NetworkConfig

The networkConfig.

getNetworkConfigOrBuilder()

public abstract NetworkConfigOrBuilder getNetworkConfigOrBuilder()

The configuration specifying the network settings for the Dataproc Metastore service.

.google.cloud.metastore.v1alpha.NetworkConfig network_config = 21;

Returns
TypeDescription
NetworkConfigOrBuilder

getPort()

public abstract int getPort()

The TCP port at which the metastore service is reached. Default: 9083.

int32 port = 9;

Returns
TypeDescription
int

The port.

getReleaseChannel()

public abstract Service.ReleaseChannel getReleaseChannel()

Immutable. The release channel of the service. If unspecified, defaults to STABLE.

.google.cloud.metastore.v1alpha.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Service.ReleaseChannel

The releaseChannel.

getReleaseChannelValue()

public abstract int getReleaseChannelValue()

Immutable. The release channel of the service. If unspecified, defaults to STABLE.

.google.cloud.metastore.v1alpha.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for releaseChannel.

getScalingConfig()

public abstract ScalingConfig getScalingConfig()

Scaling configuration of the metastore service.

.google.cloud.metastore.v1alpha.ScalingConfig scaling_config = 24;

Returns
TypeDescription
ScalingConfig

The scalingConfig.

getScalingConfigOrBuilder()

public abstract ScalingConfigOrBuilder getScalingConfigOrBuilder()

Scaling configuration of the metastore service.

.google.cloud.metastore.v1alpha.ScalingConfig scaling_config = 24;

Returns
TypeDescription
ScalingConfigOrBuilder

getState()

public abstract Service.State getState()

Output only. The current state of the metastore service.

.google.cloud.metastore.v1alpha.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.State

The state.

getStateMessage()

public abstract 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
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public abstract 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
TypeDescription
ByteString

The bytes for stateMessage.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the metastore service.

.google.cloud.metastore.v1alpha.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTelemetryConfig()

public abstract TelemetryConfig getTelemetryConfig()

The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

.google.cloud.metastore.v1alpha.TelemetryConfig telemetry_config = 23;

Returns
TypeDescription
TelemetryConfig

The telemetryConfig.

getTelemetryConfigOrBuilder()

public abstract TelemetryConfigOrBuilder getTelemetryConfigOrBuilder()

The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

.google.cloud.metastore.v1alpha.TelemetryConfig telemetry_config = 23;

Returns
TypeDescription
TelemetryConfigOrBuilder

getTier()

public abstract Service.Tier getTier()

The tier of the service.

.google.cloud.metastore.v1alpha.Service.Tier tier = 13;

Returns
TypeDescription
Service.Tier

The tier.

getTierValue()

public abstract int getTierValue()

The tier of the service.

.google.cloud.metastore.v1alpha.Service.Tier tier = 13;

Returns
TypeDescription
int

The enum numeric value on the wire for tier.

getUid()

public abstract String getUid()

Output only. The globally unique resource identifier of the metastore service.

string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. The globally unique resource identifier of the metastore service.

string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public abstract 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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract 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
TypeDescription
boolean

Whether the createTime field is set.

hasEncryptionConfig()

public abstract boolean hasEncryptionConfig()

Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.

.google.cloud.metastore.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the encryptionConfig field is set.

hasHiveMetastoreConfig()

public abstract boolean hasHiveMetastoreConfig()

Configuration information specific to running Hive metastore software as the metastore service.

.google.cloud.metastore.v1alpha.HiveMetastoreConfig hive_metastore_config = 5;

Returns
TypeDescription
boolean

Whether the hiveMetastoreConfig field is set.

hasMaintenanceWindow()

public abstract 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.v1alpha.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
boolean

Whether the maintenanceWindow field is set.

hasMetadataIntegration()

public abstract boolean hasMetadataIntegration()

The setting that defines how metastore metadata should be integrated with external services and systems.

.google.cloud.metastore.v1alpha.MetadataIntegration metadata_integration = 14;

Returns
TypeDescription
boolean

Whether the metadataIntegration field is set.

hasMetadataManagementActivity()

public abstract boolean hasMetadataManagementActivity()

Output only. The metadata management activities of the metastore service.

.google.cloud.metastore.v1alpha.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the metadataManagementActivity field is set.

hasNetworkConfig()

public abstract boolean hasNetworkConfig()

The configuration specifying the network settings for the Dataproc Metastore service.

.google.cloud.metastore.v1alpha.NetworkConfig network_config = 21;

Returns
TypeDescription
boolean

Whether the networkConfig field is set.

hasScalingConfig()

public abstract boolean hasScalingConfig()

Scaling configuration of the metastore service.

.google.cloud.metastore.v1alpha.ScalingConfig scaling_config = 24;

Returns
TypeDescription
boolean

Whether the scalingConfig field is set.

hasTelemetryConfig()

public abstract boolean hasTelemetryConfig()

The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

.google.cloud.metastore.v1alpha.TelemetryConfig telemetry_config = 23;

Returns
TypeDescription
boolean

Whether the telemetryConfig field is set.

hasUpdateTime()

public abstract 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
TypeDescription
boolean

Whether the updateTime field is set.