Package com.google.cloud.osconfig.v1beta
Class PatchDeployments.PatchDeployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchDeployments.PatchDeployment.Builder>
com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder
- All Implemented Interfaces:
PatchDeployments.PatchDeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PatchDeployments.PatchDeployment
public static final class PatchDeployments.PatchDeployment.Builder
extends com.google.protobuf.GeneratedMessage.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](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs).Protobuf type
google.cloud.osconfig.v1beta.PatchDeployment-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Optional.Required.Output only.Unique name for the patch deployment resource in a project.Required.Optional.Required.Optional.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.Required.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Unique name for the patch deployment resource in a project.com.google.protobuf.ByteStringUnique name for the patch deployment resource in a project.Required.Required.Required.Optional.Optional.Optional.Required.Required.Required.Optional.Optional.Optional.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanRequired.booleanOutput only.booleanRequired.booleanOptional.booleanRequired.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDuration(com.google.protobuf.Duration value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.mergeLastExecuteTime(com.google.protobuf.Timestamp value) Output only.Required.Optional.Required.Optional.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDuration(com.google.protobuf.Duration value) Optional.setDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.Required.setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue) Required.setLastExecuteTime(com.google.protobuf.Timestamp value) Output only.setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Unique name for the patch deployment resource in a project.setNameBytes(com.google.protobuf.ByteString value) Unique name for the patch deployment resource in a project.Required.setOneTimeSchedule(PatchDeployments.OneTimeSchedule.Builder builderForValue) Required.Optional.setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue) Optional.Required.setRecurringSchedule(PatchDeployments.RecurringSchedule.Builder builderForValue) Required.setRollout(PatchJobs.PatchRollout value) Optional.setRollout(PatchJobs.PatchRollout.Builder builderForValue) Optional.Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PatchDeployments.PatchDeployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PatchDeployments.PatchDeployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PatchDeployments.PatchDeployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchDeployments.PatchDeployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PatchDeployments.PatchDeployment.Builder>
-
mergeFrom
public PatchDeployments.PatchDeployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchDeployments.PatchDeployment.Builder>- Throws:
IOException
-
getScheduleCase
- Specified by:
getScheduleCasein interfacePatchDeployments.PatchDeploymentOrBuilder
-
clearSchedule
-
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;- Specified by:
getNamein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.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];- Specified by:
getDescriptionBytesin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public PatchDeployments.PatchDeployment.Builder setDescriptionBytes(com.google.protobuf.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];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasInstanceFilter
public boolean hasInstanceFilter()Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInstanceFilterin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceFilterin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The instanceFilter.
-
setInstanceFilter
public PatchDeployments.PatchDeployment.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter value) Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; -
setInstanceFilter
public PatchDeployments.PatchDeployment.Builder setInstanceFilter(PatchJobs.PatchInstanceFilter.Builder builderForValue) Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; -
mergeInstanceFilter
public PatchDeployments.PatchDeployment.Builder mergeInstanceFilter(PatchJobs.PatchInstanceFilter value) Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearInstanceFilter
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; -
getInstanceFilterBuilder
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; -
getInstanceFilterOrBuilder
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceFilterOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasPatchConfig
public boolean hasPatchConfig()Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPatchConfigin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPatchConfigin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The patchConfig.
-
setPatchConfig
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setPatchConfig
public PatchDeployments.PatchDeployment.Builder setPatchConfig(PatchJobs.PatchConfig.Builder builderForValue) Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergePatchConfig
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearPatchConfig
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPatchConfigBuilder
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPatchConfigOrBuilder
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPatchConfigOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
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];- Specified by:
hasDurationin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.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];- Specified by:
getDurationin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The duration.
-
setDuration
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setDuration
public PatchDeployments.PatchDeployment.Builder setDuration(com.google.protobuf.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]; -
mergeDuration
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearDuration
Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getDurationBuilder
public com.google.protobuf.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]; -
getDurationOrBuilder
public com.google.protobuf.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];- Specified by:
getDurationOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasOneTimeSchedule
public boolean hasOneTimeSchedule()Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasOneTimeSchedulein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the oneTimeSchedule field is set.
-
getOneTimeSchedule
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOneTimeSchedulein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The oneTimeSchedule.
-
setOneTimeSchedule
public PatchDeployments.PatchDeployment.Builder setOneTimeSchedule(PatchDeployments.OneTimeSchedule value) Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; -
setOneTimeSchedule
public PatchDeployments.PatchDeployment.Builder setOneTimeSchedule(PatchDeployments.OneTimeSchedule.Builder builderForValue) Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; -
mergeOneTimeSchedule
public PatchDeployments.PatchDeployment.Builder mergeOneTimeSchedule(PatchDeployments.OneTimeSchedule value) Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; -
clearOneTimeSchedule
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; -
getOneTimeScheduleBuilder
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; -
getOneTimeScheduleOrBuilder
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOneTimeScheduleOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasRecurringSchedule
public boolean hasRecurringSchedule()Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasRecurringSchedulein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the recurringSchedule field is set.
-
getRecurringSchedule
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRecurringSchedulein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The recurringSchedule.
-
setRecurringSchedule
public PatchDeployments.PatchDeployment.Builder setRecurringSchedule(PatchDeployments.RecurringSchedule value) Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; -
setRecurringSchedule
public PatchDeployments.PatchDeployment.Builder setRecurringSchedule(PatchDeployments.RecurringSchedule.Builder builderForValue) Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; -
mergeRecurringSchedule
public PatchDeployments.PatchDeployment.Builder mergeRecurringSchedule(PatchDeployments.RecurringSchedule value) Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; -
clearRecurringSchedule
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; -
getRecurringScheduleBuilder
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; -
getRecurringScheduleOrBuilder
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRecurringScheduleOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public PatchDeployments.PatchDeployment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
public PatchDeployments.PatchDeployment.Builder mergeCreateTime(com.google.protobuf.Timestamp value) Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public PatchDeployments.PatchDeployment.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
public PatchDeployments.PatchDeployment.Builder mergeUpdateTime(com.google.protobuf.Timestamp value) Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasLastExecuteTime
public boolean hasLastExecuteTime()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastExecuteTimein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the lastExecuteTime field is set.
-
getLastExecuteTime
public com.google.protobuf.Timestamp getLastExecuteTime()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastExecuteTimein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The lastExecuteTime.
-
setLastExecuteTime
public PatchDeployments.PatchDeployment.Builder setLastExecuteTime(com.google.protobuf.Timestamp value) Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setLastExecuteTime
public PatchDeployments.PatchDeployment.Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeLastExecuteTime
public PatchDeployments.PatchDeployment.Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearLastExecuteTime
Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastExecuteTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastExecuteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastExecuteTimeOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasRollout
public boolean hasRollout()Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRolloutin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- Whether the rollout field is set.
-
getRollout
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRolloutin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The rollout.
-
setRollout
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; -
setRollout
public PatchDeployments.PatchDeployment.Builder setRollout(PatchJobs.PatchRollout.Builder builderForValue) Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRollout
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; -
clearRollout
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getRolloutBuilder
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getRolloutOrBuilder
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRolloutOrBuilderin interfacePatchDeployments.PatchDeploymentOrBuilder
-
getStateValue
public int getStateValue()Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The state.
-
setState
public PatchDeployments.PatchDeployment.Builder setState(PatchDeployments.PatchDeployment.State value) Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-