Package com.google.cloud.compute.v1
Class ReservationSlotPhysicalTopology.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationSlotPhysicalTopology.Builder>
com.google.cloud.compute.v1.ReservationSlotPhysicalTopology.Builder
- All Implemented Interfaces:
ReservationSlotPhysicalTopologyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationSlotPhysicalTopology
public static final class ReservationSlotPhysicalTopology.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationSlotPhysicalTopology.Builder>
implements ReservationSlotPhysicalTopologyOrBuilder
Protobuf type
google.cloud.compute.v1.ReservationSlotPhysicalTopology-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The unique identifier of the capacity block within the cluster.The cluster name of the reservation sub-block.The unique identifier of the capacity host within the capacity sub-block.The unique identifier of the capacity sub-block within the capacity block.getBlock()The unique identifier of the capacity block within the cluster.com.google.protobuf.ByteStringThe unique identifier of the capacity block within the cluster.The cluster name of the reservation sub-block.com.google.protobuf.ByteStringThe cluster name of the reservation sub-block.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHost()The unique identifier of the capacity host within the capacity sub-block.com.google.protobuf.ByteStringThe unique identifier of the capacity host within the capacity sub-block.The unique identifier of the capacity sub-block within the capacity block.com.google.protobuf.ByteStringThe unique identifier of the capacity sub-block within the capacity block.booleanhasBlock()The unique identifier of the capacity block within the cluster.booleanThe cluster name of the reservation sub-block.booleanhasHost()The unique identifier of the capacity host within the capacity sub-block.booleanThe unique identifier 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 unique identifier of the capacity block within the cluster.setBlockBytes(com.google.protobuf.ByteString value) The unique identifier of the capacity block within the cluster.setCluster(String value) The cluster name of the reservation sub-block.setClusterBytes(com.google.protobuf.ByteString value) The cluster name of the reservation sub-block.The unique identifier of the capacity host within the capacity sub-block.setHostBytes(com.google.protobuf.ByteString value) The unique identifier of the capacity host within the capacity sub-block.setSubBlock(String value) The unique identifier of the capacity sub-block within the capacity block.setSubBlockBytes(com.google.protobuf.ByteString value) The unique identifier 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<ReservationSlotPhysicalTopology.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<ReservationSlotPhysicalTopology.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<ReservationSlotPhysicalTopology.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<ReservationSlotPhysicalTopology.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationSlotPhysicalTopology.Builder>
-
mergeFrom
public ReservationSlotPhysicalTopology.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<ReservationSlotPhysicalTopology.Builder>- Throws:
IOException
-
hasBlock
public boolean hasBlock()The unique identifier of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
hasBlockin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- Whether the block field is set.
-
getBlock
The unique identifier of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
getBlockin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The block.
-
getBlockBytes
public com.google.protobuf.ByteString getBlockBytes()The unique identifier of the capacity block within the cluster.
optional string block = 93832333;- Specified by:
getBlockBytesin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The bytes for block.
-
setBlock
The unique identifier of the capacity block within the cluster.
optional string block = 93832333;- Parameters:
value- The block to set.- Returns:
- This builder for chaining.
-
clearBlock
The unique identifier of the capacity block within the cluster.
optional string block = 93832333;- Returns:
- This builder for chaining.
-
setBlockBytes
The unique identifier 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 sub-block.
optional string cluster = 335221242;- Specified by:
hasClusterin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
The cluster name of the reservation sub-block.
optional string cluster = 335221242;- Specified by:
getClusterin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()The cluster name of the reservation sub-block.
optional string cluster = 335221242;- Specified by:
getClusterBytesin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
The cluster name of the reservation sub-block.
optional string cluster = 335221242;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
The cluster name of the reservation sub-block.
optional string cluster = 335221242;- Returns:
- This builder for chaining.
-
setClusterBytes
public ReservationSlotPhysicalTopology.Builder setClusterBytes(com.google.protobuf.ByteString value) The cluster name of the reservation sub-block.
optional string cluster = 335221242;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
hasHost
public boolean hasHost()The unique identifier of the capacity host within the capacity sub-block.
optional string host = 3208616;- Specified by:
hasHostin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- Whether the host field is set.
-
getHost
The unique identifier of the capacity host within the capacity sub-block.
optional string host = 3208616;- Specified by:
getHostin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()The unique identifier of the capacity host within the capacity sub-block.
optional string host = 3208616;- Specified by:
getHostBytesin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The bytes for host.
-
setHost
The unique identifier of the capacity host within the capacity sub-block.
optional string host = 3208616;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
The unique identifier of the capacity host within the capacity sub-block.
optional string host = 3208616;- Returns:
- This builder for chaining.
-
setHostBytes
The unique identifier of the capacity host within the capacity sub-block.
optional string host = 3208616;- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
hasSubBlock
public boolean hasSubBlock()The unique identifier of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Specified by:
hasSubBlockin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- Whether the subBlock field is set.
-
getSubBlock
The unique identifier of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Specified by:
getSubBlockin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The subBlock.
-
getSubBlockBytes
public com.google.protobuf.ByteString getSubBlockBytes()The unique identifier of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Specified by:
getSubBlockBytesin interfaceReservationSlotPhysicalTopologyOrBuilder- Returns:
- The bytes for subBlock.
-
setSubBlock
The unique identifier 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 unique identifier of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;- Returns:
- This builder for chaining.
-
setSubBlockBytes
public ReservationSlotPhysicalTopology.Builder setSubBlockBytes(com.google.protobuf.ByteString value) The unique identifier 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.
-