Class PatchJobs.ExecStep.Builder (2.85.0)

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

A step that runs an executable for a PatchJob.

Protobuf type google.cloud.osconfig.v1.ExecStep

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PatchJobs.ExecStep build()
Returns
Type Description
PatchJobs.ExecStep

buildPartial()

public PatchJobs.ExecStep buildPartial()
Returns
Type Description
PatchJobs.ExecStep

clear()

public PatchJobs.ExecStep.Builder clear()
Returns
Type Description
PatchJobs.ExecStep.Builder
Overrides

clearLinuxExecStepConfig()

public PatchJobs.ExecStep.Builder clearLinuxExecStepConfig()

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Returns
Type Description
PatchJobs.ExecStep.Builder

clearWindowsExecStepConfig()

public PatchJobs.ExecStep.Builder clearWindowsExecStepConfig()

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Returns
Type Description
PatchJobs.ExecStep.Builder

getDefaultInstanceForType()

public PatchJobs.ExecStep getDefaultInstanceForType()
Returns
Type Description
PatchJobs.ExecStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLinuxExecStepConfig()

public PatchJobs.ExecStepConfig getLinuxExecStepConfig()

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Returns
Type Description
PatchJobs.ExecStepConfig

The linuxExecStepConfig.

getLinuxExecStepConfigBuilder()

public PatchJobs.ExecStepConfig.Builder getLinuxExecStepConfigBuilder()

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Returns
Type Description
PatchJobs.ExecStepConfig.Builder

getLinuxExecStepConfigOrBuilder()

public PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder()

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Returns
Type Description
PatchJobs.ExecStepConfigOrBuilder

getWindowsExecStepConfig()

public PatchJobs.ExecStepConfig getWindowsExecStepConfig()

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Returns
Type Description
PatchJobs.ExecStepConfig

The windowsExecStepConfig.

getWindowsExecStepConfigBuilder()

public PatchJobs.ExecStepConfig.Builder getWindowsExecStepConfigBuilder()

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Returns
Type Description
PatchJobs.ExecStepConfig.Builder

getWindowsExecStepConfigOrBuilder()

public PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder()

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Returns
Type Description
PatchJobs.ExecStepConfigOrBuilder

hasLinuxExecStepConfig()

public boolean hasLinuxExecStepConfig()

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Returns
Type Description
boolean

Whether the linuxExecStepConfig field is set.

hasWindowsExecStepConfig()

public boolean hasWindowsExecStepConfig()

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Returns
Type Description
boolean

Whether the windowsExecStepConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchJobs.ExecStep other)

public PatchJobs.ExecStep.Builder mergeFrom(PatchJobs.ExecStep other)
Parameter
Name Description
other PatchJobs.ExecStep
Returns
Type Description
PatchJobs.ExecStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchJobs.ExecStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ExecStep.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PatchJobs.ExecStep.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PatchJobs.ExecStep.Builder
Overrides

mergeLinuxExecStepConfig(PatchJobs.ExecStepConfig value)

public PatchJobs.ExecStep.Builder mergeLinuxExecStepConfig(PatchJobs.ExecStepConfig value)

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Parameter
Name Description
value PatchJobs.ExecStepConfig
Returns
Type Description
PatchJobs.ExecStep.Builder

mergeWindowsExecStepConfig(PatchJobs.ExecStepConfig value)

public PatchJobs.ExecStep.Builder mergeWindowsExecStepConfig(PatchJobs.ExecStepConfig value)

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Parameter
Name Description
value PatchJobs.ExecStepConfig
Returns
Type Description
PatchJobs.ExecStep.Builder

setLinuxExecStepConfig(PatchJobs.ExecStepConfig value)

public PatchJobs.ExecStep.Builder setLinuxExecStepConfig(PatchJobs.ExecStepConfig value)

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Parameter
Name Description
value PatchJobs.ExecStepConfig
Returns
Type Description
PatchJobs.ExecStep.Builder

setLinuxExecStepConfig(PatchJobs.ExecStepConfig.Builder builderForValue)

public PatchJobs.ExecStep.Builder setLinuxExecStepConfig(PatchJobs.ExecStepConfig.Builder builderForValue)

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1;

Parameter
Name Description
builderForValue PatchJobs.ExecStepConfig.Builder
Returns
Type Description
PatchJobs.ExecStep.Builder

setWindowsExecStepConfig(PatchJobs.ExecStepConfig value)

public PatchJobs.ExecStep.Builder setWindowsExecStepConfig(PatchJobs.ExecStepConfig value)

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Parameter
Name Description
value PatchJobs.ExecStepConfig
Returns
Type Description
PatchJobs.ExecStep.Builder

setWindowsExecStepConfig(PatchJobs.ExecStepConfig.Builder builderForValue)

public PatchJobs.ExecStep.Builder setWindowsExecStepConfig(PatchJobs.ExecStepConfig.Builder builderForValue)

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

.google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2;

Parameter
Name Description
builderForValue PatchJobs.ExecStepConfig.Builder
Returns
Type Description
PatchJobs.ExecStep.Builder