- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.4
- 2.3.0
- 2.2.0
- 2.1.9
public final class Service extends GeneratedMessageV3 implements ServiceOrBuilder
A managed metastore service that serves metadata queries.
Protobuf type google.cloud.metastore.v1.Service
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServiceImplements
ServiceOrBuilderStatic Fields
ARTIFACT_GCS_URI_FIELD_NUMBER
public static final int ARTIFACT_GCS_URI_FIELD_NUMBER
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Type | Description |
int |
DATABASE_TYPE_FIELD_NUMBER
public static final int DATABASE_TYPE_FIELD_NUMBER
Type | Description |
int |
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
Type | Description |
int |
ENDPOINT_URI_FIELD_NUMBER
public static final int ENDPOINT_URI_FIELD_NUMBER
Type | Description |
int |
HIVE_METASTORE_CONFIG_FIELD_NUMBER
public static final int HIVE_METASTORE_CONFIG_FIELD_NUMBER
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Type | Description |
int |
MAINTENANCE_WINDOW_FIELD_NUMBER
public static final int MAINTENANCE_WINDOW_FIELD_NUMBER
Type | Description |
int |
METADATA_MANAGEMENT_ACTIVITY_FIELD_NUMBER
public static final int METADATA_MANAGEMENT_ACTIVITY_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER
Type | Description |
int |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Type | Description |
int |
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Type | Description |
int |
RELEASE_CHANNEL_FIELD_NUMBER
public static final int RELEASE_CHANNEL_FIELD_NUMBER
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Type | Description |
int |
STATE_MESSAGE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
Type | Description |
int |
TELEMETRY_CONFIG_FIELD_NUMBER
public static final int TELEMETRY_CONFIG_FIELD_NUMBER
Type | Description |
int |
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
Type | Description |
int |
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Type | Description |
int |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Service getDefaultInstance()
Type | Description |
Service |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Service.Builder newBuilder()
Type | Description |
Service.Builder |
newBuilder(Service prototype)
public static Service.Builder newBuilder(Service prototype)
Name | Description |
prototype | Service |
Type | Description |
Service.Builder |
parseDelimitedFrom(InputStream input)
public static Service parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Service |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Service parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Service parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Service |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Service parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Service parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Service |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Service parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Service parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Service |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Service parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Service parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Service |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Service parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Service parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Service |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Service parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Service> parser()
Type | Description |
Parser<Service> |
Methods
containsLabels(String key)
public boolean containsLabels(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getArtifactGcsUri()
public 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];
Type | Description |
String | The artifactGcsUri. |
getArtifactGcsUriBytes()
public 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];
Type | Description |
ByteString | The bytes for artifactGcsUri. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDatabaseType()
public 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];
Type | Description |
Service.DatabaseType | The databaseType. |
getDatabaseTypeValue()
public 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];
Type | Description |
int | The enum numeric value on the wire for databaseType. |
getDefaultInstanceForType()
public Service getDefaultInstanceForType()
Type | Description |
Service |
getEncryptionConfig()
public 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];
Type | Description |
EncryptionConfig | The encryptionConfig. |
getEncryptionConfigOrBuilder()
public 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];
Type | Description |
EncryptionConfigOrBuilder |
getEndpointUri()
public 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];
Type | Description |
String | The endpointUri. |
getEndpointUriBytes()
public 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];
Type | Description |
ByteString | The bytes for endpointUri. |
getHiveMetastoreConfig()
public HiveMetastoreConfig getHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
HiveMetastoreConfig | The hiveMetastoreConfig. |
getHiveMetastoreConfigOrBuilder()
public HiveMetastoreConfigOrBuilder getHiveMetastoreConfigOrBuilder()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
HiveMetastoreConfigOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
User-defined labels for the metastore service.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
User-defined labels for the metastore service.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getMaintenanceWindow()
public 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;
Type | Description |
MaintenanceWindow | The maintenanceWindow. |
getMaintenanceWindowOrBuilder()
public 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;
Type | Description |
MaintenanceWindowOrBuilder |
getMetadataManagementActivity()
public 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];
Type | Description |
MetadataManagementActivity | The metadataManagementActivity. |
getMetadataManagementActivityOrBuilder()
public 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];
Type | Description |
MetadataManagementActivityOrBuilder |
getMetastoreConfigCase()
public Service.MetastoreConfigCase getMetastoreConfigCase()
Type | Description |
Service.MetastoreConfigCase |
getName()
public 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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public 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) = { ... }
Type | Description |
String | The network. |
getNetworkBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for network. |
getNetworkConfig()
public NetworkConfig getNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.cloud.metastore.v1.NetworkConfig network_config = 21;
Type | Description |
NetworkConfig | The networkConfig. |
getNetworkConfigOrBuilder()
public NetworkConfigOrBuilder getNetworkConfigOrBuilder()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.cloud.metastore.v1.NetworkConfig network_config = 21;
Type | Description |
NetworkConfigOrBuilder |
getParserForType()
public Parser<Service> getParserForType()
Type | Description |
Parser<Service> |
getPort()
public int getPort()
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
Type | Description |
int | The port. |
getReleaseChannel()
public 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];
Type | Description |
Service.ReleaseChannel | The releaseChannel. |
getReleaseChannelValue()
public 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];
Type | Description |
int | The enum numeric value on the wire for releaseChannel. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getState()
public 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];
Type | Description |
Service.State | The state. |
getStateMessage()
public 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];
Type | Description |
String | The stateMessage. |
getStateMessageBytes()
public 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];
Type | Description |
ByteString | The bytes for stateMessage. |
getStateValue()
public 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];
Type | Description |
int | The enum numeric value on the wire for state. |
getTelemetryConfig()
public 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;
Type | Description |
TelemetryConfig | The telemetryConfig. |
getTelemetryConfigOrBuilder()
public 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;
Type | Description |
TelemetryConfigOrBuilder |
getTier()
public Service.Tier getTier()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
Type | Description |
Service.Tier | The tier. |
getTierValue()
public int getTierValue()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
Type | Description |
int | The enum numeric value on the wire for tier. |
getUid()
public String getUid()
Output only. The globally unique resource identifier of the metastore service.
string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. The globally unique resource identifier of the metastore service.
string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasEncryptionConfig()
public 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];
Type | Description |
boolean | Whether the encryptionConfig field is set. |
hasHiveMetastoreConfig()
public boolean hasHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
boolean | Whether the hiveMetastoreConfig field is set. |
hasMaintenanceWindow()
public 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;
Type | Description |
boolean | Whether the maintenanceWindow field is set. |
hasMetadataManagementActivity()
public 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];
Type | Description |
boolean | Whether the metadataManagementActivity field is set. |
hasNetworkConfig()
public boolean hasNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.cloud.metastore.v1.NetworkConfig network_config = 21;
Type | Description |
boolean | Whether the networkConfig field is set. |
hasTelemetryConfig()
public 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;
Type | Description |
boolean | Whether the telemetryConfig field is set. |
hasUpdateTime()
public 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];
Type | Description |
boolean | Whether the updateTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Service.Builder newBuilderForType()
Type | Description |
Service.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Service.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Service.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Service.Builder toBuilder()
Type | Description |
Service.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |