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 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;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) 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;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
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.getLevels
(int index) repeated string levels = 2;
com.google.protobuf.ByteString
getLevelsBytes
(int index) repeated string levels = 2;
int
repeated string levels = 2;
com.google.protobuf.ProtocolStringList
repeated string levels = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(LogSubscriptionRequest other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
setField
public LogSubscriptionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
clearField
public LogSubscriptionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
clearOneof
public LogSubscriptionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
addRepeatedField
public LogSubscriptionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LogSubscriptionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLastSeenLogTimestamp
in 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:
getLevelsList
in interfaceLogSubscriptionRequestOrBuilder
- Returns:
- A list containing the levels.
-
getLevelsCount
public int getLevelsCount()repeated string levels = 2;
- Specified by:
getLevelsCount
in interfaceLogSubscriptionRequestOrBuilder
- Returns:
- The count of levels.
-
getLevels
repeated string levels = 2;
- Specified by:
getLevels
in 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:
getLevelsBytes
in 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.
-
setUnknownFields
public final LogSubscriptionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-
mergeUnknownFields
public final LogSubscriptionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LogSubscriptionRequest.Builder>
-