Interface SnapshotJobRequestOrBuilder

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

    public interface SnapshotJobRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDescription()
      User specified description of the snapshot.
      com.google.protobuf.ByteString getDescriptionBytes()
      User specified description of the snapshot.
      String getJobId()
      The job to be snapshotted.
      com.google.protobuf.ByteString getJobIdBytes()
      The job to be snapshotted.
      String getLocation()
      The location that contains this job.
      com.google.protobuf.ByteString getLocationBytes()
      The location that contains this job.
      String getProjectId()
      The project which owns the job to be snapshotted.
      com.google.protobuf.ByteString getProjectIdBytes()
      The project which owns the job to be snapshotted.
      boolean getSnapshotSources()
      If true, perform snapshots for sources which support this.
      com.google.protobuf.Duration getTtl()
      TTL for the snapshot.
      com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
      TTL for the snapshot.
      boolean hasTtl()
      TTL for the snapshot.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getProjectId

        String getProjectId()
         The project which owns the job to be snapshotted.
         
        string project_id = 1;
        Returns:
        The projectId.
      • getProjectIdBytes

        com.google.protobuf.ByteString getProjectIdBytes()
         The project which owns the job to be snapshotted.
         
        string project_id = 1;
        Returns:
        The bytes for projectId.
      • getJobId

        String getJobId()
         The job to be snapshotted.
         
        string job_id = 2;
        Returns:
        The jobId.
      • getJobIdBytes

        com.google.protobuf.ByteString getJobIdBytes()
         The job to be snapshotted.
         
        string job_id = 2;
        Returns:
        The bytes for jobId.
      • hasTtl

        boolean hasTtl()
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
        Returns:
        Whether the ttl field is set.
      • getTtl

        com.google.protobuf.Duration getTtl()
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
        Returns:
        The ttl.
      • getTtlOrBuilder

        com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
      • getLocation

        String getLocation()
         The location that contains this job.
         
        string location = 4;
        Returns:
        The location.
      • getLocationBytes

        com.google.protobuf.ByteString getLocationBytes()
         The location that contains this job.
         
        string location = 4;
        Returns:
        The bytes for location.
      • getSnapshotSources

        boolean getSnapshotSources()
         If true, perform snapshots for sources which support this.
         
        bool snapshot_sources = 5;
        Returns:
        The snapshotSources.
      • getDescription

        String getDescription()
         User specified description of the snapshot. Maybe empty.
         
        string description = 6;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         User specified description of the snapshot. Maybe empty.
         
        string description = 6;
        Returns:
        The bytes for description.