public final class ReservationBlock extends com.google.protobuf.GeneratedMessageV3 implements ReservationBlockOrBuilder
Represents a reservation block resource.Protobuf type
google.cloud.compute.v1.ReservationBlock| Modifier and Type | Class and Description |
|---|---|
static class |
ReservationBlock.Builder
Represents a reservation block resource.
|
static class |
ReservationBlock.Status
[Output Only] Status of the reservation block.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
IN_USE_COUNT_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PHYSICAL_TOPOLOGY_FIELD_NUMBER |
static int |
RESERVATION_MAINTENANCE_FIELD_NUMBER |
static int |
RESERVATION_SUB_BLOCK_COUNT_FIELD_NUMBER |
static int |
RESERVATION_SUB_BLOCK_IN_USE_COUNT_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SELF_LINK_WITH_ID_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCount()
[Output Only] The number of resources that are allocated in this reservation block.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static ReservationBlock |
getDefaultInstance() |
ReservationBlock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
[Output Only] The unique identifier for the resource.
|
int |
getInUseCount()
[Output Only] The number of instances that are currently in use on this reservation block.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] The name of this reservation block generated by Google Compute Engine.
|
com.google.protobuf.ByteString |
getNameBytes()
[Output Only] The name of this reservation block generated by Google Compute Engine.
|
com.google.protobuf.Parser<ReservationBlock> |
getParserForType() |
ReservationBlockPhysicalTopology |
getPhysicalTopology()
[Output Only] The physical topology of the reservation block.
|
ReservationBlockPhysicalTopologyOrBuilder |
getPhysicalTopologyOrBuilder()
[Output Only] The physical topology of the reservation block.
|
GroupMaintenanceInfo |
getReservationMaintenance()
[Output Only] Maintenance information for this reservation block.
|
GroupMaintenanceInfoOrBuilder |
getReservationMaintenanceOrBuilder()
[Output Only] Maintenance information for this reservation block.
|
int |
getReservationSubBlockCount()
[Output Only] The number of reservation subBlocks associated with this reservation block.
|
int |
getReservationSubBlockInUseCount()
[Output Only] The number of in-use reservation subBlocks associated with this reservation block.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
com.google.protobuf.ByteString |
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
|
int |
getSerializedSize() |
String |
getStatus()
[Output Only] Status of the reservation block.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] Status of the reservation block.
|
String |
getZone()
[Output Only] Zone in which the reservation block resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] Zone in which the reservation block resides.
|
boolean |
hasCount()
[Output Only] The number of resources that are allocated in this reservation block.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasInUseCount()
[Output Only] The number of instances that are currently in use on this reservation block.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
[Output Only] The name of this reservation block generated by Google Compute Engine.
|
boolean |
hasPhysicalTopology()
[Output Only] The physical topology of the reservation block.
|
boolean |
hasReservationMaintenance()
[Output Only] Maintenance information for this reservation block.
|
boolean |
hasReservationSubBlockCount()
[Output Only] The number of reservation subBlocks associated with this reservation block.
|
boolean |
hasReservationSubBlockInUseCount()
[Output Only] The number of in-use reservation subBlocks associated with this reservation block.
|
boolean |
hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
boolean |
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
boolean |
hasStatus()
[Output Only] Status of the reservation block.
|
boolean |
hasZone()
[Output Only] Zone in which the reservation block resides.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReservationBlock.Builder |
newBuilder() |
static ReservationBlock.Builder |
newBuilder(ReservationBlock prototype) |
ReservationBlock.Builder |
newBuilderForType() |
protected ReservationBlock.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReservationBlock |
parseDelimitedFrom(InputStream input) |
static ReservationBlock |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReservationBlock |
parseFrom(byte[] data) |
static ReservationBlock |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReservationBlock |
parseFrom(ByteBuffer data) |
static ReservationBlock |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReservationBlock |
parseFrom(com.google.protobuf.ByteString data) |
static ReservationBlock |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReservationBlock |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReservationBlock |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReservationBlock |
parseFrom(InputStream input) |
static ReservationBlock |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReservationBlock> |
parser() |
ReservationBlock.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COUNT_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int IN_USE_COUNT_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int PHYSICAL_TOPOLOGY_FIELD_NUMBER
public static final int RESERVATION_MAINTENANCE_FIELD_NUMBER
public static final int RESERVATION_SUB_BLOCK_COUNT_FIELD_NUMBER
public static final int RESERVATION_SUB_BLOCK_IN_USE_COUNT_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCount()
[Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;hasCount in interface ReservationBlockOrBuilderpublic int getCount()
[Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;getCount in interface ReservationBlockOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ReservationBlockOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ReservationBlockOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface ReservationBlockOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface ReservationBlockOrBuilderpublic boolean hasInUseCount()
[Output Only] The number of instances that are currently in use on this reservation block.
optional int32 in_use_count = 493458877;hasInUseCount in interface ReservationBlockOrBuilderpublic int getInUseCount()
[Output Only] The number of instances that are currently in use on this reservation block.
optional int32 in_use_count = 493458877;getInUseCount in interface ReservationBlockOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.
optional string kind = 3292052;hasKind in interface ReservationBlockOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.
optional string kind = 3292052;getKind in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.
optional string kind = 3292052;getKindBytes in interface ReservationBlockOrBuilderpublic boolean hasName()
[Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
optional string name = 3373707;hasName in interface ReservationBlockOrBuilderpublic String getName()
[Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
optional string name = 3373707;getName in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
optional string name = 3373707;getNameBytes in interface ReservationBlockOrBuilderpublic boolean hasPhysicalTopology()
[Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
hasPhysicalTopology in interface ReservationBlockOrBuilderpublic ReservationBlockPhysicalTopology getPhysicalTopology()
[Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
getPhysicalTopology in interface ReservationBlockOrBuilderpublic ReservationBlockPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()
[Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
getPhysicalTopologyOrBuilder in interface ReservationBlockOrBuilderpublic boolean hasReservationMaintenance()
[Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
hasReservationMaintenance in interface ReservationBlockOrBuilderpublic GroupMaintenanceInfo getReservationMaintenance()
[Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
getReservationMaintenance in interface ReservationBlockOrBuilderpublic GroupMaintenanceInfoOrBuilder getReservationMaintenanceOrBuilder()
[Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
getReservationMaintenanceOrBuilder in interface ReservationBlockOrBuilderpublic boolean hasReservationSubBlockCount()
[Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;hasReservationSubBlockCount in interface ReservationBlockOrBuilderpublic int getReservationSubBlockCount()
[Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;getReservationSubBlockCount in interface ReservationBlockOrBuilderpublic boolean hasReservationSubBlockInUseCount()
[Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
optional int32 reservation_sub_block_in_use_count = 186007137;hasReservationSubBlockInUseCount in interface ReservationBlockOrBuilderpublic int getReservationSubBlockInUseCount()
[Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
optional int32 reservation_sub_block_in_use_count = 186007137;getReservationSubBlockInUseCount in interface ReservationBlockOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface ReservationBlockOrBuilderpublic String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLink in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ReservationBlockOrBuilderpublic boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;hasSelfLinkWithId in interface ReservationBlockOrBuilderpublic String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithId in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithIdBytes in interface ReservationBlockOrBuilderpublic boolean hasStatus()
[Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface ReservationBlockOrBuilderpublic String getStatus()
[Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface ReservationBlockOrBuilderpublic boolean hasZone()
[Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;hasZone in interface ReservationBlockOrBuilderpublic String getZone()
[Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;getZone in interface ReservationBlockOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;getZoneBytes in interface ReservationBlockOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReservationBlock parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReservationBlock parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReservationBlock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReservationBlock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReservationBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReservationBlock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReservationBlock parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReservationBlock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReservationBlock parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReservationBlock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReservationBlock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReservationBlock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReservationBlock.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReservationBlock.Builder newBuilder()
public static ReservationBlock.Builder newBuilder(ReservationBlock prototype)
public ReservationBlock.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReservationBlock.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReservationBlock getDefaultInstance()
public static com.google.protobuf.Parser<ReservationBlock> parser()
public com.google.protobuf.Parser<ReservationBlock> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReservationBlock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.