Interface ColumnOrBuilder (0.1.0)

public interface ColumnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColumns(int index)

public abstract Column getColumns(int index)

If the type of this column is RECORD, this sub-field describes the nested structure.

repeated .google.cloud.appoptimize.v1beta.Column columns = 4;

Parameter
Name Description
index int
Returns
Type Description
Column

getColumnsCount()

public abstract int getColumnsCount()

If the type of this column is RECORD, this sub-field describes the nested structure.

repeated .google.cloud.appoptimize.v1beta.Column columns = 4;

Returns
Type Description
int

getColumnsList()

public abstract List<Column> getColumnsList()

If the type of this column is RECORD, this sub-field describes the nested structure.

repeated .google.cloud.appoptimize.v1beta.Column columns = 4;

Returns
Type Description
List<Column>

getColumnsOrBuilder(int index)

public abstract ColumnOrBuilder getColumnsOrBuilder(int index)

If the type of this column is RECORD, this sub-field describes the nested structure.

repeated .google.cloud.appoptimize.v1beta.Column columns = 4;

Parameter
Name Description
index int
Returns
Type Description
ColumnOrBuilder

getColumnsOrBuilderList()

public abstract List<? extends ColumnOrBuilder> getColumnsOrBuilderList()

If the type of this column is RECORD, this sub-field describes the nested structure.

repeated .google.cloud.appoptimize.v1beta.Column columns = 4;

Returns
Type Description
List<? extends com.google.cloud.appoptimize.v1beta.ColumnOrBuilder>

getMode()

public abstract String getMode()

The mode of the column, indicating if it is nullable, required, or repeated.

Possible values:

  • NULLABLE: The column allows NULL values.
  • REQUIRED: The column does not allow NULL values.
  • REPEATED: The column contains an array of values.

string mode = 3;

Returns
Type Description
String

The mode.

getModeBytes()

public abstract ByteString getModeBytes()

The mode of the column, indicating if it is nullable, required, or repeated.

Possible values:

  • NULLABLE: The column allows NULL values.
  • REQUIRED: The column does not allow NULL values.
  • REPEATED: The column contains an array of values.

string mode = 3;

Returns
Type Description
ByteString

The bytes for mode.

getName()

public abstract String getName()

The name of the column.

This field:

  • Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
  • Start with a letter or underscore; and
  • Has a maximum length is 128 characters.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the column.

This field:

  • Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
  • Start with a letter or underscore; and
  • Has a maximum length is 128 characters.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getType()

public abstract String getType()

The data type of the column.

Supported values include:

  • STRING
  • INT64
  • FLOAT64
  • BOOLEAN
  • TIMESTAMP
  • RECORD

    RECORD indicates that the field contains a nested schema, described in the columns property of this Column.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The data type of the column.

Supported values include:

  • STRING
  • INT64
  • FLOAT64
  • BOOLEAN
  • TIMESTAMP
  • RECORD

    RECORD indicates that the field contains a nested schema, described in the columns property of this Column.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.