Class LogSubscriptionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
io.deephaven.proto.backplane.script.grpc.LogSubscriptionRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LogSubscriptionRequestOrBuilder, Cloneable
Enclosing class:
LogSubscriptionRequest

public static final class LogSubscriptionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder> implements LogSubscriptionRequestOrBuilder
 Presently you get _all_ logs, not just your console. A future version might take a specific console_id to
 restrict this to a single console.
 
Protobuf type io.deephaven.proto.backplane.script.grpc.LogSubscriptionRequest
  • 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<LogSubscriptionRequest.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<LogSubscriptionRequest.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<LogSubscriptionRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public LogSubscriptionRequest.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<LogSubscriptionRequest.Builder>
      Throws:
      IOException
    • getLastSeenLogTimestamp

      public long getLastSeenLogTimestamp()
          Ticket console_id = 1;
       If a non-zero value is specified, represents the timestamp in microseconds since the unix epoch when
       the client last saw a message. Technically this might skip messages if more than one message was
       logged at the same microsecond that connection was lost - to avoid this, subtract one from the last
       seen message's micros, and expect to receive some messages that have already been seen.
       
      int64 last_seen_log_timestamp = 1 [jstype = JS_STRING];
      Specified by:
      getLastSeenLogTimestamp in interface LogSubscriptionRequestOrBuilder
      Returns:
      The lastSeenLogTimestamp.
    • setLastSeenLogTimestamp

      public LogSubscriptionRequest.Builder setLastSeenLogTimestamp(long value)
          Ticket console_id = 1;
       If a non-zero value is specified, represents the timestamp in microseconds since the unix epoch when
       the client last saw a message. Technically this might skip messages if more than one message was
       logged at the same microsecond that connection was lost - to avoid this, subtract one from the last
       seen message's micros, and expect to receive some messages that have already been seen.
       
      int64 last_seen_log_timestamp = 1 [jstype = JS_STRING];
      Parameters:
      value - The lastSeenLogTimestamp to set.
      Returns:
      This builder for chaining.
    • clearLastSeenLogTimestamp

      public LogSubscriptionRequest.Builder clearLastSeenLogTimestamp()
          Ticket console_id = 1;
       If a non-zero value is specified, represents the timestamp in microseconds since the unix epoch when
       the client last saw a message. Technically this might skip messages if more than one message was
       logged at the same microsecond that connection was lost - to avoid this, subtract one from the last
       seen message's micros, and expect to receive some messages that have already been seen.
       
      int64 last_seen_log_timestamp = 1 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • getLevelsList

      public com.google.protobuf.ProtocolStringList getLevelsList()
      repeated string levels = 2;
      Specified by:
      getLevelsList in interface LogSubscriptionRequestOrBuilder
      Returns:
      A list containing the levels.
    • getLevelsCount

      public int getLevelsCount()
      repeated string levels = 2;
      Specified by:
      getLevelsCount in interface LogSubscriptionRequestOrBuilder
      Returns:
      The count of levels.
    • getLevels

      public String getLevels(int index)
      repeated string levels = 2;
      Specified by:
      getLevels in interface LogSubscriptionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The levels at the given index.
    • getLevelsBytes

      public com.google.protobuf.ByteString getLevelsBytes(int index)
      repeated string levels = 2;
      Specified by:
      getLevelsBytes in interface LogSubscriptionRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the levels at the given index.
    • setLevels

      public LogSubscriptionRequest.Builder setLevels(int index, String value)
      repeated string levels = 2;
      Parameters:
      index - The index to set the value at.
      value - The levels to set.
      Returns:
      This builder for chaining.
    • addLevels

      public LogSubscriptionRequest.Builder addLevels(String value)
      repeated string levels = 2;
      Parameters:
      value - The levels to add.
      Returns:
      This builder for chaining.
    • addAllLevels

      public LogSubscriptionRequest.Builder addAllLevels(Iterable<String> values)
      repeated string levels = 2;
      Parameters:
      values - The levels to add.
      Returns:
      This builder for chaining.
    • clearLevels

      public LogSubscriptionRequest.Builder clearLevels()
      repeated string levels = 2;
      Returns:
      This builder for chaining.
    • addLevelsBytes

      public LogSubscriptionRequest.Builder addLevelsBytes(com.google.protobuf.ByteString value)
      repeated string levels = 2;
      Parameters:
      value - The bytes of the levels to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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