Package com.google.cloud.osconfig.v1
Class PatchJobs.PatchJob.InstanceDetailsSummary
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1.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.v1.PatchJob.InstanceDetailsSummary
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
A 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 int
ACKED_INSTANCE_COUNT_FIELD_NUMBER
static int
APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
static int
DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
static int
FAILED_INSTANCE_COUNT_FIELD_NUMBER
static int
INACTIVE_INSTANCE_COUNT_FIELD_NUMBER
static int
NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER
static int
NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER
static int
PENDING_INSTANCE_COUNT_FIELD_NUMBER
static int
POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
static int
PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
static int
REBOOTING_INSTANCE_COUNT_FIELD_NUMBER
static int
STARTED_INSTANCE_COUNT_FIELD_NUMBER
static int
SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER
static int
SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER
static int
TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getAckedInstanceCount()
Number of instances that have acked and will start shortly.long
getApplyingPatchesInstanceCount()
Number of instances that are applying patches.static PatchJobs.PatchJob.InstanceDetailsSummary
getDefaultInstance()
PatchJobs.PatchJob.InstanceDetailsSummary
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getDownloadingPatchesInstanceCount()
Number of instances that are downloading patches.long
getFailedInstanceCount()
Number of instances that failed.long
getInactiveInstanceCount()
Number of instances that are inactive.long
getNoAgentDetectedInstanceCount()
Number of instances that do not appear to be running the agent.long
getNotifiedInstanceCount()
Number of instances notified about patch job.com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary>
getParserForType()
long
getPendingInstanceCount()
Number of instances pending patch job.long
getPostPatchStepInstanceCount()
Number of instances that are running the post-patch step.long
getPrePatchStepInstanceCount()
Number of instances that are running the pre-patch step.long
getRebootingInstanceCount()
Number of instances rebooting.int
getSerializedSize()
long
getStartedInstanceCount()
Number of instances that have started.long
getSucceededInstanceCount()
Number of instances that have completed successfully.long
getSucceededRebootRequiredInstanceCount()
Number of instances that require reboot.long
getTimedOutInstanceCount()
Number of instances that exceeded the time out while applying the patch.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PatchJobs.PatchJob.InstanceDetailsSummary.Builder
newBuilder()
static PatchJobs.PatchJob.InstanceDetailsSummary.Builder
newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
newBuilderForType()
protected PatchJobs.PatchJob.InstanceDetailsSummary.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseDelimitedFrom(InputStream input)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(byte[] data)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(com.google.protobuf.ByteString data)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(com.google.protobuf.CodedInputStream input)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(InputStream input)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(ByteBuffer data)
static PatchJobs.PatchJob.InstanceDetailsSummary
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PatchJobs.PatchJob.InstanceDetailsSummary>
parser()
PatchJobs.PatchJob.InstanceDetailsSummary.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
-
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:
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
-
getPendingInstanceCount
public long getPendingInstanceCount()
Number of instances pending patch job.
int64 pending_instance_count = 1;
- Specified by:
getPendingInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The pendingInstanceCount.
-
getInactiveInstanceCount
public long getInactiveInstanceCount()
Number of instances that are inactive.
int64 inactive_instance_count = 2;
- Specified by:
getInactiveInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The inactiveInstanceCount.
-
getNotifiedInstanceCount
public long getNotifiedInstanceCount()
Number of instances notified about patch job.
int64 notified_instance_count = 3;
- Specified by:
getNotifiedInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The notifiedInstanceCount.
-
getStartedInstanceCount
public long getStartedInstanceCount()
Number of instances that have started.
int64 started_instance_count = 4;
- Specified by:
getStartedInstanceCount
in 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:
getDownloadingPatchesInstanceCount
in 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:
getApplyingPatchesInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The applyingPatchesInstanceCount.
-
getRebootingInstanceCount
public long getRebootingInstanceCount()
Number of instances rebooting.
int64 rebooting_instance_count = 7;
- Specified by:
getRebootingInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The rebootingInstanceCount.
-
getSucceededInstanceCount
public long getSucceededInstanceCount()
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;
- Specified by:
getSucceededInstanceCount
in 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:
getSucceededRebootRequiredInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The succeededRebootRequiredInstanceCount.
-
getFailedInstanceCount
public long getFailedInstanceCount()
Number of instances that failed.
int64 failed_instance_count = 10;
- Specified by:
getFailedInstanceCount
in 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:
getAckedInstanceCount
in 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:
getTimedOutInstanceCount
in 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:
getPrePatchStepInstanceCount
in 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:
getPostPatchStepInstanceCount
in 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:
getNoAgentDetectedInstanceCount
in interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder
- Returns:
- The noAgentDetectedInstanceCount.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-