public static final class PatchJobs.PatchJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder> implements PatchJobs.PatchJobOrBuilder
A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).Protobuf type
google.cloud.osconfig.v1.PatchJob| Modifier and Type | Method and Description |
|---|---|
PatchJobs.PatchJob.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.PatchJob |
build() |
PatchJobs.PatchJob |
buildPartial() |
PatchJobs.PatchJob.Builder |
clear() |
PatchJobs.PatchJob.Builder |
clearCreateTime()
Time this patch job was created.
|
PatchJobs.PatchJob.Builder |
clearDescription()
Description of the patch job.
|
PatchJobs.PatchJob.Builder |
clearDisplayName()
Display name for this patch job.
|
PatchJobs.PatchJob.Builder |
clearDryRun()
If this patch job is a dry run, the agent reports that it has
finished without running any updates on the VM instance.
|
PatchJobs.PatchJob.Builder |
clearDuration()
Duration of the patch job.
|
PatchJobs.PatchJob.Builder |
clearErrorMessage()
If this patch job failed, this message provides information about the
failure.
|
PatchJobs.PatchJob.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PatchJobs.PatchJob.Builder |
clearInstanceDetailsSummary()
Summary of instance details.
|
PatchJobs.PatchJob.Builder |
clearInstanceFilter()
Instances to patch.
|
PatchJobs.PatchJob.Builder |
clearName()
Unique identifier for this patch job in the form
`projects/*/patchJobs/*`
|
PatchJobs.PatchJob.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PatchJobs.PatchJob.Builder |
clearPatchConfig()
Patch configuration being applied.
|
PatchJobs.PatchJob.Builder |
clearPatchDeployment()
Output only.
|
PatchJobs.PatchJob.Builder |
clearPercentComplete()
Reflects the overall progress of the patch job in the range of
0.0 being no progress to 100.0 being complete.
|
PatchJobs.PatchJob.Builder |
clearRollout()
Rollout strategy being applied.
|
PatchJobs.PatchJob.Builder |
clearState()
The current state of the PatchJob.
|
PatchJobs.PatchJob.Builder |
clearUpdateTime()
Last time this patch job was updated.
|
PatchJobs.PatchJob.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Time this patch job was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Time this patch job was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Time this patch job was created.
|
PatchJobs.PatchJob |
getDefaultInstanceForType() |
String |
getDescription()
Description of the patch job.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the patch job.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Display name for this patch job.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name for this patch job.
|
boolean |
getDryRun()
If this patch job is a dry run, the agent reports that it has
finished without running any updates on the VM instance.
|
com.google.protobuf.Duration |
getDuration()
Duration of the patch job.
|
com.google.protobuf.Duration.Builder |
getDurationBuilder()
Duration of the patch job.
|
com.google.protobuf.DurationOrBuilder |
getDurationOrBuilder()
Duration of the patch job.
|
String |
getErrorMessage()
If this patch job failed, this message provides information about the
failure.
|
com.google.protobuf.ByteString |
getErrorMessageBytes()
If this patch job failed, this message provides information about the
failure.
|
PatchJobs.PatchJob.InstanceDetailsSummary |
getInstanceDetailsSummary()
Summary of instance details.
|
PatchJobs.PatchJob.InstanceDetailsSummary.Builder |
getInstanceDetailsSummaryBuilder()
Summary of instance details.
|
PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder |
getInstanceDetailsSummaryOrBuilder()
Summary of instance details.
|
PatchJobs.PatchInstanceFilter |
getInstanceFilter()
Instances to patch.
|
PatchJobs.PatchInstanceFilter.Builder |
getInstanceFilterBuilder()
Instances to patch.
|
PatchJobs.PatchInstanceFilterOrBuilder |
getInstanceFilterOrBuilder()
Instances to patch.
|
String |
getName()
Unique identifier for this patch job in the form
`projects/*/patchJobs/*`
|
com.google.protobuf.ByteString |
getNameBytes()
Unique identifier for this patch job in the form
`projects/*/patchJobs/*`
|
PatchJobs.PatchConfig |
getPatchConfig()
Patch configuration being applied.
|
PatchJobs.PatchConfig.Builder |
getPatchConfigBuilder()
Patch configuration being applied.
|
PatchJobs.PatchConfigOrBuilder |
getPatchConfigOrBuilder()
Patch configuration being applied.
|
String |
getPatchDeployment()
Output only.
|
com.google.protobuf.ByteString |
getPatchDeploymentBytes()
Output only.
|
double |
getPercentComplete()
Reflects the overall progress of the patch job in the range of
0.0 being no progress to 100.0 being complete.
|
PatchJobs.PatchRollout |
getRollout()
Rollout strategy being applied.
|
PatchJobs.PatchRollout.Builder |
getRolloutBuilder()
Rollout strategy being applied.
|
PatchJobs.PatchRolloutOrBuilder |
getRolloutOrBuilder()
Rollout strategy being applied.
|
PatchJobs.PatchJob.State |
getState()
The current state of the PatchJob.
|
int |
getStateValue()
The current state of the PatchJob.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Last time this patch job was updated.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Last time this patch job was updated.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Last time this patch job was updated.
|
boolean |
hasCreateTime()
Time this patch job was created.
|
boolean |
hasDuration()
Duration of the patch job.
|
boolean |
hasInstanceDetailsSummary()
Summary of instance details.
|
boolean |
hasInstanceFilter()
Instances to patch.
|
boolean |
hasPatchConfig()
Patch configuration being applied.
|
boolean |
hasRollout()
Rollout strategy being applied.
|
boolean |
hasUpdateTime()
Last time this patch job was updated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PatchJobs.PatchJob.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Time this patch job was created.
|
PatchJobs.PatchJob.Builder |
mergeDuration(com.google.protobuf.Duration value)
Duration of the patch job.
|
PatchJobs.PatchJob.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PatchJobs.PatchJob.Builder |
mergeFrom(com.google.protobuf.Message other) |
PatchJobs.PatchJob.Builder |
mergeFrom(PatchJobs.PatchJob other) |
PatchJobs.PatchJob.Builder |
mergeInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
Summary of instance details.
|
PatchJobs.PatchJob.Builder |
mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
|
PatchJobs.PatchJob.Builder |
mergePatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
|
PatchJobs.PatchJob.Builder |
mergeRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
|
PatchJobs.PatchJob.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.PatchJob.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Last time this patch job was updated.
|
PatchJobs.PatchJob.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time this patch job was created.
|
PatchJobs.PatchJob.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Time this patch job was created.
|
PatchJobs.PatchJob.Builder |
setDescription(String value)
Description of the patch job.
|
PatchJobs.PatchJob.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the patch job.
|
PatchJobs.PatchJob.Builder |
setDisplayName(String value)
Display name for this patch job.
|
PatchJobs.PatchJob.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name for this patch job.
|
PatchJobs.PatchJob.Builder |
setDryRun(boolean value)
If this patch job is a dry run, the agent reports that it has
finished without running any updates on the VM instance.
|
PatchJobs.PatchJob.Builder |
setDuration(com.google.protobuf.Duration.Builder builderForValue)
Duration of the patch job.
|
PatchJobs.PatchJob.Builder |
setDuration(com.google.protobuf.Duration value)
Duration of the patch job.
|
PatchJobs.PatchJob.Builder |
setErrorMessage(String value)
If this patch job failed, this message provides information about the
failure.
|
PatchJobs.PatchJob.Builder |
setErrorMessageBytes(com.google.protobuf.ByteString value)
If this patch job failed, this message provides information about the
failure.
|
PatchJobs.PatchJob.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.PatchJob.Builder |
setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue)
Summary of instance details.
|
PatchJobs.PatchJob.Builder |
setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
Summary of instance details.
|
PatchJobs.PatchJob.Builder |
setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
Instances to patch.
|
PatchJobs.PatchJob.Builder |
setInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
|
PatchJobs.PatchJob.Builder |
setName(String value)
Unique identifier for this patch job in the form
`projects/*/patchJobs/*`
|
PatchJobs.PatchJob.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Unique identifier for this patch job in the form
`projects/*/patchJobs/*`
|
PatchJobs.PatchJob.Builder |
setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
Patch configuration being applied.
|
PatchJobs.PatchJob.Builder |
setPatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
|
PatchJobs.PatchJob.Builder |
setPatchDeployment(String value)
Output only.
|
PatchJobs.PatchJob.Builder |
setPatchDeploymentBytes(com.google.protobuf.ByteString value)
Output only.
|
PatchJobs.PatchJob.Builder |
setPercentComplete(double value)
Reflects the overall progress of the patch job in the range of
0.0 being no progress to 100.0 being complete.
|
PatchJobs.PatchJob.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PatchJobs.PatchJob.Builder |
setRollout(PatchJobs.PatchRollout.Builder builderForValue)
Rollout strategy being applied.
|
PatchJobs.PatchJob.Builder |
setRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
|
PatchJobs.PatchJob.Builder |
setState(PatchJobs.PatchJob.State value)
The current state of the PatchJob.
|
PatchJobs.PatchJob.Builder |
setStateValue(int value)
The current state of the PatchJob.
|
PatchJobs.PatchJob.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.PatchJob.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time this patch job was updated.
|
PatchJobs.PatchJob.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Last time this patch job was updated.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.PatchJob build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchJob buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchJob.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder mergeFrom(PatchJobs.PatchJob other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public PatchJobs.PatchJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.Builder>IOExceptionpublic String getName()
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;getName in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;getNameBytes in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setName(String value)
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;value - The name to set.public PatchJobs.PatchJob.Builder clearName()
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;public PatchJobs.PatchJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;value - The bytes for name to set.public String getDisplayName()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;getDisplayName in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;getDisplayNameBytes in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setDisplayName(String value)
Display name for this patch job. This is not a unique identifier.
string display_name = 14;value - The displayName to set.public PatchJobs.PatchJob.Builder clearDisplayName()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;public PatchJobs.PatchJob.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name for this patch job. This is not a unique identifier.
string display_name = 14;value - The bytes for displayName to set.public String getDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;getDescription in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;getDescriptionBytes in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setDescription(String value)
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;value - The description to set.public PatchJobs.PatchJob.Builder clearDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;public PatchJobs.PatchJob.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;value - The bytes for description to set.public boolean hasCreateTime()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;public PatchJobs.PatchJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;public PatchJobs.PatchJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;public PatchJobs.PatchJob.Builder clearCreateTime()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic boolean hasUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;hasUpdateTime in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;getUpdateTime in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;public PatchJobs.PatchJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;public PatchJobs.PatchJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;public PatchJobs.PatchJob.Builder clearUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;getUpdateTimeOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic int getStateValue()
The current state of the PatchJob.
.google.cloud.osconfig.v1.PatchJob.State state = 5;getStateValue in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setStateValue(int value)
The current state of the PatchJob.
.google.cloud.osconfig.v1.PatchJob.State state = 5;value - The enum numeric value on the wire for state to set.public PatchJobs.PatchJob.State getState()
The current state of the PatchJob.
.google.cloud.osconfig.v1.PatchJob.State state = 5;getState in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setState(PatchJobs.PatchJob.State value)
The current state of the PatchJob.
.google.cloud.osconfig.v1.PatchJob.State state = 5;value - The state to set.public PatchJobs.PatchJob.Builder clearState()
The current state of the PatchJob.
.google.cloud.osconfig.v1.PatchJob.State state = 5;public boolean hasInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;hasInstanceFilter in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchInstanceFilter getInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;getInstanceFilter in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;public PatchJobs.PatchJob.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;public PatchJobs.PatchJob.Builder mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;public PatchJobs.PatchJob.Builder clearInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;public PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13;getInstanceFilterOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic boolean hasPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;hasPatchConfig in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchConfig getPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;getPatchConfig in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setPatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;public PatchJobs.PatchJob.Builder setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;public PatchJobs.PatchJob.Builder mergePatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;public PatchJobs.PatchJob.Builder clearPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Patch configuration being applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 7;getPatchConfigOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic boolean hasDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;hasDuration in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.Duration getDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;getDuration in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setDuration(com.google.protobuf.Duration value)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;public PatchJobs.PatchJob.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;public PatchJobs.PatchJob.Builder mergeDuration(com.google.protobuf.Duration value)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;public PatchJobs.PatchJob.Builder clearDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;public com.google.protobuf.Duration.Builder getDurationBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;getDurationOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic boolean hasInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
hasInstanceDetailsSummary in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
getInstanceDetailsSummary in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
public PatchJobs.PatchJob.Builder setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue)
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
public PatchJobs.PatchJob.Builder mergeInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
public PatchJobs.PatchJob.Builder clearInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder()
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
public PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder()
Summary of instance details.
.google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
getInstanceDetailsSummaryOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic boolean getDryRun()
If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.
bool dry_run = 10;getDryRun in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setDryRun(boolean value)
If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.
bool dry_run = 10;value - The dryRun to set.public PatchJobs.PatchJob.Builder clearDryRun()
If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.
bool dry_run = 10;public String getErrorMessage()
If this patch job failed, this message provides information about the failure.
string error_message = 11;getErrorMessage in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.ByteString getErrorMessageBytes()
If this patch job failed, this message provides information about the failure.
string error_message = 11;getErrorMessageBytes in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setErrorMessage(String value)
If this patch job failed, this message provides information about the failure.
string error_message = 11;value - The errorMessage to set.public PatchJobs.PatchJob.Builder clearErrorMessage()
If this patch job failed, this message provides information about the failure.
string error_message = 11;public PatchJobs.PatchJob.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
If this patch job failed, this message provides information about the failure.
string error_message = 11;value - The bytes for errorMessage to set.public double getPercentComplete()
Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.
double percent_complete = 12;getPercentComplete in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setPercentComplete(double value)
Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.
double percent_complete = 12;value - The percentComplete to set.public PatchJobs.PatchJob.Builder clearPercentComplete()
Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.
double percent_complete = 12;public String getPatchDeployment()
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getPatchDeployment in interface PatchJobs.PatchJobOrBuilderpublic com.google.protobuf.ByteString getPatchDeploymentBytes()
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getPatchDeploymentBytes in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setPatchDeployment(String value)
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The patchDeployment to set.public PatchJobs.PatchJob.Builder clearPatchDeployment()
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public PatchJobs.PatchJob.Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value)
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for patchDeployment to set.public boolean hasRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;hasRollout in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchRollout getRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;getRollout in interface PatchJobs.PatchJobOrBuilderpublic PatchJobs.PatchJob.Builder setRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;public PatchJobs.PatchJob.Builder setRollout(PatchJobs.PatchRollout.Builder builderForValue)
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;public PatchJobs.PatchJob.Builder mergeRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;public PatchJobs.PatchJob.Builder clearRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;public PatchJobs.PatchRollout.Builder getRolloutBuilder()
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Rollout strategy being applied.
.google.cloud.osconfig.v1.PatchRollout rollout = 16;getRolloutOrBuilder in interface PatchJobs.PatchJobOrBuilderpublic final PatchJobs.PatchJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>public final PatchJobs.PatchJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>Copyright © 2023 Google LLC. All rights reserved.