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.GeneratedMessageV3.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.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 typegoogle.cloud.osconfig.v1beta.PatchJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(PatchJobs.PatchJob other)
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
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 value)
Time this patch job was created.PatchJobs.PatchJob.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Duration of the patch job.PatchJobs.PatchJob.Builder
setDuration(com.google.protobuf.Duration.Builder builderForValue)
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 value)
Summary of instance details.PatchJobs.PatchJob.Builder
setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue)
Summary of instance details.PatchJobs.PatchJob.Builder
setInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.PatchJobs.PatchJob.Builder
setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
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 value)
Patch configuration being applied.PatchJobs.PatchJob.Builder
setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
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 value)
Rollout strategy being applied.PatchJobs.PatchJob.Builder
setRollout(PatchJobs.PatchRollout.Builder builderForValue)
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 value)
Last time this patch job was updated.PatchJobs.PatchJob.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time this patch job was updated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
clear
public PatchJobs.PatchJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
getDefaultInstanceForType
public PatchJobs.PatchJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PatchJobs.PatchJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PatchJobs.PatchJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PatchJobs.PatchJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
setField
public PatchJobs.PatchJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
clearField
public PatchJobs.PatchJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
clearOneof
public PatchJobs.PatchJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
setRepeatedField
public PatchJobs.PatchJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
addRepeatedField
public PatchJobs.PatchJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
mergeFrom
public PatchJobs.PatchJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.Builder>
-
mergeFrom
public PatchJobs.PatchJob.Builder mergeFrom(PatchJobs.PatchJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
mergeFrom
public PatchJobs.PatchJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.Builder>
- Throws:
IOException
-
getName
public String getName()
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;
- Specified by:
getName
in 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:
getNameBytes
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The bytes for name.
-
setName
public PatchJobs.PatchJob.Builder setName(String value)
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
public PatchJobs.PatchJob.Builder clearName()
Unique identifier for this patch job in the form `projects/*/patchJobs/*`
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public PatchJobs.PatchJob.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String getDisplayName()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;
- Specified by:
getDisplayName
in 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:
getDisplayNameBytes
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public PatchJobs.PatchJob.Builder setDisplayName(String value)
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
public PatchJobs.PatchJob.Builder clearDisplayName()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
- Specified by:
getDescription
in 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:
getDescriptionBytes
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public PatchJobs.PatchJob.Builder setDescription(String value)
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
public PatchJobs.PatchJob.Builder clearDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
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;
- 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:
hasCreateTime
in 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:
getCreateTime
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public PatchJobs.PatchJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
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
public PatchJobs.PatchJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
-
clearCreateTime
public PatchJobs.PatchJob.Builder 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:
getCreateTimeOrBuilder
in interfacePatchJobs.PatchJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public PatchJobs.PatchJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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
public PatchJobs.PatchJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
-
clearUpdateTime
public PatchJobs.PatchJob.Builder 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:
getUpdateTimeOrBuilder
in interfacePatchJobs.PatchJobOrBuilder
-
getStateValue
public int getStateValue()
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
- Specified by:
getStateValue
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public PatchJobs.PatchJob.Builder setStateValue(int value)
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
public PatchJobs.PatchJob.State getState()
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
- Specified by:
getState
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The state.
-
setState
public PatchJobs.PatchJob.Builder setState(PatchJobs.PatchJob.State value)
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
public PatchJobs.PatchJob.Builder 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:
hasInstanceFilter
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
public PatchJobs.PatchInstanceFilter getInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
- Specified by:
getInstanceFilter
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The instanceFilter.
-
setInstanceFilter
public PatchJobs.PatchJob.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter value)
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
public PatchJobs.PatchJob.Builder mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
-
clearInstanceFilter
public PatchJobs.PatchJob.Builder clearInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
-
getInstanceFilterBuilder
public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
-
getInstanceFilterOrBuilder
public PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
- Specified by:
getInstanceFilterOrBuilder
in interfacePatchJobs.PatchJobOrBuilder
-
hasPatchConfig
public boolean hasPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
- Specified by:
hasPatchConfig
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
public PatchJobs.PatchConfig getPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
- Specified by:
getPatchConfig
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The patchConfig.
-
setPatchConfig
public PatchJobs.PatchJob.Builder setPatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
-
setPatchConfig
public PatchJobs.PatchJob.Builder setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
-
mergePatchConfig
public PatchJobs.PatchJob.Builder mergePatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
-
clearPatchConfig
public PatchJobs.PatchJob.Builder clearPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
-
getPatchConfigBuilder
public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
-
getPatchConfigOrBuilder
public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
- Specified by:
getPatchConfigOrBuilder
in 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:
hasDuration
in 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:
getDuration
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The duration.
-
setDuration
public 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;
-
setDuration
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;
-
mergeDuration
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;
-
clearDuration
public PatchJobs.PatchJob.Builder 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:
getDurationOrBuilder
in interfacePatchJobs.PatchJobOrBuilder
-
hasInstanceDetailsSummary
public boolean hasInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
- Specified by:
hasInstanceDetailsSummary
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- Whether the instanceDetailsSummary field is set.
-
getInstanceDetailsSummary
public PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
- Specified by:
getInstanceDetailsSummary
in 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
public PatchJobs.PatchJob.Builder clearInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
-
getInstanceDetailsSummaryBuilder
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
-
getInstanceDetailsSummaryOrBuilder
public PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
- Specified by:
getInstanceDetailsSummaryOrBuilder
in 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:
getDryRun
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The dryRun.
-
setDryRun
public 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;
- Parameters:
value
- The dryRun to set.- Returns:
- This builder for chaining.
-
clearDryRun
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;
- Returns:
- This builder for chaining.
-
getErrorMessage
public String getErrorMessage()
If this patch job failed, this message provides information about the failure.
string error_message = 11;
- Specified by:
getErrorMessage
in 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:
getErrorMessageBytes
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The bytes for errorMessage.
-
setErrorMessage
public PatchJobs.PatchJob.Builder setErrorMessage(String value)
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
public PatchJobs.PatchJob.Builder clearErrorMessage()
If this patch job failed, this message provides information about the failure.
string error_message = 11;
- Returns:
- This builder for chaining.
-
setErrorMessageBytes
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;
- 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:
getPercentComplete
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The percentComplete.
-
setPercentComplete
public 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;
- Parameters:
value
- The percentComplete to set.- Returns:
- This builder for chaining.
-
clearPercentComplete
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;
- Returns:
- This builder for chaining.
-
getPatchDeployment
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];
- Specified by:
getPatchDeployment
in 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:
getPatchDeploymentBytes
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The bytes for patchDeployment.
-
setPatchDeployment
public 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];
- Parameters:
value
- The patchDeployment to set.- Returns:
- This builder for chaining.
-
clearPatchDeployment
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];
- Returns:
- This builder for chaining.
-
setPatchDeploymentBytes
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];
- 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:
hasRollout
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- Whether the rollout field is set.
-
getRollout
public PatchJobs.PatchRollout getRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
- Specified by:
getRollout
in interfacePatchJobs.PatchJobOrBuilder
- Returns:
- The rollout.
-
setRollout
public PatchJobs.PatchJob.Builder setRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
-
setRollout
public PatchJobs.PatchJob.Builder setRollout(PatchJobs.PatchRollout.Builder builderForValue)
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
-
mergeRollout
public PatchJobs.PatchJob.Builder mergeRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
-
clearRollout
public PatchJobs.PatchJob.Builder clearRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
-
getRolloutBuilder
public PatchJobs.PatchRollout.Builder getRolloutBuilder()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
-
getRolloutOrBuilder
public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
- Specified by:
getRolloutOrBuilder
in interfacePatchJobs.PatchJobOrBuilder
-
setUnknownFields
public final PatchJobs.PatchJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
mergeUnknownFields
public final PatchJobs.PatchJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.Builder>
-
-