public final class DataTable extends GeneratedMessage implements DataTableOrBuilder
DataTable represents the data table resource.
Protobuf type google.cloud.chronicle.v1.DataTable
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataTable.Builder newBuilder()
newBuilder(DataTable prototype)
public static DataTable.Builder newBuilder(DataTable prototype)
| Parameter |
| Name |
Description |
prototype |
DataTable
|
public static DataTable parseDelimitedFrom(InputStream input)
public static DataTable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataTable parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataTable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataTable parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataTable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataTable parseFrom(CodedInputStream input)
public static DataTable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataTable parseFrom(InputStream input)
public static DataTable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataTable parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataTable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataTable> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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
|
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];
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
|
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];
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()
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()
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()
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];
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];
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];
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];
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];
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataTable.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataTable.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataTable.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides