public static final class PatchJobs.PatchJob.InstanceDetailsSummary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder> 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.v1.PatchJob.InstanceDetailsSummarygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchJob.InstanceDetailsSummary buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeFrom(PatchJobs.PatchJob.InstanceDetailsSummary other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>IOExceptionpublic long getPendingInstanceCount()
Number of instances pending patch job.
int64 pending_instance_count = 1;getPendingInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setPendingInstanceCount(long value)
Number of instances pending patch job.
int64 pending_instance_count = 1;value - The pendingInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearPendingInstanceCount()
Number of instances pending patch job.
int64 pending_instance_count = 1;public long getInactiveInstanceCount()
Number of instances that are inactive.
int64 inactive_instance_count = 2;getInactiveInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setInactiveInstanceCount(long value)
Number of instances that are inactive.
int64 inactive_instance_count = 2;value - The inactiveInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearInactiveInstanceCount()
Number of instances that are inactive.
int64 inactive_instance_count = 2;public long getNotifiedInstanceCount()
Number of instances notified about patch job.
int64 notified_instance_count = 3;getNotifiedInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setNotifiedInstanceCount(long value)
Number of instances notified about patch job.
int64 notified_instance_count = 3;value - The notifiedInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearNotifiedInstanceCount()
Number of instances notified about patch job.
int64 notified_instance_count = 3;public long getStartedInstanceCount()
Number of instances that have started.
int64 started_instance_count = 4;getStartedInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setStartedInstanceCount(long value)
Number of instances that have started.
int64 started_instance_count = 4;value - The startedInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearStartedInstanceCount()
Number of instances that have started.
int64 started_instance_count = 4;public long getDownloadingPatchesInstanceCount()
Number of instances that are downloading patches.
int64 downloading_patches_instance_count = 5;getDownloadingPatchesInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setDownloadingPatchesInstanceCount(long value)
Number of instances that are downloading patches.
int64 downloading_patches_instance_count = 5;value - The downloadingPatchesInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearDownloadingPatchesInstanceCount()
Number of instances that are downloading patches.
int64 downloading_patches_instance_count = 5;public long getApplyingPatchesInstanceCount()
Number of instances that are applying patches.
int64 applying_patches_instance_count = 6;getApplyingPatchesInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setApplyingPatchesInstanceCount(long value)
Number of instances that are applying patches.
int64 applying_patches_instance_count = 6;value - The applyingPatchesInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearApplyingPatchesInstanceCount()
Number of instances that are applying patches.
int64 applying_patches_instance_count = 6;public long getRebootingInstanceCount()
Number of instances rebooting.
int64 rebooting_instance_count = 7;getRebootingInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setRebootingInstanceCount(long value)
Number of instances rebooting.
int64 rebooting_instance_count = 7;value - The rebootingInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearRebootingInstanceCount()
Number of instances rebooting.
int64 rebooting_instance_count = 7;public long getSucceededInstanceCount()
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;getSucceededInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setSucceededInstanceCount(long value)
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;value - The succeededInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearSucceededInstanceCount()
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;public long getSucceededRebootRequiredInstanceCount()
Number of instances that require reboot.
int64 succeeded_reboot_required_instance_count = 9;getSucceededRebootRequiredInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setSucceededRebootRequiredInstanceCount(long value)
Number of instances that require reboot.
int64 succeeded_reboot_required_instance_count = 9;value - The succeededRebootRequiredInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearSucceededRebootRequiredInstanceCount()
Number of instances that require reboot.
int64 succeeded_reboot_required_instance_count = 9;public long getFailedInstanceCount()
Number of instances that failed.
int64 failed_instance_count = 10;getFailedInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setFailedInstanceCount(long value)
Number of instances that failed.
int64 failed_instance_count = 10;value - The failedInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearFailedInstanceCount()
Number of instances that failed.
int64 failed_instance_count = 10;public long getAckedInstanceCount()
Number of instances that have acked and will start shortly.
int64 acked_instance_count = 11;getAckedInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setAckedInstanceCount(long value)
Number of instances that have acked and will start shortly.
int64 acked_instance_count = 11;value - The ackedInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearAckedInstanceCount()
Number of instances that have acked and will start shortly.
int64 acked_instance_count = 11;public long getTimedOutInstanceCount()
Number of instances that exceeded the time out while applying the patch.
int64 timed_out_instance_count = 12;getTimedOutInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setTimedOutInstanceCount(long value)
Number of instances that exceeded the time out while applying the patch.
int64 timed_out_instance_count = 12;value - The timedOutInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearTimedOutInstanceCount()
Number of instances that exceeded the time out while applying the patch.
int64 timed_out_instance_count = 12;public long getPrePatchStepInstanceCount()
Number of instances that are running the pre-patch step.
int64 pre_patch_step_instance_count = 13;getPrePatchStepInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setPrePatchStepInstanceCount(long value)
Number of instances that are running the pre-patch step.
int64 pre_patch_step_instance_count = 13;value - The prePatchStepInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearPrePatchStepInstanceCount()
Number of instances that are running the pre-patch step.
int64 pre_patch_step_instance_count = 13;public long getPostPatchStepInstanceCount()
Number of instances that are running the post-patch step.
int64 post_patch_step_instance_count = 14;getPostPatchStepInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setPostPatchStepInstanceCount(long value)
Number of instances that are running the post-patch step.
int64 post_patch_step_instance_count = 14;value - The postPatchStepInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearPostPatchStepInstanceCount()
Number of instances that are running the post-patch step.
int64 post_patch_step_instance_count = 14;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;getNoAgentDetectedInstanceCount in interface PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilderpublic PatchJobs.PatchJob.InstanceDetailsSummary.Builder setNoAgentDetectedInstanceCount(long value)
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;value - The noAgentDetectedInstanceCount to set.public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearNoAgentDetectedInstanceCount()
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;public final PatchJobs.PatchJob.InstanceDetailsSummary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>public final PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>Copyright © 2024 Google LLC. All rights reserved.