Class CreatePartition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreatePartition.Builder>
com.google.cloud.hypercomputecluster.v1.CreatePartition.Builder
- All Implemented Interfaces:
CreatePartitionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CreatePartition
public static final class CreatePartition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreatePartition.Builder>
implements CreatePartitionOrBuilder
When set in OperationStep, indicates that a partition should be created.Protobuf type
google.cloud.hypercomputecluster.v1.CreatePartition-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartitions(Iterable<String> values) Output only.addPartitions(String value) Output only.addPartitionsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPartitions(int index) Output only.com.google.protobuf.ByteStringgetPartitionsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CreatePartition other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setPartitions(int index, String value) 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<CreatePartition.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<CreatePartition.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<CreatePartition.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<CreatePartition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreatePartition.Builder>
-
mergeFrom
public CreatePartition.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<CreatePartition.Builder>- Throws:
IOException
-
getPartitionsList
public com.google.protobuf.ProtocolStringList getPartitionsList()Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPartitionsListin interfaceCreatePartitionOrBuilder- Returns:
- A list containing the partitions.
-
getPartitionsCount
public int getPartitionsCount()Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPartitionsCountin interfaceCreatePartitionOrBuilder- Returns:
- The count of partitions.
-
getPartitions
Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPartitionsin interfaceCreatePartitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitions at the given index.
-
getPartitionsBytes
public com.google.protobuf.ByteString getPartitionsBytes(int index) Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPartitionsBytesin interfaceCreatePartitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitions at the given index.
-
setPartitions
Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The partitions to set.- Returns:
- This builder for chaining.
-
addPartitions
Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The partitions to add.- Returns:
- This builder for chaining.
-
addAllPartitions
Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The partitions to add.- Returns:
- This builder for chaining.
-
clearPartitions
Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addPartitionsBytes
Output only. Name of the partition to create
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the partitions to add.- Returns:
- This builder for chaining.
-