- 1.70.0 (latest)
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class GroupMaintenanceInfo.Builder extends GeneratedMessageV3.Builder<GroupMaintenanceInfo.Builder> implements GroupMaintenanceInfoOrBuilder
Maintenance 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 |
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. |
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 |
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. |
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 |
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. |
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 |
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 |
int The 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 |
int The 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 |
String The 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 |
ByteString The bytes for schedulingType 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 |