Class Data.BinaryMetadata.Builder

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

public static final class Data.BinaryMetadata.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryMetadata,Data.BinaryMetadata.Builder> implements Data.BinaryMetadataOrBuilder
 BinaryMetadata is the metadata associated with binary data.
 
Protobuf type viam.app.data.v1.BinaryMetadata
  • Method Details

    • getId

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

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

      public Data.BinaryMetadata.Builder setId(String value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Data.BinaryMetadata.Builder clearId()
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Data.BinaryMetadata.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.
    • hasCaptureMetadata

      public boolean hasCaptureMetadata()
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
      Specified by:
      hasCaptureMetadata in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the captureMetadata field is set.
    • getCaptureMetadata

      public Data.CaptureMetadata getCaptureMetadata()
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
      Specified by:
      getCaptureMetadata in interface Data.BinaryMetadataOrBuilder
      Returns:
      The captureMetadata.
    • setCaptureMetadata

      public Data.BinaryMetadata.Builder setCaptureMetadata(Data.CaptureMetadata value)
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
    • setCaptureMetadata

      public Data.BinaryMetadata.Builder setCaptureMetadata(Data.CaptureMetadata.Builder builderForValue)
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
    • mergeCaptureMetadata

      public Data.BinaryMetadata.Builder mergeCaptureMetadata(Data.CaptureMetadata value)
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
    • clearCaptureMetadata

      public Data.BinaryMetadata.Builder clearCaptureMetadata()
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
    • hasTimeRequested

      public boolean hasTimeRequested()
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
      Specified by:
      hasTimeRequested in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the timeRequested field is set.
    • getTimeRequested

      public com.google.protobuf.Timestamp getTimeRequested()
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
      Specified by:
      getTimeRequested in interface Data.BinaryMetadataOrBuilder
      Returns:
      The timeRequested.
    • setTimeRequested

      public Data.BinaryMetadata.Builder setTimeRequested(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
    • setTimeRequested

      public Data.BinaryMetadata.Builder setTimeRequested(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
    • mergeTimeRequested

      public Data.BinaryMetadata.Builder mergeTimeRequested(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
    • clearTimeRequested

      public Data.BinaryMetadata.Builder clearTimeRequested()
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
    • hasTimeReceived

      public boolean hasTimeReceived()
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
      Specified by:
      hasTimeReceived in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the timeReceived field is set.
    • getTimeReceived

      public com.google.protobuf.Timestamp getTimeReceived()
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
      Specified by:
      getTimeReceived in interface Data.BinaryMetadataOrBuilder
      Returns:
      The timeReceived.
    • setTimeReceived

      public Data.BinaryMetadata.Builder setTimeReceived(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
    • setTimeReceived

      public Data.BinaryMetadata.Builder setTimeReceived(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
    • mergeTimeReceived

      public Data.BinaryMetadata.Builder mergeTimeReceived(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
    • clearTimeReceived

      public Data.BinaryMetadata.Builder clearTimeReceived()
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
    • getFileName

      public String getFileName()
      string file_name = 5 [json_name = "fileName"];
      Specified by:
      getFileName in interface Data.BinaryMetadataOrBuilder
      Returns:
      The fileName.
    • getFileNameBytes

      public com.google.protobuf.ByteString getFileNameBytes()
      string file_name = 5 [json_name = "fileName"];
      Specified by:
      getFileNameBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for fileName.
    • setFileName

      public Data.BinaryMetadata.Builder setFileName(String value)
      string file_name = 5 [json_name = "fileName"];
      Parameters:
      value - The fileName to set.
      Returns:
      This builder for chaining.
    • clearFileName

      public Data.BinaryMetadata.Builder clearFileName()
      string file_name = 5 [json_name = "fileName"];
      Returns:
      This builder for chaining.
    • setFileNameBytes

      public Data.BinaryMetadata.Builder setFileNameBytes(com.google.protobuf.ByteString value)
      string file_name = 5 [json_name = "fileName"];
      Parameters:
      value - The bytes for fileName to set.
      Returns:
      This builder for chaining.
    • getFileExt

      public String getFileExt()
      string file_ext = 6 [json_name = "fileExt"];
      Specified by:
      getFileExt in interface Data.BinaryMetadataOrBuilder
      Returns:
      The fileExt.
    • getFileExtBytes

      public com.google.protobuf.ByteString getFileExtBytes()
      string file_ext = 6 [json_name = "fileExt"];
      Specified by:
      getFileExtBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for fileExt.
    • setFileExt

      public Data.BinaryMetadata.Builder setFileExt(String value)
      string file_ext = 6 [json_name = "fileExt"];
      Parameters:
      value - The fileExt to set.
      Returns:
      This builder for chaining.
    • clearFileExt

      public Data.BinaryMetadata.Builder clearFileExt()
      string file_ext = 6 [json_name = "fileExt"];
      Returns:
      This builder for chaining.
    • setFileExtBytes

      public Data.BinaryMetadata.Builder setFileExtBytes(com.google.protobuf.ByteString value)
      string file_ext = 6 [json_name = "fileExt"];
      Parameters:
      value - The bytes for fileExt to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
      string uri = 7 [json_name = "uri"];
      Specified by:
      getUri in interface Data.BinaryMetadataOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
      string uri = 7 [json_name = "uri"];
      Specified by:
      getUriBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public Data.BinaryMetadata.Builder setUri(String value)
      string uri = 7 [json_name = "uri"];
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public Data.BinaryMetadata.Builder clearUri()
      string uri = 7 [json_name = "uri"];
      Returns:
      This builder for chaining.
    • setUriBytes

      public Data.BinaryMetadata.Builder setUriBytes(com.google.protobuf.ByteString value)
      string uri = 7 [json_name = "uri"];
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • hasAnnotations

      public boolean hasAnnotations()
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
      Specified by:
      hasAnnotations in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the annotations field is set.
    • getAnnotations

      public Data.Annotations getAnnotations()
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
      Specified by:
      getAnnotations in interface Data.BinaryMetadataOrBuilder
      Returns:
      The annotations.
    • setAnnotations

      public Data.BinaryMetadata.Builder setAnnotations(Data.Annotations value)
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
    • setAnnotations

      public Data.BinaryMetadata.Builder setAnnotations(Data.Annotations.Builder builderForValue)
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
    • mergeAnnotations

      public Data.BinaryMetadata.Builder mergeAnnotations(Data.Annotations value)
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
    • clearAnnotations

      public Data.BinaryMetadata.Builder clearAnnotations()
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
    • getDatasetIdsList

      public List<String> getDatasetIdsList()
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIdsList in interface Data.BinaryMetadataOrBuilder
      Returns:
      A list containing the datasetIds.
    • getDatasetIdsCount

      public int getDatasetIdsCount()
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIdsCount in interface Data.BinaryMetadataOrBuilder
      Returns:
      The count of datasetIds.
    • getDatasetIds

      public String getDatasetIds(int index)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIds in interface Data.BinaryMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The datasetIds at the given index.
    • getDatasetIdsBytes

      public com.google.protobuf.ByteString getDatasetIdsBytes(int index)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIdsBytes in interface Data.BinaryMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the datasetIds at the given index.
    • setDatasetIds

      public Data.BinaryMetadata.Builder setDatasetIds(int index, String value)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Parameters:
      index - The index to set the value at.
      value - The datasetIds to set.
      Returns:
      This builder for chaining.
    • addDatasetIds

      public Data.BinaryMetadata.Builder addDatasetIds(String value)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Parameters:
      value - The datasetIds to add.
      Returns:
      This builder for chaining.
    • addAllDatasetIds

      public Data.BinaryMetadata.Builder addAllDatasetIds(Iterable<String> values)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Parameters:
      values - The datasetIds to add.
      Returns:
      This builder for chaining.
    • clearDatasetIds

      public Data.BinaryMetadata.Builder clearDatasetIds()
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Returns:
      This builder for chaining.
    • addDatasetIdsBytes

      public Data.BinaryMetadata.Builder addDatasetIdsBytes(com.google.protobuf.ByteString value)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Parameters:
      value - The bytes of the datasetIds to add.
      Returns:
      This builder for chaining.