Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchJob.InstanceDetailsSummary
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.GeneratedMessage
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 type
google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA summary of the current patch state across all instances that this patch job affects.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongNumber of instances that have acked and will start shortly.longNumber of instances that are applying patches.static final com.google.protobuf.Descriptors.DescriptorlongNumber of instances that are downloading patches.longNumber of instances that failed.longNumber of instances that are inactive.longNumber of instances that do not appear to be running the agent.longNumber of instances notified about patch job.com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary>longNumber of instances pending patch job.longNumber of instances that are running the post-patch step.longNumber of instances that are running the pre-patch step.longNumber of instances rebooting.intlongNumber of instances that have started.longNumber of instances that have completed successfully.longNumber of instances that require reboot.longNumber of instances that exceeded the time out while applying the patch.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PENDING_INSTANCE_COUNT_FIELD_NUMBER
public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
INACTIVE_INSTANCE_COUNT_FIELD_NUMBER
public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER
public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
STARTED_INSTANCE_COUNT_FIELD_NUMBER
public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
REBOOTING_INSTANCE_COUNT_FIELD_NUMBER
public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER
public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER
public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
FAILED_INSTANCE_COUNT_FIELD_NUMBER
public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
ACKED_INSTANCE_COUNT_FIELD_NUMBER
public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER
public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype) -
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.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-