public static final class UpdatePartition.Builder extends GeneratedMessage.Builder<UpdatePartition.Builder> implements UpdatePartitionOrBuilderWhen set in OperationStep, indicates that a partition should be updated.
Protobuf type google.cloud.hypercomputecluster.v1.UpdatePartition
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdatePartition.BuilderImplements
UpdatePartitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPartitions(Iterable<String> values)
public UpdatePartition.Builder addAllPartitions(Iterable<String> values)Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The partitions to add. |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
This builder for chaining. |
addPartitions(String value)
public UpdatePartition.Builder addPartitions(String value)Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe partitions to add. |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
This builder for chaining. |
addPartitionsBytes(ByteString value)
public UpdatePartition.Builder addPartitionsBytes(ByteString value)Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the partitions to add. |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
This builder for chaining. |
build()
public UpdatePartition build()| Returns | |
|---|---|
| Type | Description |
UpdatePartition |
|
buildPartial()
public UpdatePartition buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdatePartition |
|
clear()
public UpdatePartition.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
|
clearPartitions()
public UpdatePartition.Builder clearPartitions()Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpdatePartition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdatePartition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPartitions(int index)
public String getPartitions(int index)Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The partitions at the given index. |
getPartitionsBytes(int index)
public ByteString getPartitionsBytes(int index)Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the partitions at the given index. |
getPartitionsCount()
public int getPartitionsCount()Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of partitions. |
getPartitionsList()
public ProtocolStringList getPartitionsList()Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the partitions. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdatePartition other)
public UpdatePartition.Builder mergeFrom(UpdatePartition other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdatePartition |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdatePartition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdatePartition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
|
setPartitions(int index, String value)
public UpdatePartition.Builder setPartitions(int index, String value)Output only. Name of the partition to update
repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe partitions to set. |
| Returns | |
|---|---|
| Type | Description |
UpdatePartition.Builder |
This builder for chaining. |