- 2.55.0 (latest)
- 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 PatchDeployments.PatchDeployment.Builder extends GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder> implements PatchDeployments.PatchDeploymentOrBuilder
Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.
Protobuf type google.cloud.osconfig.v1.PatchDeployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchDeployments.PatchDeployment.BuilderImplements
PatchDeployments.PatchDeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchDeployments.PatchDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
build()
public PatchDeployments.PatchDeployment build()
Type | Description |
PatchDeployments.PatchDeployment |
buildPartial()
public PatchDeployments.PatchDeployment buildPartial()
Type | Description |
PatchDeployments.PatchDeployment |
clear()
public PatchDeployments.PatchDeployment.Builder clear()
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearCreateTime()
public PatchDeployments.PatchDeployment.Builder clearCreateTime()
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearDescription()
public PatchDeployments.PatchDeployment.Builder clearDescription()
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
clearDuration()
public PatchDeployments.PatchDeployment.Builder clearDuration()
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearField(Descriptors.FieldDescriptor field)
public PatchDeployments.PatchDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearInstanceFilter()
public PatchDeployments.PatchDeployment.Builder clearInstanceFilter()
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearLastExecuteTime()
public PatchDeployments.PatchDeployment.Builder clearLastExecuteTime()
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearName()
public PatchDeployments.PatchDeployment.Builder clearName()
Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}
.
This field is ignored when you create a new patch deployment.
string name = 1;
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
clearOneTimeSchedule()
public PatchDeployments.PatchDeployment.Builder clearOneTimeSchedule()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchDeployments.PatchDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearPatchConfig()
public PatchDeployments.PatchDeployment.Builder clearPatchConfig()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearRecurringSchedule()
public PatchDeployments.PatchDeployment.Builder clearRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearRollout()
public PatchDeployments.PatchDeployment.Builder clearRollout()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearSchedule()
public PatchDeployments.PatchDeployment.Builder clearSchedule()
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clearState()
public PatchDeployments.PatchDeployment.Builder clearState()
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
clearUpdateTime()
public PatchDeployments.PatchDeployment.Builder clearUpdateTime()
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PatchDeployments.PatchDeployment.Builder |
clone()
public PatchDeployments.PatchDeployment.Builder clone()
Type | Description |
PatchDeployments.PatchDeployment.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public PatchDeployments.PatchDeployment getDefaultInstanceForType()
Type | Description |
PatchDeployments.PatchDeployment |
getDescription()
public String getDescription()
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDuration()
public Duration getDuration()
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Duration | The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Builder |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DurationOrBuilder |
getInstanceFilter()
public PatchJobs.PatchInstanceFilter getInstanceFilter()
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchJobs.PatchInstanceFilter | The instanceFilter. |
getInstanceFilterBuilder()
public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchJobs.PatchInstanceFilter.Builder |
getInstanceFilterOrBuilder()
public PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchJobs.PatchInstanceFilterOrBuilder |
getLastExecuteTime()
public Timestamp getLastExecuteTime()
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The lastExecuteTime. |
getLastExecuteTimeBuilder()
public Timestamp.Builder getLastExecuteTimeBuilder()
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getLastExecuteTimeOrBuilder()
public TimestampOrBuilder getLastExecuteTimeOrBuilder()
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}
.
This field is ignored when you create a new patch deployment.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}
.
This field is ignored when you create a new patch deployment.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOneTimeSchedule()
public PatchDeployments.OneTimeSchedule getOneTimeSchedule()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.OneTimeSchedule | The oneTimeSchedule. |
getOneTimeScheduleBuilder()
public PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.OneTimeSchedule.Builder |
getOneTimeScheduleOrBuilder()
public PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.OneTimeScheduleOrBuilder |
getPatchConfig()
public PatchJobs.PatchConfig getPatchConfig()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchJobs.PatchConfig | The patchConfig. |
getPatchConfigBuilder()
public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchJobs.PatchConfig.Builder |
getPatchConfigOrBuilder()
public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchJobs.PatchConfigOrBuilder |
getRecurringSchedule()
public PatchDeployments.RecurringSchedule getRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.RecurringSchedule | The recurringSchedule. |
getRecurringScheduleBuilder()
public PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.RecurringSchedule.Builder |
getRecurringScheduleOrBuilder()
public PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.RecurringScheduleOrBuilder |
getRollout()
public PatchJobs.PatchRollout getRollout()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchJobs.PatchRollout | The rollout. |
getRolloutBuilder()
public PatchJobs.PatchRollout.Builder getRolloutBuilder()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchJobs.PatchRollout.Builder |
getRolloutOrBuilder()
public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PatchJobs.PatchRolloutOrBuilder |
getScheduleCase()
public PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
Type | Description |
PatchDeployments.PatchDeployment.ScheduleCase |
getState()
public PatchDeployments.PatchDeployment.State getState()
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PatchDeployments.PatchDeployment.State | The state. |
getStateValue()
public int getStateValue()
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasDuration()
public boolean hasDuration()
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the duration field is set. |
hasInstanceFilter()
public boolean hasInstanceFilter()
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the instanceFilter field is set. |
hasLastExecuteTime()
public boolean hasLastExecuteTime()
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the lastExecuteTime field is set. |
hasOneTimeSchedule()
public boolean hasOneTimeSchedule()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the oneTimeSchedule field is set. |
hasPatchConfig()
public boolean hasPatchConfig()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the patchConfig field is set. |
hasRecurringSchedule()
public boolean hasRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the recurringSchedule field is set. |
hasRollout()
public boolean hasRollout()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the rollout field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 PatchDeployments.PatchDeployment.Builder mergeCreateTime(Timestamp value)
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeDuration(Duration value)
public PatchDeployments.PatchDeployment.Builder mergeDuration(Duration value)
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Duration |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeFrom(PatchDeployments.PatchDeployment other)
public PatchDeployments.PatchDeployment.Builder mergeFrom(PatchDeployments.PatchDeployment other)
Name | Description |
other | PatchDeployments.PatchDeployment |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchDeployments.PatchDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PatchDeployments.PatchDeployment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
public PatchDeployments.PatchDeployment.Builder mergeInstanceFilter(PatchJobs.PatchInstanceFilter value)
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | PatchJobs.PatchInstanceFilter |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeLastExecuteTime(Timestamp value)
public PatchDeployments.PatchDeployment.Builder mergeLastExecuteTime(Timestamp value)
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeOneTimeSchedule(PatchDeployments.OneTimeSchedule value)
public PatchDeployments.PatchDeployment.Builder mergeOneTimeSchedule(PatchDeployments.OneTimeSchedule value)
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | PatchDeployments.OneTimeSchedule |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergePatchConfig(PatchJobs.PatchConfig value)
public PatchDeployments.PatchDeployment.Builder mergePatchConfig(PatchJobs.PatchConfig value)
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | PatchJobs.PatchConfig |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeRecurringSchedule(PatchDeployments.RecurringSchedule value)
public PatchDeployments.PatchDeployment.Builder mergeRecurringSchedule(PatchDeployments.RecurringSchedule value)
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | PatchDeployments.RecurringSchedule |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeRollout(PatchJobs.PatchRollout value)
public PatchDeployments.PatchDeployment.Builder mergeRollout(PatchJobs.PatchRollout value)
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | PatchJobs.PatchRollout |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchDeployments.PatchDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
mergeUpdateTime(Timestamp value)
public PatchDeployments.PatchDeployment.Builder mergeUpdateTime(Timestamp value)
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setCreateTime(Timestamp value)
public PatchDeployments.PatchDeployment.Builder setCreateTime(Timestamp value)
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setDescription(String value)
public PatchDeployments.PatchDeployment.Builder setDescription(String value)
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The description to set. |
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public PatchDeployments.PatchDeployment.Builder setDescriptionBytes(ByteString value)
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
setDuration(Duration value)
public PatchDeployments.PatchDeployment.Builder setDuration(Duration value)
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Duration |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setDuration(Duration.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setDuration(Duration.Builder builderForValue)
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PatchDeployments.PatchDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setInstanceFilter(PatchJobs.PatchInstanceFilter value)
public PatchDeployments.PatchDeployment.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter value)
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | PatchJobs.PatchInstanceFilter |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue)
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | PatchJobs.PatchInstanceFilter.Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setLastExecuteTime(Timestamp value)
public PatchDeployments.PatchDeployment.Builder setLastExecuteTime(Timestamp value)
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setLastExecuteTime(Timestamp.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setLastExecuteTime(Timestamp.Builder builderForValue)
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setName(String value)
public PatchDeployments.PatchDeployment.Builder setName(String value)
Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}
.
This field is ignored when you create a new patch deployment.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public PatchDeployments.PatchDeployment.Builder setNameBytes(ByteString value)
Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}
.
This field is ignored when you create a new patch deployment.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
setOneTimeSchedule(PatchDeployments.OneTimeSchedule value)
public PatchDeployments.PatchDeployment.Builder setOneTimeSchedule(PatchDeployments.OneTimeSchedule value)
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | PatchDeployments.OneTimeSchedule |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setOneTimeSchedule(PatchDeployments.OneTimeSchedule.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setOneTimeSchedule(PatchDeployments.OneTimeSchedule.Builder builderForValue)
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | PatchDeployments.OneTimeSchedule.Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setPatchConfig(PatchJobs.PatchConfig value)
public PatchDeployments.PatchDeployment.Builder setPatchConfig(PatchJobs.PatchConfig value)
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | PatchJobs.PatchConfig |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue)
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | PatchJobs.PatchConfig.Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setRecurringSchedule(PatchDeployments.RecurringSchedule value)
public PatchDeployments.PatchDeployment.Builder setRecurringSchedule(PatchDeployments.RecurringSchedule value)
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | PatchDeployments.RecurringSchedule |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setRecurringSchedule(PatchDeployments.RecurringSchedule.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setRecurringSchedule(PatchDeployments.RecurringSchedule.Builder builderForValue)
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | PatchDeployments.RecurringSchedule.Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchDeployments.PatchDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setRollout(PatchJobs.PatchRollout value)
public PatchDeployments.PatchDeployment.Builder setRollout(PatchJobs.PatchRollout value)
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | PatchJobs.PatchRollout |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setRollout(PatchJobs.PatchRollout.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setRollout(PatchJobs.PatchRollout.Builder builderForValue)
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | PatchJobs.PatchRollout.Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setState(PatchDeployments.PatchDeployment.State value)
public PatchDeployments.PatchDeployment.Builder setState(PatchDeployments.PatchDeployment.State value)
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | PatchDeployments.PatchDeployment.State The state to set. |
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
setStateValue(int value)
public PatchDeployments.PatchDeployment.Builder setStateValue(int value)
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
PatchDeployments.PatchDeployment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchDeployments.PatchDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setUpdateTime(Timestamp value)
public PatchDeployments.PatchDeployment.Builder setUpdateTime(Timestamp value)
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PatchDeployments.PatchDeployment.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public PatchDeployments.PatchDeployment.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
PatchDeployments.PatchDeployment.Builder |