Class DataTable (0.29.0)

public final class DataTable extends GeneratedMessage implements DataTableOrBuilder

DataTable represents the data table resource.

Protobuf type google.cloud.chronicle.v1.DataTable

Implements

DataTableOrBuilder

Static Fields

APPROXIMATE_ROW_COUNT_FIELD_NUMBER

public static final int APPROXIMATE_ROW_COUNT_FIELD_NUMBER
Field Value
Type Description
int

COLUMN_INFO_FIELD_NUMBER

public static final int COLUMN_INFO_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DATA_TABLE_UUID_FIELD_NUMBER

public static final int DATA_TABLE_UUID_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ROW_TIME_TO_LIVE_FIELD_NUMBER

public static final int ROW_TIME_TO_LIVE_FIELD_NUMBER
Field Value
Type Description
int

ROW_TIME_TO_LIVE_UPDATE_TIME_FIELD_NUMBER

public static final int ROW_TIME_TO_LIVE_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
Type Description
int

RULE_ASSOCIATIONS_COUNT_FIELD_NUMBER

public static final int RULE_ASSOCIATIONS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_INFO_FIELD_NUMBER

public static final int SCOPE_INFO_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_SOURCE_FIELD_NUMBER

public static final int UPDATE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataTable getDefaultInstance()
Returns
Type Description
DataTable

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataTable.Builder newBuilder()
Returns
Type Description
DataTable.Builder

newBuilder(DataTable prototype)

public static DataTable.Builder newBuilder(DataTable prototype)
Parameter
Name Description
prototype DataTable
Returns
Type Description
DataTable.Builder

parseDelimitedFrom(InputStream input)

public static DataTable parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataTable
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTable
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataTable parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataTable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataTable parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataTable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataTable parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataTable
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTable
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataTable parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataTable
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTable
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataTable parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataTable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTable
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataTable> parser()
Returns
Type Description
Parser<DataTable>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApproximateRowCount()

public long getApproximateRowCount()

Output only. The count of rows in the data table.

int64 approximate_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The approximateRowCount.

getColumnInfo(int index)

public DataTableColumnInfo getColumnInfo(int index)

Immutable. Details of all the columns in the table

repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
DataTableColumnInfo

getColumnInfoCount()

public int getColumnInfoCount()

Immutable. Details of all the columns in the table

repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

getColumnInfoList()

public List<DataTableColumnInfo> getColumnInfoList()

Immutable. Details of all the columns in the table

repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<DataTableColumnInfo>

getColumnInfoOrBuilder(int index)

public DataTableColumnInfoOrBuilder getColumnInfoOrBuilder(int index)

Immutable. Details of all the columns in the table

repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
DataTableColumnInfoOrBuilder

getColumnInfoOrBuilderList()

public List<? extends DataTableColumnInfoOrBuilder> getColumnInfoOrBuilderList()

Immutable. Details of all the columns in the table

repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.DataTableColumnInfoOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. Table create time

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Table create time

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDataTableUuid()

public String getDataTableUuid()

Output only. Data table unique id

string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dataTableUuid.

getDataTableUuidBytes()

public ByteString getDataTableUuidBytes()

Output only. Data table unique id

string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dataTableUuid.

getDefaultInstanceForType()

public DataTable getDefaultInstanceForType()
Returns
Type Description
DataTable

getDescription()

public String getDescription()

Required. A user-provided description of the data table.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Required. A user-provided description of the data table.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. The unique display name of the data table.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The unique display name of the data table.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The resource name of the data table Format: "{project}/locations/{location}/instances/{instance}/dataTables/{data_table}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the data table Format: "{project}/locations/{location}/instances/{instance}/dataTables/{data_table}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<DataTable> getParserForType()
Returns
Type Description
Parser<DataTable>
Overrides

getRowTimeToLive()

public String getRowTimeToLive()

Optional. User-provided TTL of the data table.

string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The rowTimeToLive.

getRowTimeToLiveBytes()

public ByteString getRowTimeToLiveBytes()

Optional. User-provided TTL of the data table.

string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for rowTimeToLive.

getRowTimeToLiveUpdateTime()

public Timestamp getRowTimeToLiveUpdateTime()

Output only. Last update time of the TTL of the data table.

.google.protobuf.Timestamp row_time_to_live_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The rowTimeToLiveUpdateTime.

getRowTimeToLiveUpdateTimeOrBuilder()

public TimestampOrBuilder getRowTimeToLiveUpdateTimeOrBuilder()

Output only. Last update time of the TTL of the data table.

.google.protobuf.Timestamp row_time_to_live_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getRuleAssociationsCount()

public int getRuleAssociationsCount()

Output only. The count of rules using the data table.

int32 rule_associations_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The ruleAssociationsCount.

getRules(int index)

public String getRules(int index)

Output only. The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.

repeated string rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The rules at the given index.

getRulesBytes(int index)

public ByteString getRulesBytes(int index)

Output only. The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.

repeated string rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the rules at the given index.

getRulesCount()

public int getRulesCount()

Output only. The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.

repeated string rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of rules.

getRulesList()

public ProtocolStringList getRulesList()

Output only. The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.

repeated string rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the rules.

getScopeInfo()

public DataTableScopeInfo getScopeInfo()

Optional. The scope info of the data table. During data table creation, if this field is not set, the data table without scopes (an unscoped table) will be created for a global user. For a scoped user, this field must be set. During data table update, if scope_info is requested to be updated, this field must be set.

.google.cloud.chronicle.v1.DataTableScopeInfo scope_info = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataTableScopeInfo

The scopeInfo.

getScopeInfoOrBuilder()

public DataTableScopeInfoOrBuilder getScopeInfoOrBuilder()

Optional. The scope info of the data table. During data table creation, if this field is not set, the data table without scopes (an unscoped table) will be created for a global user. For a scoped user, this field must be set. During data table update, if scope_info is requested to be updated, this field must be set.

.google.cloud.chronicle.v1.DataTableScopeInfo scope_info = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataTableScopeInfoOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateSource()

public DataTableUpdateSource getUpdateSource()

Output only. Source of the data table update.

.google.cloud.chronicle.v1.DataTableUpdateSource update_source = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataTableUpdateSource

The updateSource.

getUpdateSourceValue()

public int getUpdateSourceValue()

Output only. Source of the data table update.

.google.cloud.chronicle.v1.DataTableUpdateSource update_source = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for updateSource.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Table update time

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Table update time

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Table create time

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasRowTimeToLiveUpdateTime()

public boolean hasRowTimeToLiveUpdateTime()

Output only. Last update time of the TTL of the data table.

.google.protobuf.Timestamp row_time_to_live_update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the rowTimeToLiveUpdateTime field is set.

hasScopeInfo()

public boolean hasScopeInfo()

Optional. The scope info of the data table. During data table creation, if this field is not set, the data table without scopes (an unscoped table) will be created for a global user. For a scoped user, this field must be set. During data table update, if scope_info is requested to be updated, this field must be set.

.google.cloud.chronicle.v1.DataTableScopeInfo scope_info = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scopeInfo field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Table update time

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataTable.Builder newBuilderForType()
Returns
Type Description
DataTable.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataTable.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataTable.Builder
Overrides

toBuilder()

public DataTable.Builder toBuilder()
Returns
Type Description
DataTable.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException