public static final class AllocationSpecificSKUReservation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder> implements AllocationSpecificSKUReservationOrBuilder
This reservation type allows to pre allocate specific instance configuration. Next ID: 6Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUReservation| Modifier and Type | Method and Description |
|---|---|
AllocationSpecificSKUReservation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocationSpecificSKUReservation |
build() |
AllocationSpecificSKUReservation |
buildPartial() |
AllocationSpecificSKUReservation.Builder |
clear() |
AllocationSpecificSKUReservation.Builder |
clearAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
|
AllocationSpecificSKUReservation.Builder |
clearCount()
Specifies the number of resources that are allocated.
|
AllocationSpecificSKUReservation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AllocationSpecificSKUReservation.Builder |
clearInstanceProperties()
The instance properties for the reservation.
|
AllocationSpecificSKUReservation.Builder |
clearInUseCount()
[Output Only] Indicates how many instances are in use.
|
AllocationSpecificSKUReservation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocationSpecificSKUReservation.Builder |
clearSourceInstanceTemplate()
Specifies the instance template to create the reservation.
|
AllocationSpecificSKUReservation.Builder |
clone() |
long |
getAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
|
long |
getCount()
Specifies the number of resources that are allocated.
|
AllocationSpecificSKUReservation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AllocationSpecificSKUAllocationReservedInstanceProperties |
getInstanceProperties()
The instance properties for the reservation.
|
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
getInstancePropertiesBuilder()
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.
|
String |
getSourceInstanceTemplate()
Specifies the instance template to create the reservation.
|
com.google.protobuf.ByteString |
getSourceInstanceTemplateBytes()
Specifies the instance template to create the reservation.
|
boolean |
hasAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
|
boolean |
hasCount()
Specifies the number of resources that are allocated.
|
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() |
AllocationSpecificSKUReservation.Builder |
mergeFrom(AllocationSpecificSKUReservation other) |
AllocationSpecificSKUReservation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocationSpecificSKUReservation.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocationSpecificSKUReservation.Builder |
mergeInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties value)
The instance properties for the reservation.
|
AllocationSpecificSKUReservation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AllocationSpecificSKUReservation.Builder |
setAssuredCount(long value)
[Output Only] Indicates how many instances are actually usable currently.
|
AllocationSpecificSKUReservation.Builder |
setCount(long value)
Specifies the number of resources that are allocated.
|
AllocationSpecificSKUReservation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocationSpecificSKUReservation.Builder |
setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties.Builder builderForValue)
The instance properties for the reservation.
|
AllocationSpecificSKUReservation.Builder |
setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties value)
The instance properties for the reservation.
|
AllocationSpecificSKUReservation.Builder |
setInUseCount(long value)
[Output Only] Indicates how many instances are in use.
|
AllocationSpecificSKUReservation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocationSpecificSKUReservation.Builder |
setSourceInstanceTemplate(String value)
Specifies the instance template to create the reservation.
|
AllocationSpecificSKUReservation.Builder |
setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value)
Specifies the instance template to create the reservation.
|
AllocationSpecificSKUReservation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocationSpecificSKUReservation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocationSpecificSKUReservation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocationSpecificSKUReservation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder mergeFrom(AllocationSpecificSKUReservation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public AllocationSpecificSKUReservation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocationSpecificSKUReservation.Builder>IOExceptionpublic 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 AllocationSpecificSKUReservation.Builder setAssuredCount(long value)
[Output Only] Indicates how many instances are actually usable currently.
optional int64 assured_count = 281197645;value - The assuredCount to set.public AllocationSpecificSKUReservation.Builder clearAssuredCount()
[Output Only] Indicates how many instances are actually usable currently.
optional int64 assured_count = 281197645;public 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 AllocationSpecificSKUReservation.Builder setCount(long value)
Specifies the number of resources that are allocated.
optional int64 count = 94851343;value - The count to set.public AllocationSpecificSKUReservation.Builder clearCount()
Specifies the number of resources that are allocated.
optional int64 count = 94851343;public 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 AllocationSpecificSKUReservation.Builder setInUseCount(long value)
[Output Only] Indicates how many instances are in use.
optional int64 in_use_count = 493458877;value - The inUseCount to set.public AllocationSpecificSKUReservation.Builder clearInUseCount()
[Output Only] Indicates how many instances are in use.
optional int64 in_use_count = 493458877;public 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 AllocationSpecificSKUReservation.Builder setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties value)
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
public AllocationSpecificSKUReservation.Builder setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties.Builder builderForValue)
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
public AllocationSpecificSKUReservation.Builder mergeInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties value)
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
public AllocationSpecificSKUReservation.Builder clearInstanceProperties()
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder getInstancePropertiesBuilder()
The instance properties for the reservation.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
public 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 AllocationSpecificSKUReservation.Builder setSourceInstanceTemplate(String value)
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;value - The sourceInstanceTemplate to set.public AllocationSpecificSKUReservation.Builder clearSourceInstanceTemplate()
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;public AllocationSpecificSKUReservation.Builder setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value)
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;value - The bytes for sourceInstanceTemplate to set.public final AllocationSpecificSKUReservation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>public final AllocationSpecificSKUReservation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUReservation.Builder>Copyright © 2023 Google LLC. All rights reserved.