Class PatchJobs.ExecStep.Builder (2.8.0)

public static final class PatchJobs.ExecStep.Builder extends GeneratedMessageV3.Builder<PatchJobs.ExecStep.Builder> implements PatchJobs.ExecStepOrBuilder

A step that runs an executable for a PatchJob.

Protobuf type google.cloud.osconfig.v1beta.ExecStep

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ExecStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchJobs.ExecStep.Builder
Overrides

build()

public PatchJobs.ExecStep build()
Returns
TypeDescription
PatchJobs.ExecStep

buildPartial()

public PatchJobs.ExecStep buildPartial()
Returns
TypeDescription
PatchJobs.ExecStep

clear()

public PatchJobs.ExecStep.Builder clear()
Returns
TypeDescription
PatchJobs.ExecStep.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.ExecStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PatchJobs.ExecStep.Builder
Overrides

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;

Returns
TypeDescription
PatchJobs.ExecStep.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchJobs.ExecStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PatchJobs.ExecStep.Builder
Overrides

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;

Returns
TypeDescription
PatchJobs.ExecStep.Builder

clone()

public PatchJobs.ExecStep.Builder clone()
Returns
TypeDescription
PatchJobs.ExecStep.Builder
Overrides

getDefaultInstanceForType()

public PatchJobs.ExecStep getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.ExecStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
PatchJobs.ExecStepConfig

The linuxExecStepConfig.

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;

Returns
TypeDescription
PatchJobs.ExecStepConfig.Builder

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;

Returns
TypeDescription
PatchJobs.ExecStepConfigOrBuilder

getWindowsExecStepConfig()