public static final class DataTable.Builder extends GeneratedMessage.Builder<DataTable.Builder> implements DataTableOrBuilderDataTable represents the data table resource.
Protobuf type google.cloud.chronicle.v1.DataTable
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataTable.BuilderImplements
DataTableOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllColumnInfo(Iterable<? extends DataTableColumnInfo> values)
public DataTable.Builder addAllColumnInfo(Iterable<? extends DataTableColumnInfo> values)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 |
values |
Iterable<? extends com.google.cloud.chronicle.v1.DataTableColumnInfo> |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
addAllRules(Iterable<String> values)
public DataTable.Builder addAllRules(Iterable<String> values)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 |
values |
Iterable<String>The rules to add. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
addColumnInfo(DataTableColumnInfo value)
public DataTable.Builder addColumnInfo(DataTableColumnInfo value)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 |
value |
DataTableColumnInfo |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
addColumnInfo(DataTableColumnInfo.Builder builderForValue)
public DataTable.Builder addColumnInfo(DataTableColumnInfo.Builder builderForValue)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 |
builderForValue |
DataTableColumnInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
addColumnInfo(int index, DataTableColumnInfo value)
public DataTable.Builder addColumnInfo(int index, DataTableColumnInfo value)Immutable. Details of all the columns in the table
repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataTableColumnInfo |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
addColumnInfo(int index, DataTableColumnInfo.Builder builderForValue)
public DataTable.Builder addColumnInfo(int index, DataTableColumnInfo.Builder builderForValue)Immutable. Details of all the columns in the table
repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataTableColumnInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
addColumnInfoBuilder()
public DataTableColumnInfo.Builder addColumnInfoBuilder()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 |
DataTableColumnInfo.Builder |
|
addColumnInfoBuilder(int index)
public DataTableColumnInfo.Builder addColumnInfoBuilder(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.Builder |
|
addRules(String value)
public DataTable.Builder addRules(String value)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 |
value |
StringThe rules to add. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
addRulesBytes(ByteString value)
public DataTable.Builder addRulesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the rules to add. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
build()
public DataTable build()| Returns | |
|---|---|
| Type | Description |
DataTable |
|
buildPartial()
public DataTable buildPartial()| Returns | |
|---|---|
| Type | Description |
DataTable |
|
clear()
public DataTable.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
clearApproximateRowCount()
public DataTable.Builder clearApproximateRowCount()Output only. The count of rows in the data table.
int64 approximate_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
clearColumnInfo()
public DataTable.Builder clearColumnInfo()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 |
DataTable.Builder |
|
clearCreateTime()
public DataTable.Builder clearCreateTime()Output only. Table create time
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
clearDataTableUuid()
public DataTable.Builder clearDataTableUuid()Output only. Data table unique id
string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
clearDescription()
public DataTable.Builder clearDescription()Required. A user-provided description of the data table.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
clearDisplayName()
public DataTable.Builder clearDisplayName()Output only. The unique display name of the data table.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
clearName()
public DataTable.Builder clearName()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 |
DataTable.Builder |
This builder for chaining. |
clearRowTimeToLive()
public DataTable.Builder clearRowTimeToLive()Optional. User-provided TTL of the data table.
string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
clearRowTimeToLiveUpdateTime()
public DataTable.Builder clearRowTimeToLiveUpdateTime()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 |
DataTable.Builder |
|
clearRuleAssociationsCount()
public DataTable.Builder clearRuleAssociationsCount()Output only. The count of rules using the data table.
int32 rule_associations_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
clearRules()
public DataTable.Builder clearRules()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 |
DataTable.Builder |
This builder for chaining. |
clearScopeInfo()
public DataTable.Builder clearScopeInfo()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 |
DataTable.Builder |
|
clearUpdateSource()
public DataTable.Builder clearUpdateSource()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 |
DataTable.Builder |
This builder for chaining. |
clearUpdateTime()
public DataTable.Builder clearUpdateTime()Output only. Table update time
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
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 |
|
getColumnInfoBuilder(int index)
public DataTableColumnInfo.Builder getColumnInfoBuilder(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.Builder |
|
getColumnInfoBuilderList()
public List<DataTableColumnInfo.Builder> getColumnInfoBuilderList()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<Builder> |
|
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Table create time
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getRowTimeToLiveUpdateTimeBuilder()
public Timestamp.Builder getRowTimeToLiveUpdateTimeBuilder()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 |
Builder |
|
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 |
intThe 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 |
intThe 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. |
getScopeInfoBuilder()
public DataTableScopeInfo.Builder getScopeInfoBuilder()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.Builder |
|
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 |
|
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Table update time
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public DataTable.Builder mergeCreateTime(Timestamp value)Output only. Table create time
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
mergeFrom(DataTable other)
public DataTable.Builder mergeFrom(DataTable other)| Parameter | |
|---|---|
| Name | Description |
other |
DataTable |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataTable.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
mergeRowTimeToLiveUpdateTime(Timestamp value)
public DataTable.Builder mergeRowTimeToLiveUpdateTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
mergeScopeInfo(DataTableScopeInfo value)
public DataTable.Builder mergeScopeInfo(DataTableScopeInfo value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataTableScopeInfo |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
mergeUpdateTime(Timestamp value)
public DataTable.Builder mergeUpdateTime(Timestamp value)Output only. Table update time
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
removeColumnInfo(int index)
public DataTable.Builder removeColumnInfo(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 |
DataTable.Builder |
|
setApproximateRowCount(long value)
public DataTable.Builder setApproximateRowCount(long value)Output only. The count of rows in the data table.
int64 approximate_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe approximateRowCount to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setColumnInfo(int index, DataTableColumnInfo value)
public DataTable.Builder setColumnInfo(int index, DataTableColumnInfo value)Immutable. Details of all the columns in the table
repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataTableColumnInfo |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setColumnInfo(int index, DataTableColumnInfo.Builder builderForValue)
public DataTable.Builder setColumnInfo(int index, DataTableColumnInfo.Builder builderForValue)Immutable. Details of all the columns in the table
repeated .google.cloud.chronicle.v1.DataTableColumnInfo column_info = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataTableColumnInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setCreateTime(Timestamp value)
public DataTable.Builder setCreateTime(Timestamp value)Output only. Table create time
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public DataTable.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Table create time
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setDataTableUuid(String value)
public DataTable.Builder setDataTableUuid(String value)Output only. Data table unique id
string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataTableUuid to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setDataTableUuidBytes(ByteString value)
public DataTable.Builder setDataTableUuidBytes(ByteString value)Output only. Data table unique id
string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataTableUuid to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setDescription(String value)
public DataTable.Builder setDescription(String value)Required. A user-provided description of the data table.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DataTable.Builder setDescriptionBytes(ByteString value)Required. A user-provided description of the data table.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setDisplayName(String value)
public DataTable.Builder setDisplayName(String value)Output only. The unique display name of the data table.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DataTable.Builder setDisplayNameBytes(ByteString value)Output only. The unique display name of the data table.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setName(String value)
public DataTable.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataTable.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setRowTimeToLive(String value)
public DataTable.Builder setRowTimeToLive(String value)Optional. User-provided TTL of the data table.
string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rowTimeToLive to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setRowTimeToLiveBytes(ByteString value)
public DataTable.Builder setRowTimeToLiveBytes(ByteString value)Optional. User-provided TTL of the data table.
string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rowTimeToLive to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setRowTimeToLiveUpdateTime(Timestamp value)
public DataTable.Builder setRowTimeToLiveUpdateTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setRowTimeToLiveUpdateTime(Timestamp.Builder builderForValue)
public DataTable.Builder setRowTimeToLiveUpdateTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setRuleAssociationsCount(int value)
public DataTable.Builder setRuleAssociationsCount(int value)Output only. The count of rules using the data table.
int32 rule_associations_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe ruleAssociationsCount to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setRules(int index, String value)
public DataTable.Builder setRules(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe rules to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setScopeInfo(DataTableScopeInfo value)
public DataTable.Builder setScopeInfo(DataTableScopeInfo value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataTableScopeInfo |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setScopeInfo(DataTableScopeInfo.Builder builderForValue)
public DataTable.Builder setScopeInfo(DataTableScopeInfo.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataTableScopeInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setUpdateSource(DataTableUpdateSource value)
public DataTable.Builder setUpdateSource(DataTableUpdateSource value)Output only. Source of the data table update.
.google.cloud.chronicle.v1.DataTableUpdateSource update_source = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DataTableUpdateSourceThe updateSource to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setUpdateSourceValue(int value)
public DataTable.Builder setUpdateSourceValue(int value)Output only. Source of the data table update.
.google.cloud.chronicle.v1.DataTableUpdateSource update_source = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for updateSource to set. |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public DataTable.Builder setUpdateTime(Timestamp value)Output only. Table update time
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public DataTable.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Table update time
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataTable.Builder |
|