Class GroupMaintenanceInfo (1.72.0)

public final class GroupMaintenanceInfo extends GeneratedMessageV3 implements GroupMaintenanceInfoOrBuilder

Maintenance Info for ReservationBlocks.

Protobuf type google.cloud.compute.v1.GroupMaintenanceInfo

Static Fields

MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER

public static final int MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_PENDING_COUNT_FIELD_NUMBER

public static final int MAINTENANCE_PENDING_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULING_TYPE_FIELD_NUMBER

public static final int SCHEDULING_TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPCOMING_GROUP_MAINTENANCE_FIELD_NUMBER

public static final int UPCOMING_GROUP_MAINTENANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GroupMaintenanceInfo getDefaultInstance()
Returns
Type Description
GroupMaintenanceInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GroupMaintenanceInfo.Builder newBuilder()
Returns
Type Description
GroupMaintenanceInfo.Builder

newBuilder(GroupMaintenanceInfo prototype)

public static GroupMaintenanceInfo.Builder newBuilder(GroupMaintenanceInfo prototype)
Parameter
Name Description
prototype GroupMaintenanceInfo
Returns
Type Description
GroupMaintenanceInfo.Builder

parseDelimitedFrom(InputStream input)

public static GroupMaintenanceInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroupMaintenanceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GroupMaintenanceInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GroupMaintenanceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GroupMaintenanceInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GroupMaintenanceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GroupMaintenanceInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GroupMaintenanceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GroupMaintenanceInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroupMaintenanceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GroupMaintenanceInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GroupMaintenanceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroupMaintenanceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GroupMaintenanceInfo> parser()
Returns
Type Description
Parser<GroupMaintenanceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GroupMaintenanceInfo getDefaultInstanceForType()
Returns
Type Description
GroupMaintenanceInfo

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.

getParserForType()

public Parser<GroupMaintenanceInfo> getParserForType()
Returns
Type Description
Parser<GroupMaintenanceInfo>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GroupMaintenanceInfo.Builder newBuilderForType()
Returns
Type Description
GroupMaintenanceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GroupMaintenanceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GroupMaintenanceInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GroupMaintenanceInfo.Builder toBuilder()
Returns
Type Description
GroupMaintenanceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException