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
@Generated
public interface TableFieldSchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetField()The field name.com.google.protobuf.ByteStringThe field name.getFields(int index) Describes the nested schema fields if the type property is set to RECORD.intDescribes the nested schema fields if the type property is set to RECORD.Describes the nested schema fields if the type property is set to RECORD.getFieldsOrBuilder(int index) Describes the nested schema fields if the type property is set to RECORD.List<? extends TableFieldSchemaOrBuilder>Describes the nested schema fields if the type property is set to RECORD.getMode()The field mode.com.google.protobuf.ByteStringThe field mode.getType()The field data type.com.google.protobuf.ByteStringThe field data type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
-