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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.ExecStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PatchJobs.ExecStep build()
buildPartial()
public PatchJobs.ExecStep buildPartial()
clear()
public PatchJobs.ExecStep.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.ExecStep.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.ExecStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public PatchJobs.ExecStep.Builder clone()
Overrides
getDefaultInstanceForType()
public PatchJobs.ExecStep getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
hasLinuxExecStepConfig()
public boolean hasLinuxExecStepConfig()
The ExecStepConfig for all Linux VMs targeted by the PatchJob.
.google.cloud.osconfig.v1beta.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.v1beta.ExecStepConfig windows_exec_step_config = 2;
Returns |
---|
Type | Description |
boolean | Whether the windowsExecStepConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PatchJobs.ExecStep other)
public PatchJobs.ExecStep.Builder mergeFrom(PatchJobs.ExecStep other)
public PatchJobs.ExecStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PatchJobs.ExecStep.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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.v1beta.ExecStepConfig linux_exec_step_config = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.ExecStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.v1beta.ExecStepConfig windows_exec_step_config = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.ExecStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1beta.ExecStepConfig linux_exec_step_config = 1;
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.v1beta.ExecStepConfig linux_exec_step_config = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchJobs.ExecStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.ExecStep.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.v1beta.ExecStepConfig windows_exec_step_config = 2;
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.v1beta.ExecStepConfig windows_exec_step_config = 2;