public static final class StorageDescriptor.Order.Builder extends GeneratedMessage.Builder<StorageDescriptor.Order.Builder> implements StorageDescriptor.OrderOrBuilderSort order of the stored data per column.
Protobuf type google.cloud.biglake.hive.v1beta.StorageDescriptor.Order
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StorageDescriptor.Order.BuilderImplements
StorageDescriptor.OrderOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
intThe order to set. |
| Returns | |
|---|---|
| Type | Description |
StorageDescriptor.Order.Builder |
This builder for chaining. |