Package com.google.cloud.compute.v1
Class ReservationBlockPhysicalTopology.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationBlockPhysicalTopology.Builder>
com.google.cloud.compute.v1.ReservationBlockPhysicalTopology.Builder
- All Implemented Interfaces:
ReservationBlockPhysicalTopologyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationBlockPhysicalTopology
public static final class ReservationBlockPhysicalTopology.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationBlockPhysicalTopology.Builder>
implements ReservationBlockPhysicalTopologyOrBuilder
Protobuf type
google.cloud.compute.v1.ReservationBlockPhysicalTopology-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstances(Iterable<? extends ReservationBlockPhysicalTopologyInstance> values) Output only.addInstances(int index, ReservationBlockPhysicalTopologyInstance value) Output only.addInstances(int index, ReservationBlockPhysicalTopologyInstance.Builder builderForValue) Output only.Output only.addInstances(ReservationBlockPhysicalTopologyInstance.Builder builderForValue) Output only.Output only.addInstancesBuilder(int index) Output only.build()clear()The hash of the capacity block within the cluster.The cluster name of the reservation block.Output only.getBlock()The hash of the capacity block within the cluster.com.google.protobuf.ByteStringThe hash of the capacity block within the cluster.The cluster name of the reservation block.com.google.protobuf.ByteStringThe cluster name of the reservation block.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstances(int index) Output only.getInstancesBuilder(int index) Output only.Output only.intOutput only.Output only.getInstancesOrBuilder(int index) Output only.Output only.booleanhasBlock()The hash of the capacity block within the cluster.booleanThe cluster name of the reservation block.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInstances(int index) Output only.The hash of the capacity block within the cluster.setBlockBytes(com.google.protobuf.ByteString value) The hash of the capacity block within the cluster.setCluster(String value) The cluster name of the reservation block.setClusterBytes(com.google.protobuf.ByteString value) The cluster name of the reservation block.setInstances(int index, ReservationBlockPhysicalTopologyInstance value) Output only.setInstances(int index, ReservationBlockPhysicalTopologyInstance.Builder builderForValue) Output only.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<ReservationBlockPhysicalTopology.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<ReservationBlockPhysicalTopology.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<ReservationBlockPhysicalTopology.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<ReservationBlockPhysicalTopology.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationBlockPhysicalTopology.Builder>
-
mergeFrom
public ReservationBlockPhysicalTopology.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<ReservationBlockPhysicalTopology.Builder>- Throws:
IOException
-
hasBlock
public boolean hasBlock()The hash of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
hasBlockin interfaceReservationBlockPhysicalTopologyOrBuilder- Returns:
- Whether the block field is set.
-
getBlock
The hash of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
getBlockin interfaceReservationBlockPhysicalTopologyOrBuilder- Returns:
- The block.
-
getBlockBytes
public com.google.protobuf.ByteString getBlockBytes()The hash of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
getBlockBytesin interfaceReservationBlockPhysicalTopologyOrBuilder- Returns:
- The bytes for block.
-
setBlock
The hash of the capacity block within the cluster.
optional string block = 93832333;- Parameters:
value- The block to set.- Returns:
- This builder for chaining.
-
clearBlock
The hash of the capacity block within the cluster.
optional string block = 93832333;- Returns:
- This builder for chaining.
-
setBlockBytes
The hash of the capacity block within the cluster.
optional string block = 93832333;- Parameters:
value- The bytes for block to set.- Returns:
- This builder for chaining.
-
hasCluster
public boolean hasCluster()The cluster name of the reservation block.
optional string cluster = 335221242;- Specified by:
hasClusterin interfaceReservationBlockPhysicalTopologyOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
The cluster name of the reservation block.
optional string cluster = 335221242;- Specified by:
getClusterin interfaceReservationBlockPhysicalTopologyOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()The cluster name of the reservation block.
optional string cluster = 335221242;- Specified by:
getClusterBytesin interfaceReservationBlockPhysicalTopologyOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
The cluster name of the reservation block.
optional string cluster = 335221242;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
The cluster name of the reservation block.
optional string cluster = 335221242;- Returns:
- This builder for chaining.
-
setClusterBytes
public ReservationBlockPhysicalTopology.Builder setClusterBytes(com.google.protobuf.ByteString value) The cluster name of the reservation block.
optional string cluster = 335221242;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
getInstancesList
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598;- Specified by:
getInstancesListin interfaceReservationBlockPhysicalTopologyOrBuilder
-
getInstancesCount
public int getInstancesCount()Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598;- Specified by:
getInstancesCountin interfaceReservationBlockPhysicalTopologyOrBuilder
-
getInstances
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598;- Specified by:
getInstancesin interfaceReservationBlockPhysicalTopologyOrBuilder
-
setInstances
public ReservationBlockPhysicalTopology.Builder setInstances(int index, ReservationBlockPhysicalTopologyInstance value) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
setInstances
public ReservationBlockPhysicalTopology.Builder setInstances(int index, ReservationBlockPhysicalTopologyInstance.Builder builderForValue) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
addInstances
public ReservationBlockPhysicalTopology.Builder addInstances(ReservationBlockPhysicalTopologyInstance value) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
addInstances
public ReservationBlockPhysicalTopology.Builder addInstances(int index, ReservationBlockPhysicalTopologyInstance value) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
addInstances
public ReservationBlockPhysicalTopology.Builder addInstances(ReservationBlockPhysicalTopologyInstance.Builder builderForValue) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
addInstances
public ReservationBlockPhysicalTopology.Builder addInstances(int index, ReservationBlockPhysicalTopologyInstance.Builder builderForValue) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
addAllInstances
public ReservationBlockPhysicalTopology.Builder addAllInstances(Iterable<? extends ReservationBlockPhysicalTopologyInstance> values) Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
clearInstances
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
removeInstances
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
getInstancesBuilder
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
getInstancesOrBuilder
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598;- Specified by:
getInstancesOrBuilderin interfaceReservationBlockPhysicalTopologyOrBuilder
-
getInstancesOrBuilderList
public List<? extends ReservationBlockPhysicalTopologyInstanceOrBuilder> getInstancesOrBuilderList()Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598;- Specified by:
getInstancesOrBuilderListin interfaceReservationBlockPhysicalTopologyOrBuilder
-
addInstancesBuilder
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
addInstancesBuilder
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598; -
getInstancesBuilderList
Output only. The detailed instances information for a given Block
repeated .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance instances = 29097598;
-