Class DatasetOuterClass.Dataset.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DatasetOuterClass.Dataset,DatasetOuterClass.Dataset.Builder>
viam.app.dataset.v1.DatasetOuterClass.Dataset.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, DatasetOuterClass.DatasetOrBuilder
Enclosing class:
DatasetOuterClass.Dataset

public static final class DatasetOuterClass.Dataset.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DatasetOuterClass.Dataset,DatasetOuterClass.Dataset.Builder> implements DatasetOuterClass.DatasetOrBuilder
 Dataset stores the metadata of a dataset.
 
Protobuf type viam.app.dataset.v1.Dataset
  • Method Details

    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface DatasetOuterClass.DatasetOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface DatasetOuterClass.DatasetOrBuilder
      Returns:
      The bytes for id.
    • setId

      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public DatasetOuterClass.Dataset.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface DatasetOuterClass.DatasetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 2 [json_name = "name"];
      Specified by:
      getNameBytes in interface DatasetOuterClass.DatasetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DatasetOuterClass.Dataset.Builder setName(String value)
      string name = 2 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DatasetOuterClass.Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 2 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getOrganizationId

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

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

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

      public DatasetOuterClass.Dataset.Builder clearOrganizationId()
      string organization_id = 3 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

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

      public boolean hasTimeCreated()
      .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
      Specified by:
      hasTimeCreated in interface DatasetOuterClass.DatasetOrBuilder
      Returns:
      Whether the timeCreated field is set.
    • getTimeCreated

      public com.google.protobuf.Timestamp getTimeCreated()
      .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
      Specified by:
      getTimeCreated in interface DatasetOuterClass.DatasetOrBuilder
      Returns:
      The timeCreated.
    • setTimeCreated

      public DatasetOuterClass.Dataset.Builder setTimeCreated(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
    • setTimeCreated

      public DatasetOuterClass.Dataset.Builder setTimeCreated(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
    • mergeTimeCreated

      public DatasetOuterClass.Dataset.Builder mergeTimeCreated(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];
    • clearTimeCreated

      public DatasetOuterClass.Dataset.Builder clearTimeCreated()
      .google.protobuf.Timestamp time_created = 4 [json_name = "timeCreated"];