Class LogSubscriptionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LogSubscriptionRequest.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 Summary
Modifier and TypeMethodDescriptionaddAllLevels(Iterable<String> values) repeated string levels = 2;repeated string levels = 2;addLevelsBytes(com.google.protobuf.ByteString value) repeated string levels = 2;build()clear()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.repeated string levels = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongTicket 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.getLevels(int index) repeated string levels = 2;com.google.protobuf.ByteStringgetLevelsBytes(int index) repeated string levels = 2;intrepeated string levels = 2;com.google.protobuf.ProtocolStringListrepeated string levels = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(LogSubscriptionRequest other) 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.repeated string levels = 2;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LogSubscriptionRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LogSubscriptionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LogSubscriptionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogSubscriptionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogSubscriptionRequest.Builder>
-
mergeFrom
public LogSubscriptionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getLastSeenLogTimestampin interfaceLogSubscriptionRequestOrBuilder- Returns:
- The lastSeenLogTimestamp.
-
setLastSeenLogTimestamp
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
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:
getLevelsListin interfaceLogSubscriptionRequestOrBuilder- Returns:
- A list containing the levels.
-
getLevelsCount
public int getLevelsCount()repeated string levels = 2;- Specified by:
getLevelsCountin interfaceLogSubscriptionRequestOrBuilder- Returns:
- The count of levels.
-
getLevels
repeated string levels = 2;- Specified by:
getLevelsin interfaceLogSubscriptionRequestOrBuilder- 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:
getLevelsBytesin interfaceLogSubscriptionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the levels at the given index.
-
setLevels
repeated string levels = 2;- Parameters:
index- The index to set the value at.value- The levels to set.- Returns:
- This builder for chaining.
-
addLevels
repeated string levels = 2;- Parameters:
value- The levels to add.- Returns:
- This builder for chaining.
-
addAllLevels
repeated string levels = 2;- Parameters:
values- The levels to add.- Returns:
- This builder for chaining.
-
clearLevels
repeated string levels = 2;- Returns:
- This builder for chaining.
-
addLevelsBytes
repeated string levels = 2;- Parameters:
value- The bytes of the levels to add.- Returns:
- This builder for chaining.
-