Class SnapshotJobRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • clear

        public SnapshotJobRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • getDefaultInstanceForType

        public SnapshotJobRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SnapshotJobRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SnapshotJobRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SnapshotJobRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • setField

        public SnapshotJobRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • clearField

        public SnapshotJobRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • clearOneof

        public SnapshotJobRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • setRepeatedField

        public SnapshotJobRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • addRepeatedField

        public SnapshotJobRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • mergeFrom

        public SnapshotJobRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotJobRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • mergeFrom

        public SnapshotJobRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotJobRequest.Builder>
        Throws:
        IOException
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         The project which owns the job to be snapshotted.
         
        string project_id = 1;
        Specified by:
        getProjectIdBytes in interface SnapshotJobRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public SnapshotJobRequest.Builder setProjectId​(String value)
         The project which owns the job to be snapshotted.
         
        string project_id = 1;
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        public SnapshotJobRequest.Builder clearProjectId()
         The project which owns the job to be snapshotted.
         
        string project_id = 1;
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public SnapshotJobRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         The project which owns the job to be snapshotted.
         
        string project_id = 1;
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getJobIdBytes

        public com.google.protobuf.ByteString getJobIdBytes()
         The job to be snapshotted.
         
        string job_id = 2;
        Specified by:
        getJobIdBytes in interface SnapshotJobRequestOrBuilder
        Returns:
        The bytes for jobId.
      • setJobId

        public SnapshotJobRequest.Builder setJobId​(String value)
         The job to be snapshotted.
         
        string job_id = 2;
        Parameters:
        value - The jobId to set.
        Returns:
        This builder for chaining.
      • clearJobId

        public SnapshotJobRequest.Builder clearJobId()
         The job to be snapshotted.
         
        string job_id = 2;
        Returns:
        This builder for chaining.
      • setJobIdBytes

        public SnapshotJobRequest.Builder setJobIdBytes​(com.google.protobuf.ByteString value)
         The job to be snapshotted.
         
        string job_id = 2;
        Parameters:
        value - The bytes for jobId to set.
        Returns:
        This builder for chaining.
      • hasTtl

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

        public com.google.protobuf.Duration getTtl()
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
        Specified by:
        getTtl in interface SnapshotJobRequestOrBuilder
        Returns:
        The ttl.
      • setTtl

        public SnapshotJobRequest.Builder setTtl​(com.google.protobuf.Duration value)
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
      • setTtl

        public SnapshotJobRequest.Builder setTtl​(com.google.protobuf.Duration.Builder builderForValue)
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
      • mergeTtl

        public SnapshotJobRequest.Builder mergeTtl​(com.google.protobuf.Duration value)
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
      • getTtlBuilder

        public com.google.protobuf.Duration.Builder getTtlBuilder()
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
      • getTtlOrBuilder

        public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
         TTL for the snapshot.
         
        .google.protobuf.Duration ttl = 3;
        Specified by:
        getTtlOrBuilder in interface SnapshotJobRequestOrBuilder
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         The location that contains this job.
         
        string location = 4;
        Specified by:
        getLocationBytes in interface SnapshotJobRequestOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public SnapshotJobRequest.Builder setLocation​(String value)
         The location that contains this job.
         
        string location = 4;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public SnapshotJobRequest.Builder clearLocation()
         The location that contains this job.
         
        string location = 4;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public SnapshotJobRequest.Builder setLocationBytes​(com.google.protobuf.ByteString value)
         The location that contains this job.
         
        string location = 4;
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • getSnapshotSources

        public boolean getSnapshotSources()
         If true, perform snapshots for sources which support this.
         
        bool snapshot_sources = 5;
        Specified by:
        getSnapshotSources in interface SnapshotJobRequestOrBuilder
        Returns:
        The snapshotSources.
      • setSnapshotSources

        public SnapshotJobRequest.Builder setSnapshotSources​(boolean value)
         If true, perform snapshots for sources which support this.
         
        bool snapshot_sources = 5;
        Parameters:
        value - The snapshotSources to set.
        Returns:
        This builder for chaining.
      • clearSnapshotSources

        public SnapshotJobRequest.Builder clearSnapshotSources()
         If true, perform snapshots for sources which support this.
         
        bool snapshot_sources = 5;
        Returns:
        This builder for chaining.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         User specified description of the snapshot. Maybe empty.
         
        string description = 6;
        Specified by:
        getDescriptionBytes in interface SnapshotJobRequestOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public SnapshotJobRequest.Builder setDescription​(String value)
         User specified description of the snapshot. Maybe empty.
         
        string description = 6;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public SnapshotJobRequest.Builder clearDescription()
         User specified description of the snapshot. Maybe empty.
         
        string description = 6;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public SnapshotJobRequest.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         User specified description of the snapshot. Maybe empty.
         
        string description = 6;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SnapshotJobRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
      • mergeUnknownFields

        public final SnapshotJobRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>