Package com.google.cloud.dataplex.v1
Interface SchemaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema,Schema.Builder
@Generated
public interface SchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFields(int index) Optional.intOptional.Optional.getFieldsOrBuilder(int index) Optional.List<? extends Schema.SchemaFieldOrBuilder>Optional.getPartitionFields(int index) Optional.intOptional.Optional.getPartitionFieldsOrBuilder(int index) Optional.List<? extends Schema.PartitionFieldOrBuilder>Optional.Optional.intOptional.booleanRequired.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
-
getUserManaged
boolean getUserManaged()Required. Set to `true` if user-managed or `false` if managed by Dataplex Universal Catalog. The default is `false` (managed by Dataplex Universal Catalog). - Set to `false`to enable Dataplex Universal Catalog discovery to update the schema. including new data discovery, schema inference, and schema evolution. Users retain the ability to input and edit the schema. Dataplex Universal Catalog treats schema input by the user as though produced by a previous Dataplex Universal Catalog discovery operation, and it will evolve the schema and take action based on that treatment. - Set to `true` to fully manage the entity schema. This setting guarantees that Dataplex Universal Catalog will not change schema fields.
bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The userManaged.
-
getFieldsList
List<Schema.SchemaField> getFieldsList()Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFields
Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFieldsCount
int getFieldsCount()Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFieldsOrBuilderList
List<? extends Schema.SchemaFieldOrBuilder> getFieldsOrBuilderList()Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFieldsOrBuilder
Optional. The sequence of fields describing data in table entities. **Note:** BigQuery SchemaFields are immutable.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPartitionFieldsList
List<Schema.PartitionField> getPartitionFieldsList()Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.
repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPartitionFields
Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.
repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPartitionFieldsCount
int getPartitionFieldsCount()Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.
repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPartitionFieldsOrBuilderList
List<? extends Schema.PartitionFieldOrBuilder> getPartitionFieldsOrBuilderList()Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.
repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPartitionFieldsOrBuilder
Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data.
repeated .google.cloud.dataplex.v1.Schema.PartitionField partition_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPartitionStyleValue
int getPartitionStyleValue()Optional. The structure of paths containing partition data within the entity.
.google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for partitionStyle.
-
getPartitionStyle
Schema.PartitionStyle getPartitionStyle()Optional. The structure of paths containing partition data within the entity.
.google.cloud.dataplex.v1.Schema.PartitionStyle partition_style = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The partitionStyle.
-