public final class ColumnSchema extends GeneratedMessageV3 implements ColumnSchemaOrBuilder
Representation of a column within a schema. Columns could be nested inside
other columns.
Protobuf type google.cloud.datacatalog.v1beta1.ColumnSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBCOLUMNS_FIELD_NUMBER
public static final int SUBCOLUMNS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ColumnSchema getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ColumnSchema.Builder newBuilder()
newBuilder(ColumnSchema prototype)
public static ColumnSchema.Builder newBuilder(ColumnSchema prototype)
public static ColumnSchema parseDelimitedFrom(InputStream input)
public static ColumnSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ColumnSchema parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ColumnSchema parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(CodedInputStream input)
public static ColumnSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(InputStream input)
public static ColumnSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ColumnSchema parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ColumnSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ColumnSchema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getColumn()
public String getColumn()
Required. Name of the column.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The column.
|
getColumnBytes()
public ByteString getColumnBytes()
Required. Name of the column.
string column = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for column.
|
getDefaultInstanceForType()
public ColumnSchema getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Description of the column. Default value is an empty string.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the column. Default value is an empty string.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getMode()
Optional. A column's mode indicates whether the values in this column are
required, nullable, etc. Only NULLABLE
, REQUIRED
and REPEATED
are
supported. Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The mode.
|
getModeBytes()
public ByteString getModeBytes()
Optional. A column's mode indicates whether the values in this column are
required, nullable, etc. Only NULLABLE
, REQUIRED
and REPEATED
are
supported. Default mode is NULLABLE
.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for mode.
|
getParserForType()
public Parser<ColumnSchema> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getSubcolumnsCount()
public int getSubcolumnsCount()
Optional. Schema of sub-columns. A column can have zero or more
sub-columns.
repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
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.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getSubcolumnsOrBuilderList()
public List<? extends ColumnSchemaOrBuilder> getSubcolumnsOrBuilderList()
Optional. Schema of sub-columns. A column can have zero or more
sub-columns.
repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder> | |
getType()
Required. Type of the column.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Required. Type of the column.
string type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for type.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ColumnSchema.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ColumnSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ColumnSchema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides