Package com.google.cloud.compute.v1
Class ReservationSubBlockPhysicalTopology.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder>
com.google.cloud.compute.v1.ReservationSubBlockPhysicalTopology.Builder
- All Implemented Interfaces:
ReservationSubBlockPhysicalTopologyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationSubBlockPhysicalTopology
public static final class ReservationSubBlockPhysicalTopology.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder>
implements ReservationSubBlockPhysicalTopologyOrBuilder
Protobuf type
google.cloud.compute.v1.ReservationSubBlockPhysicalTopology-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The hash of the capacity block within the cluster.The cluster name of the reservation subBlock.The hash of the capacity sub-block within the capacity block.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 subBlock.com.google.protobuf.ByteStringThe cluster name of the reservation subBlock.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe hash of the capacity sub-block within the capacity block.com.google.protobuf.ByteStringThe hash of the capacity sub-block within the capacity block.booleanhasBlock()The hash of the capacity block within the cluster.booleanThe cluster name of the reservation subBlock.booleanThe hash of the capacity sub-block within the capacity block.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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 subBlock.setClusterBytes(com.google.protobuf.ByteString value) The cluster name of the reservation subBlock.setSubBlock(String value) The hash of the capacity sub-block within the capacity block.setSubBlockBytes(com.google.protobuf.ByteString value) The hash of the capacity sub-block within the capacity block.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<ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.Builder>
-
mergeFrom
public ReservationSubBlockPhysicalTopology.Builder mergeFrom(ReservationSubBlockPhysicalTopology other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder>
-
mergeFrom
public ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.Builder>- Throws:
IOException
-
hasBlock
public boolean hasBlock()The hash of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
hasBlockin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- Whether the block field is set.
-
getBlock
The hash of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
getBlockin interfaceReservationSubBlockPhysicalTopologyOrBuilder- 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 interfaceReservationSubBlockPhysicalTopologyOrBuilder- 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
public ReservationSubBlockPhysicalTopology.Builder setBlockBytes(com.google.protobuf.ByteString value) 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 subBlock.
optional string cluster = 335221242;- Specified by:
hasClusterin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
The cluster name of the reservation subBlock.
optional string cluster = 335221242;- Specified by:
getClusterin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()The cluster name of the reservation subBlock.
optional string cluster = 335221242;- Specified by:
getClusterBytesin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
The cluster name of the reservation subBlock.
optional string cluster = 335221242;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
The cluster name of the reservation subBlock.
optional string cluster = 335221242;- Returns:
- This builder for chaining.
-
setClusterBytes
public ReservationSubBlockPhysicalTopology.Builder setClusterBytes(com.google.protobuf.ByteString value) The cluster name of the reservation subBlock.
optional string cluster = 335221242;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
hasSubBlock
public boolean hasSubBlock()The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Specified by:
hasSubBlockin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- Whether the subBlock field is set.
-
getSubBlock
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Specified by:
getSubBlockin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- The subBlock.
-
getSubBlockBytes
public com.google.protobuf.ByteString getSubBlockBytes()The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Specified by:
getSubBlockBytesin interfaceReservationSubBlockPhysicalTopologyOrBuilder- Returns:
- The bytes for subBlock.
-
setSubBlock
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Parameters:
value- The subBlock to set.- Returns:
- This builder for chaining.
-
clearSubBlock
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Returns:
- This builder for chaining.
-
setSubBlockBytes
public ReservationSubBlockPhysicalTopology.Builder setSubBlockBytes(com.google.protobuf.ByteString value) The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Parameters:
value- The bytes for subBlock to set.- Returns:
- This builder for chaining.
-