public final class Schema extends GeneratedMessage implements SchemaOrBuilder
Schema information describing the structure and layout of the data.
Protobuf type google.cloud.dataplex.v1.Schema
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARTITION_FIELDS_FIELD_NUMBER
public static final int PARTITION_FIELDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARTITION_STYLE_FIELD_NUMBER
public static final int PARTITION_STYLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_MANAGED_FIELD_NUMBER
public static final int USER_MANAGED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Schema getDefaultInstance()
| Returns |
| Type |
Description |
Schema |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Schema.Builder newBuilder()
newBuilder(Schema prototype)
public static Schema.Builder newBuilder(Schema prototype)
| Parameter |
| Name |
Description |
prototype |
Schema
|
public static Schema parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(byte[] data)
public static Schema parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Schema |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteString data)
public static Schema parseFrom(ByteString data)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(InputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteBuffer data)
public static Schema parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parser()
public static Parser<Schema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Schema getDefaultInstanceForType()
| Returns |
| Type |
Description |
Schema |
|
getFields(int index)
public Schema.SchemaField getFields(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
getFieldsCount()
public 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];
| Returns |
| Type |
Description |
int |
|
getFieldsList()
public 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];
getFieldsOrBuilder(int index)
public Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
getFieldsOrBuilderList()
public 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];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dataplex.v1.Schema.SchemaFieldOrBuilder> |
|
getParserForType()
public Parser<Schema> getParserForType()
Overrides
getPartitionFields(int index)
public 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];
| Parameter |
| Name |
Description |
index |
int
|
getPartitionFieldsCount()
public 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];
| Returns |
| Type |
Description |
int |
|
getPartitionFieldsList()
public 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];
getPartitionFieldsOrBuilder(int index)
public 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];
| Parameter |
| Name |
Description |
index |
int
|
getPartitionFieldsOrBuilderList()
public 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];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dataplex.v1.Schema.PartitionFieldOrBuilder> |
|
getPartitionStyle()
public 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];
getPartitionStyleValue()
public 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 |
| Type |
Description |
int |
The enum numeric value on the wire for partitionStyle.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getUserManaged()
public 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 falseto 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 |
| Type |
Description |
boolean |
The userManaged.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Schema.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Schema.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Schema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides