- 1.58.0 (latest)
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class ColumnSchema.Builder extends GeneratedMessageV3.Builder<ColumnSchema.Builder> implements ColumnSchemaOrBuilder
A column within a schema. Columns can be nested inside other columns.
Protobuf type google.cloud.datacatalog.v1.ColumnSchema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ColumnSchema.BuilderImplements
ColumnSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSubcolumns(Iterable<? extends ColumnSchema> values)
public ColumnSchema.Builder addAllSubcolumns(Iterable<? extends ColumnSchema> values)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.ColumnSchema> |
Type | Description |
ColumnSchema.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ColumnSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ColumnSchema.Builder |
addSubcolumns(ColumnSchema value)
public ColumnSchema.Builder addSubcolumns(ColumnSchema value)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ColumnSchema |
Type | Description |
ColumnSchema.Builder |
addSubcolumns(ColumnSchema.Builder builderForValue)
public ColumnSchema.Builder addSubcolumns(ColumnSchema.Builder builderForValue)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | ColumnSchema.Builder |
Type | Description |
ColumnSchema.Builder |
addSubcolumns(int index, ColumnSchema value)
public ColumnSchema.Builder addSubcolumns(int index, ColumnSchema value)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | ColumnSchema |
Type | Description |
ColumnSchema.Builder |
addSubcolumns(int index, ColumnSchema.Builder builderForValue)
public ColumnSchema.Builder addSubcolumns(int index, ColumnSchema.Builder builderForValue)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | ColumnSchema.Builder |
Type | Description |
ColumnSchema.Builder |
addSubcolumnsBuilder()
public ColumnSchema.Builder addSubcolumnsBuilder()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ColumnSchema.Builder |
addSubcolumnsBuilder(int index)
public ColumnSchema.Builder addSubcolumnsBuilder(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ColumnSchema.Builder |
build()
public ColumnSchema build()
Type | Description |
ColumnSchema |
buildPartial()
public ColumnSchema buildPartial()
Type | Description |
ColumnSchema |
clear()
public ColumnSchema.Builder clear()
Type | Description |
ColumnSchema.Builder |
clearColumn()
public ColumnSchema.Builder clearColumn()
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
clearDescription()
public ColumnSchema.Builder clearDescription()
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ColumnSchema.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ColumnSchema.Builder |
clearMode()
public ColumnSchema.Builder clearMode()
Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only NULLABLE
, REQUIRED
, and REPEATED
values are supported.
Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ColumnSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ColumnSchema.Builder |
clearSubcolumns()
public ColumnSchema.Builder clearSubcolumns()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ColumnSchema.Builder |
clearType()
public ColumnSchema.Builder clearType()
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
clone()
public ColumnSchema.Builder clone()
Type | Description |
ColumnSchema.Builder |
getColumn()
public String getColumn()
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The column. |
getColumnBytes()
public ByteString getColumnBytes()
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for column. |
getDefaultInstanceForType()
public ColumnSchema getDefaultInstanceForType()
Type | Description |
ColumnSchema |
getDescription()
public String getDescription()
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMode()
public String getMode()
Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only NULLABLE
, REQUIRED
, and REPEATED
values are supported.
Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The mode. |
getModeBytes()
public ByteString getModeBytes()
Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only NULLABLE
, REQUIRED
, and REPEATED
values are supported.
Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for mode. |
getSubcolumns(int index)
public ColumnSchema getSubcolumns(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ColumnSchema |
getSubcolumnsBuilder(int index)
public ColumnSchema.Builder getSubcolumnsBuilder(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ColumnSchema.Builder |
getSubcolumnsBuilderList()
public List<ColumnSchema.Builder> getSubcolumnsBuilderList()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<Builder> |
getSubcolumnsCount()
public int getSubcolumnsCount()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getSubcolumnsList()
public List<ColumnSchema> getSubcolumnsList()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<ColumnSchema> |
getSubcolumnsOrBuilder(int index)
public ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ColumnSchemaOrBuilder |
getSubcolumnsOrBuilderList()
public List<? extends ColumnSchemaOrBuilder> getSubcolumnsOrBuilderList()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<? extends com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder> |
getType()
public String getType()
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The type. |
getTypeBytes()
public ByteString getTypeBytes()
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ColumnSchema other)
public ColumnSchema.Builder mergeFrom(ColumnSchema other)
Name | Description |
other | ColumnSchema |
Type | Description |
ColumnSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ColumnSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ColumnSchema.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ColumnSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ColumnSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ColumnSchema.Builder |
removeSubcolumns(int index)
public ColumnSchema.Builder removeSubcolumns(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ColumnSchema.Builder |
setColumn(String value)
public ColumnSchema.Builder setColumn(String value)
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The column to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setColumnBytes(ByteString value)
public ColumnSchema.Builder setColumnBytes(ByteString value)
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for column to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setDescription(String value)
public ColumnSchema.Builder setDescription(String value)
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The description to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public ColumnSchema.Builder setDescriptionBytes(ByteString value)
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ColumnSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ColumnSchema.Builder |
setMode(String value)
public ColumnSchema.Builder setMode(String value)
Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only NULLABLE
, REQUIRED
, and REPEATED
values are supported.
Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The mode to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setModeBytes(ByteString value)
public ColumnSchema.Builder setModeBytes(ByteString value)
Optional. A column's mode indicates whether values in this column are required,
nullable, or repeated.
Only NULLABLE
, REQUIRED
, and REPEATED
values are supported.
Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for mode to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ColumnSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ColumnSchema.Builder |
setSubcolumns(int index, ColumnSchema value)
public ColumnSchema.Builder setSubcolumns(int index, ColumnSchema value)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | ColumnSchema |
Type | Description |
ColumnSchema.Builder |
setSubcolumns(int index, ColumnSchema.Builder builderForValue)
public ColumnSchema.Builder setSubcolumns(int index, ColumnSchema.Builder builderForValue)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | ColumnSchema.Builder |
Type | Description |
ColumnSchema.Builder |
setType(String value)
public ColumnSchema.Builder setType(String value)
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The type to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public ColumnSchema.Builder setTypeBytes(ByteString value)
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for type to set. |
Type | Description |
ColumnSchema.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ColumnSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ColumnSchema.Builder |