Package com.google.cloud.asset.v1
Interface TableFieldSchemaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TableFieldSchema
,TableFieldSchema.Builder
public interface TableFieldSchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getField()
The field name.com.google.protobuf.ByteString
getFieldBytes()
The field name.TableFieldSchema
getFields(int index)
Describes the nested schema fields if the type property is set to RECORD.int
getFieldsCount()
Describes the nested schema fields if the type property is set to RECORD.List<TableFieldSchema>
getFieldsList()
Describes the nested schema fields if the type property is set to RECORD.TableFieldSchemaOrBuilder
getFieldsOrBuilder(int index)
Describes the nested schema fields if the type property is set to RECORD.List<? extends TableFieldSchemaOrBuilder>
getFieldsOrBuilderList()
Describes the nested schema fields if the type property is set to RECORD.String
getMode()
The field mode.com.google.protobuf.ByteString
getModeBytes()
The field mode.String
getType()
The field data type.com.google.protobuf.ByteString
getTypeBytes()
The field data type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getField
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:
- The field.
-
getFieldBytes
com.google.protobuf.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:
- The bytes for field.
-
getType
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:
- The type.
-
getTypeBytes
com.google.protobuf.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:
- The bytes for type.
-
getMode
String getMode()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
- Returns:
- The mode.
-
getModeBytes
com.google.protobuf.ByteString getModeBytes()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
- Returns:
- The bytes for mode.
-
getFieldsList
List<TableFieldSchema> getFieldsList()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
-
getFields
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;
-
getFieldsCount
int getFieldsCount()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
-
getFieldsOrBuilderList
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;
-
getFieldsOrBuilder
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;
-
-