public static final class GroupMaintenanceInfo.Builder extends GeneratedMessageV3.Builder<GroupMaintenanceInfo.Builder> implements GroupMaintenanceInfoOrBuilderMaintenance Info for ReservationBlocks.
Protobuf type google.cloud.compute.v1.GroupMaintenanceInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GroupMaintenanceInfo.BuilderImplements
GroupMaintenanceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GroupMaintenanceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
build()
public GroupMaintenanceInfo build()| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo |
|
buildPartial()
public GroupMaintenanceInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo |
|
clear()
public GroupMaintenanceInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public GroupMaintenanceInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
clearInstanceMaintenanceOngoingCount()
public GroupMaintenanceInfo.Builder clearInstanceMaintenanceOngoingCount()Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearInstanceMaintenancePendingCount()
public GroupMaintenanceInfo.Builder clearInstanceMaintenancePendingCount()Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearMaintenanceOngoingCount()
public GroupMaintenanceInfo.Builder 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 | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearMaintenancePendingCount()
public GroupMaintenanceInfo.Builder 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 | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GroupMaintenanceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
clearSchedulingType()
public GroupMaintenanceInfo.Builder clearSchedulingType()The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearSubblockInfraMaintenanceOngoingCount()
public GroupMaintenanceInfo.Builder 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 | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearSubblockInfraMaintenancePendingCount()
public GroupMaintenanceInfo.Builder 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 | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
clearUpcomingGroupMaintenance()
public GroupMaintenanceInfo.Builder clearUpcomingGroupMaintenance()Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
clone()
public GroupMaintenanceInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
getDefaultInstanceForType()
public GroupMaintenanceInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstanceMaintenanceOngoingCount()
public int getInstanceMaintenanceOngoingCount()Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;
| Returns | |
|---|---|
| Type | Description |
int |
The instanceMaintenanceOngoingCount. |
getInstanceMaintenancePendingCount()
public int getInstanceMaintenancePendingCount()Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;
| Returns | |
|---|---|
| Type | Description |
int |
The instanceMaintenancePendingCount. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The maintenanceOngoingCount. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The maintenancePendingCount. |
getSchedulingType()
public String getSchedulingType()The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Returns | |
|---|---|
| Type | Description |
String |
The schedulingType. |
getSchedulingTypeBytes()
public ByteString getSchedulingTypeBytes()The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for schedulingType. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The subblockInfraMaintenanceOngoingCount. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The subblockInfraMaintenancePendingCount. |
getUpcomingGroupMaintenance()
public UpcomingMaintenance getUpcomingGroupMaintenance()Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance |
The upcomingGroupMaintenance. |
getUpcomingGroupMaintenanceBuilder()
public UpcomingMaintenance.Builder getUpcomingGroupMaintenanceBuilder()Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
|
getUpcomingGroupMaintenanceOrBuilder()
public UpcomingMaintenanceOrBuilder getUpcomingGroupMaintenanceOrBuilder()Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenanceOrBuilder |
|
hasInstanceMaintenanceOngoingCount()
public boolean hasInstanceMaintenanceOngoingCount()Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceMaintenanceOngoingCount field is set. |
hasInstanceMaintenancePendingCount()
public boolean hasInstanceMaintenancePendingCount()Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceMaintenancePendingCount field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maintenanceOngoingCount field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maintenancePendingCount field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schedulingType field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the subblockInfraMaintenanceOngoingCount field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the subblockInfraMaintenancePendingCount field is set. |
hasUpcomingGroupMaintenance()
public boolean hasUpcomingGroupMaintenance()Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the upcomingGroupMaintenance field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GroupMaintenanceInfo other)
public GroupMaintenanceInfo.Builder mergeFrom(GroupMaintenanceInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
GroupMaintenanceInfo |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GroupMaintenanceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GroupMaintenanceInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GroupMaintenanceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
mergeUpcomingGroupMaintenance(UpcomingMaintenance value)
public GroupMaintenanceInfo.Builder mergeUpcomingGroupMaintenance(UpcomingMaintenance value)Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Parameter | |
|---|---|
| Name | Description |
value |
UpcomingMaintenance |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public GroupMaintenanceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
setInstanceMaintenanceOngoingCount(int value)
public GroupMaintenanceInfo.Builder setInstanceMaintenanceOngoingCount(int value)Describes number of instances that have ongoing maintenance.
optional int32 instance_maintenance_ongoing_count = 137611253;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe instanceMaintenanceOngoingCount to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setInstanceMaintenancePendingCount(int value)
public GroupMaintenanceInfo.Builder setInstanceMaintenancePendingCount(int value)Describes number of instances that have pending maintenance.
optional int32 instance_maintenance_pending_count = 76612881;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe instanceMaintenancePendingCount to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setMaintenanceOngoingCount(int value)
public GroupMaintenanceInfo.Builder setMaintenanceOngoingCount(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maintenanceOngoingCount to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setMaintenancePendingCount(int value)
public GroupMaintenanceInfo.Builder setMaintenancePendingCount(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maintenancePendingCount to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GroupMaintenanceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
setSchedulingType(String value)
public GroupMaintenanceInfo.Builder setSchedulingType(String value)The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe schedulingType to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setSchedulingTypeBytes(ByteString value)
public GroupMaintenanceInfo.Builder setSchedulingTypeBytes(ByteString value)The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for schedulingType to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setSubblockInfraMaintenanceOngoingCount(int value)
public GroupMaintenanceInfo.Builder setSubblockInfraMaintenanceOngoingCount(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe subblockInfraMaintenanceOngoingCount to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setSubblockInfraMaintenancePendingCount(int value)
public GroupMaintenanceInfo.Builder setSubblockInfraMaintenancePendingCount(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe subblockInfraMaintenancePendingCount to set. |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GroupMaintenanceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
setUpcomingGroupMaintenance(UpcomingMaintenance value)
public GroupMaintenanceInfo.Builder setUpcomingGroupMaintenance(UpcomingMaintenance value)Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Parameter | |
|---|---|
| Name | Description |
value |
UpcomingMaintenance |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|
setUpcomingGroupMaintenance(UpcomingMaintenance.Builder builderForValue)
public GroupMaintenanceInfo.Builder setUpcomingGroupMaintenance(UpcomingMaintenance.Builder builderForValue)Maintenance information on this group of VMs.
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UpcomingMaintenance.Builder |
| Returns | |
|---|---|
| Type | Description |
GroupMaintenanceInfo.Builder |
|