Package com.google.cloud.osconfig.v1beta
Class PatchDeployments.PatchDeployment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
-
- All Implemented Interfaces:
PatchDeployments.PatchDeploymentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PatchDeployments
public static final class PatchDeployments.PatchDeployment extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchDeployments.PatchDeployment.BuilderPatch deployments are configurations that individual patch jobs use to complete a patch.static classPatchDeployments.PatchDeployment.ScheduleCasestatic classPatchDeployments.PatchDeployment.StateRepresents state of patch peployment.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDURATION_FIELD_NUMBERstatic intINSTANCE_FILTER_FIELD_NUMBERstatic intLAST_EXECUTE_TIME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intONE_TIME_SCHEDULE_FIELD_NUMBERstatic intPATCH_CONFIG_FIELD_NUMBERstatic intRECURRING_SCHEDULE_FIELD_NUMBERstatic intROLLOUT_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static PatchDeployments.PatchDeploymentgetDefaultInstance()PatchDeployments.PatchDeploymentgetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetDuration()Optional.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Optional.PatchJobs.PatchInstanceFiltergetInstanceFilter()Required.PatchJobs.PatchInstanceFilterOrBuildergetInstanceFilterOrBuilder()Required.com.google.protobuf.TimestampgetLastExecuteTime()Output only.com.google.protobuf.TimestampOrBuildergetLastExecuteTimeOrBuilder()Output only.StringgetName()Unique name for the patch deployment resource in a project.com.google.protobuf.ByteStringgetNameBytes()Unique name for the patch deployment resource in a project.PatchDeployments.OneTimeSchedulegetOneTimeSchedule()Required.PatchDeployments.OneTimeScheduleOrBuildergetOneTimeScheduleOrBuilder()Required.com.google.protobuf.Parser<PatchDeployments.PatchDeployment>getParserForType()PatchJobs.PatchConfiggetPatchConfig()Optional.PatchJobs.PatchConfigOrBuildergetPatchConfigOrBuilder()Optional.PatchDeployments.RecurringSchedulegetRecurringSchedule()Required.PatchDeployments.RecurringScheduleOrBuildergetRecurringScheduleOrBuilder()Required.PatchJobs.PatchRolloutgetRollout()Optional.PatchJobs.PatchRolloutOrBuildergetRolloutOrBuilder()Optional.PatchDeployments.PatchDeployment.ScheduleCasegetScheduleCase()intgetSerializedSize()PatchDeployments.PatchDeployment.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDuration()Optional.inthashCode()booleanhasInstanceFilter()Required.booleanhasLastExecuteTime()Output only.booleanhasOneTimeSchedule()Required.booleanhasPatchConfig()Optional.booleanhasRecurringSchedule()Required.booleanhasRollout()Optional.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PatchDeployments.PatchDeployment.BuildernewBuilder()static PatchDeployments.PatchDeployment.BuildernewBuilder(PatchDeployments.PatchDeployment prototype)PatchDeployments.PatchDeployment.BuildernewBuilderForType()protected PatchDeployments.PatchDeployment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PatchDeployments.PatchDeploymentparseDelimitedFrom(InputStream input)static PatchDeployments.PatchDeploymentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchDeployments.PatchDeploymentparseFrom(byte[] data)static PatchDeployments.PatchDeploymentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchDeployments.PatchDeploymentparseFrom(com.google.protobuf.ByteString data)static PatchDeployments.PatchDeploymentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchDeployments.PatchDeploymentparseFrom(com.google.protobuf.CodedInputStream input)static PatchDeployments.PatchDeploymentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchDeployments.PatchDeploymentparseFrom(InputStream input)static PatchDeployments.PatchDeploymentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchDeployments.PatchDeploymentparseFrom(ByteBuffer data)static PatchDeployments.PatchDeploymentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PatchDeployments.PatchDeployment>parser()PatchDeployments.PatchDeployment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_FILTER_FIELD_NUMBER
public static final int INSTANCE_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATCH_CONFIG_FIELD_NUMBER
public static final int PATCH_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ONE_TIME_SCHEDULE_FIELD_NUMBER
public static final int ONE_TIME_SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECURRING_SCHEDULE_FIELD_NUMBER
public static final int RECURRING_SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_EXECUTE_TIME_FIELD_NUMBER
public static final int LAST_EXECUTE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLLOUT_FIELD_NUMBER
public static final int ROLLOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getScheduleCase
public PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
- Specified by:
getScheduleCasein interfacePatchDeployments.PatchDeploymentOrBuilder
-
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:
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.
-
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:
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.
-
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
public PatchJobs.PatchInstanceFilter 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.
-
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:
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
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:
getPatchConfigin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The patchConfig.
-
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:
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.
-
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
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:
getOneTimeSchedulein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The oneTimeSchedule.
-
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:
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
public PatchDeployments.RecurringSchedule 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.
-
getRecurringScheduleOrBuilder
public PatchDeployments.RecurringScheduleOrBuilder 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.
-
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.
-
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.
-
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
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:
getRolloutin interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The rollout.
-
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:
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.
-
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:
getStatein interfacePatchDeployments.PatchDeploymentOrBuilder- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PatchDeployments.PatchDeployment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PatchDeployments.PatchDeployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchDeployments.PatchDeployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PatchDeployments.PatchDeployment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PatchDeployments.PatchDeployment.Builder newBuilder()
-
newBuilder
public static PatchDeployments.PatchDeployment.Builder newBuilder(PatchDeployments.PatchDeployment prototype)
-
toBuilder
public PatchDeployments.PatchDeployment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchDeployments.PatchDeployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PatchDeployments.PatchDeployment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PatchDeployments.PatchDeployment> parser()
-
getParserForType
public com.google.protobuf.Parser<PatchDeployments.PatchDeployment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PatchDeployments.PatchDeployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-