Interface TableFieldSchemaOrBuilder (3.7.1)

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for type.