public static final class Schema.Builder extends GeneratedMessageV3.Builder<Schema.Builder> implements SchemaOrBuilder
Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
Protobuf type google.cloud.datacatalog.v1.Schema
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllColumns(Iterable<? extends ColumnSchema> values)
public Schema.Builder addAllColumns(Iterable<? extends ColumnSchema> values)
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 |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.ColumnSchema>
|
addColumns(ColumnSchema value)
public Schema.Builder addColumns(ColumnSchema value)
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;
addColumns(ColumnSchema.Builder builderForValue)
public Schema.Builder addColumns(ColumnSchema.Builder builderForValue)
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;
addColumns(int index, ColumnSchema value)
public Schema.Builder addColumns(int index, ColumnSchema value)
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;
addColumns(int index, ColumnSchema.Builder builderForValue)
public Schema.Builder addColumns(int index, ColumnSchema.Builder builderForValue)
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;
addColumnsBuilder()
public ColumnSchema.Builder addColumnsBuilder()
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;
addColumnsBuilder(int index)
public ColumnSchema.Builder addColumnsBuilder(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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Schema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Schema buildPartial()
clear()
public Schema.Builder clear()
Overrides
clearColumns()
public Schema.Builder clearColumns()
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;
clearField(Descriptors.FieldDescriptor field)
public Schema.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Schema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Schema.Builder clone()
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 |
---|
Name | Description |
index | int
|
getColumnsBuilder(int index)
public ColumnSchema.Builder getColumnsBuilder(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 |
---|
Name | Description |
index | int
|
getColumnsBuilderList()
public List<ColumnSchema.Builder> getColumnsBuilderList()
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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> | |
getDefaultInstanceForType()
public Schema getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Schema other)
public Schema.Builder mergeFrom(Schema other)
Parameter |
---|
Name | Description |
other | Schema
|
public Schema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Schema.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Schema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeColumns(int index)
public Schema.Builder removeColumns(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 |
---|
Name | Description |
index | int
|
setColumns(int index, ColumnSchema value)
public Schema.Builder setColumns(int index, ColumnSchema value)
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;
setColumns(int index, ColumnSchema.Builder builderForValue)
public Schema.Builder setColumns(int index, ColumnSchema.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Schema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Schema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Schema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides