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.GeneratedMessageV3.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.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](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs).
Protobuf typegoogle.cloud.osconfig.v1beta.PatchDeployment
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
clear
public PatchDeployments.PatchDeployment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
getDefaultInstanceForType
public PatchDeployments.PatchDeployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PatchDeployments.PatchDeployment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PatchDeployments.PatchDeployment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PatchDeployments.PatchDeployment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
setField
public PatchDeployments.PatchDeployment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
clearField
public PatchDeployments.PatchDeployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
clearOneof
public PatchDeployments.PatchDeployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
setRepeatedField
public PatchDeployments.PatchDeployment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
addRepeatedField
public PatchDeployments.PatchDeployment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
mergeFrom
public PatchDeployments.PatchDeployment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PatchDeployments.PatchDeployment.Builder>
-
mergeFrom
public PatchDeployments.PatchDeployment.Builder mergeFrom(PatchDeployments.PatchDeployment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
mergeFrom
public PatchDeployments.PatchDeployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PatchDeployments.PatchDeployment.Builder>
- Throws:
IOException
-
getScheduleCase
public PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
- Specified by:
getScheduleCase
in interfacePatchDeployments.PatchDeploymentOrBuilder
-
clearSchedule
public PatchDeployments.PatchDeployment.Builder clearSchedule()
-
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;
- Specified by:
getName
in 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:
getNameBytes
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setNameBytes
public PatchDeployments.PatchDeployment.Builder setNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getDescription
in 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:
getDescriptionBytes
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The bytes for description.
-
setDescription
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];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
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];
- 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:
hasInstanceFilter
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
public PatchJobs.PatchInstanceFilter getInstanceFilter()
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceFilter
in 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
public PatchDeployments.PatchDeployment.Builder clearInstanceFilter()
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
-
getInstanceFilterBuilder
public PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder()
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
-
getInstanceFilterOrBuilder
public PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceFilterOrBuilder
in 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:
hasPatchConfig
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
public PatchJobs.PatchConfig getPatchConfig()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPatchConfig
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The patchConfig.
-
setPatchConfig
public PatchDeployments.PatchDeployment.Builder setPatchConfig(PatchJobs.PatchConfig value)
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
public PatchDeployments.PatchDeployment.Builder mergePatchConfig(PatchJobs.PatchConfig value)
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearPatchConfig
public PatchDeployments.PatchDeployment.Builder clearPatchConfig()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPatchConfigBuilder
public PatchJobs.PatchConfig.Builder getPatchConfigBuilder()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPatchConfigOrBuilder
public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPatchConfigOrBuilder
in 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:
hasDuration
in 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:
getDuration
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The duration.
-
setDuration
public PatchDeployments.PatchDeployment.Builder setDuration(com.google.protobuf.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];
-
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
public PatchDeployments.PatchDeployment.Builder mergeDuration(com.google.protobuf.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];
-
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];
-
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:
getDurationOrBuilder
in 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:
hasOneTimeSchedule
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- Whether the oneTimeSchedule field is set.
-
getOneTimeSchedule
public PatchDeployments.OneTimeSchedule getOneTimeSchedule()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOneTimeSchedule
in 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
public PatchDeployments.PatchDeployment.Builder clearOneTimeSchedule()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
-
getOneTimeScheduleBuilder
public PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
-
getOneTimeScheduleOrBuilder
public PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOneTimeScheduleOrBuilder
in 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:
hasRecurringSchedule
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- Whether the recurringSchedule field is set.
-
getRecurringSchedule
public PatchDeployments.RecurringSchedule getRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRecurringSchedule
in 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
public PatchDeployments.PatchDeployment.Builder clearRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
-
getRecurringScheduleBuilder
public PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
-
getRecurringScheduleOrBuilder
public PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRecurringScheduleOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public PatchDeployments.PatchDeployment.Builder setCreateTime(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];
-
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
public PatchDeployments.PatchDeployment.Builder 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public PatchDeployments.PatchDeployment.Builder setUpdateTime(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];
-
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
public PatchDeployments.PatchDeployment.Builder 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:
getUpdateTimeOrBuilder
in 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:
hasLastExecuteTime
in 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:
getLastExecuteTime
in 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
public PatchDeployments.PatchDeployment.Builder 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:
getLastExecuteTimeOrBuilder
in 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:
hasRollout
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- Whether the rollout field is set.
-
getRollout
public PatchJobs.PatchRollout getRollout()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRollout
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The rollout.
-
setRollout
public PatchDeployments.PatchDeployment.Builder setRollout(PatchJobs.PatchRollout value)
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
public PatchDeployments.PatchDeployment.Builder mergeRollout(PatchJobs.PatchRollout value)
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
-
clearRollout
public PatchDeployments.PatchDeployment.Builder clearRollout()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getRolloutBuilder
public PatchJobs.PatchRollout.Builder getRolloutBuilder()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getRolloutOrBuilder
public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRolloutOrBuilder
in 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:
getStateValue
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public PatchDeployments.PatchDeployment.Builder setStateValue(int 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 enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public PatchDeployments.PatchDeployment.State 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:
getState
in 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
public PatchDeployments.PatchDeployment.Builder 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.
-
setUnknownFields
public final PatchDeployments.PatchDeployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
mergeUnknownFields
public final PatchDeployments.PatchDeployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.PatchDeployment.Builder>
-
-