Class StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder (0.76.0)

public static final class StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder extends GeneratedMessage.Builder<StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder> implements StorageDescriptor.SkewedInfo.SkewedKeyValuesLocationOrBuilder

The skewed key values and their corresponding location.

Protobuf type google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<String> values)

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder addAllValues(Iterable<String> values)

Required. The skewed column values. The maximum length is 256 characters per value.

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

Parameter
Name Description
values Iterable<String>

The values to add.

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

addValues(String value)

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder addValues(String value)

Required. The skewed column values. The maximum length is 256 characters per value.

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

Parameter
Name Description
value String

The values to add.

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

addValuesBytes(ByteString value)

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder addValuesBytes(ByteString value)

Required. The skewed column values. The maximum length is 256 characters per value.

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

Parameter
Name Description
value ByteString

The bytes of the values to add.

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

build()

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation build()
Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation

buildPartial()

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation buildPartial()
Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation

clear()

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder clear()
Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder
Overrides

clearLocation()

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder clearLocation()

Required. The location of the skewed column values. The maximum length is 4000 characters.

string location = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

clearValues()

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder clearValues()

Required. The skewed column values. The maximum length is 256 characters per value.

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

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

getDefaultInstanceForType()

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation getDefaultInstanceForType()
Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation

getDescriptorForType()

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

getLocation()

public String getLocation()

Required. The location of the skewed column values. The maximum length is 4000 characters.

string location = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The location of the skewed column values. The maximum length is 4000 characters.

string location = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for location.

getValues(int index)

public String getValues(int index)

Required. The skewed column values. The maximum length is 256 characters per value.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

Required. The skewed column values. The maximum length is 256 characters per value.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

Required. The skewed column values. The maximum length is 256 characters per value.

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

Returns
Type Description
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

Required. The skewed column values. The maximum length is 256 characters per value.

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

Returns
Type Description
ProtocolStringList

A list containing the values.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLocation(String value)

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder setLocation(String value)

Required. The location of the skewed column values. The maximum length is 4000 characters.

string location = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The location to set.

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder setLocationBytes(ByteString value)

Required. The location of the skewed column values. The maximum length is 4000 characters.

string location = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.

setValues(int index, String value)

public StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder setValues(int index, String value)

Required. The skewed column values. The maximum length is 256 characters per value.

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

Parameters
Name Description
index int

The index to set the value at.

value String

The values to set.

Returns
Type Description
StorageDescriptor.SkewedInfo.SkewedKeyValuesLocation.Builder

This builder for chaining.