Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchJob.InstanceDetailsSummary
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-
- All Implemented Interfaces:
PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PatchJobs.PatchJob
public static final class PatchJobs.PatchJob.InstanceDetailsSummary extends com.google.protobuf.GeneratedMessageV3 implements PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
A summary of the current patch state across all instances that this patch job affects. Contains counts of instances in different states. These states map to `InstancePatchState`. List patch job instance details to see the specific states of each instance.
Protobuf typegoogle.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchJobs.PatchJob.InstanceDetailsSummary.BuilderA summary of the current patch state across all instances that this patch job affects.-
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 intACKED_INSTANCE_COUNT_FIELD_NUMBERstatic intAPPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBERstatic intDOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBERstatic intFAILED_INSTANCE_COUNT_FIELD_NUMBERstatic intINACTIVE_INSTANCE_COUNT_FIELD_NUMBERstatic intNO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBERstatic intNOTIFIED_INSTANCE_COUNT_FIELD_NUMBERstatic intPENDING_INSTANCE_COUNT_FIELD_NUMBERstatic intPOST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBERstatic intPRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBERstatic intREBOOTING_INSTANCE_COUNT_FIELD_NUMBERstatic intSTARTED_INSTANCE_COUNT_FIELD_NUMBERstatic intSUCCEEDED_INSTANCE_COUNT_FIELD_NUMBERstatic intSUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBERstatic intTIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetAckedInstanceCount()Number of instances that have acked and will start shortly.longgetApplyingPatchesInstanceCount()Number of instances that are applying patches.static PatchJobs.PatchJob.InstanceDetailsSummarygetDefaultInstance()PatchJobs.PatchJob.InstanceDetailsSummarygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetDownloadingPatchesInstanceCount()Number of instances that are downloading patches.longgetFailedInstanceCount()Number of instances that failed.longgetInactiveInstanceCount()Number of instances that are inactive.longgetNoAgentDetectedInstanceCount()Number of instances that do not appear to be running the agent.longgetNotifiedInstanceCount()Number of instances notified about patch job.com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary>getParserForType()longgetPendingInstanceCount()Number of instances pending patch job.longgetPostPatchStepInstanceCount()Number of instances that are running the post-patch step.longgetPrePatchStepInstanceCount()Number of instances that are running the pre-patch step.longgetRebootingInstanceCount()Number of instances rebooting.intgetSerializedSize()longgetStartedInstanceCount()Number of instances that have started.longgetSucceededInstanceCount()Number of instances that have completed successfully.longgetSucceededRebootRequiredInstanceCount()Number of instances that require reboot.longgetTimedOutInstanceCount()Number of instances that exceeded the time out while applying the patch.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PatchJobs.PatchJob.InstanceDetailsSummary.BuildernewBuilder()static PatchJobs.PatchJob.InstanceDetailsSummary.BuildernewBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)PatchJobs.PatchJob.InstanceDetailsSummary.BuildernewBuilderForType()protected PatchJobs.PatchJob.InstanceDetailsSummary.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PatchJobs.PatchJob.InstanceDetailsSummaryparseDelimitedFrom(InputStream input)static PatchJobs.PatchJob.InstanceDetailsSummaryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(byte[] data)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(com.google.protobuf.ByteString data)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(com.google.protobuf.CodedInputStream input)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(InputStream input)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(ByteBuffer data)static PatchJobs.PatchJob.InstanceDetailsSummaryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary>parser()PatchJobs.PatchJob.InstanceDetailsSummary.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
-
PENDING_INSTANCE_COUNT_FIELD_NUMBER
public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INACTIVE_INSTANCE_COUNT_FIELD_NUMBER
public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER
public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTED_INSTANCE_COUNT_FIELD_NUMBER
public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REBOOTING_INSTANCE_COUNT_FIELD_NUMBER
public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER
public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER
public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILED_INSTANCE_COUNT_FIELD_NUMBER
public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACKED_INSTANCE_COUNT_FIELD_NUMBER
public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER
public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_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
-
getPendingInstanceCount
public long getPendingInstanceCount()
Number of instances pending patch job.
int64 pending_instance_count = 1;- Specified by:
getPendingInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The pendingInstanceCount.
-
getInactiveInstanceCount
public long getInactiveInstanceCount()
Number of instances that are inactive.
int64 inactive_instance_count = 2;- Specified by:
getInactiveInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The inactiveInstanceCount.
-
getNotifiedInstanceCount
public long getNotifiedInstanceCount()
Number of instances notified about patch job.
int64 notified_instance_count = 3;- Specified by:
getNotifiedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The notifiedInstanceCount.
-
getStartedInstanceCount
public long getStartedInstanceCount()
Number of instances that have started.
int64 started_instance_count = 4;- Specified by:
getStartedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The startedInstanceCount.
-
getDownloadingPatchesInstanceCount
public long getDownloadingPatchesInstanceCount()
Number of instances that are downloading patches.
int64 downloading_patches_instance_count = 5;- Specified by:
getDownloadingPatchesInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The downloadingPatchesInstanceCount.
-
getApplyingPatchesInstanceCount
public long getApplyingPatchesInstanceCount()
Number of instances that are applying patches.
int64 applying_patches_instance_count = 6;- Specified by:
getApplyingPatchesInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The applyingPatchesInstanceCount.
-
getRebootingInstanceCount
public long getRebootingInstanceCount()
Number of instances rebooting.
int64 rebooting_instance_count = 7;- Specified by:
getRebootingInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The rebootingInstanceCount.
-
getSucceededInstanceCount
public long getSucceededInstanceCount()
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;- Specified by:
getSucceededInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The succeededInstanceCount.
-
getSucceededRebootRequiredInstanceCount
public long getSucceededRebootRequiredInstanceCount()
Number of instances that require reboot.
int64 succeeded_reboot_required_instance_count = 9;- Specified by:
getSucceededRebootRequiredInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The succeededRebootRequiredInstanceCount.
-
getFailedInstanceCount
public long getFailedInstanceCount()
Number of instances that failed.
int64 failed_instance_count = 10;- Specified by:
getFailedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The failedInstanceCount.
-
getAckedInstanceCount
public long getAckedInstanceCount()
Number of instances that have acked and will start shortly.
int64 acked_instance_count = 11;- Specified by:
getAckedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The ackedInstanceCount.
-
getTimedOutInstanceCount
public long getTimedOutInstanceCount()
Number of instances that exceeded the time out while applying the patch.
int64 timed_out_instance_count = 12;- Specified by:
getTimedOutInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The timedOutInstanceCount.
-
getPrePatchStepInstanceCount
public long getPrePatchStepInstanceCount()
Number of instances that are running the pre-patch step.
int64 pre_patch_step_instance_count = 13;- Specified by:
getPrePatchStepInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The prePatchStepInstanceCount.
-
getPostPatchStepInstanceCount
public long getPostPatchStepInstanceCount()
Number of instances that are running the post-patch step.
int64 post_patch_step_instance_count = 14;- Specified by:
getPostPatchStepInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The postPatchStepInstanceCount.
-
getNoAgentDetectedInstanceCount
public long getNoAgentDetectedInstanceCount()
Number of instances that do not appear to be running the agent. Check to ensure that the agent is installed, running, and able to communicate with the service.
int64 no_agent_detected_instance_count = 15;- Specified by:
getNoAgentDetectedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The noAgentDetectedInstanceCount.
-
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 PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder()
-
newBuilder
public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)
-
toBuilder
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary> parser()
-
getParserForType
public com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-