Class DataTableRow.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataTableRow.Builder>
com.google.cloud.chronicle.v1.DataTableRow.Builder
All Implemented Interfaces:
DataTableRowOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataTableRow

public static final class DataTableRow.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataTableRow.Builder> implements DataTableRowOrBuilder
 DataTableRow represents a single row in a data table.
 
Protobuf type google.cloud.chronicle.v1.DataTableRow
  • 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.Builder<DataTableRow.Builder>
    • clear

      public DataTableRow.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataTableRow.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataTableRow.Builder>
    • getDefaultInstanceForType

      public DataTableRow getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DataTableRow build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataTableRow buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataTableRow.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataTableRow.Builder>
    • mergeFrom

      public DataTableRow.Builder mergeFrom(DataTableRow other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DataTableRow.Builder>
    • mergeFrom

      public DataTableRow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataTableRow.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The resource name of the data table
       Format:
       projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DataTableRowOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the data table
       Format:
       projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DataTableRowOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DataTableRow.Builder setName(String value)
       Identifier. The resource name of the data table
       Format:
       projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DataTableRow.Builder clearName()
       Identifier. The resource name of the data table
       Format:
       projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataTableRow.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the data table
       Format:
       projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getValuesList

      public com.google.protobuf.ProtocolStringList getValuesList()
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesList in interface DataTableRowOrBuilder
      Returns:
      A list containing the values.
    • getValuesCount

      public int getValuesCount()
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesCount in interface DataTableRowOrBuilder
      Returns:
      The count of values.
    • getValues

      public String getValues(int index)
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValues in interface DataTableRowOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The values at the given index.
    • getValuesBytes

      public com.google.protobuf.ByteString getValuesBytes(int index)
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesBytes in interface DataTableRowOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • setValues

      public DataTableRow.Builder setValues(int index, String value)
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The values to set.
      Returns:
      This builder for chaining.
    • addValues

      public DataTableRow.Builder addValues(String value)
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The values to add.
      Returns:
      This builder for chaining.
    • addAllValues

      public DataTableRow.Builder addAllValues(Iterable<String> values)
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The values to add.
      Returns:
      This builder for chaining.
    • clearValues

      public DataTableRow.Builder clearValues()
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addValuesBytes

      public DataTableRow.Builder addValuesBytes(com.google.protobuf.ByteString value)
       Required. All column values for a single row. The values should be in the
       same order as the columns of the data tables.
       
      repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the values to add.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. DataTableRow create time
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DataTableRowOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DataTableRow.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. DataTableRow create time
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public DataTableRow.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. DataTableRow create time
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public DataTableRow.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. DataTableRow create time
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public DataTableRow.Builder clearCreateTime()
       Output only. DataTableRow create time
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. DataTableRow create time
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

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

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

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DataTableRowOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public DataTableRow.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public DataTableRow.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public DataTableRow.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public DataTableRow.Builder clearUpdateTime()
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. DataTableRow update time
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DataTableRowOrBuilder
    • getRowTimeToLive

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

      public com.google.protobuf.ByteString getRowTimeToLiveBytes()
       Optional. User-provided TTL of the data table row.
       
      string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRowTimeToLiveBytes in interface DataTableRowOrBuilder
      Returns:
      The bytes for rowTimeToLive.
    • setRowTimeToLive

      public DataTableRow.Builder setRowTimeToLive(String value)
       Optional. User-provided TTL of the data table row.
       
      string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The rowTimeToLive to set.
      Returns:
      This builder for chaining.
    • clearRowTimeToLive

      public DataTableRow.Builder clearRowTimeToLive()
       Optional. User-provided TTL of the data table row.
       
      string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRowTimeToLiveBytes

      public DataTableRow.Builder setRowTimeToLiveBytes(com.google.protobuf.ByteString value)
       Optional. User-provided TTL of the data table row.
       
      string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for rowTimeToLive to set.
      Returns:
      This builder for chaining.