Interface TableFieldSchemaOrBuilder (3.47.0)

public interface TableFieldSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getField()

public abstract String getField()

The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.

string field = 1;

Returns
Type Description
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.

string field = 1;

Returns
Type Description
ByteString

The bytes for field.

getFields(int index)

public abstract TableFieldSchema getFields(int index)

Describes the nested schema fields if the type property is set to RECORD.

repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;

Parameter
Name Description
index int
Returns
Type Description
TableFieldSchema

getFieldsCount()

public abstract int getFieldsCount()

Describes the nested schema fields if the type property is set to RECORD.

repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;

Returns
Type Description
int

getFieldsList()

public abstract List<TableFieldSchema> getFieldsList()

Describes the nested schema fields if the type property is set to RECORD.

repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;

Returns
Type Description
List<TableFieldSchema>

getFieldsOrBuilder(int index)

public abstract TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)

Describes the nested schema fields if the type property is set to RECORD.

repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;

Parameter
Name Description
index int
Returns
Type Description
TableFieldSchemaOrBuilder

getFieldsOrBuilderList()

public abstract List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()

Describes the nested schema fields if the type property is set to RECORD.

repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>

getMode()

public abstract String getMode()

The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.

string mode = 3;

Returns
Type Description
String

The mode.

getModeBytes()

public abstract ByteString getModeBytes()

The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.

string mode = 3;

Returns
Type Description
ByteString

The bytes for mode.

getType()

public abstract String getType()

The field data type. Possible values include

  • STRING
  • BYTES
  • INTEGER
  • FLOAT
  • BOOLEAN
  • TIMESTAMP
  • DATE
  • TIME
  • DATETIME
  • GEOGRAPHY,
  • NUMERIC,
  • BIGNUMERIC,
  • RECORD (where RECORD indicates that the field contains a nested schema).

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The field data type. Possible values include

  • STRING
  • BYTES
  • INTEGER
  • FLOAT
  • BOOLEAN
  • TIMESTAMP
  • DATE
  • TIME
  • DATETIME
  • GEOGRAPHY,
  • NUMERIC,
  • BIGNUMERIC,
  • RECORD (where RECORD indicates that the field contains a nested schema).

string type = 2;

Returns
Type Description
ByteString

The bytes for type.