Class BatchDeleteItemsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
org.yamcs.protobuf.BatchDeleteItemsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, BatchDeleteItemsRequestOrBuilder
Enclosing class:
BatchDeleteItemsRequest

public static final class BatchDeleteItemsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder> implements BatchDeleteItemsRequestOrBuilder
Protobuf type yamcs.protobuf.timeline.BatchDeleteItemsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.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.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.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.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • setField

      public BatchDeleteItemsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • clearField

      public BatchDeleteItemsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • clearOneof

      public BatchDeleteItemsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • setRepeatedField

      public BatchDeleteItemsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • addRepeatedField

      public BatchDeleteItemsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • mergeFrom

      public BatchDeleteItemsRequest.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<BatchDeleteItemsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public BatchDeleteItemsRequest.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<BatchDeleteItemsRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public BatchDeleteItemsRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public BatchDeleteItemsRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public BatchDeleteItemsRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       Item source
       
      optional string source = 2;
      Specified by:
      hasSource in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Item source
       
      optional string source = 2;
      Specified by:
      getSource in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Item source
       
      optional string source = 2;
      Specified by:
      getSourceBytes in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public BatchDeleteItemsRequest.Builder setSource(String value)
       Item source
       
      optional string source = 2;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public BatchDeleteItemsRequest.Builder clearSource()
       Item source
       
      optional string source = 2;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public BatchDeleteItemsRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Item source
       
      optional string source = 2;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getIdList

      public com.google.protobuf.ProtocolStringList getIdList()
       Item identifiers
       
      repeated string id = 3;
      Specified by:
      getIdList in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      A list containing the id.
    • getIdCount

      public int getIdCount()
       Item identifiers
       
      repeated string id = 3;
      Specified by:
      getIdCount in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The count of id.
    • getId

      public String getId(int index)
       Item identifiers
       
      repeated string id = 3;
      Specified by:
      getId in interface BatchDeleteItemsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The id at the given index.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes(int index)
       Item identifiers
       
      repeated string id = 3;
      Specified by:
      getIdBytes in interface BatchDeleteItemsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the id at the given index.
    • setId

      public BatchDeleteItemsRequest.Builder setId(int index, String value)
       Item identifiers
       
      repeated string id = 3;
      Parameters:
      index - The index to set the value at.
      value - The id to set.
      Returns:
      This builder for chaining.
    • addId

       Item identifiers
       
      repeated string id = 3;
      Parameters:
      value - The id to add.
      Returns:
      This builder for chaining.
    • addAllId

      public BatchDeleteItemsRequest.Builder addAllId(Iterable<String> values)
       Item identifiers
       
      repeated string id = 3;
      Parameters:
      values - The id to add.
      Returns:
      This builder for chaining.
    • clearId

       Item identifiers
       
      repeated string id = 3;
      Returns:
      This builder for chaining.
    • addIdBytes

      public BatchDeleteItemsRequest.Builder addIdBytes(com.google.protobuf.ByteString value)
       Item identifiers
       
      repeated string id = 3;
      Parameters:
      value - The bytes of the id to add.
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      hasStart in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStart in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public BatchDeleteItemsRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
    • setStart

      public BatchDeleteItemsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
    • mergeStart

      public BatchDeleteItemsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
    • clearStart

      public BatchDeleteItemsRequest.Builder clearStart()
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter on item start
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStartOrBuilder in interface BatchDeleteItemsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      hasStop in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStop in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public BatchDeleteItemsRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
    • setStop

      public BatchDeleteItemsRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
    • mergeStop

      public BatchDeleteItemsRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
    • clearStop

      public BatchDeleteItemsRequest.Builder clearStop()
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter on item stop
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStopOrBuilder in interface BatchDeleteItemsRequestOrBuilder
    • hasFilter

      public boolean hasFilter()
       Filter query. See {doc}`../filtering` for how to write a filter query.
       Literal text search matches against the `label` field. Field comparisons
       can use any of the following fields:
       | Field    | Type   | Description      |
       | -------- | ------ | ---------------- |
       | `label`  | string | Filter by label  |
       | `tag`    | string | Filter by tag    |
       | `type`   | enum   | Filter by type   |
       | `status` | enum   | Filter by status |
       `type` is one of `activity` or `event`.
       `status` is one of `planned`, `ready`, `waiting_on_dependency`,
       `in_progress`, `succeeded`, `aborted`, `failed`, `skipped`, `canceled`,
       `paused` or `waiting_for_input`.
       
      optional string filter = 6;
      Specified by:
      hasFilter in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
       Filter query. See {doc}`../filtering` for how to write a filter query.
       Literal text search matches against the `label` field. Field comparisons
       can use any of the following fields:
       | Field    | Type   | Description      |
       | -------- | ------ | ---------------- |
       | `label`  | string | Filter by label  |
       | `tag`    | string | Filter by tag    |
       | `type`   | enum   | Filter by type   |
       | `status` | enum   | Filter by status |
       `type` is one of `activity` or `event`.
       `status` is one of `planned`, `ready`, `waiting_on_dependency`,
       `in_progress`, `succeeded`, `aborted`, `failed`, `skipped`, `canceled`,
       `paused` or `waiting_for_input`.
       
      optional string filter = 6;
      Specified by:
      getFilter in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Filter query. See {doc}`../filtering` for how to write a filter query.
       Literal text search matches against the `label` field. Field comparisons
       can use any of the following fields:
       | Field    | Type   | Description      |
       | -------- | ------ | ---------------- |
       | `label`  | string | Filter by label  |
       | `tag`    | string | Filter by tag    |
       | `type`   | enum   | Filter by type   |
       | `status` | enum   | Filter by status |
       `type` is one of `activity` or `event`.
       `status` is one of `planned`, `ready`, `waiting_on_dependency`,
       `in_progress`, `succeeded`, `aborted`, `failed`, `skipped`, `canceled`,
       `paused` or `waiting_for_input`.
       
      optional string filter = 6;
      Specified by:
      getFilterBytes in interface BatchDeleteItemsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public BatchDeleteItemsRequest.Builder setFilter(String value)
       Filter query. See {doc}`../filtering` for how to write a filter query.
       Literal text search matches against the `label` field. Field comparisons
       can use any of the following fields:
       | Field    | Type   | Description      |
       | -------- | ------ | ---------------- |
       | `label`  | string | Filter by label  |
       | `tag`    | string | Filter by tag    |
       | `type`   | enum   | Filter by type   |
       | `status` | enum   | Filter by status |
       `type` is one of `activity` or `event`.
       `status` is one of `planned`, `ready`, `waiting_on_dependency`,
       `in_progress`, `succeeded`, `aborted`, `failed`, `skipped`, `canceled`,
       `paused` or `waiting_for_input`.
       
      optional string filter = 6;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public BatchDeleteItemsRequest.Builder clearFilter()
       Filter query. See {doc}`../filtering` for how to write a filter query.
       Literal text search matches against the `label` field. Field comparisons
       can use any of the following fields:
       | Field    | Type   | Description      |
       | -------- | ------ | ---------------- |
       | `label`  | string | Filter by label  |
       | `tag`    | string | Filter by tag    |
       | `type`   | enum   | Filter by type   |
       | `status` | enum   | Filter by status |
       `type` is one of `activity` or `event`.
       `status` is one of `planned`, `ready`, `waiting_on_dependency`,
       `in_progress`, `succeeded`, `aborted`, `failed`, `skipped`, `canceled`,
       `paused` or `waiting_for_input`.
       
      optional string filter = 6;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public BatchDeleteItemsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Filter query. See {doc}`../filtering` for how to write a filter query.
       Literal text search matches against the `label` field. Field comparisons
       can use any of the following fields:
       | Field    | Type   | Description      |
       | -------- | ------ | ---------------- |
       | `label`  | string | Filter by label  |
       | `tag`    | string | Filter by tag    |
       | `type`   | enum   | Filter by type   |
       | `status` | enum   | Filter by status |
       `type` is one of `activity` or `event`.
       `status` is one of `planned`, `ready`, `waiting_on_dependency`,
       `in_progress`, `succeeded`, `aborted`, `failed`, `skipped`, `canceled`,
       `paused` or `waiting_for_input`.
       
      optional string filter = 6;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final BatchDeleteItemsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>
    • mergeUnknownFields

      public final BatchDeleteItemsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteItemsRequest.Builder>