- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.4
- 2.3.0
- 2.2.0
- 2.1.9
public 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.v1.Service
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Service.BuilderImplements
ServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Service.Builder |
build()
public Service build()
Type | Description |
Service |
buildPartial()
public Service buildPartial()
Type | Description |
Service |
clear()
public Service.Builder clear()
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Service.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Service.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Service.Builder |
clearHiveMetastoreConfig()
public Service.Builder clearHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
Service.Builder |
clearLabels()
public Service.Builder clearLabels()
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.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Type | Description |
Service.Builder |
clearMetadataManagementActivity()
public Service.Builder clearMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Service.Builder |
clearMetastoreConfig()
public Service.Builder clearMetastoreConfig()
Type | Description |
Service.Builder |
clearName()
public Service.Builder clearName()
Immutable. The relative resource name of the metastore service, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
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 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Type | Description |
Service.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Service.Builder |
clearPort()
public Service.Builder clearPort()
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
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.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Service.Builder | This builder for chaining. |
clearState()
public Service.Builder clearState()
Output only. The current state of the metastore service.
.google.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Service.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];
Type | Description |
Service.Builder | This builder for chaining. |
clearTier()
public Service.Builder clearTier()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Service.Builder |
clone()
public Service.Builder clone()
Type | Description |
Service.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getArtifactGcsUri()
public String getArtifactGcsUri()
Output only. A Cloud Storage URI (starting with gs://
) that specifies where artifacts
related to the metastore service are stored.
string artifact_gcs_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The artifactGcsUri. |
getArtifactGcsUriBytes()
public ByteString getArtifactGcsUriBytes()
Output only. A Cloud Storage URI (starting with gs://
) that specifies where artifacts
related to the metastore service are stored.
string artifact_gcs_uri = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for artifactGcsUri. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
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];
Type | Description |
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Service getDefaultInstanceForType()
Type | Description |
Service |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndpointUri()
public String getEndpointUri()
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The endpointUri. |
getEndpointUriBytes()
public ByteString getEndpointUriBytes()
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for endpointUri. |
getHiveMetastoreConfig()
public HiveMetastoreConfig getHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
HiveMetastoreConfig | The hiveMetastoreConfig. |
getHiveMetastoreConfigBuilder()
public HiveMetastoreConfig.Builder getHiveMetastoreConfigBuilder()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
HiveMetastoreConfig.Builder |
getHiveMetastoreConfigOrBuilder()
public HiveMetastoreConfigOrBuilder getHiveMetastoreConfigOrBuilder()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
HiveMetastoreConfigOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
User-defined labels for the metastore service.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
User-defined labels for the metastore service.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
User-defined labels for the metastore service.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getMaintenanceWindow()
public MaintenanceWindow getMaintenanceWindow()
The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
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.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
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.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Type | Description |
MaintenanceWindowOrBuilder |
getMetadataManagementActivity()
public MetadataManagementActivity getMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MetadataManagementActivity | The metadataManagementActivity. |
getMetadataManagementActivityBuilder()
public MetadataManagementActivity.Builder getMetadataManagementActivityBuilder()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MetadataManagementActivity.Builder |
getMetadataManagementActivityOrBuilder()
public MetadataManagementActivityOrBuilder getMetadataManagementActivityOrBuilder()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MetadataManagementActivityOrBuilder |
getMetastoreConfigCase()
public Service.MetastoreConfigCase getMetastoreConfigCase()
Type | Description |
Service.MetastoreConfigCase |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Immutable. The relative resource name of the metastore service, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Immutable. The relative resource name of the metastore service, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public String getNetwork()
Immutable. The relative resource name of the VPC network on which the instance can be
accessed. It is specified in the following form:
projects/{project_number}/global/networks/{network_id}
.
string network = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Immutable. The relative resource name of the VPC network on which the instance can be
accessed. It is specified in the following form:
projects/{project_number}/global/networks/{network_id}
.
string network = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for network. |
getPort()
public int getPort()
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
Type | Description |
int | The port. |
getReleaseChannel()
public Service.ReleaseChannel getReleaseChannel()
Immutable. The release channel of the service.
If unspecified, defaults to STABLE
.
.google.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Service.ReleaseChannel | The releaseChannel. |
getReleaseChannelValue()
public int getReleaseChannelValue()
Immutable. The release channel of the service.
If unspecified, defaults to STABLE
.
.google.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The enum numeric value on the wire for releaseChannel. |
getState()
public Service.State getState()
Output only. The current state of the metastore service.
.google.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Service.State | The state. |
getStateMessage()
public String getStateMessage()
Output only. Additional information about the current state of the metastore service, if available.
string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The stateMessage. |
getStateMessageBytes()
public ByteString getStateMessageBytes()
Output only. Additional information about the current state of the metastore service, if available.
string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for stateMessage. |
getStateValue()
public int getStateValue()
Output only. The current state of the metastore service.
.google.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getTier()
public Service.Tier getTier()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
Type | Description |
Service.Tier | The tier. |
getTierValue()
public int getTierValue()
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
Type | Description |
int | The enum numeric value on the wire for tier. |
getUid()
public String getUid()
Output only. The globally unique resource identifier of the metastore service.
string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. The globally unique resource identifier of the metastore service.
string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the metastore service was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
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];
Type | Description |
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];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the metastore service was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasHiveMetastoreConfig()
public boolean hasHiveMetastoreConfig()
Configuration information specific to running Hive metastore software as the metastore service.
.google.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Type | Description |
boolean | Whether the hiveMetastoreConfig field is set. |
hasMaintenanceWindow()
public boolean hasMaintenanceWindow()
The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Type | Description |
boolean | Whether the maintenanceWindow field is set. |
hasMetadataManagementActivity()
public boolean hasMetadataManagementActivity()
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the metadataManagementActivity field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the metastore service was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Service.Builder |
mergeFrom(Service other)
public Service.Builder mergeFrom(Service other)
Name | Description |
other | Service |
Type | Description |
Service.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Service.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Name | Description |
value | HiveMetastoreConfig |
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.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Name | Description |
value | MaintenanceWindow |
Type | Description |
Service.Builder |
mergeMetadataManagementActivity(MetadataManagementActivity value)
public Service.Builder mergeMetadataManagementActivity(MetadataManagementActivity value)
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MetadataManagementActivity |
Type | Description |
Service.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
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;
Name | Description |
values | Map<String,String> |
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;
Name | Description |
key | String |
value | String |
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;
Name | Description |
key | String |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The artifactGcsUri to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for artifactGcsUri to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The endpointUri to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for endpointUri to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Name | Description |
value | HiveMetastoreConfig |
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.cloud.metastore.v1.HiveMetastoreConfig hive_metastore_config = 5;
Name | Description |
builderForValue | HiveMetastoreConfig.Builder |
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.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Name | Description |
value | MaintenanceWindow |
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.
.google.cloud.metastore.v1.MaintenanceWindow maintenance_window = 15;
Name | Description |
builderForValue | MaintenanceWindow.Builder |
Type | Description |
Service.Builder |
setMetadataManagementActivity(MetadataManagementActivity value)
public Service.Builder setMetadataManagementActivity(MetadataManagementActivity value)
Output only. The metadata management activities of the metastore service.
.google.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MetadataManagementActivity |
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.cloud.metastore.v1.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | MetadataManagementActivity.Builder |
Type | Description |
Service.Builder |
setName(String value)
public Service.Builder setName(String value)
Immutable. The relative resource name of the metastore service, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | String The name to set. |
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, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | ByteString The bytes for name to set. |
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 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The network to set. |
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 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setPort(int value)
public Service.Builder setPort(int value)
The TCP port at which the metastore service is reached. Default: 9083.
int32 port = 9;
Name | Description |
value | int The port to set. |
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.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | Service.ReleaseChannel The releaseChannel to set. |
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.cloud.metastore.v1.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | int The enum numeric value on the wire for releaseChannel to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Service.State The state to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The stateMessage to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for stateMessage to set. |
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.cloud.metastore.v1.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setTier(Service.Tier value)
public Service.Builder setTier(Service.Tier value)
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
Name | Description |
value | Service.Tier The tier to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setTierValue(int value)
public Service.Builder setTierValue(int value)
The tier of the service.
.google.cloud.metastore.v1.Service.Tier tier = 13;
Name | Description |
value | int The enum numeric value on the wire for tier to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Service.Builder |