Package com.google.cloud.compute.v1
Class FutureReservationSpecificSKUProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
com.google.cloud.compute.v1.FutureReservationSpecificSKUProperties.Builder
- All Implemented Interfaces:
FutureReservationSpecificSKUPropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureReservationSpecificSKUProperties
public static final class FutureReservationSpecificSKUProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
implements FutureReservationSpecificSKUPropertiesOrBuilder
Protobuf type
google.cloud.compute.v1.FutureReservationSpecificSKUProperties-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Properties of the SKU instances being reserved.The instance template that will be used to populate the ReservedInstanceProperties of the future reservationTotal number of instances for which capacity assurance is requested at a future time period.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorProperties of the SKU instances being reserved.Properties of the SKU instances being reserved.Properties of the SKU instances being reserved.The instance template that will be used to populate the ReservedInstanceProperties of the future reservationcom.google.protobuf.ByteStringThe instance template that will be used to populate the ReservedInstanceProperties of the future reservationlongTotal number of instances for which capacity assurance is requested at a future time period.booleanProperties of the SKU instances being reserved.booleanThe instance template that will be used to populate the ReservedInstanceProperties of the future reservationbooleanTotal number of instances for which capacity assurance is requested at a future time period.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Properties of the SKU instances being reserved.Properties of the SKU instances being reserved.setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties.Builder builderForValue) Properties of the SKU instances being reserved.setSourceInstanceTemplate(String value) The instance template that will be used to populate the ReservedInstanceProperties of the future reservationsetSourceInstanceTemplateBytes(com.google.protobuf.ByteString value) The instance template that will be used to populate the ReservedInstanceProperties of the future reservationsetTotalCount(long value) Total number of instances for which capacity assurance is requested at a future time period.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
-
mergeFrom
public FutureReservationSpecificSKUProperties.Builder mergeFrom(FutureReservationSpecificSKUProperties other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationSpecificSKUProperties.Builder>
-
mergeFrom
public FutureReservationSpecificSKUProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservationSpecificSKUProperties.Builder>- Throws:
IOException
-
hasInstanceProperties
public boolean hasInstanceProperties()Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;- Specified by:
hasInstancePropertiesin interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- Whether the instanceProperties field is set.
-
getInstanceProperties
Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;- Specified by:
getInstancePropertiesin interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- The instanceProperties.
-
setInstanceProperties
public FutureReservationSpecificSKUProperties.Builder setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties value) Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165; -
setInstanceProperties
public FutureReservationSpecificSKUProperties.Builder setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties.Builder builderForValue) Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165; -
mergeInstanceProperties
public FutureReservationSpecificSKUProperties.Builder mergeInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties value) Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165; -
clearInstanceProperties
Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165; -
getInstancePropertiesBuilder
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder getInstancePropertiesBuilder()Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165; -
getInstancePropertiesOrBuilder
public AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder getInstancePropertiesOrBuilder()Properties of the SKU instances being reserved.
optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;- Specified by:
getInstancePropertiesOrBuilderin interfaceFutureReservationSpecificSKUPropertiesOrBuilder
-
hasSourceInstanceTemplate
public boolean hasSourceInstanceTemplate()The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
optional string source_instance_template = 332423616;- Specified by:
hasSourceInstanceTemplatein interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- Whether the sourceInstanceTemplate field is set.
-
getSourceInstanceTemplate
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
optional string source_instance_template = 332423616;- Specified by:
getSourceInstanceTemplatein interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- The sourceInstanceTemplate.
-
getSourceInstanceTemplateBytes
public com.google.protobuf.ByteString getSourceInstanceTemplateBytes()The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
optional string source_instance_template = 332423616;- Specified by:
getSourceInstanceTemplateBytesin interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- The bytes for sourceInstanceTemplate.
-
setSourceInstanceTemplate
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
optional string source_instance_template = 332423616;- Parameters:
value- The sourceInstanceTemplate to set.- Returns:
- This builder for chaining.
-
clearSourceInstanceTemplate
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
optional string source_instance_template = 332423616;- Returns:
- This builder for chaining.
-
setSourceInstanceTemplateBytes
public FutureReservationSpecificSKUProperties.Builder setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value) The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
optional string source_instance_template = 332423616;- Parameters:
value- The bytes for sourceInstanceTemplate to set.- Returns:
- This builder for chaining.
-
hasTotalCount
public boolean hasTotalCount()Total number of instances for which capacity assurance is requested at a future time period.
optional int64 total_count = 129109076;- Specified by:
hasTotalCountin interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- Whether the totalCount field is set.
-
getTotalCount
public long getTotalCount()Total number of instances for which capacity assurance is requested at a future time period.
optional int64 total_count = 129109076;- Specified by:
getTotalCountin interfaceFutureReservationSpecificSKUPropertiesOrBuilder- Returns:
- The totalCount.
-
setTotalCount
Total number of instances for which capacity assurance is requested at a future time period.
optional int64 total_count = 129109076;- Parameters:
value- The totalCount to set.- Returns:
- This builder for chaining.
-
clearTotalCount
Total number of instances for which capacity assurance is requested at a future time period.
optional int64 total_count = 129109076;- Returns:
- This builder for chaining.
-