Class PatchJobs.PatchJob.Builder

  • All Implemented Interfaces:
    PatchJobs.PatchJobOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    PatchJobs.PatchJob

    public static final class PatchJobs.PatchJob.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
    implements PatchJobs.PatchJobOrBuilder
     A high level representation of a patch job that is either in progress
     or has completed.
    
     Instance details are not included in the job. To paginate through instance
     details, use `ListPatchJobInstanceDetails`.
    
     For more information about patch jobs, see
     [Creating patch
     jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).
     
    Protobuf type google.cloud.osconfig.v1beta.PatchJob
    • 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<PatchJobs.PatchJob.Builder>
      • clear

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • getDefaultInstanceForType

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

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

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

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • setField

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • clearField

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • clearOneof

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • setRepeatedField

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • addRepeatedField

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • mergeFrom

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • isInitialized

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

        public PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Unique identifier for this patch job in the form
         `projects/*/patchJobs/*`
         
        string name = 1;
        Specified by:
        getName in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Unique identifier for this patch job in the form
         `projects/*/patchJobs/*`
         
        string name = 1;
        Specified by:
        getNameBytes in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PatchJobs.PatchJob.Builder setName​(String value)
         Unique identifier for this patch job in the form
         `projects/*/patchJobs/*`
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public PatchJobs.PatchJob.Builder clearName()
         Unique identifier for this patch job in the form
         `projects/*/patchJobs/*`
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public PatchJobs.PatchJob.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Unique identifier for this patch job in the form
         `projects/*/patchJobs/*`
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         Display name for this patch job. This is not a unique identifier.
         
        string display_name = 14;
        Specified by:
        getDisplayName in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Display name for this patch job. This is not a unique identifier.
         
        string display_name = 14;
        Specified by:
        getDisplayNameBytes in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public PatchJobs.PatchJob.Builder setDisplayName​(String value)
         Display name for this patch job. This is not a unique identifier.
         
        string display_name = 14;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public PatchJobs.PatchJob.Builder clearDisplayName()
         Display name for this patch job. This is not a unique identifier.
         
        string display_name = 14;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public PatchJobs.PatchJob.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Display name for this patch job. This is not a unique identifier.
         
        string display_name = 14;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         Description of the patch job. Length of the description is limited
         to 1024 characters.
         
        string description = 2;
        Specified by:
        getDescription in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description of the patch job. Length of the description is limited
         to 1024 characters.
         
        string description = 2;
        Specified by:
        getDescriptionBytes in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public PatchJobs.PatchJob.Builder setDescription​(String value)
         Description of the patch job. Length of the description is limited
         to 1024 characters.
         
        string description = 2;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public PatchJobs.PatchJob.Builder clearDescription()
         Description of the patch job. Length of the description is limited
         to 1024 characters.
         
        string description = 2;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public PatchJobs.PatchJob.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Description of the patch job. Length of the description is limited
         to 1024 characters.
         
        string description = 2;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
        Specified by:
        hasCreateTime in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
        Specified by:
        getCreateTime in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public PatchJobs.PatchJob.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • setCreateTime

        public PatchJobs.PatchJob.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • mergeCreateTime

        public PatchJobs.PatchJob.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • clearCreateTime

        public PatchJobs.PatchJob.Builder clearCreateTime()
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Time this patch job was created.
         
        .google.protobuf.Timestamp create_time = 3;
        Specified by:
        getCreateTimeOrBuilder in interface PatchJobs.PatchJobOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
        Specified by:
        hasUpdateTime in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
        Specified by:
        getUpdateTime in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public PatchJobs.PatchJob.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
      • setUpdateTime

        public PatchJobs.PatchJob.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
      • mergeUpdateTime

        public PatchJobs.PatchJob.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
      • clearUpdateTime

        public PatchJobs.PatchJob.Builder clearUpdateTime()
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Last time this patch job was updated.
         
        .google.protobuf.Timestamp update_time = 4;
        Specified by:
        getUpdateTimeOrBuilder in interface PatchJobs.PatchJobOrBuilder
      • getStateValue

        public int getStateValue()
         The current state of the PatchJob.
         
        .google.cloud.osconfig.v1beta.PatchJob.State state = 5;
        Specified by:
        getStateValue in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public PatchJobs.PatchJob.Builder setStateValue​(int value)
         The current state of the PatchJob.
         
        .google.cloud.osconfig.v1beta.PatchJob.State state = 5;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public PatchJobs.PatchJob.Builder setState​(PatchJobs.PatchJob.State value)
         The current state of the PatchJob.
         
        .google.cloud.osconfig.v1beta.PatchJob.State state = 5;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public PatchJobs.PatchJob.Builder clearState()
         The current state of the PatchJob.
         
        .google.cloud.osconfig.v1beta.PatchJob.State state = 5;
        Returns:
        This builder for chaining.
      • hasInstanceFilter

        public boolean hasInstanceFilter()
         Instances to patch.
         
        .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
        Specified by:
        hasInstanceFilter in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the instanceFilter field is set.
      • clearInstanceFilter

        public PatchJobs.PatchJob.Builder clearInstanceFilter()
         Instances to patch.
         
        .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
      • getInstanceFilterBuilder

        public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
         Instances to patch.
         
        .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
      • hasPatchConfig

        public boolean hasPatchConfig()
         Patch configuration being applied.
         
        .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
        Specified by:
        hasPatchConfig in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the patchConfig field is set.
      • clearPatchConfig

        public PatchJobs.PatchJob.Builder clearPatchConfig()
         Patch configuration being applied.
         
        .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
      • getPatchConfigBuilder

        public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
         Patch configuration being applied.
         
        .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
      • hasDuration

        public boolean hasDuration()
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
        Specified by:
        hasDuration in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the duration field is set.
      • getDuration

        public com.google.protobuf.Duration getDuration()
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
        Specified by:
        getDuration in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The duration.
      • setDuration

        public PatchJobs.PatchJob.Builder setDuration​(com.google.protobuf.Duration value)
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
      • setDuration

        public PatchJobs.PatchJob.Builder setDuration​(com.google.protobuf.Duration.Builder builderForValue)
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
      • mergeDuration

        public PatchJobs.PatchJob.Builder mergeDuration​(com.google.protobuf.Duration value)
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
      • clearDuration

        public PatchJobs.PatchJob.Builder clearDuration()
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
      • getDurationBuilder

        public com.google.protobuf.Duration.Builder getDurationBuilder()
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
      • getDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
         Duration of the patch job. After the duration ends, the
         patch job times out.
         
        .google.protobuf.Duration duration = 8;
        Specified by:
        getDurationOrBuilder in interface PatchJobs.PatchJobOrBuilder
      • hasInstanceDetailsSummary

        public boolean hasInstanceDetailsSummary()
         Summary of instance details.
         
        .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
        Specified by:
        hasInstanceDetailsSummary in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the instanceDetailsSummary field is set.
      • clearInstanceDetailsSummary

        public PatchJobs.PatchJob.Builder clearInstanceDetailsSummary()
         Summary of instance details.
         
        .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
      • getInstanceDetailsSummaryBuilder

        public PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder()
         Summary of instance details.
         
        .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
      • getDryRun

        public boolean getDryRun()
         If this patch job is a dry run, the agent reports that it has
         finished without running any updates on the VM instance.
         
        bool dry_run = 10;
        Specified by:
        getDryRun in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The dryRun.
      • setDryRun

        public PatchJobs.PatchJob.Builder setDryRun​(boolean value)
         If this patch job is a dry run, the agent reports that it has
         finished without running any updates on the VM instance.
         
        bool dry_run = 10;
        Parameters:
        value - The dryRun to set.
        Returns:
        This builder for chaining.
      • clearDryRun

        public PatchJobs.PatchJob.Builder clearDryRun()
         If this patch job is a dry run, the agent reports that it has
         finished without running any updates on the VM instance.
         
        bool dry_run = 10;
        Returns:
        This builder for chaining.
      • getErrorMessage

        public String getErrorMessage()
         If this patch job failed, this message provides information about the
         failure.
         
        string error_message = 11;
        Specified by:
        getErrorMessage in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The errorMessage.
      • getErrorMessageBytes

        public com.google.protobuf.ByteString getErrorMessageBytes()
         If this patch job failed, this message provides information about the
         failure.
         
        string error_message = 11;
        Specified by:
        getErrorMessageBytes in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The bytes for errorMessage.
      • setErrorMessage

        public PatchJobs.PatchJob.Builder setErrorMessage​(String value)
         If this patch job failed, this message provides information about the
         failure.
         
        string error_message = 11;
        Parameters:
        value - The errorMessage to set.
        Returns:
        This builder for chaining.
      • clearErrorMessage

        public PatchJobs.PatchJob.Builder clearErrorMessage()
         If this patch job failed, this message provides information about the
         failure.
         
        string error_message = 11;
        Returns:
        This builder for chaining.
      • setErrorMessageBytes

        public PatchJobs.PatchJob.Builder setErrorMessageBytes​(com.google.protobuf.ByteString value)
         If this patch job failed, this message provides information about the
         failure.
         
        string error_message = 11;
        Parameters:
        value - The bytes for errorMessage to set.
        Returns:
        This builder for chaining.
      • getPercentComplete

        public double getPercentComplete()
         Reflects the overall progress of the patch job in the range of
         0.0 being no progress to 100.0 being complete.
         
        double percent_complete = 12;
        Specified by:
        getPercentComplete in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The percentComplete.
      • setPercentComplete

        public PatchJobs.PatchJob.Builder setPercentComplete​(double value)
         Reflects the overall progress of the patch job in the range of
         0.0 being no progress to 100.0 being complete.
         
        double percent_complete = 12;
        Parameters:
        value - The percentComplete to set.
        Returns:
        This builder for chaining.
      • clearPercentComplete

        public PatchJobs.PatchJob.Builder clearPercentComplete()
         Reflects the overall progress of the patch job in the range of
         0.0 being no progress to 100.0 being complete.
         
        double percent_complete = 12;
        Returns:
        This builder for chaining.
      • getPatchDeployment

        public String getPatchDeployment()
         Output only. Name of the patch deployment that created this patch job.
         
        string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPatchDeployment in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The patchDeployment.
      • getPatchDeploymentBytes

        public com.google.protobuf.ByteString getPatchDeploymentBytes()
         Output only. Name of the patch deployment that created this patch job.
         
        string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPatchDeploymentBytes in interface PatchJobs.PatchJobOrBuilder
        Returns:
        The bytes for patchDeployment.
      • setPatchDeployment

        public PatchJobs.PatchJob.Builder setPatchDeployment​(String value)
         Output only. Name of the patch deployment that created this patch job.
         
        string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The patchDeployment to set.
        Returns:
        This builder for chaining.
      • clearPatchDeployment

        public PatchJobs.PatchJob.Builder clearPatchDeployment()
         Output only. Name of the patch deployment that created this patch job.
         
        string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPatchDeploymentBytes

        public PatchJobs.PatchJob.Builder setPatchDeploymentBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the patch deployment that created this patch job.
         
        string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for patchDeployment to set.
        Returns:
        This builder for chaining.
      • hasRollout

        public boolean hasRollout()
         Rollout strategy being applied.
         
        .google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
        Specified by:
        hasRollout in interface PatchJobs.PatchJobOrBuilder
        Returns:
        Whether the rollout field is set.
      • clearRollout

        public PatchJobs.PatchJob.Builder clearRollout()
         Rollout strategy being applied.
         
        .google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
      • getRolloutBuilder

        public PatchJobs.PatchRollout.Builder getRolloutBuilder()
         Rollout strategy being applied.
         
        .google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
      • setUnknownFields

        public final PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>
      • mergeUnknownFields

        public final PatchJobs.PatchJob.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<PatchJobs.PatchJob.Builder>