Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchJob.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder
- All Implemented Interfaces:
PatchJobs.PatchJobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PatchJobs.PatchJob
public static final class PatchJobs.PatchJob.Builder
extends com.google.protobuf.GeneratedMessage.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.v1beta.PatchJob-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Time this patch job was created.Description of the patch job.Display name for this patch job.If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.Duration of the patch job.If this patch job failed, this message provides information about the failure.Summary of instance details.Instances to patch.Unique identifier for this patch job in the form `projects/*/patchJobs/*`Patch configuration being applied.Output only.Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.Rollout strategy being applied.The current state of the PatchJob.Last time this patch job was updated.com.google.protobuf.TimestampTime this patch job was created.com.google.protobuf.Timestamp.BuilderTime this patch job was created.com.google.protobuf.TimestampOrBuilderTime this patch job was created.Description of the patch job.com.google.protobuf.ByteStringDescription of the patch job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisplay name for this patch job.com.google.protobuf.ByteStringDisplay name for this patch job.booleanIf 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.DurationDuration of the patch job.com.google.protobuf.Duration.BuilderDuration of the patch job.com.google.protobuf.DurationOrBuilderDuration of the patch job.If this patch job failed, this message provides information about the failure.com.google.protobuf.ByteStringIf this patch job failed, this message provides information about the failure.Summary of instance details.Summary of instance details.Summary of instance details.Instances to patch.Instances to patch.Instances to patch.getName()Unique identifier for this patch job in the form `projects/*/patchJobs/*`com.google.protobuf.ByteStringUnique identifier for this patch job in the form `projects/*/patchJobs/*`Patch configuration being applied.Patch configuration being applied.Patch configuration being applied.Output only.com.google.protobuf.ByteStringOutput only.doubleReflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.Rollout strategy being applied.Rollout strategy being applied.Rollout strategy being applied.getState()The current state of the PatchJob.intThe current state of the PatchJob.com.google.protobuf.TimestampLast time this patch job was updated.com.google.protobuf.Timestamp.BuilderLast time this patch job was updated.com.google.protobuf.TimestampOrBuilderLast time this patch job was updated.booleanTime this patch job was created.booleanDuration of the patch job.booleanSummary of instance details.booleanInstances to patch.booleanPatch configuration being applied.booleanRollout strategy being applied.booleanLast time this patch job was updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Time this patch job was created.mergeDuration(com.google.protobuf.Duration value) Duration of the patch job.mergeFrom(PatchJobs.PatchJob other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Summary of instance details.Instances to patch.Patch configuration being applied.Rollout strategy being applied.mergeUpdateTime(com.google.protobuf.Timestamp value) Last time this patch job was updated.setCreateTime(com.google.protobuf.Timestamp value) Time this patch job was created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time this patch job was created.setDescription(String value) Description of the patch job.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the patch job.setDisplayName(String value) Display name for this patch job.setDisplayNameBytes(com.google.protobuf.ByteString value) Display name for this patch job.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.setDuration(com.google.protobuf.Duration value) Duration of the patch job.setDuration(com.google.protobuf.Duration.Builder builderForValue) Duration of the patch job.setErrorMessage(String value) If this patch job failed, this message provides information about the failure.setErrorMessageBytes(com.google.protobuf.ByteString value) If this patch job failed, this message provides information about the failure.Summary of instance details.Summary of instance details.Instances to patch.setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue) Instances to patch.Unique identifier for this patch job in the form `projects/*/patchJobs/*`setNameBytes(com.google.protobuf.ByteString value) Unique identifier for this patch job in the form `projects/*/patchJobs/*`Patch configuration being applied.setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue) Patch configuration being applied.setPatchDeployment(String value) Output only.setPatchDeploymentBytes(com.google.protobuf.ByteString value) Output only.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.setRollout(PatchJobs.PatchRollout value) Rollout strategy being applied.setRollout(PatchJobs.PatchRollout.Builder builderForValue) Rollout strategy being applied.setState(PatchJobs.PatchJob.State value) The current state of the PatchJob.setStateValue(int value) The current state of the PatchJob.setUpdateTime(com.google.protobuf.Timestamp value) Last time this patch job was updated.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time this patch job was updated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.Builder>
-
mergeFrom
public PatchJobs.PatchJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.Builder>- Throws:
IOException
-
getName
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;- Specified by:
getNamein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;- Specified by:
getNameBytesin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The bytes for name.
-
setName
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Display name for this patch job. This is not a unique identifier.
string display_name = 14;- Specified by:
getDisplayNamein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name for this patch job. This is not a unique identifier.
string display_name = 14;- Specified by:
getDisplayNameBytesin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Display name for this patch job. This is not a unique identifier.
string display_name = 14;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Display name for this patch job. This is not a unique identifier.
string display_name = 14;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Display name for this patch job. This is not a unique identifier.
string display_name = 14;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionBytesin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The createTime.
-
setCreateTime
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3; -
setCreateTime
public PatchJobs.PatchJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time this patch job was created.
.google.protobuf.Timestamp create_time = 3; -
mergeCreateTime
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3; -
clearCreateTime
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Time this patch job was created.
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;- Specified by:
hasUpdateTimein interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4; -
setUpdateTime
public PatchJobs.PatchJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4; -
mergeUpdateTime
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4; -
clearUpdateTime
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimeOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-
getStateValue
public int getStateValue()The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;- Specified by:
getStateValuein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;- Specified by:
getStatein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The state.
-
setState
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;- Returns:
- This builder for chaining.
-
hasInstanceFilter
public boolean hasInstanceFilter()Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;- Specified by:
hasInstanceFilterin interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;- Specified by:
getInstanceFilterin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The instanceFilter.
-
setInstanceFilter
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; -
setInstanceFilter
public PatchJobs.PatchJob.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue) Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; -
mergeInstanceFilter
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; -
clearInstanceFilter
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; -
getInstanceFilterBuilder
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; -
getInstanceFilterOrBuilder
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;- Specified by:
getInstanceFilterOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-
hasPatchConfig
public boolean hasPatchConfig()Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;- Specified by:
hasPatchConfigin interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;- Specified by:
getPatchConfigin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The patchConfig.
-
setPatchConfig
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; -
setPatchConfig
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; -
mergePatchConfig
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; -
clearPatchConfig
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; -
getPatchConfigBuilder
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; -
getPatchConfigOrBuilder
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;- Specified by:
getPatchConfigOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-
hasDuration
public boolean hasDuration()Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;- Specified by:
hasDurationin interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;- Specified by:
getDurationin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The duration.
-
setDuration
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8; -
setDuration
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8; -
mergeDuration
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8; -
clearDuration
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8; -
getDurationBuilder
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; -
getDurationOrBuilder
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;- Specified by:
getDurationOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-
hasInstanceDetailsSummary
public boolean hasInstanceDetailsSummary()Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;- Specified by:
hasInstanceDetailsSummaryin interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the instanceDetailsSummary field is set.
-
getInstanceDetailsSummary
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;- Specified by:
getInstanceDetailsSummaryin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The instanceDetailsSummary.
-
setInstanceDetailsSummary
public PatchJobs.PatchJob.Builder setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value) Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; -
setInstanceDetailsSummary
public PatchJobs.PatchJob.Builder setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue) Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; -
mergeInstanceDetailsSummary
public PatchJobs.PatchJob.Builder mergeInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value) Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; -
clearInstanceDetailsSummary
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; -
getInstanceDetailsSummaryBuilder
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; -
getInstanceDetailsSummaryOrBuilder
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;- Specified by:
getInstanceDetailsSummaryOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-
getDryRun
public 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;- Specified by:
getDryRunin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The dryRun.
-
setDryRun
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;- Parameters:
value- The dryRun to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getErrorMessage
If this patch job failed, this message provides information about the failure.
string error_message = 11;- Specified by:
getErrorMessagein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()If this patch job failed, this message provides information about the failure.
string error_message = 11;- Specified by:
getErrorMessageBytesin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
If this patch job failed, this message provides information about the failure.
string error_message = 11;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
If this patch job failed, this message provides information about the failure.
string error_message = 11;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
If this patch job failed, this message provides information about the failure.
string error_message = 11;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getPercentComplete
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;- Specified by:
getPercentCompletein interfacePatchJobs.PatchJobOrBuilder- Returns:
- The percentComplete.
-
setPercentComplete
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;- Parameters:
value- The percentComplete to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getPatchDeployment
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPatchDeploymentin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The patchDeployment.
-
getPatchDeploymentBytes
public 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];- Specified by:
getPatchDeploymentBytesin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The bytes for patchDeployment.
-
setPatchDeployment
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The patchDeployment to set.- Returns:
- This builder for chaining.
-
clearPatchDeployment
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPatchDeploymentBytes
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for patchDeployment to set.- Returns:
- This builder for chaining.
-
hasRollout
public boolean hasRollout()Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;- Specified by:
hasRolloutin interfacePatchJobs.PatchJobOrBuilder- Returns:
- Whether the rollout field is set.
-
getRollout
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;- Specified by:
getRolloutin interfacePatchJobs.PatchJobOrBuilder- Returns:
- The rollout.
-
setRollout
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16; -
setRollout
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16; -
mergeRollout
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16; -
clearRollout
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16; -
getRolloutBuilder
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16; -
getRolloutOrBuilder
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;- Specified by:
getRolloutOrBuilderin interfacePatchJobs.PatchJobOrBuilder
-