Interface SetTablePrimaryKeyOrBuilder (2.33.0)

public interface SetTablePrimaryKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrimaryKey()

public abstract String getPrimaryKey()

Optional. Name for the primary key

string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The primaryKey.

getPrimaryKeyBytes()

public abstract ByteString getPrimaryKeyBytes()

Optional. Name for the primary key

string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for primaryKey.

getPrimaryKeyColumns(int index)

public abstract String getPrimaryKeyColumns(int index)

Required. List of column names for the primary key

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The primaryKeyColumns at the given index.

getPrimaryKeyColumnsBytes(int index)

public abstract ByteString getPrimaryKeyColumnsBytes(int index)

Required. List of column names for the primary key

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the primaryKeyColumns at the given index.

getPrimaryKeyColumnsCount()

public abstract int getPrimaryKeyColumnsCount()

Required. List of column names for the primary key

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

Returns
TypeDescription
int

The count of primaryKeyColumns.

getPrimaryKeyColumnsList()

public abstract List<String> getPrimaryKeyColumnsList()

Required. List of column names for the primary key

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

Returns
TypeDescription
List<String>

A list containing the primaryKeyColumns.