Interface BackupOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Backup, Backup.Builder

    public interface BackupOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Immutable. The relative resource name of the backup, in the following form:
        
         `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Immutable. The relative resource name of the backup, in the following form:
        
         `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for name.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time when the backup was started.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time when the backup was started.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time when the backup was started.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasEndTime

        boolean hasEndTime()
         Output only. The time when the backup finished creating.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the endTime field is set.
      • getEndTime

        com.google.protobuf.Timestamp getEndTime()
         Output only. The time when the backup finished creating.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Output only. The time when the backup finished creating.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStateValue

        int getStateValue()
         Output only. The current state of the backup.
         
        .google.cloud.metastore.v1alpha.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        Backup.State getState()
         Output only. The current state of the backup.
         
        .google.cloud.metastore.v1alpha.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • hasServiceRevision

        boolean hasServiceRevision()
         Output only. The revision of the service at the time of backup.
         
        .google.cloud.metastore.v1alpha.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the serviceRevision field is set.
      • getServiceRevision

        Service getServiceRevision()
         Output only. The revision of the service at the time of backup.
         
        .google.cloud.metastore.v1alpha.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The serviceRevision.
      • getServiceRevisionOrBuilder

        ServiceOrBuilder getServiceRevisionOrBuilder()
         Output only. The revision of the service at the time of backup.
         
        .google.cloud.metastore.v1alpha.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDescription

        String getDescription()
         The description of the backup.
         
        string description = 6;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         The description of the backup.
         
        string description = 6;
        Returns:
        The bytes for description.
      • getRestoringServicesList

        List<String> getRestoringServicesList()
         Output only. Services that are restoring from the backup.
         
        repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        A list containing the restoringServices.
      • getRestoringServicesCount

        int getRestoringServicesCount()
         Output only. Services that are restoring from the backup.
         
        repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The count of restoringServices.
      • getRestoringServices

        String getRestoringServices​(int index)
         Output only. Services that are restoring from the backup.
         
        repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index of the element to return.
        Returns:
        The restoringServices at the given index.
      • getRestoringServicesBytes

        com.google.protobuf.ByteString getRestoringServicesBytes​(int index)
         Output only. Services that are restoring from the backup.
         
        repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the restoringServices at the given index.