- 1.59.0 (latest)
- 1.58.0
- 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 final class ColumnSchema extends GeneratedMessageV3 implements ColumnSchemaOrBuilder
A column within a schema. Columns can be nested inside
other columns.
Protobuf type google.cloud.datacatalog.v1.ColumnSchema
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ColumnSchemaImplements
ColumnSchemaOrBuilderFields
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
Type | Description |
int |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Type | Description |
int |
SUBCOLUMNS_FIELD_NUMBER
public static final int SUBCOLUMNS_FIELD_NUMBER
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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. |
getDefaultInstance()
public static ColumnSchema getDefaultInstance()
Type | Description |
ColumnSchema |
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. |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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. |
getParserForType()
public Parser<ColumnSchema> getParserForType()
Type | Description |
Parser<ColumnSchema> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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 |
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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static ColumnSchema.Builder newBuilder()
Type | Description |
ColumnSchema.Builder |
newBuilder(ColumnSchema prototype)
public static ColumnSchema.Builder newBuilder(ColumnSchema prototype)
Name | Description |
prototype | ColumnSchema |
Type | Description |
ColumnSchema.Builder |
newBuilderForType()
public ColumnSchema.Builder newBuilderForType()
Type | Description |
ColumnSchema.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ColumnSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ColumnSchema.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static ColumnSchema parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ColumnSchema |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ColumnSchema parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ColumnSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ColumnSchema parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ColumnSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ColumnSchema parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ColumnSchema |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ColumnSchema parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ColumnSchema |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ColumnSchema parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ColumnSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSchema |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ColumnSchema> parser()
Type | Description |
Parser<ColumnSchema> |
toBuilder()
public ColumnSchema.Builder toBuilder()
Type | Description |
ColumnSchema.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |