Send feedback
Class FutureReservation.SpecificSKUProperties.Builder (0.1.0)
public static final class FutureReservation . SpecificSKUProperties . Builder extends GeneratedMessageV3 . Builder<FutureReservation . SpecificSKUProperties . Builder > implements FutureReservation . SpecificSKUPropertiesOrBuilder
Represents specific SKU properties for the Future Reservation.
Protobuf type
google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation . SpecificSKUProperties . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public FutureReservation . SpecificSKUProperties build ()
buildPartial()
public FutureReservation . SpecificSKUProperties buildPartial ()
clear()
public FutureReservation . SpecificSKUProperties . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FutureReservation . SpecificSKUProperties . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInstanceProperties()
public FutureReservation . SpecificSKUProperties . Builder clearInstanceProperties ()
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureReservation . SpecificSKUProperties . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearTotalCount()
public FutureReservation . SpecificSKUProperties . Builder clearTotalCount ()
Total number of instances for which capacity assurance is requested at a
future time period.
int64 total_count = 2;
clone()
public FutureReservation . SpecificSKUProperties . Builder clone ()
Overrides
getDefaultInstanceForType()
public FutureReservation . SpecificSKUProperties getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getInstanceProperties()
public Allocation . SpecificSKUAllocation . AllocatedInstanceProperties getInstanceProperties ()
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
getInstancePropertiesBuilder()
public Allocation . SpecificSKUAllocation . AllocatedInstanceProperties . Builder getInstancePropertiesBuilder ()
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
getInstancePropertiesOrBuilder()
public Allocation . SpecificSKUAllocation . AllocatedInstancePropertiesOrBuilder getInstancePropertiesOrBuilder ()
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
getTotalCount()
public long getTotalCount ()
Total number of instances for which capacity assurance is requested at a
future time period.
int64 total_count = 2;
Returns
Type
Description
long
The totalCount.
hasInstanceProperties()
public boolean hasInstanceProperties ()
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
Returns
Type
Description
boolean
Whether the instanceProperties field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(FutureReservation.SpecificSKUProperties other)
public FutureReservation . SpecificSKUProperties . Builder mergeFrom ( FutureReservation . SpecificSKUProperties other )
public FutureReservation . SpecificSKUProperties . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public FutureReservation . SpecificSKUProperties . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeInstanceProperties(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties value)
public FutureReservation . SpecificSKUProperties . Builder mergeInstanceProperties ( Allocation . SpecificSKUAllocation . AllocatedInstanceProperties value )
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation . SpecificSKUProperties . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation . SpecificSKUProperties . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setInstanceProperties(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties value)
public FutureReservation . SpecificSKUProperties . Builder setInstanceProperties ( Allocation . SpecificSKUAllocation . AllocatedInstanceProperties value )
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
setInstanceProperties(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder builderForValue)
public FutureReservation . SpecificSKUProperties . Builder setInstanceProperties ( Allocation . SpecificSKUAllocation . AllocatedInstanceProperties . Builder builderForValue )
Properties of the SKU instances being reserved.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureReservation . SpecificSKUProperties . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTotalCount(long value)
public FutureReservation . SpecificSKUProperties . Builder setTotalCount ( long value )
Total number of instances for which capacity assurance is requested at a
future time period.
int64 total_count = 2;
Parameter
Name
Description
value
long The totalCount to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation . SpecificSKUProperties . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]