- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class PatchJobs.PatchJob.Builder extends 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.
Protobuf type google.cloud.osconfig.v1beta.PatchJob
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchJobs.PatchJob.BuilderImplements
PatchJobs.PatchJobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.PatchJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchJobs.PatchJob.Builder |
build()
public PatchJobs.PatchJob build()
Type | Description |
PatchJobs.PatchJob |
buildPartial()
public PatchJobs.PatchJob buildPartial()
Type | Description |
PatchJobs.PatchJob |
clear()
public PatchJobs.PatchJob.Builder clear()
Type | Description |
PatchJobs.PatchJob.Builder |
clearCreateTime()
public PatchJobs.PatchJob.Builder clearCreateTime()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
PatchJobs.PatchJob.Builder |
clearDescription()
public PatchJobs.PatchJob.Builder clearDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
Type | Description |
PatchJobs.PatchJob.Builder | 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;
Type | Description |
PatchJobs.PatchJob.Builder | 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;
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
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;
Type | Description |
PatchJobs.PatchJob.Builder |
clearErrorMessage()
public PatchJobs.PatchJob.Builder clearErrorMessage()
If this patch job failed, this message provides information about the failure.
string error_message = 11;
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.PatchJob.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PatchJobs.PatchJob.Builder |
clearInstanceDetailsSummary()
public PatchJobs.PatchJob.Builder clearInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Type | Description |
PatchJobs.PatchJob.Builder |
clearInstanceFilter()
public PatchJobs.PatchJob.Builder clearInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Type | Description |
PatchJobs.PatchJob.Builder |
clearName()
public PatchJobs.PatchJob.Builder clearName()
Unique identifier for this patch job in the form
projects/*/patchJobs/*
string name = 1;
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.PatchJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PatchJobs.PatchJob.Builder |
clearPatchConfig()
public PatchJobs.PatchJob.Builder clearPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Type | Description |
PatchJobs.PatchJob.Builder |
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];
Type | Description |
PatchJobs.PatchJob.Builder | 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;
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
clearRollout()
public PatchJobs.PatchJob.Builder clearRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Type | Description |
PatchJobs.PatchJob.Builder |
clearState()
public PatchJobs.PatchJob.Builder clearState()
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
clearUpdateTime()
public PatchJobs.PatchJob.Builder clearUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Type | Description |
PatchJobs.PatchJob.Builder |
clone()
public PatchJobs.PatchJob.Builder clone()
Type | Description |
PatchJobs.PatchJob.Builder |
getCreateTime()
public Timestamp getCreateTime()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public PatchJobs.PatchJob getDefaultInstanceForType()
Type | Description |
PatchJobs.PatchJob |
getDescription()
public String getDescription()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name for this patch job. This is not a unique identifier.
string display_name = 14;
Type | Description |
ByteString | The bytes for displayName. |
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;
Type | Description |
boolean | The dryRun. |
getDuration()
public Duration getDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Type | Description |
Duration | The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Type | Description |
Builder |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Type | Description |
DurationOrBuilder |
getErrorMessage()
public String getErrorMessage()
If this patch job failed, this message provides information about the failure.
string error_message = 11;
Type | Description |
String | The errorMessage. |
getErrorMessageBytes()
public ByteString getErrorMessageBytes()
If this patch job failed, this message provides information about the failure.
string error_message = 11;
Type | Description |
ByteString | The bytes for errorMessage. |
getInstanceDetailsSummary()
public PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Type | Description |
PatchJobs.PatchJob.InstanceDetailsSummary | The instanceDetailsSummary. |
getInstanceDetailsSummaryBuilder()
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Type | Description |
PatchJobs.PatchJob.InstanceDetailsSummary.Builder |
getInstanceDetailsSummaryOrBuilder()
public PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Type | Description |
PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder |
getInstanceFilter()
public PatchJobs.PatchInstanceFilter getInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Type | Description |
PatchJobs.PatchInstanceFilter | The instanceFilter. |
getInstanceFilterBuilder()
public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Type | Description |
PatchJobs.PatchInstanceFilter.Builder |
getInstanceFilterOrBuilder()
public PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Type | Description |
PatchJobs.PatchInstanceFilterOrBuilder |
getName()
public String getName()
Unique identifier for this patch job in the form
projects/*/patchJobs/*
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Unique identifier for this patch job in the form
projects/*/patchJobs/*
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getPatchConfig()
public PatchJobs.PatchConfig getPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Type | Description |
PatchJobs.PatchConfig | The patchConfig. |
getPatchConfigBuilder()
public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Type | Description |
PatchJobs.PatchConfig.Builder |
getPatchConfigOrBuilder()
public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Type | Description |
PatchJobs.PatchConfigOrBuilder |
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];
Type | Description |
String | The patchDeployment. |
getPatchDeploymentBytes()
public ByteString getPatchDeploymentBytes()
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for patchDeployment. |
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;
Type | Description |
double | The percentComplete. |
getRollout()
public PatchJobs.PatchRollout getRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Type | Description |
PatchJobs.PatchRollout | The rollout. |
getRolloutBuilder()
public PatchJobs.PatchRollout.Builder getRolloutBuilder()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Type | Description |
PatchJobs.PatchRollout.Builder |
getRolloutOrBuilder()
public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Type | Description |
PatchJobs.PatchRolloutOrBuilder |
getState()
public PatchJobs.PatchJob.State getState()
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
Type | Description |
PatchJobs.PatchJob.State | The state. |
getStateValue()
public int getStateValue()
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Type | Description |
boolean | Whether the createTime field is set. |
hasDuration()
public boolean hasDuration()
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Type | Description |
boolean | Whether the duration field is set. |
hasInstanceDetailsSummary()
public boolean hasInstanceDetailsSummary()
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Type | Description |
boolean | Whether the instanceDetailsSummary field is set. |
hasInstanceFilter()
public boolean hasInstanceFilter()
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Type | Description |
boolean | Whether the instanceFilter field is set. |
hasPatchConfig()
public boolean hasPatchConfig()
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Type | Description |
boolean | Whether the patchConfig field is set. |
hasRollout()
public boolean hasRollout()
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Type | Description |
boolean | Whether the rollout field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public PatchJobs.PatchJob.Builder mergeCreateTime(Timestamp value)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Name | Description |
value | Timestamp |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeDuration(Duration value)
public PatchJobs.PatchJob.Builder mergeDuration(Duration value)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Name | Description |
value | Duration |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeFrom(PatchJobs.PatchJob other)
public PatchJobs.PatchJob.Builder mergeFrom(PatchJobs.PatchJob other)
Name | Description |
other | PatchJobs.PatchJob |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchJobs.PatchJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PatchJobs.PatchJob.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PatchJobs.PatchJob.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
public PatchJobs.PatchJob.Builder mergeInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Name | Description |
value | PatchJobs.PatchJob.InstanceDetailsSummary |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
public PatchJobs.PatchJob.Builder mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Name | Description |
value | PatchJobs.PatchInstanceFilter |
Type | Description |
PatchJobs.PatchJob.Builder |
mergePatchConfig(PatchJobs.PatchConfig value)
public PatchJobs.PatchJob.Builder mergePatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Name | Description |
value | PatchJobs.PatchConfig |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeRollout(PatchJobs.PatchRollout value)
public PatchJobs.PatchJob.Builder mergeRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Name | Description |
value | PatchJobs.PatchRollout |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.PatchJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchJobs.PatchJob.Builder |
mergeUpdateTime(Timestamp value)
public PatchJobs.PatchJob.Builder mergeUpdateTime(Timestamp value)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
PatchJobs.PatchJob.Builder |
setCreateTime(Timestamp value)
public PatchJobs.PatchJob.Builder setCreateTime(Timestamp value)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Name | Description |
value | Timestamp |
Type | Description |
PatchJobs.PatchJob.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public PatchJobs.PatchJob.Builder setCreateTime(Timestamp.Builder builderForValue)
Time this patch job was created.
.google.protobuf.Timestamp create_time = 3;
Name | Description |
builderForValue | Builder |
Type | Description |
PatchJobs.PatchJob.Builder |
setDescription(String value)
public PatchJobs.PatchJob.Builder setDescription(String value)
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
Name | Description |
value | String The description to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public PatchJobs.PatchJob.Builder setDescriptionBytes(ByteString value)
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setDisplayName(String value)
public PatchJobs.PatchJob.Builder setDisplayName(String value)
Display name for this patch job. This is not a unique identifier.
string display_name = 14;
Name | Description |
value | String The displayName to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PatchJobs.PatchJob.Builder setDisplayNameBytes(ByteString value)
Display name for this patch job. This is not a unique identifier.
string display_name = 14;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setDryRun(boolean value)
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;
Name | Description |
value | boolean The dryRun to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setDuration(Duration value)
public PatchJobs.PatchJob.Builder setDuration(Duration value)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Name | Description |
value | Duration |
Type | Description |
PatchJobs.PatchJob.Builder |
setDuration(Duration.Builder builderForValue)
public PatchJobs.PatchJob.Builder setDuration(Duration.Builder builderForValue)
Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 8;
Name | Description |
builderForValue | Builder |
Type | Description |
PatchJobs.PatchJob.Builder |
setErrorMessage(String value)
public PatchJobs.PatchJob.Builder setErrorMessage(String value)
If this patch job failed, this message provides information about the failure.
string error_message = 11;
Name | Description |
value | String The errorMessage to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setErrorMessageBytes(ByteString value)
public PatchJobs.PatchJob.Builder setErrorMessageBytes(ByteString value)
If this patch job failed, this message provides information about the failure.
string error_message = 11;
Name | Description |
value | ByteString The bytes for errorMessage to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.PatchJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchJobs.PatchJob.Builder |
setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
public PatchJobs.PatchJob.Builder setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary value)
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Name | Description |
value | PatchJobs.PatchJob.InstanceDetailsSummary |
Type | Description |
PatchJobs.PatchJob.Builder |
setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue)
public PatchJobs.PatchJob.Builder setInstanceDetailsSummary(PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue)
Summary of instance details.
.google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9;
Name | Description |
builderForValue | PatchJobs.PatchJob.InstanceDetailsSummary.Builder |
Type | Description |
PatchJobs.PatchJob.Builder |
setInstanceFilter(PatchJobs.PatchInstanceFilter value)
public PatchJobs.PatchJob.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter value)
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Name | Description |
value | PatchJobs.PatchInstanceFilter |
Type | Description |
PatchJobs.PatchJob.Builder |
setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
public PatchJobs.PatchJob.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
Instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13;
Name | Description |
builderForValue | PatchJobs.PatchInstanceFilter.Builder |
Type | Description |
PatchJobs.PatchJob.Builder |
setName(String value)
public PatchJobs.PatchJob.Builder setName(String value)
Unique identifier for this patch job in the form
projects/*/patchJobs/*
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public PatchJobs.PatchJob.Builder setNameBytes(ByteString value)
Unique identifier for this patch job in the form
projects/*/patchJobs/*
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setPatchConfig(PatchJobs.PatchConfig value)
public PatchJobs.PatchJob.Builder setPatchConfig(PatchJobs.PatchConfig value)
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Name | Description |
value | PatchJobs.PatchConfig |
Type | Description |
PatchJobs.PatchJob.Builder |
setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
public PatchJobs.PatchJob.Builder setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
Patch configuration being applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 7;
Name | Description |
builderForValue | PatchJobs.PatchConfig.Builder |
Type | Description |
PatchJobs.PatchJob.Builder |
setPatchDeployment(String value)
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];
Name | Description |
value | String The patchDeployment to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setPatchDeploymentBytes(ByteString value)
public PatchJobs.PatchJob.Builder setPatchDeploymentBytes(ByteString value)
Output only. Name of the patch deployment that created this patch job.
string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for patchDeployment to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setPercentComplete(double value)
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;
Name | Description |
value | double The percentComplete to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchJobs.PatchJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PatchJobs.PatchJob.Builder |
setRollout(PatchJobs.PatchRollout value)
public PatchJobs.PatchJob.Builder setRollout(PatchJobs.PatchRollout value)
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Name | Description |
value | PatchJobs.PatchRollout |
Type | Description |
PatchJobs.PatchJob.Builder |
setRollout(PatchJobs.PatchRollout.Builder builderForValue)
public PatchJobs.PatchJob.Builder setRollout(PatchJobs.PatchRollout.Builder builderForValue)
Rollout strategy being applied.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 16;
Name | Description |
builderForValue | PatchJobs.PatchRollout.Builder |
Type | Description |
PatchJobs.PatchJob.Builder |
setState(PatchJobs.PatchJob.State value)
public PatchJobs.PatchJob.Builder setState(PatchJobs.PatchJob.State value)
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
Name | Description |
value | PatchJobs.PatchJob.State The state to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setStateValue(int value)
public PatchJobs.PatchJob.Builder setStateValue(int value)
The current state of the PatchJob.
.google.cloud.osconfig.v1beta.PatchJob.State state = 5;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
PatchJobs.PatchJob.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.PatchJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchJobs.PatchJob.Builder |
setUpdateTime(Timestamp value)
public PatchJobs.PatchJob.Builder setUpdateTime(Timestamp value)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
PatchJobs.PatchJob.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public PatchJobs.PatchJob.Builder setUpdateTime(Timestamp.Builder builderForValue)
Last time this patch job was updated.
.google.protobuf.Timestamp update_time = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
PatchJobs.PatchJob.Builder |