Interface SetTablePrimaryKeyOrBuilder (2.43.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
Type Description
String

The primaryKey.

getPrimaryKeyBytes()

public abstract ByteString getPrimaryKeyBytes()

Optional. Name for the primary key

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

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the primaryKeyColumns.