public static final class DataTableColumnInfo.Builder extends GeneratedMessage.Builder<DataTableColumnInfo.Builder> implements DataTableColumnInfoOrBuilderDataTableColumnInfo represents the column metadata of the datatable. The column_index represents the ordering of the values in DataTableRow.
Protobuf type google.cloud.chronicle.v1.DataTableColumnInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataTableColumnInfo.BuilderImplements
DataTableColumnInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataTableColumnInfo build()| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo |
|
buildPartial()
public DataTableColumnInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo |
|
clear()
public DataTableColumnInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
|
clearColumnIndex()
public DataTableColumnInfo.Builder clearColumnIndex()Required. Column Index. 0,1,2...
int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
clearColumnType()
public DataTableColumnInfo.Builder clearColumnType()Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
clearKeyColumn()
public DataTableColumnInfo.Builder clearKeyColumn()Optional. Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
bool key_column = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
clearMappedColumnPath()
public DataTableColumnInfo.Builder clearMappedColumnPath()Entity proto field path that the column is mapped to
string mapped_column_path = 3;
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
clearOriginalColumn()
public DataTableColumnInfo.Builder clearOriginalColumn()Required. Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Must be unique and has length < 256.
string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
clearPathOrType()
public DataTableColumnInfo.Builder clearPathOrType()| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
|
clearRepeatedValues()
public DataTableColumnInfo.Builder clearRepeatedValues()Optional. Whether the column is a repeated values column.
bool repeated_values = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
getColumnIndex()
public int getColumnIndex()Required. Column Index. 0,1,2...
int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The columnIndex. |
getColumnType()
public DataTableColumnInfo.DataTableColumnType getColumnType()Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.DataTableColumnType |
The columnType. |
getColumnTypeValue()
public int getColumnTypeValue()Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for columnType. |
getDefaultInstanceForType()
public DataTableColumnInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKeyColumn()
public boolean getKeyColumn()Optional. Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
bool key_column = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The keyColumn. |
getMappedColumnPath()
public String getMappedColumnPath()Entity proto field path that the column is mapped to
string mapped_column_path = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The mappedColumnPath. |
getMappedColumnPathBytes()
public ByteString getMappedColumnPathBytes()Entity proto field path that the column is mapped to
string mapped_column_path = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mappedColumnPath. |
getOriginalColumn()
public String getOriginalColumn()Required. Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Must be unique and has length < 256.
string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The originalColumn. |
getOriginalColumnBytes()
public ByteString getOriginalColumnBytes()Required. Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Must be unique and has length < 256.
string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for originalColumn. |
getPathOrTypeCase()
public DataTableColumnInfo.PathOrTypeCase getPathOrTypeCase()| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.PathOrTypeCase |
|
getRepeatedValues()
public boolean getRepeatedValues()Optional. Whether the column is a repeated values column.
bool repeated_values = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The repeatedValues. |
hasColumnType()
public boolean hasColumnType()Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the columnType field is set. |
hasMappedColumnPath()
public boolean hasMappedColumnPath()Entity proto field path that the column is mapped to
string mapped_column_path = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the mappedColumnPath field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataTableColumnInfo other)
public DataTableColumnInfo.Builder mergeFrom(DataTableColumnInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
DataTableColumnInfo |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataTableColumnInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataTableColumnInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
|
setColumnIndex(int value)
public DataTableColumnInfo.Builder setColumnIndex(int value)Required. Column Index. 0,1,2...
int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe columnIndex to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setColumnType(DataTableColumnInfo.DataTableColumnType value)
public DataTableColumnInfo.Builder setColumnType(DataTableColumnInfo.DataTableColumnType value)Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
DataTableColumnInfo.DataTableColumnTypeThe columnType to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setColumnTypeValue(int value)
public DataTableColumnInfo.Builder setColumnTypeValue(int value)Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for columnType to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setKeyColumn(boolean value)
public DataTableColumnInfo.Builder setKeyColumn(boolean value)Optional. Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
bool key_column = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe keyColumn to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setMappedColumnPath(String value)
public DataTableColumnInfo.Builder setMappedColumnPath(String value)Entity proto field path that the column is mapped to
string mapped_column_path = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mappedColumnPath to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setMappedColumnPathBytes(ByteString value)
public DataTableColumnInfo.Builder setMappedColumnPathBytes(ByteString value)Entity proto field path that the column is mapped to
string mapped_column_path = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mappedColumnPath to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setOriginalColumn(String value)
public DataTableColumnInfo.Builder setOriginalColumn(String value)Required. Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Must be unique and has length < 256.
string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe originalColumn to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setOriginalColumnBytes(ByteString value)
public DataTableColumnInfo.Builder setOriginalColumnBytes(ByteString value)Required. Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Must be unique and has length < 256.
string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for originalColumn to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |
setRepeatedValues(boolean value)
public DataTableColumnInfo.Builder setRepeatedValues(boolean value)Optional. Whether the column is a repeated values column.
bool repeated_values = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe repeatedValues to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableColumnInfo.Builder |
This builder for chaining. |