Class DataPipelines.CreateDataPipelineRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataPipelines.CreateDataPipelineRequest,DataPipelines.CreateDataPipelineRequest.Builder>
viam.app.datapipelines.v1.DataPipelines.CreateDataPipelineRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, DataPipelines.CreateDataPipelineRequestOrBuilder
Enclosing class:
DataPipelines.CreateDataPipelineRequest

public static final class DataPipelines.CreateDataPipelineRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DataPipelines.CreateDataPipelineRequest,DataPipelines.CreateDataPipelineRequest.Builder> implements DataPipelines.CreateDataPipelineRequestOrBuilder
Protobuf type viam.app.datapipelines.v1.CreateDataPipelineRequest
  • Method Details

    • getOrganizationId

      public String getOrganizationId()
       The associated Viam organization ID.
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       The associated Viam organization ID.
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public DataPipelines.CreateDataPipelineRequest.Builder setOrganizationId(String value)
       The associated Viam organization ID.
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

       The associated Viam organization ID.
       
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public DataPipelines.CreateDataPipelineRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
       The associated Viam organization ID.
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       A unique identifier at the org level.
       
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       A unique identifier at the org level.
       
      string name = 2 [json_name = "name"];
      Specified by:
      getNameBytes in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       A unique identifier at the org level.
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       A unique identifier at the org level.
       
      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataPipelines.CreateDataPipelineRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       A unique identifier at the org level.
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getMqlBinaryList

      public List<com.google.protobuf.ByteString> getMqlBinaryList()
       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Specified by:
      getMqlBinaryList in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      A list containing the mqlBinary.
    • getMqlBinaryCount

      public int getMqlBinaryCount()
       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Specified by:
      getMqlBinaryCount in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The count of mqlBinary.
    • getMqlBinary

      public com.google.protobuf.ByteString getMqlBinary(int index)
       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Specified by:
      getMqlBinary in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The mqlBinary at the given index.
    • setMqlBinary

      public DataPipelines.CreateDataPipelineRequest.Builder setMqlBinary(int index, com.google.protobuf.ByteString value)
       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Parameters:
      value - The mqlBinary to set.
      Returns:
      This builder for chaining.
    • addMqlBinary

      public DataPipelines.CreateDataPipelineRequest.Builder addMqlBinary(com.google.protobuf.ByteString value)
       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Parameters:
      value - The mqlBinary to add.
      Returns:
      This builder for chaining.
    • addAllMqlBinary

      public DataPipelines.CreateDataPipelineRequest.Builder addAllMqlBinary(Iterable<? extends com.google.protobuf.ByteString> values)
       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Parameters:
      values - The mqlBinary to add.
      Returns:
      This builder for chaining.
    • clearMqlBinary

       A MongoDB aggregation pipeline as a list of BSON documents, where
       each document is one stage in the pipeline.
       
      repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
      Returns:
      This builder for chaining.
    • getSchedule

      public String getSchedule()
       A cron expression representing the expected execution schedule in UTC (note this also
       defines the input time window; an hourly schedule would process 1 hour of data at a time).
       
      string schedule = 4 [json_name = "schedule"];
      Specified by:
      getSchedule in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The schedule.
    • getScheduleBytes

      public com.google.protobuf.ByteString getScheduleBytes()
       A cron expression representing the expected execution schedule in UTC (note this also
       defines the input time window; an hourly schedule would process 1 hour of data at a time).
       
      string schedule = 4 [json_name = "schedule"];
      Specified by:
      getScheduleBytes in interface DataPipelines.CreateDataPipelineRequestOrBuilder
      Returns:
      The bytes for schedule.
    • setSchedule

       A cron expression representing the expected execution schedule in UTC (note this also
       defines the input time window; an hourly schedule would process 1 hour of data at a time).
       
      string schedule = 4 [json_name = "schedule"];
      Parameters:
      value - The schedule to set.
      Returns:
      This builder for chaining.
    • clearSchedule

       A cron expression representing the expected execution schedule in UTC (note this also
       defines the input time window; an hourly schedule would process 1 hour of data at a time).
       
      string schedule = 4 [json_name = "schedule"];
      Returns:
      This builder for chaining.
    • setScheduleBytes

      public DataPipelines.CreateDataPipelineRequest.Builder setScheduleBytes(com.google.protobuf.ByteString value)
       A cron expression representing the expected execution schedule in UTC (note this also
       defines the input time window; an hourly schedule would process 1 hour of data at a time).
       
      string schedule = 4 [json_name = "schedule"];
      Parameters:
      value - The bytes for schedule to set.
      Returns:
      This builder for chaining.