- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public interface SchemaOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFields(int index)
public abstract Schema.SchemaField getFields(int index)
Optional. The sequence of fields describing data in table entities.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
Schema.SchemaField |
getFieldsCount()
public abstract int getFieldsCount()
Optional. The sequence of fields describing data in table entities.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getFieldsList()
public abstract List<Schema.SchemaField> getFieldsList()
Optional. The sequence of fields describing data in table entities.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<SchemaField> |
getFieldsOrBuilder(int index)
public abstract Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index)
Optional. The sequence of fields describing data in table entities.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
Schema.SchemaFieldOrBuilder |
getFieldsOrBuilderList()
public abstract List<? extends Schema.SchemaFieldOrBuilder> getFieldsOrBuilderList()
Optional. The sequence of fields describing data in table entities.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<? extends com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> |
getPartitionFields(int index)
public abstract Schema.PartitionField getPartitionFields(int index)
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];
Name | Description |
index | int |
Type | Description |
Schema.PartitionField |
getPartitionFieldsCount()
public abstract 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];
Type | Description |
int |
getPartitionFieldsList()
public abstract 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];
Type | Description |
List<PartitionField> |
getPartitionFieldsOrBuilder(int index)
public abstract Schema.PartitionFieldOrBuilder getPartitionFieldsOrBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
Schema.PartitionFieldOrBuilder |
getPartitionFieldsOrBuilderList()
public abstract 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];
Type | Description |
List<? extends com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> |
getPartitionStyle()
public abstract 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];
Type | Description |
Schema.PartitionStyle | The partitionStyle. |
getPartitionStyleValue()
public abstract 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];
Type | Description |
int | The enum numeric value on the wire for partitionStyle. |
getUserManaged()
public abstract boolean getUserManaged()
Required. Whether the schema is user-managed or managed by the service.
- Set user_manage to false if you would like Dataplex to help you manage the schema. You will get the full service provided by Dataplex discovery, including new data discovery, schema inference and schema evolution. You can still provide input the schema of the entities, for example renaming a schema field, changing CSV or Json options if you think the discovered values are not as accurate. Dataplex will consider your input as the initial schema (as if they were produced by the previous discovery run), and will evolve schema or flag actions based on that.
- Set user_manage to true if you would like to fully manage the entity schema by yourself. This is useful when you would like to manually specify the schema for a table. In this case, the schema defined by the user is guaranteed to be kept unchanged and would not be overwritten. But this also means Dataplex will not provide schema evolution management for you. Dataplex will still be able to manage partition registration (i.e., keeping the list of partitions up to date) when Dataplex discovery is turned on and user_managed is set to true.
bool user_managed = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | The userManaged. |