Package com.google.cloud.compute.v1
Class FutureResourcesSpecSpecificSKUResources.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureResourcesSpecSpecificSKUResources.Builder>
com.google.cloud.compute.v1.FutureResourcesSpecSpecificSKUResources.Builder
- All Implemented Interfaces:
FutureResourcesSpecSpecificSKUResourcesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureResourcesSpecSpecificSKUResources
public static final class FutureResourcesSpecSpecificSKUResources.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureResourcesSpecSpecificSKUResources.Builder>
implements FutureResourcesSpecSpecificSKUResourcesOrBuilder
Protobuf type
google.cloud.compute.v1.FutureResourcesSpecSpecificSKUResources-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocalSsdPartitions(Iterable<? extends FutureResourcesSpecLocalSsdPartition> values) Local SSD partitions.addLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition value) Local SSD partitions.addLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition.Builder builderForValue) Local SSD partitions.Local SSD partitions.addLocalSsdPartitions(FutureResourcesSpecLocalSsdPartition.Builder builderForValue) Local SSD partitions.Local SSD partitions.addLocalSsdPartitionsBuilder(int index) Local SSD partitions.build()clear()Size of the request, in instance count.Local SSD partitions.The machine type to use for instances that will use the reservation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongSize of the request, in instance count.getLocalSsdPartitions(int index) Local SSD partitions.getLocalSsdPartitionsBuilder(int index) Local SSD partitions.Local SSD partitions.intLocal SSD partitions.Local SSD partitions.getLocalSsdPartitionsOrBuilder(int index) Local SSD partitions.Local SSD partitions.The machine type to use for instances that will use the reservation.com.google.protobuf.ByteStringThe machine type to use for instances that will use the reservation.booleanSize of the request, in instance count.booleanThe machine type to use for instances that will use the reservation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLocalSsdPartitions(int index) Local SSD partitions.setInstanceCount(long value) Size of the request, in instance count.setLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition value) Local SSD partitions.setLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition.Builder builderForValue) Local SSD partitions.setMachineType(String value) The machine type to use for instances that will use the reservation.setMachineTypeBytes(com.google.protobuf.ByteString value) The machine type to use for instances that will use the reservation.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<FutureResourcesSpecSpecificSKUResources.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<FutureResourcesSpecSpecificSKUResources.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<FutureResourcesSpecSpecificSKUResources.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<FutureResourcesSpecSpecificSKUResources.Builder>
-
mergeFrom
public FutureResourcesSpecSpecificSKUResources.Builder mergeFrom(FutureResourcesSpecSpecificSKUResources other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureResourcesSpecSpecificSKUResources.Builder>
-
mergeFrom
public FutureResourcesSpecSpecificSKUResources.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<FutureResourcesSpecSpecificSKUResources.Builder>- Throws:
IOException
-
hasInstanceCount
public boolean hasInstanceCount()Size of the request, in instance count.
optional int64 instance_count = 77317349;- Specified by:
hasInstanceCountin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder- Returns:
- Whether the instanceCount field is set.
-
getInstanceCount
public long getInstanceCount()Size of the request, in instance count.
optional int64 instance_count = 77317349;- Specified by:
getInstanceCountin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder- Returns:
- The instanceCount.
-
setInstanceCount
Size of the request, in instance count.
optional int64 instance_count = 77317349;- Parameters:
value- The instanceCount to set.- Returns:
- This builder for chaining.
-
clearInstanceCount
Size of the request, in instance count.
optional int64 instance_count = 77317349;- Returns:
- This builder for chaining.
-
getLocalSsdPartitionsList
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568;- Specified by:
getLocalSsdPartitionsListin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder
-
getLocalSsdPartitionsCount
public int getLocalSsdPartitionsCount()Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568;- Specified by:
getLocalSsdPartitionsCountin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder
-
getLocalSsdPartitions
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568;- Specified by:
getLocalSsdPartitionsin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder
-
setLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder setLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition value) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
setLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder setLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition.Builder builderForValue) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
addLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder addLocalSsdPartitions(FutureResourcesSpecLocalSsdPartition value) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
addLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder addLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition value) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
addLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder addLocalSsdPartitions(FutureResourcesSpecLocalSsdPartition.Builder builderForValue) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
addLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder addLocalSsdPartitions(int index, FutureResourcesSpecLocalSsdPartition.Builder builderForValue) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
addAllLocalSsdPartitions
public FutureResourcesSpecSpecificSKUResources.Builder addAllLocalSsdPartitions(Iterable<? extends FutureResourcesSpecLocalSsdPartition> values) Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
clearLocalSsdPartitions
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
removeLocalSsdPartitions
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitionsBuilder
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitionsOrBuilder
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568;- Specified by:
getLocalSsdPartitionsOrBuilderin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder
-
getLocalSsdPartitionsOrBuilderList
public List<? extends FutureResourcesSpecLocalSsdPartitionOrBuilder> getLocalSsdPartitionsOrBuilderList()Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568;- Specified by:
getLocalSsdPartitionsOrBuilderListin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder
-
addLocalSsdPartitionsBuilder
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
addLocalSsdPartitionsBuilder
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitionsBuilderList
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
hasMachineType
public boolean hasMachineType()The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Specified by:
hasMachineTypein interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder- Returns:
- Whether the machineType field is set.
-
getMachineType
The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Specified by:
getMachineTypein interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Specified by:
getMachineTypeBytesin interfaceFutureResourcesSpecSpecificSKUResourcesOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
public FutureResourcesSpecSpecificSKUResources.Builder setMachineTypeBytes(com.google.protobuf.ByteString value) The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-