Class UpdatePartition (0.8.0)

public final class UpdatePartition extends GeneratedMessage implements UpdatePartitionOrBuilder

When set in OperationStep, indicates that a partition should be updated.

Protobuf type google.cloud.hypercomputecluster.v1.UpdatePartition

Static Fields

PARTITIONS_FIELD_NUMBER

public static final int PARTITIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdatePartition getDefaultInstance()
Returns
Type Description
UpdatePartition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdatePartition.Builder newBuilder()
Returns
Type Description
UpdatePartition.Builder

newBuilder(UpdatePartition prototype)

public static UpdatePartition.Builder newBuilder(UpdatePartition prototype)
Parameter
Name Description
prototype UpdatePartition
Returns
Type Description
UpdatePartition.Builder

parseDelimitedFrom(InputStream input)

public static UpdatePartition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdatePartition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdatePartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePartition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdatePartition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdatePartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdatePartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdatePartition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdatePartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdatePartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdatePartition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdatePartition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdatePartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePartition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdatePartition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdatePartition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdatePartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePartition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdatePartition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdatePartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdatePartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePartition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdatePartition> parser()
Returns
Type Description
Parser<UpdatePartition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdatePartition getDefaultInstanceForType()
Returns
Type Description
UpdatePartition

getParserForType()

public Parser<UpdatePartition> getParserForType()
Returns
Type Description
Parser<UpdatePartition>
Overrides

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 int

The 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 int

The 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdatePartition.Builder newBuilderForType()
Returns
Type Description
UpdatePartition.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdatePartition.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdatePartition.Builder
Overrides

toBuilder()

public UpdatePartition.Builder toBuilder()
Returns
Type Description
UpdatePartition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException