Interface ServiceOrBuilder (2.3.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

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.v1.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.v1.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.

.google.cloud.metastore.v1.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.

.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
MaintenanceWindowOrBuilder

getMetadataManagementActivity()

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

The metadataManagementActivity.

getMetadataManagementActivityOrBuilder()

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

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, of the form: 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, of the form: 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.

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.v1.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.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for releaseChannel.

getState()

public abstract 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
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.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTier()

public abstract Service.Tier getTier()

The tier of the service.

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

Returns
TypeDescription
Service.Tier

The tier.

getTierValue()

public abstract int getTierValue()

The tier of the service.

.google.cloud.metastore.v1.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.

hasHiveMetastoreConfig()

public abstract boolean hasHiveMetastoreConfig()

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

.google.cloud.metastore.v1.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.

.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
boolean

Whether the maintenanceWindow field is set.

hasMetadataManagementActivity()

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

Whether the metadataManagementActivity 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.