Class Service.Builder (2.35.0)

public static final class Service.Builder extends GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder

A managed metastore service that serves metadata queries.

Protobuf type google.cloud.metastore.v1alpha.Service

Implements

ServiceOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.Builder
Overrides

build()

public Service build()
Returns
TypeDescription
Service

buildPartial()

public Service buildPartial()
Returns
TypeDescription
Service

clear()

public Service.Builder clear()
Returns
TypeDescription
Service.Builder
Overrides

clearArtifactGcsUri()

public Service.Builder clearArtifactGcsUri()

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
Service.Builder

This builder for chaining.

clearCreateTime()

public Service.Builder clearCreateTime()

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

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

Returns
TypeDescription
Service.Builder

clearDatabaseType()

public Service.Builder clearDatabaseType()

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

This builder for chaining.

clearEncryptionConfig()

public Service.Builder clearEncryptionConfig()

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
Service.Builder

clearEndpointUri()

public Service.Builder clearEndpointUri()

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
Service.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Service.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Service.Builder
Overrides

clearHiveMetastoreConfig()

public Service.Builder clearHiveMetastoreConfig()

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

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

Returns
TypeDescription
Service.Builder

clearLabels()

public Service.Builder clearLabels()
Returns
TypeDescription
Service.Builder

clearMaintenanceWindow()

public Service.Builder clearMaintenanceWindow()

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
Service.Builder

clearMetadataIntegration()

public Service.Builder clearMetadataIntegration()

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
Service.Builder

clearMetadataManagementActivity()

public Service.Builder clearMetadataManagementActivity()

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
Service.Builder

clearMetastoreConfig()

public Service.Builder clearMetastoreConfig()
Returns
TypeDescription
Service.Builder

clearName()

public Service.Builder clearName()

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
Service.Builder

This builder for chaining.

clearNetwork()

public Service.Builder clearNetwork()

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
Service.Builder

This builder for chaining.

clearNetworkConfig()

public Service.Builder clearNetworkConfig()

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

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

Returns
TypeDescription
Service.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Service.Builder
Overrides

clearPort()

public Service.Builder clearPort()

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

int32 port = 9;

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearReleaseChannel()

public Service.Builder clearReleaseChannel()

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

This builder for chaining.

clearScalingConfig()

public Service.Builder clearScalingConfig()

Scaling configuration of the metastore service.

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

Returns
TypeDescription
Service.Builder

clearState()

public Service.Builder clearState()

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

This builder for chaining.

clearStateMessage()

public Service.Builder clearStateMessage()

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
Service.Builder

This builder for chaining.

clearTelemetryConfig()

public Service.Builder clearTelemetryConfig()

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
Service.Builder

clearTier()

public Service.Builder clearTier()

The tier of the service.

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

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearUid()

public Service.Builder clearUid()

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

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

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearUpdateTime()

public Service.Builder clearUpdateTime()

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
Service.Builder

clone()

public Service.Builder clone()
Returns
TypeDescription
Service.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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

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

Returns
TypeDescription
Builder

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

Returns
TypeDescription
TimestampOrBuilder

getDatabaseType()

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

getDefaultInstanceForType()

public Service getDefaultInstanceForType()
Returns
TypeDescription
Service

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
EncryptionConfig

The encryptionConfig.

getEncryptionConfigBuilder()

public EncryptionConfig.Builder getEncryptionConfigBuilder()

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

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.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
ByteString

The bytes for endpointUri.

getHiveMetastoreConfig()

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

getHiveMetastoreConfigBuilder()

public HiveMetastoreConfig.Builder getHiveMetastoreConfigBuilder()

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

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

Returns
TypeDescription
HiveMetastoreConfig.Builder

getHiveMetastoreConfigOrBuilder()

public 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() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined labels for the metastore service.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public 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 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 String getLabelsOrThrow(String key)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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.v1alpha.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
MaintenanceWindow

The maintenanceWindow.

getMaintenanceWindowBuilder()

public MaintenanceWindow.Builder getMaintenanceWindowBuilder()

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

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

Returns
TypeDescription
MaintenanceWindowOrBuilder

getMetadataIntegration()

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

getMetadataIntegrationBuilder()

public MetadataIntegration.Builder getMetadataIntegrationBuilder()

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

getMetadataIntegrationOrBuilder()

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

getMetadataManagementActivityBuilder()

public MetadataManagementActivity.Builder getMetadataManagementActivityBuilder()

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

getMetadataManagementActivityOrBuilder()

public 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 Service.MetastoreConfigCase getMetastoreConfigCase()
Returns
TypeDescription
Service.MetastoreConfigCase

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

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

Returns
TypeDescription
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];

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
ByteString

The bytes for network.

getNetworkConfig()

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

getNetworkConfigBuilder()

public NetworkConfig.Builder getNetworkConfigBuilder()

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

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

Returns
TypeDescription
NetworkConfig.Builder

getNetworkConfigOrBuilder()

public 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 int getPort()

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

int32 port = 9;

Returns
TypeDescription
int

The port.

getReleaseChannel()

public 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 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 ScalingConfig getScalingConfig()

Scaling configuration of the metastore service.

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

Returns
TypeDescription
ScalingConfig

The scalingConfig.

getScalingConfigBuilder()

public ScalingConfig.Builder getScalingConfigBuilder()

Scaling configuration of the metastore service.

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

Returns
TypeDescription
ScalingConfig.Builder

getScalingConfigOrBuilder()

public ScalingConfigOrBuilder getScalingConfigOrBuilder()

Scaling configuration of the metastore service.

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

Returns
TypeDescription
ScalingConfigOrBuilder

getState()

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

getTelemetryConfigBuilder()

public TelemetryConfig.Builder getTelemetryConfigBuilder()

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

getTelemetryConfigOrBuilder()

public 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 Service.Tier getTier()

The tier of the service.

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

Returns
TypeDescription
Service.Tier

The tier.

getTierValue()

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

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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
Builder

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

Returns
TypeDescription
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];

Returns
TypeDescription
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.v1alpha.EncryptionConfig encryption_config = 20 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
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.v1alpha.HiveMetastoreConfig hive_metastore_config = 5;

Returns
TypeDescription
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.v1alpha.MaintenanceWindow maintenance_window = 15;

Returns
TypeDescription
boolean

Whether the maintenanceWindow field is set.

hasMetadataIntegration()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Service.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

mergeEncryptionConfig(EncryptionConfig value)

public Service.Builder mergeEncryptionConfig(EncryptionConfig value)

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

Parameter
NameDescription
valueEncryptionConfig
Returns
TypeDescription
Service.Builder

mergeFrom(Service other)

public Service.Builder mergeFrom(Service other)
Parameter
NameDescription
otherService
Returns
TypeDescription
Service.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Service.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Service.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Service.Builder
Overrides

mergeHiveMetastoreConfig(HiveMetastoreConfig value)

public Service.Builder mergeHiveMetastoreConfig(HiveMetastoreConfig value)

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

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

Parameter
NameDescription
valueHiveMetastoreConfig
Returns
TypeDescription
Service.Builder

mergeMaintenanceWindow(MaintenanceWindow value)

public Service.Builder mergeMaintenanceWindow(MaintenanceWindow value)

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;

Parameter
NameDescription
valueMaintenanceWindow
Returns
TypeDescription
Service.Builder

mergeMetadataIntegration(MetadataIntegration value)

public Service.Builder mergeMetadataIntegration(MetadataIntegration value)

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

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

Parameter
NameDescription
valueMetadataIntegration
Returns
TypeDescription
Service.Builder

mergeMetadataManagementActivity(MetadataManagementActivity value)

public Service.Builder mergeMetadataManagementActivity(MetadataManagementActivity value)

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

Parameter
NameDescription
valueMetadataManagementActivity
Returns
TypeDescription
Service.Builder

mergeNetworkConfig(NetworkConfig value)

public Service.Builder mergeNetworkConfig(NetworkConfig value)

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

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

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
Service.Builder

mergeScalingConfig(ScalingConfig value)

public Service.Builder mergeScalingConfig(ScalingConfig value)

Scaling configuration of the metastore service.

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

Parameter
NameDescription
valueScalingConfig
Returns
TypeDescription
Service.Builder

mergeTelemetryConfig(TelemetryConfig value)

public Service.Builder mergeTelemetryConfig(TelemetryConfig value)

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

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

Parameter
NameDescription
valueTelemetryConfig
Returns
TypeDescription
Service.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Service.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the metastore service was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

putAllLabels(Map<String,String> values)

public Service.Builder putAllLabels(Map<String,String> values)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Service.Builder

putLabels(String key, String value)

public Service.Builder putLabels(String key, String value)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Service.Builder

removeLabels(String key)

public Service.Builder removeLabels(String key)

User-defined labels for the metastore service.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Service.Builder

setArtifactGcsUri(String value)

public Service.Builder setArtifactGcsUri(String value)

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

Parameter
NameDescription
valueString

The artifactGcsUri to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setArtifactGcsUriBytes(ByteString value)

public Service.Builder setArtifactGcsUriBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for artifactGcsUri to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Service.Builder setCreateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Service.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Service.Builder

setDatabaseType(Service.DatabaseType value)

public Service.Builder setDatabaseType(Service.DatabaseType value)

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

Parameter
NameDescription
valueService.DatabaseType

The databaseType to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setDatabaseTypeValue(int value)

public Service.Builder setDatabaseTypeValue(int value)

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for databaseType to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setEncryptionConfig(EncryptionConfig value)

public Service.Builder setEncryptionConfig(EncryptionConfig value)

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

Parameter
NameDescription
valueEncryptionConfig
Returns
TypeDescription
Service.Builder

setEncryptionConfig(EncryptionConfig.Builder builderForValue)

public Service.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)

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

Parameter
NameDescription
builderForValueEncryptionConfig.Builder
Returns
TypeDescription
Service.Builder

setEndpointUri(String value)

public Service.Builder setEndpointUri(String value)

Output only. The URI of the endpoint used to access the metastore service.

string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The endpointUri to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setEndpointUriBytes(ByteString value)

public Service.Builder setEndpointUriBytes(ByteString value)

Output only. The URI of the endpoint used to access the metastore service.

string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for endpointUri to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Service.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.Builder
Overrides

setHiveMetastoreConfig(HiveMetastoreConfig value)

public Service.Builder setHiveMetastoreConfig(HiveMetastoreConfig value)

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

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

Parameter
NameDescription
valueHiveMetastoreConfig
Returns
TypeDescription
Service.Builder

setHiveMetastoreConfig(HiveMetastoreConfig.Builder builderForValue)

public Service.Builder setHiveMetastoreConfig(HiveMetastoreConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueHiveMetastoreConfig.Builder
Returns
TypeDescription
Service.Builder

setMaintenanceWindow(MaintenanceWindow value)

public Service.Builder setMaintenanceWindow(MaintenanceWindow value)

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;

Parameter
NameDescription
valueMaintenanceWindow
Returns
TypeDescription
Service.Builder

setMaintenanceWindow(MaintenanceWindow.Builder builderForValue)

public Service.Builder setMaintenanceWindow(MaintenanceWindow.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueMaintenanceWindow.Builder
Returns
TypeDescription
Service.Builder

setMetadataIntegration(MetadataIntegration value)

public Service.Builder setMetadataIntegration(MetadataIntegration value)

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

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

Parameter
NameDescription
valueMetadataIntegration
Returns
TypeDescription
Service.Builder

setMetadataIntegration(MetadataIntegration.Builder builderForValue)

public Service.Builder setMetadataIntegration(MetadataIntegration.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueMetadataIntegration.Builder
Returns
TypeDescription
Service.Builder

setMetadataManagementActivity(MetadataManagementActivity value)

public Service.Builder setMetadataManagementActivity(MetadataManagementActivity value)

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

Parameter
NameDescription
valueMetadataManagementActivity
Returns
TypeDescription
Service.Builder

setMetadataManagementActivity(MetadataManagementActivity.Builder builderForValue)

public Service.Builder setMetadataManagementActivity(MetadataManagementActivity.Builder builderForValue)

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

Parameter
NameDescription
builderForValueMetadataManagementActivity.Builder
Returns
TypeDescription
Service.Builder

setName(String value)

public Service.Builder setName(String value)

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Service.Builder setNameBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setNetwork(String value)

public Service.Builder setNetwork(String value)

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) = { ... }

Parameter
NameDescription
valueString

The network to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public Service.Builder setNetworkBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for network to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setNetworkConfig(NetworkConfig value)

public Service.Builder setNetworkConfig(NetworkConfig value)

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

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

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
Service.Builder

setNetworkConfig(NetworkConfig.Builder builderForValue)

public Service.Builder setNetworkConfig(NetworkConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueNetworkConfig.Builder
Returns
TypeDescription
Service.Builder

setPort(int value)

public Service.Builder setPort(int value)

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

int32 port = 9;

Parameter
NameDescription
valueint

The port to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setReleaseChannel(Service.ReleaseChannel value)

public Service.Builder setReleaseChannel(Service.ReleaseChannel value)

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

Parameter
NameDescription
valueService.ReleaseChannel

The releaseChannel to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setReleaseChannelValue(int value)

public Service.Builder setReleaseChannelValue(int value)

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for releaseChannel to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Service.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Service.Builder
Overrides

setScalingConfig(ScalingConfig value)

public Service.Builder setScalingConfig(ScalingConfig value)

Scaling configuration of the metastore service.

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

Parameter
NameDescription
valueScalingConfig
Returns
TypeDescription
Service.Builder

setScalingConfig(ScalingConfig.Builder builderForValue)

public Service.Builder setScalingConfig(ScalingConfig.Builder builderForValue)

Scaling configuration of the metastore service.

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

Parameter
NameDescription
builderForValueScalingConfig.Builder
Returns
TypeDescription
Service.Builder

setState(Service.State value)

public Service.Builder setState(Service.State value)

Output only. The current state of the metastore service.

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

Parameter
NameDescription
valueService.State

The state to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setStateMessage(String value)

public Service.Builder setStateMessage(String value)

Output only. Additional information about the current state of the metastore service, if available.

string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The stateMessage to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setStateMessageBytes(ByteString value)

public Service.Builder setStateMessageBytes(ByteString value)

Output only. Additional information about the current state of the metastore service, if available.

string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for stateMessage to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setStateValue(int value)

public Service.Builder setStateValue(int value)

Output only. The current state of the metastore service.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setTelemetryConfig(TelemetryConfig value)

public Service.Builder setTelemetryConfig(TelemetryConfig value)

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

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

Parameter
NameDescription
valueTelemetryConfig
Returns
TypeDescription
Service.Builder

setTelemetryConfig(TelemetryConfig.Builder builderForValue)

public Service.Builder setTelemetryConfig(TelemetryConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueTelemetryConfig.Builder
Returns
TypeDescription
Service.Builder

setTier(Service.Tier value)

public Service.Builder setTier(Service.Tier value)

The tier of the service.

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

Parameter
NameDescription
valueService.Tier

The tier to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setTierValue(int value)

public Service.Builder setTierValue(int value)

The tier of the service.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for tier to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setUid(String value)

public Service.Builder setUid(String value)

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

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

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Service.Builder setUidBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.Builder
Overrides

setUpdateTime(Timestamp value)

public Service.Builder setUpdateTime(Timestamp value)

Output only. The time when the metastore service was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Service.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time when the metastore service was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Service.Builder