public final class Schema extends GeneratedMessageV3 implements SchemaOrBuilder
Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
Protobuf type google.cloud.datacatalog.v1.Schema
Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getColumns(int index)
public ColumnSchema getColumns(int index)
The unified GoogleSQL-like schema of columns.
The overall maximum number of columns and nested columns is 10,000.
The maximum nested depth is 15 levels.
repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
Parameter
Returns
getColumnsCount()
public int getColumnsCount()
The unified GoogleSQL-like schema of columns.
The overall maximum number of columns and nested columns is 10,000.
The maximum nested depth is 15 levels.
repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
Returns
getColumnsList()
public List<ColumnSchema> getColumnsList()
The unified GoogleSQL-like schema of columns.
The overall maximum number of columns and nested columns is 10,000.
The maximum nested depth is 15 levels.
repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
Returns
getColumnsOrBuilder(int index)
public ColumnSchemaOrBuilder getColumnsOrBuilder(int index)
The unified GoogleSQL-like schema of columns.
The overall maximum number of columns and nested columns is 10,000.
The maximum nested depth is 15 levels.
repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
Parameter
Returns
getColumnsOrBuilderList()
public List<? extends ColumnSchemaOrBuilder> getColumnsOrBuilderList()
The unified GoogleSQL-like schema of columns.
The overall maximum number of columns and nested columns is 10,000.
The maximum nested depth is 15 levels.
repeated .google.cloud.datacatalog.v1.ColumnSchema columns = 2;
Returns
Type | Description |
List<? extends com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> | |
getDefaultInstance()
public static Schema getDefaultInstance()
Returns
getDefaultInstanceForType()
public Schema getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<Schema> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Schema.Builder newBuilder()
Returns
newBuilder(Schema prototype)
public static Schema.Builder newBuilder(Schema prototype)
Parameter
Name | Description |
prototype | Schema
|
Returns
newBuilderForType()
public Schema.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Schema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Schema parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Schema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Schema parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Schema parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Schema parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Schema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Schema parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Schema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Schema parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Schema> parser()
Returns
toBuilder()
public Schema.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions