Class PatchDeployments.PatchDeployment.Builder

  • All Implemented Interfaces:
    PatchDeployments.PatchDeploymentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    PatchDeployments.PatchDeployment

    public static final class PatchDeployments.PatchDeployment.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
    implements PatchDeployments.PatchDeploymentOrBuilder
     Patch deployments are configurations that individual patch jobs use to
     complete a patch. These configurations include instance filter, package
     repository settings, and a schedule. For more information about creating and
     managing patch deployments, see [Scheduling patch
     jobs](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs).
     
    Protobuf type google.cloud.osconfig.v1beta.PatchDeployment
    • 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<PatchDeployments.PatchDeployment.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<PatchDeployments.PatchDeployment.Builder>
      • getDefaultInstanceForType

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

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

        public PatchDeployments.PatchDeployment buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public String getName()
         Unique name for the patch deployment resource in a project. The patch
         deployment name is in the form:
         `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
         This field is ignored when you create a new patch deployment.
         
        string name = 1;
        Specified by:
        getName in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Unique name for the patch deployment resource in a project. The patch
         deployment name is in the form:
         `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
         This field is ignored when you create a new patch deployment.
         
        string name = 1;
        Specified by:
        getNameBytes in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PatchDeployments.PatchDeployment.Builder setName​(String value)
         Unique name for the patch deployment resource in a project. The patch
         deployment name is in the form:
         `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
         This field is ignored when you create a new patch deployment.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public PatchDeployments.PatchDeployment.Builder clearName()
         Unique name for the patch deployment resource in a project. The patch
         deployment name is in the form:
         `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
         This field is ignored when you create a new patch deployment.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public PatchDeployments.PatchDeployment.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Unique name for the patch deployment resource in a project. The patch
         deployment name is in the form:
         `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
         This field is ignored when you create a new patch deployment.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         Optional. Description of the patch deployment. Length of the description is limited
         to 1024 characters.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescription in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional. Description of the patch deployment. Length of the description is limited
         to 1024 characters.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescriptionBytes in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public PatchDeployments.PatchDeployment.Builder setDescription​(String value)
         Optional. Description of the patch deployment. Length of the description is limited
         to 1024 characters.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public PatchDeployments.PatchDeployment.Builder clearDescription()
         Optional. Description of the patch deployment. Length of the description is limited
         to 1024 characters.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public PatchDeployments.PatchDeployment.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Optional. Description of the patch deployment. Length of the description is limited
         to 1024 characters.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasInstanceFilter

        public boolean hasInstanceFilter()
         Required. VM instances to patch.
         
        .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasInstanceFilter in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the instanceFilter field is set.
      • clearInstanceFilter

        public PatchDeployments.PatchDeployment.Builder clearInstanceFilter()
         Required. VM instances to patch.
         
        .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
      • getInstanceFilterBuilder

        public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
         Required. VM instances to patch.
         
        .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
      • hasPatchConfig

        public boolean hasPatchConfig()
         Optional. Patch configuration that is applied.
         
        .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasPatchConfig in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the patchConfig field is set.
      • clearPatchConfig

        public PatchDeployments.PatchDeployment.Builder clearPatchConfig()
         Optional. Patch configuration that is applied.
         
        .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getPatchConfigBuilder

        public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
         Optional. Patch configuration that is applied.
         
        .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • hasDuration

        public boolean hasDuration()
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasDuration in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the duration field is set.
      • getDuration

        public com.google.protobuf.Duration getDuration()
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDuration in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The duration.
      • setDuration

        public PatchDeployments.PatchDeployment.Builder setDuration​(com.google.protobuf.Duration value)
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      • setDuration

        public PatchDeployments.PatchDeployment.Builder setDuration​(com.google.protobuf.Duration.Builder builderForValue)
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      • mergeDuration

        public PatchDeployments.PatchDeployment.Builder mergeDuration​(com.google.protobuf.Duration value)
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      • clearDuration

        public PatchDeployments.PatchDeployment.Builder clearDuration()
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getDurationBuilder

        public com.google.protobuf.Duration.Builder getDurationBuilder()
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
         Optional. Duration of the patch. After the duration ends, the patch times out.
         
        .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDurationOrBuilder in interface PatchDeployments.PatchDeploymentOrBuilder
      • hasOneTimeSchedule

        public boolean hasOneTimeSchedule()
         Required. Schedule a one-time execution.
         
        .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasOneTimeSchedule in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the oneTimeSchedule field is set.
      • clearOneTimeSchedule

        public PatchDeployments.PatchDeployment.Builder clearOneTimeSchedule()
         Required. Schedule a one-time execution.
         
        .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
      • getOneTimeScheduleBuilder

        public PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder()
         Required. Schedule a one-time execution.
         
        .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
      • hasRecurringSchedule

        public boolean hasRecurringSchedule()
         Required. Schedule recurring executions.
         
        .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasRecurringSchedule in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the recurringSchedule field is set.
      • clearRecurringSchedule

        public PatchDeployments.PatchDeployment.Builder clearRecurringSchedule()
         Required. Schedule recurring executions.
         
        .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
      • getRecurringScheduleBuilder

        public PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder()
         Required. Schedule recurring executions.
         
        .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public PatchDeployments.PatchDeployment.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public PatchDeployments.PatchDeployment.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public PatchDeployments.PatchDeployment.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public PatchDeployments.PatchDeployment.Builder clearCreateTime()
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Time the patch deployment was created. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface PatchDeployments.PatchDeploymentOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public PatchDeployments.PatchDeployment.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public PatchDeployments.PatchDeployment.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public PatchDeployments.PatchDeployment.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public PatchDeployments.PatchDeployment.Builder clearUpdateTime()
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Time the patch deployment was last updated. Timestamp is in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface PatchDeployments.PatchDeploymentOrBuilder
      • hasLastExecuteTime

        public boolean hasLastExecuteTime()
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLastExecuteTime in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the lastExecuteTime field is set.
      • getLastExecuteTime

        public com.google.protobuf.Timestamp getLastExecuteTime()
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastExecuteTime in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The lastExecuteTime.
      • setLastExecuteTime

        public PatchDeployments.PatchDeployment.Builder setLastExecuteTime​(com.google.protobuf.Timestamp value)
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setLastExecuteTime

        public PatchDeployments.PatchDeployment.Builder setLastExecuteTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeLastExecuteTime

        public PatchDeployments.PatchDeployment.Builder mergeLastExecuteTime​(com.google.protobuf.Timestamp value)
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearLastExecuteTime

        public PatchDeployments.PatchDeployment.Builder clearLastExecuteTime()
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastExecuteTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder()
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastExecuteTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder()
         Output only. The last time a patch job was started by this deployment.
         Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
         format.
         
        .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastExecuteTimeOrBuilder in interface PatchDeployments.PatchDeploymentOrBuilder
      • hasRollout

        public boolean hasRollout()
         Optional. Rollout strategy of the patch job.
         
        .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasRollout in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        Whether the rollout field is set.
      • clearRollout

        public PatchDeployments.PatchDeployment.Builder clearRollout()
         Optional. Rollout strategy of the patch job.
         
        .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
      • getRolloutBuilder

        public PatchJobs.PatchRollout.Builder getRolloutBuilder()
         Optional. Rollout strategy of the patch job.
         
        .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
      • getStateValue

        public int getStateValue()
         Output only. Current state of the patch deployment.
         
        .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface PatchDeployments.PatchDeploymentOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public PatchDeployments.PatchDeployment.Builder setStateValue​(int value)
         Output only. Current state of the patch deployment.
         
        .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • clearState

        public PatchDeployments.PatchDeployment.Builder clearState()
         Output only. Current state of the patch deployment.
         
        .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.