Class StreamCommandsRequest.Builder

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

public static final class StreamCommandsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamCommandsRequest.Builder> implements StreamCommandsRequestOrBuilder
Protobuf type yamcs.protobuf.commanding.StreamCommandsRequest
  • 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<StreamCommandsRequest.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<StreamCommandsRequest.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<StreamCommandsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public StreamCommandsRequest 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<StreamCommandsRequest.Builder>
    • setField

      public StreamCommandsRequest.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<StreamCommandsRequest.Builder>
    • clearField

      public StreamCommandsRequest.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<StreamCommandsRequest.Builder>
    • clearOneof

      public StreamCommandsRequest.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<StreamCommandsRequest.Builder>
    • setRepeatedField

      public StreamCommandsRequest.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<StreamCommandsRequest.Builder>
    • addRepeatedField

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

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

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

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

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

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

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

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

      public StreamCommandsRequest.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.
    • hasStart

      public boolean hasStart()
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      hasStart in interface StreamCommandsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      getStart in interface StreamCommandsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public StreamCommandsRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • setStart

      public StreamCommandsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • mergeStart

      public StreamCommandsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • clearStart

      public StreamCommandsRequest.Builder clearStart()
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      getStartOrBuilder in interface StreamCommandsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      hasStop in interface StreamCommandsRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      getStop in interface StreamCommandsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public StreamCommandsRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • setStop

      public StreamCommandsRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • mergeStop

      public StreamCommandsRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • clearStop

      public StreamCommandsRequest.Builder clearStop()
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the command's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      getStopOrBuilder in interface StreamCommandsRequestOrBuilder
    • getNameList

      public com.google.protobuf.ProtocolStringList getNameList()
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Specified by:
      getNameList in interface StreamCommandsRequestOrBuilder
      Returns:
      A list containing the name.
    • getNameCount

      public int getNameCount()
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Specified by:
      getNameCount in interface StreamCommandsRequestOrBuilder
      Returns:
      The count of name.
    • getName

      public String getName(int index)
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Specified by:
      getName in interface StreamCommandsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The name at the given index.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes(int index)
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Specified by:
      getNameBytes in interface StreamCommandsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the name at the given index.
    • setName

      public StreamCommandsRequest.Builder setName(int index, String value)
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Parameters:
      index - The index to set the value at.
      value - The name to set.
      Returns:
      This builder for chaining.
    • addName

      public StreamCommandsRequest.Builder addName(String value)
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Parameters:
      value - The name to add.
      Returns:
      This builder for chaining.
    • addAllName

      public StreamCommandsRequest.Builder addAllName(Iterable<String> values)
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Parameters:
      values - The name to add.
      Returns:
      This builder for chaining.
    • clearName

      public StreamCommandsRequest.Builder clearName()
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Returns:
      This builder for chaining.
    • addNameBytes

      public StreamCommandsRequest.Builder addNameBytes(com.google.protobuf.ByteString value)
       Command names to include. Leave unset, to include all.
       
      repeated string name = 4;
      Parameters:
      value - The bytes of the name to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final StreamCommandsRequest.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<StreamCommandsRequest.Builder>
    • mergeUnknownFields

      public final StreamCommandsRequest.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<StreamCommandsRequest.Builder>