Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchJob.InstanceDetailsSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
- All Implemented Interfaces:
PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PatchJobs.PatchJob.InstanceDetailsSummary
public static final class PatchJobs.PatchJob.InstanceDetailsSummary.Builder
extends com.google.protobuf.GeneratedMessage.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.v1beta.PatchJob.InstanceDetailsSummary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Number of instances that have acked and will start shortly.Number of instances that are applying patches.Number of instances that are downloading patches.Number of instances that failed.Number of instances that are inactive.Number of instances that do not appear to be running the agent.Number of instances notified about patch job.Number of instances pending patch job.Number of instances that are running the post-patch step.Number of instances that are running the pre-patch step.Number of instances rebooting.Number of instances that have started.Number of instances that have completed successfully.Number of instances that require reboot.Number of instances that exceeded the time out while applying the patch.longNumber of instances that have acked and will start shortly.longNumber of instances that are applying patches.static final com.google.protobuf.Descriptors.Descriptorcom.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.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.longNumber 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAckedInstanceCount(long value) Number of instances that have acked and will start shortly.setApplyingPatchesInstanceCount(long value) Number of instances that are applying patches.setDownloadingPatchesInstanceCount(long value) Number of instances that are downloading patches.setFailedInstanceCount(long value) Number of instances that failed.setInactiveInstanceCount(long value) Number of instances that are inactive.setNoAgentDetectedInstanceCount(long value) Number of instances that do not appear to be running the agent.setNotifiedInstanceCount(long value) Number of instances notified about patch job.setPendingInstanceCount(long value) Number of instances pending patch job.setPostPatchStepInstanceCount(long value) Number of instances that are running the post-patch step.setPrePatchStepInstanceCount(long value) Number of instances that are running the pre-patch step.setRebootingInstanceCount(long value) Number of instances rebooting.setStartedInstanceCount(long value) Number of instances that have started.setSucceededInstanceCount(long value) Number of instances that have completed successfully.setSucceededRebootRequiredInstanceCount(long value) Number of instances that require reboot.setTimedOutInstanceCount(long value) Number of instances that exceeded the time out while applying the patch.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>
-
mergeFrom
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeFrom(PatchJobs.PatchJob.InstanceDetailsSummary other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>
-
mergeFrom
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder>- Throws:
IOException
-
getPendingInstanceCount
public long getPendingInstanceCount()Number of instances pending patch job.
int64 pending_instance_count = 1;- Specified by:
getPendingInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The pendingInstanceCount.
-
setPendingInstanceCount
Number of instances pending patch job.
int64 pending_instance_count = 1;- Parameters:
value- The pendingInstanceCount to set.- Returns:
- This builder for chaining.
-
clearPendingInstanceCount
Number of instances pending patch job.
int64 pending_instance_count = 1;- Returns:
- This builder for chaining.
-
getInactiveInstanceCount
public long getInactiveInstanceCount()Number of instances that are inactive.
int64 inactive_instance_count = 2;- Specified by:
getInactiveInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The inactiveInstanceCount.
-
setInactiveInstanceCount
Number of instances that are inactive.
int64 inactive_instance_count = 2;- Parameters:
value- The inactiveInstanceCount to set.- Returns:
- This builder for chaining.
-
clearInactiveInstanceCount
Number of instances that are inactive.
int64 inactive_instance_count = 2;- Returns:
- This builder for chaining.
-
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.
-
setNotifiedInstanceCount
Number of instances notified about patch job.
int64 notified_instance_count = 3;- Parameters:
value- The notifiedInstanceCount to set.- Returns:
- This builder for chaining.
-
clearNotifiedInstanceCount
Number of instances notified about patch job.
int64 notified_instance_count = 3;- Returns:
- This builder for chaining.
-
getStartedInstanceCount
public long getStartedInstanceCount()Number of instances that have started.
int64 started_instance_count = 4;- Specified by:
getStartedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The startedInstanceCount.
-
setStartedInstanceCount
Number of instances that have started.
int64 started_instance_count = 4;- Parameters:
value- The startedInstanceCount to set.- Returns:
- This builder for chaining.
-
clearStartedInstanceCount
Number of instances that have started.
int64 started_instance_count = 4;- Returns:
- This builder for chaining.
-
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.
-
setDownloadingPatchesInstanceCount
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder setDownloadingPatchesInstanceCount(long value) Number of instances that are downloading patches.
int64 downloading_patches_instance_count = 5;- Parameters:
value- The downloadingPatchesInstanceCount to set.- Returns:
- This builder for chaining.
-
clearDownloadingPatchesInstanceCount
Number of instances that are downloading patches.
int64 downloading_patches_instance_count = 5;- Returns:
- This builder for chaining.
-
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.
-
setApplyingPatchesInstanceCount
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder setApplyingPatchesInstanceCount(long value) Number of instances that are applying patches.
int64 applying_patches_instance_count = 6;- Parameters:
value- The applyingPatchesInstanceCount to set.- Returns:
- This builder for chaining.
-
clearApplyingPatchesInstanceCount
Number of instances that are applying patches.
int64 applying_patches_instance_count = 6;- Returns:
- This builder for chaining.
-
getRebootingInstanceCount
public long getRebootingInstanceCount()Number of instances rebooting.
int64 rebooting_instance_count = 7;- Specified by:
getRebootingInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The rebootingInstanceCount.
-
setRebootingInstanceCount
Number of instances rebooting.
int64 rebooting_instance_count = 7;- Parameters:
value- The rebootingInstanceCount to set.- Returns:
- This builder for chaining.
-
clearRebootingInstanceCount
Number of instances rebooting.
int64 rebooting_instance_count = 7;- Returns:
- This builder for chaining.
-
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.
-
setSucceededInstanceCount
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;- Parameters:
value- The succeededInstanceCount to set.- Returns:
- This builder for chaining.
-
clearSucceededInstanceCount
Number of instances that have completed successfully.
int64 succeeded_instance_count = 8;- Returns:
- This builder for chaining.
-
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.
-
setSucceededRebootRequiredInstanceCount
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder setSucceededRebootRequiredInstanceCount(long value) Number of instances that require reboot.
int64 succeeded_reboot_required_instance_count = 9;- Parameters:
value- The succeededRebootRequiredInstanceCount to set.- Returns:
- This builder for chaining.
-
clearSucceededRebootRequiredInstanceCount
public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearSucceededRebootRequiredInstanceCount()Number of instances that require reboot.
int64 succeeded_reboot_required_instance_count = 9;- Returns:
- This builder for chaining.
-
getFailedInstanceCount
public long getFailedInstanceCount()Number of instances that failed.
int64 failed_instance_count = 10;- Specified by:
getFailedInstanceCountin interfacePatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder- Returns:
- The failedInstanceCount.
-
setFailedInstanceCount
Number of instances that failed.
int64 failed_instance_count = 10;- Parameters:
value- The failedInstanceCount to set.- Returns:
- This builder for chaining.
-
clearFailedInstanceCount
Number of instances that failed.
int64 failed_instance_count = 10;- Returns:
- This builder for chaining.
-
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.
-
setAckedInstanceCount
Number of instances that have acked and will start shortly.
int64 acked_instance_count = 11;- Parameters:
value- The ackedInstanceCount to set.- Returns:
- This builder for chaining.
-
clearAckedInstanceCount
Number of instances that have acked and will start shortly.
int64 acked_instance_count = 11;- Returns:
- This builder for chaining.
-
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.
-
setTimedOutInstanceCount
Number of instances that exceeded the time out while applying the patch.
int64 timed_out_instance_count = 12;- Parameters:
value- The timedOutInstanceCount to set.- Returns:
- This builder for chaining.
-
clearTimedOutInstanceCount
Number of instances that exceeded the time out while applying the patch.
int64 timed_out_instance_count = 12;- Returns:
- This builder for chaining.
-
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.
-
setPrePatchStepInstanceCount
Number of instances that are running the pre-patch step.
int64 pre_patch_step_instance_count = 13;- Parameters:
value- The prePatchStepInstanceCount to set.- Returns:
- This builder for chaining.
-
clearPrePatchStepInstanceCount
Number of instances that are running the pre-patch step.
int64 pre_patch_step_instance_count = 13;- Returns:
- This builder for chaining.
-
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.
-
setPostPatchStepInstanceCount
Number of instances that are running the post-patch step.
int64 post_patch_step_instance_count = 14;- Parameters:
value- The postPatchStepInstanceCount to set.- Returns:
- This builder for chaining.
-
clearPostPatchStepInstanceCount
Number of instances that are running the post-patch step.
int64 post_patch_step_instance_count = 14;- Returns:
- This builder for chaining.
-
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.
-
setNoAgentDetectedInstanceCount
public 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;- Parameters:
value- The noAgentDetectedInstanceCount to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-