public static final class Schema.Builder extends GeneratedMessage.Builder<Schema.Builder> implements SchemaOrBuilderRepresents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
Protobuf type google.cloud.datacatalog.v1.Schema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Schema.BuilderImplements
SchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ColumnSchema |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ColumnSchema.Builder |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ColumnSchema |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ColumnSchema.Builder |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ColumnSchema.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ColumnSchema.Builder |
|
build()
public Schema build()| Returns | |
|---|---|
| Type | Description |
Schema |
|
buildPartial()
public Schema buildPartial()| Returns | |
|---|---|
| Type | Description |
Schema |
|
clear()
public Schema.Builder clear()| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ColumnSchema |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ColumnSchema.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<ColumnSchema> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ColumnSchemaOrBuilder |
|
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()| Returns | |
|---|---|
| Type | Description |
Schema |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Schema other)
public Schema.Builder mergeFrom(Schema other)| Parameter | |
|---|---|
| Name | Description |
other |
Schema |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Schema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Schema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ColumnSchema |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ColumnSchema.Builder |
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|