Class PatchJobs.PatchJob.InstanceDetailsSummary (2.22.0)

public static final class PatchJobs.PatchJob.InstanceDetailsSummary extends 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 type google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PatchJobs.PatchJob.InstanceDetailsSummary

Static Fields

ACKED_INSTANCE_COUNT_FIELD_NUMBER

public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER

public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER

public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_INSTANCE_COUNT_FIELD_NUMBER

public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INACTIVE_INSTANCE_COUNT_FIELD_NUMBER

public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER

public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER

public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

PENDING_INSTANCE_COUNT_FIELD_NUMBER

public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER

public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER

public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

REBOOTING_INSTANCE_COUNT_FIELD_NUMBER

public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

STARTED_INSTANCE_COUNT_FIELD_NUMBER

public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER

public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER

public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER

public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)

public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)
Parameter
NameDescription
prototypePatchJobs.PatchJob.InstanceDetailsSummary
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PatchJobs.PatchJob.InstanceDetailsSummary> parser()
Returns
TypeDescription
Parser<InstanceDetailsSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAckedInstanceCount()

public long getAckedInstanceCount()

Number of instances that have acked and will start shortly.

int64 acked_instance_count = 11;

Returns
TypeDescription
long

The ackedInstanceCount.

getApplyingPatchesInstanceCount()

public long getApplyingPatchesInstanceCount()

Number of instances that are applying patches.

int64 applying_patches_instance_count = 6;

Returns
TypeDescription
long

The applyingPatchesInstanceCount.

getDefaultInstanceForType()

public PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary

getDownloadingPatchesInstanceCount()

public long getDownloadingPatchesInstanceCount()

Number of instances that are downloading patches.

int64 downloading_patches_instance_count = 5;

Returns
TypeDescription
long

The downloadingPatchesInstanceCount.

getFailedInstanceCount()

public long getFailedInstanceCount()

Number of instances that failed.

int64 failed_instance_count = 10;

Returns
TypeDescription
long

The failedInstanceCount.

getInactiveInstanceCount()

public long getInactiveInstanceCount()

Number of instances that are inactive.

int64 inactive_instance_count = 2;

Returns
TypeDescription
long

The inactiveInstanceCount.

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;

Returns
TypeDescription
long

The noAgentDetectedInstanceCount.

getNotifiedInstanceCount()

public long getNotifiedInstanceCount()

Number of instances notified about patch job.

int64 notified_instance_count = 3;

Returns
TypeDescription
long

The notifiedInstanceCount.

getParserForType()

public Parser<PatchJobs.PatchJob.InstanceDetailsSummary> getParserForType()
Returns
TypeDescription
Parser<InstanceDetailsSummary>
Overrides

getPendingInstanceCount()

public long getPendingInstanceCount()

Number of instances pending patch job.

int64 pending_instance_count = 1;

Returns
TypeDescription
long

The pendingInstanceCount.

getPostPatchStepInstanceCount()

public long getPostPatchStepInstanceCount()

Number of instances that are running the post-patch step.

int64 post_patch_step_instance_count = 14;

Returns
TypeDescription
long

The postPatchStepInstanceCount.

getPrePatchStepInstanceCount()

public long getPrePatchStepInstanceCount()

Number of instances that are running the pre-patch step.

int64 pre_patch_step_instance_count = 13;

Returns
TypeDescription
long

The prePatchStepInstanceCount.

getRebootingInstanceCount()

public long getRebootingInstanceCount()

Number of instances rebooting.

int64 rebooting_instance_count = 7;

Returns
TypeDescription
long

The rebootingInstanceCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartedInstanceCount()

public long getStartedInstanceCount()

Number of instances that have started.

int64 started_instance_count = 4;

Returns
TypeDescription
long

The startedInstanceCount.

getSucceededInstanceCount()

public long getSucceededInstanceCount()

Number of instances that have completed successfully.

int64 succeeded_instance_count = 8;

Returns
TypeDescription
long

The succeededInstanceCount.

getSucceededRebootRequiredInstanceCount()

public long getSucceededRebootRequiredInstanceCount()

Number of instances that require reboot.

int64 succeeded_reboot_required_instance_count = 9;

Returns
TypeDescription
long

The succeededRebootRequiredInstanceCount.

getTimedOutInstanceCount()

public long getTimedOutInstanceCount()

Number of instances that exceeded the time out while applying the patch.

int64 timed_out_instance_count = 12;

Returns
TypeDescription
long

The timedOutInstanceCount.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder toBuilder()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException