Interface PatchJobs.ExecutePatchJobRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PatchJobs.ExecutePatchJobRequest, PatchJobs.ExecutePatchJobRequest.Builder
Enclosing class:
PatchJobs

public static interface PatchJobs.ExecutePatchJobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The project in which to run this patch in the form `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The project in which to run this patch in the form `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for parent.
    • getDescription

      String getDescription()
       Description of the patch job. Length of the description is limited
       to 1024 characters.
       
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Description of the patch job. Length of the description is limited
       to 1024 characters.
       
      string description = 2;
      Returns:
      The bytes for description.
    • hasInstanceFilter

      boolean hasInstanceFilter()
       Required. Instances to patch, either explicitly or filtered by some criteria such
       as zone or labels.
       
      .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the instanceFilter field is set.
    • getInstanceFilter

      PatchJobs.PatchInstanceFilter getInstanceFilter()
       Required. Instances to patch, either explicitly or filtered by some criteria such
       as zone or labels.
       
      .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instanceFilter.
    • getInstanceFilterOrBuilder

      PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
       Required. Instances to patch, either explicitly or filtered by some criteria such
       as zone or labels.
       
      .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];
    • hasPatchConfig

      boolean hasPatchConfig()
       Patch configuration being applied. If omitted, instances are
       patched using the default configurations.
       
      .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
      Returns:
      Whether the patchConfig field is set.
    • getPatchConfig

      PatchJobs.PatchConfig getPatchConfig()
       Patch configuration being applied. If omitted, instances are
       patched using the default configurations.
       
      .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
      Returns:
      The patchConfig.
    • getPatchConfigOrBuilder

      PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
       Patch configuration being applied. If omitted, instances are
       patched using the default configurations.
       
      .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
    • hasDuration

      boolean hasDuration()
       Duration of the patch job. After the duration ends, the patch job
       times out.
       
      .google.protobuf.Duration duration = 5;
      Returns:
      Whether the duration field is set.
    • getDuration

      com.google.protobuf.Duration getDuration()
       Duration of the patch job. After the duration ends, the patch job
       times out.
       
      .google.protobuf.Duration duration = 5;
      Returns:
      The duration.
    • getDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       Duration of the patch job. After the duration ends, the patch job
       times out.
       
      .google.protobuf.Duration duration = 5;
    • getDryRun

      boolean getDryRun()
       If this patch is a dry-run only, instances are contacted but
       will do nothing.
       
      bool dry_run = 6;
      Returns:
      The dryRun.
    • getDisplayName

      String getDisplayName()
       Display name for this patch job. This does not have to be unique.
       
      string display_name = 8;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Display name for this patch job. This does not have to be unique.
       
      string display_name = 8;
      Returns:
      The bytes for displayName.
    • hasRollout

      boolean hasRollout()
       Rollout strategy of the patch job.
       
      .google.cloud.osconfig.v1beta.PatchRollout rollout = 9;
      Returns:
      Whether the rollout field is set.
    • getRollout

       Rollout strategy of the patch job.
       
      .google.cloud.osconfig.v1beta.PatchRollout rollout = 9;
      Returns:
      The rollout.
    • getRolloutOrBuilder

      PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
       Rollout strategy of the patch job.
       
      .google.cloud.osconfig.v1beta.PatchRollout rollout = 9;