Interface SnapshotJobRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    User specified description of the snapshot.
    com.google.protobuf.ByteString
    User specified description of the snapshot.
    The job to be snapshotted.
    com.google.protobuf.ByteString
    The job to be snapshotted.
    The location that contains this job.
    com.google.protobuf.ByteString
    The location that contains this job.
    The project which owns the job to be snapshotted.
    com.google.protobuf.ByteString
    The project which owns the job to be snapshotted.
    boolean
    If true, perform snapshots for sources which support this.
    com.google.protobuf.Duration
    TTL for the snapshot.
    com.google.protobuf.DurationOrBuilder
    TTL for the snapshot.
    boolean
    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 Details

    • 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.