public final class Service extends GeneratedMessageV3 implements ServiceOrBuilder
   
   A managed metastore service that serves metadata queries.
 Protobuf type google.cloud.metastore.v1beta.Service
Static Fields
  
  
  
    public static final int ARTIFACT_GCS_URI_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int ENDPOINT_URI_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int HIVE_METASTORE_CONFIG_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int LABELS_FIELD_NUMBER
   
  Field Value
  
  MAINTENANCE_WINDOW_FIELD_NUMBER
  
    public static final int MAINTENANCE_WINDOW_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int METADATA_INTEGRATION_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int METADATA_MANAGEMENT_ACTIVITY_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int NAME_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int NETWORK_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int PORT_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int RELEASE_CHANNEL_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int STATE_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int STATE_MESSAGE_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int TIER_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int UID_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int UPDATE_TIME_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  
  
    public static Service getDefaultInstance()
   
  Returns
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  
  
    public static Service.Builder newBuilder()
   
  Returns
  
  
  
  
    public static Service.Builder newBuilder(Service prototype)
   
  Parameter
  
  Returns
  
  
  
  
    public static Service parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Service parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Parser<Service> parser()
   
  Returns
  
  Methods
  
  
  
  
    public boolean containsLabels(String key)
   
   User-defined labels for the metastore service.
 map<string, string> labels = 4;
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    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. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
    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];
 
    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];
 
    public Service getDefaultInstanceForType()
   
  Returns
  
  
  
  
    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. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
    public HiveMetastoreConfig getHiveMetastoreConfig()
   
   Configuration information specific to running Hive metastore
 software as the metastore service.
 .google.cloud.metastore.v1beta.HiveMetastoreConfig hive_metastore_config = 5;
    public HiveMetastoreConfigOrBuilder getHiveMetastoreConfigOrBuilder()
   
   Configuration information specific to running Hive metastore
 software as the metastore service.
 .google.cloud.metastore.v1beta.HiveMetastoreConfig hive_metastore_config = 5;
    public Map<String,String> getLabels()
   
  
  Returns
  
  
  
  
    public int getLabelsCount()
   
   User-defined labels for the metastore service.
 map<string, string> labels = 4;
    public Map<String,String> getLabelsMap()
   
   User-defined labels for the metastore service.
 map<string, string> labels = 4;
    public String getLabelsOrDefault(String key, String defaultValue)
   
   User-defined labels for the metastore service.
 map<string, string> labels = 4;
    public String getLabelsOrThrow(String key)
   
   User-defined labels for the metastore service.
 map<string, string> labels = 4;
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.v1beta.MaintenanceWindow maintenance_window = 15;
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.v1beta.MaintenanceWindow maintenance_window = 15;
    public MetadataIntegration getMetadataIntegration()
   
   The setting that defines how metastore metadata should be integrated with
 external services and systems.
 .google.cloud.metastore.v1beta.MetadataIntegration metadata_integration = 14;
    public MetadataIntegrationOrBuilder getMetadataIntegrationOrBuilder()
   
   The setting that defines how metastore metadata should be integrated with
 external services and systems.
 .google.cloud.metastore.v1beta.MetadataIntegration metadata_integration = 14;
    public MetadataManagementActivity getMetadataManagementActivity()
   
   Output only. The metadata management activities of the metastore service.
 
 .google.cloud.metastore.v1beta.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    public MetadataManagementActivityOrBuilder getMetadataManagementActivityOrBuilder()
   
   Output only. The metadata management activities of the metastore service.
 
 .google.cloud.metastore.v1beta.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    public Service.MetastoreConfigCase getMetastoreConfigCase()
   
  Returns
  
  
  
  
   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. | 
    
  
  
  
  
    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];
    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. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
    public Parser<Service> getParserForType()
   
  Returns
  
  Overrides
  
  
  
  
   The TCP port at which the metastore service is reached. Default: 9083.
 int32 port = 9;
    
      
        | Type | Description | 
      
        | int | The port. | 
    
  
  
  
  
    public Service.ReleaseChannel getReleaseChannel()
   
   Immutable. The release channel of the service.
 If unspecified, defaults to STABLE.
 
 .google.cloud.metastore.v1beta.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
 
    public int getReleaseChannelValue()
   
   Immutable. The release channel of the service.
 If unspecified, defaults to STABLE.
 
 .google.cloud.metastore.v1beta.Service.ReleaseChannel release_channel = 19 [(.google.api.field_behavior) = IMMUTABLE];
 
    
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for releaseChannel. | 
    
  
  
  
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  
  
    public Service.State getState()
   
   Output only. The current state of the metastore service.
 
 .google.cloud.metastore.v1beta.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    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. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
    public int getStateValue()
   
   Output only. The current state of the metastore service.
 
 .google.cloud.metastore.v1beta.Service.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for state. | 
    
  
  
  
  
    public Service.Tier getTier()
   
   The tier of the service.
 .google.cloud.metastore.v1beta.Service.Tier tier = 13;
    public int getTierValue()
   
   The tier of the service.
 .google.cloud.metastore.v1beta.Service.Tier tier = 13;
    
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for tier. | 
    
  
  
  
  
   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. | 
    
  
  
  
  
    public ByteString getUidBytes()
   
   Output only. The globally unique resource identifier of the metastore
 service.
 string uid = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  
  
    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];
 
    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];
 
    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. | 
    
  
  
  
  
    public boolean hasHiveMetastoreConfig()
   
   Configuration information specific to running Hive metastore
 software as the metastore service.
 .google.cloud.metastore.v1beta.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.v1beta.MaintenanceWindow maintenance_window = 15;
    
      
        | Type | Description | 
      
        | boolean | Whether the maintenanceWindow field is set. | 
    
  
  
  
  
    public boolean hasMetadataIntegration()
   
   The setting that defines how metastore metadata should be integrated with
 external services and systems.
 .google.cloud.metastore.v1beta.MetadataIntegration metadata_integration = 14;
    
      
        | Type | Description | 
      
        | boolean | Whether the metadataIntegration field is set. | 
    
  
  
  
  
    public boolean hasMetadataManagementActivity()
   
   Output only. The metadata management activities of the metastore service.
 
 .google.cloud.metastore.v1beta.MetadataManagementActivity metadata_management_activity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Type | Description | 
      
        | boolean | Whether the metadataManagementActivity field is set. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
  Returns
  
  Overrides
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | number | int
 | 
    
  
  Returns
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  
  
    public Service.Builder newBuilderForType()
   
  Returns
  
  
  
  
    protected Service.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    public Service.Builder toBuilder()
   
  Returns
  
  
  
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions