Package com.google.cloud.compute.v1
Class GroupMaintenanceInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroupMaintenanceInfo.Builder>
com.google.cloud.compute.v1.GroupMaintenanceInfo.Builder
- All Implemented Interfaces:
GroupMaintenanceInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroupMaintenanceInfo
public static final class GroupMaintenanceInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GroupMaintenanceInfo.Builder>
implements GroupMaintenanceInfoOrBuilder
Maintenance Info for ReservationBlocks.Protobuf type
google.cloud.compute.v1.GroupMaintenanceInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Describes number of instances that have ongoing maintenance.Describes number of instances that have pending maintenance.Progress for ongoing maintenance for this group of VMs/hosts.Progress for ongoing maintenance for this group of VMs/hosts.The type of maintenance for the reservation.Describes number of subblock Infrastructure that has ongoing maintenance.Describes number of subblock Infrastructure that has pending maintenance.Maintenance information on this group of VMs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintDescribes number of instances that have ongoing maintenance.intDescribes number of instances that have pending maintenance.intProgress for ongoing maintenance for this group of VMs/hosts.intProgress for ongoing maintenance for this group of VMs/hosts.The type of maintenance for the reservation.com.google.protobuf.ByteStringThe type of maintenance for the reservation.intDescribes number of subblock Infrastructure that has ongoing maintenance.intDescribes number of subblock Infrastructure that has pending maintenance.Maintenance information on this group of VMs.Maintenance information on this group of VMs.Maintenance information on this group of VMs.booleanDescribes number of instances that have ongoing maintenance.booleanDescribes number of instances that have pending maintenance.booleanProgress for ongoing maintenance for this group of VMs/hosts.booleanProgress for ongoing maintenance for this group of VMs/hosts.booleanThe type of maintenance for the reservation.booleanDescribes number of subblock Infrastructure that has ongoing maintenance.booleanDescribes number of subblock Infrastructure that has pending maintenance.booleanMaintenance information on this group of VMs.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GroupMaintenanceInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Maintenance information on this group of VMs.setInstanceMaintenanceOngoingCount(int value) Describes number of instances that have ongoing maintenance.setInstanceMaintenancePendingCount(int value) Describes number of instances that have pending maintenance.setMaintenanceOngoingCount(int value) Progress for ongoing maintenance for this group of VMs/hosts.setMaintenancePendingCount(int value) Progress for ongoing maintenance for this group of VMs/hosts.setSchedulingType(String value) The type of maintenance for the reservation.setSchedulingTypeBytes(com.google.protobuf.ByteString value) The type of maintenance for the reservation.setSubblockInfraMaintenanceOngoingCount(int value) Describes number of subblock Infrastructure that has ongoing maintenance.setSubblockInfraMaintenancePendingCount(int value) Describes number of subblock Infrastructure that has pending maintenance.Maintenance information on this group of VMs.setUpcomingGroupMaintenance(UpcomingMaintenance.Builder builderForValue) Maintenance information on this group of VMs.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<GroupMaintenanceInfo.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<GroupMaintenanceInfo.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<GroupMaintenanceInfo.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroupMaintenanceInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GroupMaintenanceInfo.Builder>
-
mergeFrom
public GroupMaintenanceInfo.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<GroupMaintenanceInfo.Builder>- Throws:
IOException
-
hasInstanceMaintenanceOngoingCount
public boolean hasInstanceMaintenanceOngoingCount()Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;- Specified by:
hasInstanceMaintenanceOngoingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the instanceMaintenanceOngoingCount field is set.
-
getInstanceMaintenanceOngoingCount
public int getInstanceMaintenanceOngoingCount()Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;- Specified by:
getInstanceMaintenanceOngoingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The instanceMaintenanceOngoingCount.
-
setInstanceMaintenanceOngoingCount
Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;- Parameters:
value- The instanceMaintenanceOngoingCount to set.- Returns:
- This builder for chaining.
-
clearInstanceMaintenanceOngoingCount
Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;- Returns:
- This builder for chaining.
-
hasInstanceMaintenancePendingCount
public boolean hasInstanceMaintenancePendingCount()Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;- Specified by:
hasInstanceMaintenancePendingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the instanceMaintenancePendingCount field is set.
-
getInstanceMaintenancePendingCount
public int getInstanceMaintenancePendingCount()Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;- Specified by:
getInstanceMaintenancePendingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The instanceMaintenancePendingCount.
-
setInstanceMaintenancePendingCount
Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;- Parameters:
value- The instanceMaintenancePendingCount to set.- Returns:
- This builder for chaining.
-
clearInstanceMaintenancePendingCount
Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;- Returns:
- This builder for chaining.
-
hasMaintenanceOngoingCount
public boolean hasMaintenanceOngoingCount()Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
optional int32 maintenance_ongoing_count = 219781919;- Specified by:
hasMaintenanceOngoingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the maintenanceOngoingCount field is set.
-
getMaintenanceOngoingCount
public int getMaintenanceOngoingCount()Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
optional int32 maintenance_ongoing_count = 219781919;- Specified by:
getMaintenanceOngoingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The maintenanceOngoingCount.
-
setMaintenanceOngoingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
optional int32 maintenance_ongoing_count = 219781919;- Parameters:
value- The maintenanceOngoingCount to set.- Returns:
- This builder for chaining.
-
clearMaintenanceOngoingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
optional int32 maintenance_ongoing_count = 219781919;- Returns:
- This builder for chaining.
-
hasMaintenancePendingCount
public boolean hasMaintenancePendingCount()Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.
optional int32 maintenance_pending_count = 158783547;- Specified by:
hasMaintenancePendingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the maintenancePendingCount field is set.
-
getMaintenancePendingCount
public int getMaintenancePendingCount()Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.
optional int32 maintenance_pending_count = 158783547;- Specified by:
getMaintenancePendingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The maintenancePendingCount.
-
setMaintenancePendingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.
optional int32 maintenance_pending_count = 158783547;- Parameters:
value- The maintenancePendingCount to set.- Returns:
- This builder for chaining.
-
clearMaintenancePendingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.
optional int32 maintenance_pending_count = 158783547;- Returns:
- This builder for chaining.
-
hasSchedulingType
public boolean hasSchedulingType()The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Specified by:
hasSchedulingTypein interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the schedulingType field is set.
-
getSchedulingType
The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Specified by:
getSchedulingTypein interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The schedulingType.
-
getSchedulingTypeBytes
public com.google.protobuf.ByteString getSchedulingTypeBytes()The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Specified by:
getSchedulingTypeBytesin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The bytes for schedulingType.
-
setSchedulingType
The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Parameters:
value- The schedulingType to set.- Returns:
- This builder for chaining.
-
clearSchedulingType
The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Returns:
- This builder for chaining.
-
setSchedulingTypeBytes
The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Parameters:
value- The bytes for schedulingType to set.- Returns:
- This builder for chaining.
-
hasSubblockInfraMaintenanceOngoingCount
public boolean hasSubblockInfraMaintenanceOngoingCount()Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_ongoing_count = 366161790;- Specified by:
hasSubblockInfraMaintenanceOngoingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the subblockInfraMaintenanceOngoingCount field is set.
-
getSubblockInfraMaintenanceOngoingCount
public int getSubblockInfraMaintenanceOngoingCount()Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_ongoing_count = 366161790;- Specified by:
getSubblockInfraMaintenanceOngoingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The subblockInfraMaintenanceOngoingCount.
-
setSubblockInfraMaintenanceOngoingCount
Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_ongoing_count = 366161790;- Parameters:
value- The subblockInfraMaintenanceOngoingCount to set.- Returns:
- This builder for chaining.
-
clearSubblockInfraMaintenanceOngoingCount
Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_ongoing_count = 366161790;- Returns:
- This builder for chaining.
-
hasSubblockInfraMaintenancePendingCount
public boolean hasSubblockInfraMaintenancePendingCount()Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_pending_count = 305163418;- Specified by:
hasSubblockInfraMaintenancePendingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the subblockInfraMaintenancePendingCount field is set.
-
getSubblockInfraMaintenancePendingCount
public int getSubblockInfraMaintenancePendingCount()Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_pending_count = 305163418;- Specified by:
getSubblockInfraMaintenancePendingCountin interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The subblockInfraMaintenancePendingCount.
-
setSubblockInfraMaintenancePendingCount
Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_pending_count = 305163418;- Parameters:
value- The subblockInfraMaintenancePendingCount to set.- Returns:
- This builder for chaining.
-
clearSubblockInfraMaintenancePendingCount
Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
optional int32 subblock_infra_maintenance_pending_count = 305163418;- Returns:
- This builder for chaining.
-
hasUpcomingGroupMaintenance
public boolean hasUpcomingGroupMaintenance()Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;- Specified by:
hasUpcomingGroupMaintenancein interfaceGroupMaintenanceInfoOrBuilder- Returns:
- Whether the upcomingGroupMaintenance field is set.
-
getUpcomingGroupMaintenance
Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;- Specified by:
getUpcomingGroupMaintenancein interfaceGroupMaintenanceInfoOrBuilder- Returns:
- The upcomingGroupMaintenance.
-
setUpcomingGroupMaintenance
Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448; -
setUpcomingGroupMaintenance
public GroupMaintenanceInfo.Builder setUpcomingGroupMaintenance(UpcomingMaintenance.Builder builderForValue) Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448; -
mergeUpcomingGroupMaintenance
Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448; -
clearUpcomingGroupMaintenance
Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448; -
getUpcomingGroupMaintenanceBuilder
Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448; -
getUpcomingGroupMaintenanceOrBuilder
Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;- Specified by:
getUpcomingGroupMaintenanceOrBuilderin interfaceGroupMaintenanceInfoOrBuilder
-