Class CreatePartition (0.8.0)

public final class CreatePartition extends GeneratedMessage implements CreatePartitionOrBuilder

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

Protobuf type google.cloud.hypercomputecluster.v1.CreatePartition

Static Fields

PARTITIONS_FIELD_NUMBER

public static final int PARTITIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreatePartition getDefaultInstance()
Returns
Type Description
CreatePartition

getDescriptor()

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

newBuilder()

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

newBuilder(CreatePartition prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreatePartition getDefaultInstanceForType()
Returns
Type Description
CreatePartition

getParserForType()

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

getPartitions(int index)

public String getPartitions(int index)

Output only. Name of the partition to create

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 create

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 create

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 create

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 CreatePartition.Builder newBuilderForType()
Returns
Type Description
CreatePartition.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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