Class PatchJobs.ExecStep.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ExecStep.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder
All Implemented Interfaces:
PatchJobs.ExecStepOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PatchJobs.ExecStep

public static final class PatchJobs.ExecStep.Builder extends com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ExecStep.Builder> implements PatchJobs.ExecStepOrBuilder
 A step that runs an executable for a PatchJob.
 
Protobuf type google.cloud.osconfig.v1beta.ExecStep
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ExecStep.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.GeneratedMessage.Builder<PatchJobs.ExecStep.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.GeneratedMessage.Builder<PatchJobs.ExecStep.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

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

      public boolean hasLinuxExecStepConfig()
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
      Specified by:
      hasLinuxExecStepConfig in interface PatchJobs.ExecStepOrBuilder
      Returns:
      Whether the linuxExecStepConfig field is set.
    • getLinuxExecStepConfig

      public PatchJobs.ExecStepConfig getLinuxExecStepConfig()
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
      Specified by:
      getLinuxExecStepConfig in interface PatchJobs.ExecStepOrBuilder
      Returns:
      The linuxExecStepConfig.
    • setLinuxExecStepConfig

      public PatchJobs.ExecStep.Builder setLinuxExecStepConfig(PatchJobs.ExecStepConfig value)
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
    • setLinuxExecStepConfig

      public PatchJobs.ExecStep.Builder setLinuxExecStepConfig(PatchJobs.ExecStepConfig.Builder builderForValue)
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
    • mergeLinuxExecStepConfig

      public PatchJobs.ExecStep.Builder mergeLinuxExecStepConfig(PatchJobs.ExecStepConfig value)
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
    • clearLinuxExecStepConfig

      public PatchJobs.ExecStep.Builder clearLinuxExecStepConfig()
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
    • getLinuxExecStepConfigBuilder

      public PatchJobs.ExecStepConfig.Builder getLinuxExecStepConfigBuilder()
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
    • getLinuxExecStepConfigOrBuilder

      public PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder()
       The ExecStepConfig for all Linux VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1;
      Specified by:
      getLinuxExecStepConfigOrBuilder in interface PatchJobs.ExecStepOrBuilder
    • hasWindowsExecStepConfig

      public boolean hasWindowsExecStepConfig()
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
      Specified by:
      hasWindowsExecStepConfig in interface PatchJobs.ExecStepOrBuilder
      Returns:
      Whether the windowsExecStepConfig field is set.
    • getWindowsExecStepConfig

      public PatchJobs.ExecStepConfig getWindowsExecStepConfig()
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
      Specified by:
      getWindowsExecStepConfig in interface PatchJobs.ExecStepOrBuilder
      Returns:
      The windowsExecStepConfig.
    • setWindowsExecStepConfig

      public PatchJobs.ExecStep.Builder setWindowsExecStepConfig(PatchJobs.ExecStepConfig value)
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
    • setWindowsExecStepConfig

      public PatchJobs.ExecStep.Builder setWindowsExecStepConfig(PatchJobs.ExecStepConfig.Builder builderForValue)
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
    • mergeWindowsExecStepConfig

      public PatchJobs.ExecStep.Builder mergeWindowsExecStepConfig(PatchJobs.ExecStepConfig value)
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
    • clearWindowsExecStepConfig

      public PatchJobs.ExecStep.Builder clearWindowsExecStepConfig()
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
    • getWindowsExecStepConfigBuilder

      public PatchJobs.ExecStepConfig.Builder getWindowsExecStepConfigBuilder()
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
    • getWindowsExecStepConfigOrBuilder

      public PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder()
       The ExecStepConfig for all Windows VMs targeted by the PatchJob.
       
      .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2;
      Specified by:
      getWindowsExecStepConfigOrBuilder in interface PatchJobs.ExecStepOrBuilder