Class DataTable

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.DataTable
All Implemented Interfaces:
DataTableOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataTable extends com.google.protobuf.GeneratedMessage implements DataTableOrBuilder
 DataTable represents the data table resource.
 
Protobuf type google.cloud.chronicle.v1.DataTable
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • COLUMN_INFO_FIELD_NUMBER

      public static final int COLUMN_INFO_FIELD_NUMBER
      See Also:
    • DATA_TABLE_UUID_FIELD_NUMBER

      public static final int DATA_TABLE_UUID_FIELD_NUMBER
      See Also:
    • RULES_FIELD_NUMBER

      public static final int RULES_FIELD_NUMBER
      See Also:
    • RULE_ASSOCIATIONS_COUNT_FIELD_NUMBER

      public static final int RULE_ASSOCIATIONS_COUNT_FIELD_NUMBER
      See Also:
    • ROW_TIME_TO_LIVE_FIELD_NUMBER

      public static final int ROW_TIME_TO_LIVE_FIELD_NUMBER
      See Also:
    • APPROXIMATE_ROW_COUNT_FIELD_NUMBER

      public static final int APPROXIMATE_ROW_COUNT_FIELD_NUMBER
      See Also:
    • SCOPE_INFO_FIELD_NUMBER

      public static final int SCOPE_INFO_FIELD_NUMBER
      See Also:
    • UPDATE_SOURCE_FIELD_NUMBER

      public static final int UPDATE_SOURCE_FIELD_NUMBER
      See Also:
    • ROW_TIME_TO_LIVE_UPDATE_TIME_FIELD_NUMBER

      public static final int ROW_TIME_TO_LIVE_UPDATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getName in interface DataTableOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface DataTableOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       Output only. The unique display name of the data table.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface DataTableOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. The unique display name of the data table.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface DataTableOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       Required. A user-provided description of the data table.
       
      string description = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescription in interface DataTableOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Required. A user-provided description of the data table.
       
      string description = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescriptionBytes in interface DataTableOrBuilder
      Returns:
      The bytes for description.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Table create time
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DataTableOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Table create time
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DataTableOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Table create time
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DataTableOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Table update time
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DataTableOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Table update time
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DataTableOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Table update time
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DataTableOrBuilder
    • 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];
      Specified by:
      getColumnInfoList in interface DataTableOrBuilder
    • 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];
      Specified by:
      getColumnInfoOrBuilderList in interface DataTableOrBuilder
    • 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];
      Specified by:
      getColumnInfoCount in interface DataTableOrBuilder
    • getColumnInfo

      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];
      Specified by:
      getColumnInfo in interface DataTableOrBuilder
    • getColumnInfoOrBuilder

      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];
      Specified by:
      getColumnInfoOrBuilder in interface DataTableOrBuilder
    • getDataTableUuid

      public String getDataTableUuid()
       Output only. Data table unique id
       
      string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataTableUuid in interface DataTableOrBuilder
      Returns:
      The dataTableUuid.
    • getDataTableUuidBytes

      public com.google.protobuf.ByteString getDataTableUuidBytes()
       Output only. Data table unique id
       
      string data_table_uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataTableUuidBytes in interface DataTableOrBuilder
      Returns:
      The bytes for dataTableUuid.
    • getRulesList

      public com.google.protobuf.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];
      Specified by:
      getRulesList in interface DataTableOrBuilder
      Returns:
      A list containing the rules.
    • 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];
      Specified by:
      getRulesCount in interface DataTableOrBuilder
      Returns:
      The count of rules.
    • getRules

      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];
      Specified by:
      getRules in interface DataTableOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The rules at the given index.
    • getRulesBytes

      public com.google.protobuf.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];
      Specified by:
      getRulesBytes in interface DataTableOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the rules at the given index.
    • 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];
      Specified by:
      getRuleAssociationsCount in interface DataTableOrBuilder
      Returns:
      The ruleAssociationsCount.
    • getRowTimeToLive

      public String getRowTimeToLive()
       Optional. User-provided TTL of the data table.
       
      string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRowTimeToLive in interface DataTableOrBuilder
      Returns:
      The rowTimeToLive.
    • getRowTimeToLiveBytes

      public com.google.protobuf.ByteString getRowTimeToLiveBytes()
       Optional. User-provided TTL of the data table.
       
      string row_time_to_live = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRowTimeToLiveBytes in interface DataTableOrBuilder
      Returns:
      The bytes for rowTimeToLive.
    • 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];
      Specified by:
      getApproximateRowCount in interface DataTableOrBuilder
      Returns:
      The approximateRowCount.
    • 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];
      Specified by:
      hasScopeInfo in interface DataTableOrBuilder
      Returns:
      Whether the scopeInfo field is set.
    • 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];
      Specified by:
      getScopeInfo in interface DataTableOrBuilder
      Returns:
      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];
      Specified by:
      getScopeInfoOrBuilder in interface DataTableOrBuilder
    • 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];
      Specified by:
      getUpdateSourceValue in interface DataTableOrBuilder
      Returns:
      The enum numeric value on the wire for updateSource.
    • 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];
      Specified by:
      getUpdateSource in interface DataTableOrBuilder
      Returns:
      The updateSource.
    • 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];
      Specified by:
      hasRowTimeToLiveUpdateTime in interface DataTableOrBuilder
      Returns:
      Whether the rowTimeToLiveUpdateTime field is set.
    • getRowTimeToLiveUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getRowTimeToLiveUpdateTime in interface DataTableOrBuilder
      Returns:
      The rowTimeToLiveUpdateTime.
    • getRowTimeToLiveUpdateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getRowTimeToLiveUpdateTimeOrBuilder in interface DataTableOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataTable parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTable parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTable parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataTable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataTable parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataTable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataTable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataTable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataTable.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataTable.Builder newBuilder()
    • newBuilder

      public static DataTable.Builder newBuilder(DataTable prototype)
    • toBuilder

      public DataTable.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataTable.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataTable getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataTable> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataTable> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataTable getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder