Package ai.chalk.protos.gen_bq_schema
Interface BigQueryFieldOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BigQueryFieldOptions,BigQueryFieldOptions.Builder
public interface BigQueryFieldOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSet the description for a field in BigQuery schema.com.google.protobuf.ByteStringSet the description for a field in BigQuery schema.booleanOptionally omit a field from BigQuery schema.getName()Customize the name of the field in the BigQuery schema.com.google.protobuf.ByteStringCustomize the name of the field in the BigQuery schema.Optionally add PolicyTag for a field in BigQuery schema.com.google.protobuf.ByteStringOptionally add PolicyTag for a field in BigQuery schema.booleanFlag to specify that a field should be marked as 'REQUIRED' when used to generate schema for BigQuery.Optionally override whatever type is resolved by the schema generator.com.google.protobuf.ByteStringOptionally override whatever type is resolved by the schema generator.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
-
getRequire
boolean getRequire()Flag to specify that a field should be marked as 'REQUIRED' when used to generate schema for BigQuery.
bool require = 1 [json_name = "require"];- Returns:
- The require.
-
getTypeOverride
String getTypeOverride()Optionally override whatever type is resolved by the schema generator. This is useful, for example, to store epoch timestamps with the underlying 'TIMESTAMP' type, when normally, they would be structured as 'INTEGER' fields.
string type_override = 2 [json_name = "typeOverride"];- Returns:
- The typeOverride.
-
getTypeOverrideBytes
com.google.protobuf.ByteString getTypeOverrideBytes()Optionally override whatever type is resolved by the schema generator. This is useful, for example, to store epoch timestamps with the underlying 'TIMESTAMP' type, when normally, they would be structured as 'INTEGER' fields.
string type_override = 2 [json_name = "typeOverride"];- Returns:
- The bytes for typeOverride.
-
getIgnore
boolean getIgnore()Optionally omit a field from BigQuery schema.
bool ignore = 3 [json_name = "ignore"];- Returns:
- The ignore.
-
getDescription
String getDescription()Set the description for a field in BigQuery schema.
string description = 4 [json_name = "description"];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Set the description for a field in BigQuery schema.
string description = 4 [json_name = "description"];- Returns:
- The bytes for description.
-
getName
String getName()Customize the name of the field in the BigQuery schema.
string name = 5 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Customize the name of the field in the BigQuery schema.
string name = 5 [json_name = "name"];- Returns:
- The bytes for name.
-
getPolicyTags
String getPolicyTags()Optionally add PolicyTag for a field in BigQuery schema.
string policy_tags = 6 [json_name = "policyTags"];- Returns:
- The policyTags.
-
getPolicyTagsBytes
com.google.protobuf.ByteString getPolicyTagsBytes()Optionally add PolicyTag for a field in BigQuery schema.
string policy_tags = 6 [json_name = "policyTags"];- Returns:
- The bytes for policyTags.
-