Package com.google.cloud.osconfig.v1
Class PatchDeployments.PatchDeployment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1.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.v1.PatchDeployment
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatchDeployments.PatchDeployment.Builder
Patch deployments are configurations that individual patch jobs use to complete a patch.static class
PatchDeployments.PatchDeployment.ScheduleCase
static class
PatchDeployments.PatchDeployment.State
Represents 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 int
CREATE_TIME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DURATION_FIELD_NUMBER
static int
INSTANCE_FILTER_FIELD_NUMBER
static int
LAST_EXECUTE_TIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
ONE_TIME_SCHEDULE_FIELD_NUMBER
static int
PATCH_CONFIG_FIELD_NUMBER
static int
RECURRING_SCHEDULE_FIELD_NUMBER
static int
ROLLOUT_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static PatchDeployments.PatchDeployment
getDefaultInstance()
PatchDeployments.PatchDeployment
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Duration
getDuration()
Optional.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
Optional.PatchJobs.PatchInstanceFilter
getInstanceFilter()
Required.PatchJobs.PatchInstanceFilterOrBuilder
getInstanceFilterOrBuilder()
Required.com.google.protobuf.Timestamp
getLastExecuteTime()
Output only.com.google.protobuf.TimestampOrBuilder
getLastExecuteTimeOrBuilder()
Output only.String
getName()
Unique name for the patch deployment resource in a project.com.google.protobuf.ByteString
getNameBytes()
Unique name for the patch deployment resource in a project.PatchDeployments.OneTimeSchedule
getOneTimeSchedule()
Required.PatchDeployments.OneTimeScheduleOrBuilder
getOneTimeScheduleOrBuilder()
Required.com.google.protobuf.Parser<PatchDeployments.PatchDeployment>
getParserForType()
PatchJobs.PatchConfig
getPatchConfig()
Optional.PatchJobs.PatchConfigOrBuilder
getPatchConfigOrBuilder()
Optional.PatchDeployments.RecurringSchedule
getRecurringSchedule()
Required.PatchDeployments.RecurringScheduleOrBuilder
getRecurringScheduleOrBuilder()
Required.PatchJobs.PatchRollout
getRollout()
Optional.PatchJobs.PatchRolloutOrBuilder
getRolloutOrBuilder()
Optional.PatchDeployments.PatchDeployment.ScheduleCase
getScheduleCase()
int
getSerializedSize()
PatchDeployments.PatchDeployment.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDuration()
Optional.int
hashCode()
boolean
hasInstanceFilter()
Required.boolean
hasLastExecuteTime()
Output only.boolean
hasOneTimeSchedule()
Required.boolean
hasPatchConfig()
Optional.boolean
hasRecurringSchedule()
Required.boolean
hasRollout()
Optional.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PatchDeployments.PatchDeployment.Builder
newBuilder()
static PatchDeployments.PatchDeployment.Builder
newBuilder(PatchDeployments.PatchDeployment prototype)
PatchDeployments.PatchDeployment.Builder
newBuilderForType()
protected PatchDeployments.PatchDeployment.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PatchDeployments.PatchDeployment
parseDelimitedFrom(InputStream input)
static PatchDeployments.PatchDeployment
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchDeployments.PatchDeployment
parseFrom(byte[] data)
static PatchDeployments.PatchDeployment
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchDeployments.PatchDeployment
parseFrom(com.google.protobuf.ByteString data)
static PatchDeployments.PatchDeployment
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchDeployments.PatchDeployment
parseFrom(com.google.protobuf.CodedInputStream input)
static PatchDeployments.PatchDeployment
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchDeployments.PatchDeployment
parseFrom(InputStream input)
static PatchDeployments.PatchDeployment
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchDeployments.PatchDeployment
parseFrom(ByteBuffer data)
static PatchDeployments.PatchDeployment
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PatchDeployments.PatchDeployment>
parser()
PatchDeployments.PatchDeployment.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getScheduleCase
public PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
- Specified by:
getScheduleCase
in 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:
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.
-
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.
-
hasInstanceFilter
public boolean hasInstanceFilter()
Required. VM instances to patch.
.google.cloud.osconfig.v1.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.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceFilter
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The instanceFilter.
-
getInstanceFilterOrBuilder
public PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Required. VM instances to patch.
.google.cloud.osconfig.v1.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.v1.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.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPatchConfig
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The patchConfig.
-
getPatchConfigOrBuilder
public PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.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.
-
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.v1.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.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOneTimeSchedule
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The oneTimeSchedule.
-
getOneTimeScheduleOrBuilder
public PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder()
Required. Schedule a one-time execution.
.google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOneTimeScheduleOrBuilder
in interfacePatchDeployments.PatchDeploymentOrBuilder
-
hasRecurringSchedule
public boolean hasRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.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.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRecurringSchedule
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The recurringSchedule.
-
getRecurringScheduleOrBuilder
public PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.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.
-
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.
-
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.
-
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.v1.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.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRollout
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The rollout.
-
getRolloutOrBuilder
public PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()
Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1.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.v1.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.
-
getState
public PatchDeployments.PatchDeployment.State getState()
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfacePatchDeployments.PatchDeploymentOrBuilder
- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchDeployments.PatchDeployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PatchDeployments.PatchDeployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-