Class Data.DeleteTabularDataRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.DeleteTabularDataRequest,Data.DeleteTabularDataRequest.Builder>
viam.app.data.v1.Data.DeleteTabularDataRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Data.DeleteTabularDataRequestOrBuilder
Enclosing class:
Data.DeleteTabularDataRequest

public static final class Data.DeleteTabularDataRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Data.DeleteTabularDataRequest,Data.DeleteTabularDataRequest.Builder> implements Data.DeleteTabularDataRequestOrBuilder
 DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days`
 in UTC time. For example, if delete_older_than_days=1 and the request is made at 1AM EST on March 11
 (March 11 5AM UTC), this deletes all data captured through March 10 11:59:59PM UTC.
 If the request is at 10PM EST on March 11 (March 12 2AM UTC), this deletes all data captured
 through March 11 11:59:59PM UTC.
 If delete_older_than_days is 0, all existing data is deleted.
 
Protobuf type viam.app.data.v1.DeleteTabularDataRequest
  • Method Details

    • getOrganizationId

      public String getOrganizationId()
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface Data.DeleteTabularDataRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface Data.DeleteTabularDataRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public Data.DeleteTabularDataRequest.Builder setOrganizationId(String value)
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public Data.DeleteTabularDataRequest.Builder clearOrganizationId()
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public Data.DeleteTabularDataRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • getDeleteOlderThanDays

      public int getDeleteOlderThanDays()
      uint32 delete_older_than_days = 2 [json_name = "deleteOlderThanDays"];
      Specified by:
      getDeleteOlderThanDays in interface Data.DeleteTabularDataRequestOrBuilder
      Returns:
      The deleteOlderThanDays.
    • setDeleteOlderThanDays

      public Data.DeleteTabularDataRequest.Builder setDeleteOlderThanDays(int value)
      uint32 delete_older_than_days = 2 [json_name = "deleteOlderThanDays"];
      Parameters:
      value - The deleteOlderThanDays to set.
      Returns:
      This builder for chaining.
    • clearDeleteOlderThanDays

      public Data.DeleteTabularDataRequest.Builder clearDeleteOlderThanDays()
      uint32 delete_older_than_days = 2 [json_name = "deleteOlderThanDays"];
      Returns:
      This builder for chaining.