public final class AllocationSpecificSKUReservation extends com.google.protobuf.GeneratedMessageV3 implements AllocationSpecificSKUReservationOrBuilder
This reservation type allows to pre allocate specific instance configuration. Next ID: 6Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUReservation| Modifier and Type | Class and Description |
|---|---|
static class |
AllocationSpecificSKUReservation.Builder
This reservation type allows to pre allocate specific instance configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASSURED_COUNT_FIELD_NUMBER |
static int |
COUNT_FIELD_NUMBER |
static int |
IN_USE_COUNT_FIELD_NUMBER |
static int |
INSTANCE_PROPERTIES_FIELD_NUMBER |
static int |
SOURCE_INSTANCE_TEMPLATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
|
long |
getCount()
Specifies the number of resources that are allocated.
|
static AllocationSpecificSKUReservation |
getDefaultInstance() |
AllocationSpecificSKUReservation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AllocationSpecificSKUAllocationReservedInstanceProperties |
getInstanceProperties()
The instance properties for the reservation.
|
AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder |
getInstancePropertiesOrBuilder()
The instance properties for the reservation.
|
long |
getInUseCount()
[Output Only] Indicates how many instances are in use.
|
com.google.protobuf.Parser<AllocationSpecificSKUReservation> |
getParserForType() |
int |
getSerializedSize() |
String |
getSourceInstanceTemplate()
Specifies the instance template to create the reservation.
|
com.google.protobuf.ByteString |
getSourceInstanceTemplateBytes()
Specifies the instance template to create the reservation.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
|
boolean |
hasCount()
Specifies the number of resources that are allocated.
|
int |
hashCode() |
boolean |
hasInstanceProperties()
The instance properties for the reservation.
|
boolean |
hasInUseCount()
[Output Only] Indicates how many instances are in use.
|
boolean |
hasSourceInstanceTemplate()
Specifies the instance template to create the reservation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AllocationSpecificSKUReservation.Builder |
newBuilder() |
static AllocationSpecificSKUReservation.Builder |
newBuilder(AllocationSpecificSKUReservation prototype) |
AllocationSpecificSKUReservation.Builder |
newBuilderForType() |
protected AllocationSpecificSKUReservation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AllocationSpecificSKUReservation |
parseDelimitedFrom(InputStream input) |
static AllocationSpecificSKUReservation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationSpecificSKUReservation |
parseFrom(byte[] data) |
static AllocationSpecificSKUReservation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationSpecificSKUReservation |
parseFrom(ByteBuffer data) |
static AllocationSpecificSKUReservation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationSpecificSKUReservation |
parseFrom(com.google.protobuf.ByteString data) |
static AllocationSpecificSKUReservation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationSpecificSKUReservation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AllocationSpecificSKUReservation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationSpecificSKUReservation |
parseFrom(InputStream input) |
static AllocationSpecificSKUReservation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AllocationSpecificSKUReservation> |
parser() |
AllocationSpecificSKUReservation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 ASSURED_COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int IN_USE_COUNT_FIELD_NUMBER
public static final int INSTANCE_PROPERTIES_FIELD_NUMBER
public static final int SOURCE_INSTANCE_TEMPLATE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 hasAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
optional int64 assured_count = 281197645;hasAssuredCount in interface AllocationSpecificSKUReservationOrBuilderpublic long getAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
optional int64 assured_count = 281197645;getAssuredCount in interface AllocationSpecificSKUReservationOrBuilderpublic boolean hasCount()
Specifies the number of resources that are allocated.
optional int64 count = 94851343;hasCount in interface AllocationSpecificSKUReservationOrBuilderpublic long getCount()
Specifies the number of resources that are allocated.
optional int64 count = 94851343;getCount in interface AllocationSpecificSKUReservationOrBuilderpublic boolean hasInUseCount()
[Output Only] Indicates how many instances are in use.
optional int64 in_use_count = 493458877;hasInUseCount in interface AllocationSpecificSKUReservationOrBuilderpublic long getInUseCount()
[Output Only] Indicates how many instances are in use.
optional int64 in_use_count = 493458877;getInUseCount in interface AllocationSpecificSKUReservationOrBuilderpublic boolean hasInstanceProperties()
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
hasInstanceProperties in interface AllocationSpecificSKUReservationOrBuilderpublic AllocationSpecificSKUAllocationReservedInstanceProperties getInstanceProperties()
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
getInstanceProperties in interface AllocationSpecificSKUReservationOrBuilderpublic AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder getInstancePropertiesOrBuilder()
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
getInstancePropertiesOrBuilder in interface AllocationSpecificSKUReservationOrBuilderpublic boolean hasSourceInstanceTemplate()
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
optional string source_instance_template = 332423616;hasSourceInstanceTemplate in interface AllocationSpecificSKUReservationOrBuilderpublic String getSourceInstanceTemplate()
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
optional string source_instance_template = 332423616;getSourceInstanceTemplate in interface AllocationSpecificSKUReservationOrBuilderpublic com.google.protobuf.ByteString getSourceInstanceTemplateBytes()
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
optional string source_instance_template = 332423616;getSourceInstanceTemplateBytes in interface AllocationSpecificSKUReservationOrBuilderpublic 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 AllocationSpecificSKUReservation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationSpecificSKUReservation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationSpecificSKUReservation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationSpecificSKUReservation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationSpecificSKUReservation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationSpecificSKUReservation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationSpecificSKUReservation parseFrom(InputStream input) throws IOException
IOExceptionpublic static AllocationSpecificSKUReservation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AllocationSpecificSKUReservation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AllocationSpecificSKUReservation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AllocationSpecificSKUReservation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AllocationSpecificSKUReservation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AllocationSpecificSKUReservation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AllocationSpecificSKUReservation.Builder newBuilder()
public static AllocationSpecificSKUReservation.Builder newBuilder(AllocationSpecificSKUReservation prototype)
public AllocationSpecificSKUReservation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AllocationSpecificSKUReservation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AllocationSpecificSKUReservation getDefaultInstance()
public static com.google.protobuf.Parser<AllocationSpecificSKUReservation> parser()
public com.google.protobuf.Parser<AllocationSpecificSKUReservation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AllocationSpecificSKUReservation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.