public static final class Service.Builder extends GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder
A managed metastore service that serves metadata queries.
Protobuf type google.events.cloud.metastore.v1.Service
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Service.BuilderImplements
ServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Service.Builder |
build()
public Service build()
Returns | |
---|---|
Type | Description |
Service |
buildPartial()
public Service buildPartial()
Returns | |
---|---|
Type | Description |
Service |
clear()
public Service.Builder clear()
Returns | |
---|---|
Type | Description |
Service.Builder |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearDatabaseType()
public Service.Builder clearDatabaseType()
Immutable. The database type that the Metastore service stores its data.
.google.events.cloud.metastore.v1.Service.DatabaseType database_type = 22;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearEndpointUri()
public Service.Builder clearEndpointUri()
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 8;
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Service.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Service.Builder |
clearHiveMetastoreConfig()
public Service.Builder clearHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearLabels()
public Service.Builder clearLabels()
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearMetadataManagementActivity()
public Service.Builder clearMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearMetastoreConfig()
public Service.Builder clearMetastoreConfig()
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
clearNetworkConfig()
public Service.Builder clearNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Service.Builder |
clearPort()
public Service.Builder clearPort()
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
clearReleaseChannel()
public Service.Builder clearReleaseChannel()
Immutable. The release channel of the service.
If unspecified, defaults to STABLE
.
.google.events.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19;
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
clearScalingConfig()
public Service.Builder clearScalingConfig()
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearState()
public Service.Builder clearState()
Output only. The current state of the metastore service.
.google.events.cloud.metastore.v1.Service.State state = 10;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearTier()
public Service.Builder clearTier()
The tier of the service.
.google.events.cloud.metastore.v1.Service.Tier tier = 13;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Service.Builder |
clone()
public Service.Builder clone()
Returns | |
---|---|
Type | Description |
Service.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDatabaseType()
public Service.DatabaseType getDatabaseType()
Immutable. The database type that the Metastore service stores its data.
.google.events.cloud.metastore.v1.Service.DatabaseType database_type = 22;
Returns | |
---|---|
Type | Description |
Service.DatabaseType | The databaseType. |
getDatabaseTypeValue()
public int getDatabaseTypeValue()
Immutable. The database type that the Metastore service stores its data.
.google.events.cloud.metastore.v1.Service.DatabaseType database_type = 22;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for databaseType. |
getDefaultInstanceForType()
public Service getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Service |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEncryptionConfig()
public EncryptionConfig getEncryptionConfig()
Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.
.google.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Returns | |
---|---|
Type | Description |
EncryptionConfigOrBuilder |
getEndpointUri()
public String getEndpointUri()
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for endpointUri. |
getHiveMetastoreConfig()
public HiveMetastoreConfig getHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Returns | |
---|---|
Type | Description |
HiveMetastoreConfig | The hiveMetastoreConfig. |
getHiveMetastoreConfigBuilder()
public HiveMetastoreConfig.Builder getHiveMetastoreConfigBuilder()
Configuration information specific to running Hive metastore software as the metastore service.
.google.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Returns | |
---|---|
Type | Description |
HiveMetastoreConfig.Builder |
getHiveMetastoreConfigOrBuilder()
public HiveMetastoreConfigOrBuilder getHiveMetastoreConfigOrBuilder()
Configuration information specific to running Hive metastore software as the metastore service.
.google.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Returns | |
---|---|
Type | Description |
HiveMetastoreConfigOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
User-defined labels for the metastore service.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
User-defined labels for the metastore service.
map<string, string> labels = 4;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Returns | |
---|---|
Type | Description |
MaintenanceWindowOrBuilder |
getMetadataManagementActivity()
public MetadataManagementActivity getMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Returns | |
---|---|
Type | Description |
MetadataManagementActivity | The metadataManagementActivity. |
getMetadataManagementActivityBuilder()
public MetadataManagementActivity.Builder getMetadataManagementActivityBuilder()
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Returns | |
---|---|
Type | Description |
MetadataManagementActivity.Builder |
getMetadataManagementActivityOrBuilder()
public MetadataManagementActivityOrBuilder getMetadataManagementActivityOrBuilder()
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Returns | |
---|---|
Type | Description |
MetadataManagementActivityOrBuilder |
getMetastoreConfigCase()
public Service.MetastoreConfigCase getMetastoreConfigCase()
Returns | |
---|---|
Type | Description |
Service.MetastoreConfigCase |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getNetworkConfig()
public NetworkConfig getNetworkConfig()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Returns | |
---|---|
Type | Description |
NetworkConfig | The networkConfig. |
getNetworkConfigBuilder()
public NetworkConfig.Builder getNetworkConfigBuilder()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
getNetworkConfigOrBuilder()
public NetworkConfigOrBuilder getNetworkConfigOrBuilder()
The configuration specifying the network settings for the Dataproc Metastore service.
.google.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Returns | |
---|---|
Type | Description |
NetworkConfigOrBuilder |
getPort()
public int getPort()
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
Returns | |
---|---|
Type | Description |
int | The port. |
getReleaseChannel()
public Service.ReleaseChannel getReleaseChannel()
Immutable. The release channel of the service.
If unspecified, defaults to STABLE
.
.google.events.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19;
Returns | |
---|---|
Type | Description |
Service.ReleaseChannel | The releaseChannel. |
getReleaseChannelValue()
public int getReleaseChannelValue()
Immutable. The release channel of the service.
If unspecified, defaults to STABLE
.
.google.events.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for releaseChannel. |
getScalingConfig()
public ScalingConfig getScalingConfig()
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Returns | |
---|---|
Type | Description |
ScalingConfig | The scalingConfig. |
getScalingConfigBuilder()
public ScalingConfig.Builder getScalingConfigBuilder()
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Returns | |
---|---|
Type | Description |
ScalingConfig.Builder |
getScalingConfigOrBuilder()
public ScalingConfigOrBuilder getScalingConfigOrBuilder()
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Returns | |
---|---|
Type | Description |
ScalingConfigOrBuilder |
getState()
public Service.State getState()
Output only. The current state of the metastore service.
.google.events.cloud.metastore.v1.Service.State state = 10;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stateMessage. |
getStateValue()
public int getStateValue()
Output only. The current state of the metastore service.
.google.events.cloud.metastore.v1.Service.State state = 10;
Returns | |
---|---|
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.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Returns | |
---|---|
Type | Description |
TelemetryConfig | The telemetryConfig. |
getTelemetryConfigBuilder()
public TelemetryConfig.Builder getTelemetryConfigBuilder()
The configuration specifying telemetry settings for the Dataproc Metastore
service. If unspecified defaults to JSON
.
.google.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Returns | |
---|---|
Type | Description |
TelemetryConfig.Builder |
getTelemetryConfigOrBuilder()
public TelemetryConfigOrBuilder getTelemetryConfigOrBuilder()
The configuration specifying telemetry settings for the Dataproc Metastore
service. If unspecified defaults to JSON
.
.google.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Returns | |
---|---|
Type | Description |
TelemetryConfigOrBuilder |
getTier()
public Service.Tier getTier()
The tier of the service.
.google.events.cloud.metastore.v1.Service.Tier tier = 13;
Returns | |
---|---|
Type | Description |
Service.Tier | The tier. |
getTierValue()
public int getTierValue()
The tier of the service.
.google.events.cloud.metastore.v1.Service.Tier tier = 13;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. The globally unique resource identifier of the metastore service.
string uid = 16;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the metastore service was last updated.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Returns | |
---|---|
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.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Returns | |
---|---|
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Returns | |
---|---|
Type | Description |
boolean | Whether the maintenanceWindow field is set. |
hasMetadataManagementActivity()
public boolean hasMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Returns | |
---|---|
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.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Returns | |
---|---|
Type | Description |
boolean | Whether the networkConfig field is set. |
hasScalingConfig()
public boolean hasScalingConfig()
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Parameter | |
---|---|
Name | Description |
value | EncryptionConfig |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeFrom(Service other)
public Service.Builder mergeFrom(Service other)
Parameter | |
---|---|
Name | Description |
other | Service |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Service.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Service.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeHiveMetastoreConfig(HiveMetastoreConfig value)
public Service.Builder mergeHiveMetastoreConfig(HiveMetastoreConfig value)
Configuration information specific to running Hive metastore software as the metastore service.
.google.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Parameter | |
---|---|
Name | Description |
value | HiveMetastoreConfig |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Parameter | |
---|---|
Name | Description |
value | MaintenanceWindow |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeMetadataManagementActivity(MetadataManagementActivity value)
public Service.Builder mergeMetadataManagementActivity(MetadataManagementActivity value)
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Parameter | |
---|---|
Name | Description |
value | MetadataManagementActivity |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeNetworkConfig(NetworkConfig value)
public Service.Builder mergeNetworkConfig(NetworkConfig value)
The configuration specifying the network settings for the Dataproc Metastore service.
.google.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Parameter | |
---|---|
Name | Description |
value | NetworkConfig |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeScalingConfig(ScalingConfig value)
public Service.Builder mergeScalingConfig(ScalingConfig value)
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Parameter | |
---|---|
Name | Description |
value | ScalingConfig |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Parameter | |
---|---|
Name | Description |
value | TelemetryConfig |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Service.Builder |
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Service.Builder |
removeLabels(String key)
public Service.Builder removeLabels(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | String The artifactGcsUri to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for artifactGcsUri to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.Service.DatabaseType database_type = 22;
Parameter | |
---|---|
Name | Description |
value | Service.DatabaseType The databaseType to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.Service.DatabaseType database_type = 22;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for databaseType to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Parameter | |
---|---|
Name | Description |
value | EncryptionConfig |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.EncryptionConfig encryption_config = 20;
Parameter | |
---|---|
Name | Description |
builderForValue | EncryptionConfig.Builder |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | String The endpointUri to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for endpointUri to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Service.Builder |
setHiveMetastoreConfig(HiveMetastoreConfig value)
public Service.Builder setHiveMetastoreConfig(HiveMetastoreConfig value)
Configuration information specific to running Hive metastore software as the metastore service.
.google.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Parameter | |
---|---|
Name | Description |
value | HiveMetastoreConfig |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | HiveMetastoreConfig.Builder |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Parameter | |
---|---|
Name | Description |
value | MaintenanceWindow |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Parameter | |
---|---|
Name | Description |
builderForValue | MaintenanceWindow.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setMetadataManagementActivity(MetadataManagementActivity value)
public Service.Builder setMetadataManagementActivity(MetadataManagementActivity value)
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Parameter | |
---|---|
Name | Description |
value | MetadataManagementActivity |
Returns | |
---|---|
Type | Description |
Service.Builder |
setMetadataManagementActivity(MetadataManagementActivity.Builder builderForValue)
public Service.Builder setMetadataManagementActivity(MetadataManagementActivity.Builder builderForValue)
Output only. The metadata management activities of the metastore service.
.google.events.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17;
Parameter | |
---|---|
Name | Description |
builderForValue | MetadataManagementActivity.Builder |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Parameter | |
---|---|
Name | Description |
value | NetworkConfig |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.NetworkConfig network_config = 21;
Parameter | |
---|---|
Name | Description |
builderForValue | NetworkConfig.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The port to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19;
Parameter | |
---|---|
Name | Description |
value | Service.ReleaseChannel The releaseChannel to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for releaseChannel to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Service.Builder |
setScalingConfig(ScalingConfig value)
public Service.Builder setScalingConfig(ScalingConfig value)
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Parameter | |
---|---|
Name | Description |
value | ScalingConfig |
Returns | |
---|---|
Type | Description |
Service.Builder |
setScalingConfig(ScalingConfig.Builder builderForValue)
public Service.Builder setScalingConfig(ScalingConfig.Builder builderForValue)
Scaling configuration of the metastore service.
.google.events.cloud.metastore.v1.ScalingConfig scaling_config = 24;
Parameter | |
---|---|
Name | Description |
builderForValue | ScalingConfig.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setState(Service.State value)
public Service.Builder setState(Service.State value)
Output only. The current state of the metastore service.
.google.events.cloud.metastore.v1.Service.State state = 10;
Parameter | |
---|---|
Name | Description |
value | Service.State The state to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | String The stateMessage to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for stateMessage to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.Service.State state = 10;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Parameter | |
---|---|
Name | Description |
value | TelemetryConfig |
Returns | |
---|---|
Type | Description |
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.events.cloud.metastore.v1.TelemetryConfig telemetry_config = 23;
Parameter | |
---|---|
Name | Description |
builderForValue | TelemetryConfig.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setTier(Service.Tier value)
public Service.Builder setTier(Service.Tier value)
The tier of the service.
.google.events.cloud.metastore.v1.Service.Tier tier = 13;
Parameter | |
---|---|
Name | Description |
value | Service.Tier The tier to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setTierValue(int value)
public Service.Builder setTierValue(int value)
The tier of the service.
.google.events.cloud.metastore.v1.Service.Tier tier = 13;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for tier to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | String The uid to set. |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Service.Builder |
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |