Class StorageDescriptor.Order.Builder (0.76.0)

public static final class StorageDescriptor.Order.Builder extends GeneratedMessage.Builder<StorageDescriptor.Order.Builder> implements StorageDescriptor.OrderOrBuilder

Sort order of the stored data per column.

Protobuf type google.cloud.biglake.hive.v1beta.StorageDescriptor.Order

Static Methods

getDescriptor()

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

Methods

build()

public StorageDescriptor.Order build()
Returns
Type Description
StorageDescriptor.Order

buildPartial()

public StorageDescriptor.Order buildPartial()
Returns
Type Description
StorageDescriptor.Order

clear()

public StorageDescriptor.Order.Builder clear()
Returns
Type Description
StorageDescriptor.Order.Builder
Overrides

clearCol()

public StorageDescriptor.Order.Builder clearCol()

Required. The column name. The maximum length is 767 characters.

string col = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageDescriptor.Order.Builder

This builder for chaining.

clearOrder()

public StorageDescriptor.Order.Builder clearOrder()

Required. Defines the sort order of the column. Ascending if 1, descending if 0.

int32 order = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageDescriptor.Order.Builder

This builder for chaining.

getCol()

public String getCol()

Required. The column name. The maximum length is 767 characters.

string col = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The col.

getColBytes()

public ByteString getColBytes()

Required. The column name. The maximum length is 767 characters.

string col = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for col.

getDefaultInstanceForType()

public StorageDescriptor.Order getDefaultInstanceForType()
Returns
Type Description
StorageDescriptor.Order

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOrder()

public int getOrder()

Required. Defines the sort order of the column. Ascending if 1, descending if 0.

int32 order = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The order.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageDescriptor.Order other)

public StorageDescriptor.Order.Builder mergeFrom(StorageDescriptor.Order other)
Parameter
Name Description
other StorageDescriptor.Order
Returns
Type Description
StorageDescriptor.Order.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageDescriptor.Order.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageDescriptor.Order.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StorageDescriptor.Order.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StorageDescriptor.Order.Builder
Overrides

setCol(String value)

public StorageDescriptor.Order.Builder setCol(String value)

Required. The column name. The maximum length is 767 characters.

string col = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The col to set.

Returns
Type Description
StorageDescriptor.Order.Builder

This builder for chaining.

setColBytes(ByteString value)

public StorageDescriptor.Order.Builder setColBytes(ByteString value)

Required. The column name. The maximum length is 767 characters.

string col = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for col to set.

Returns
Type Description
StorageDescriptor.Order.Builder

This builder for chaining.

setOrder(int value)

public StorageDescriptor.Order.Builder setOrder(int value)

Required. Defines the sort order of the column. Ascending if 1, descending if 0.

int32 order = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The order to set.

Returns
Type Description
StorageDescriptor.Order.Builder

This builder for chaining.