Class HandshakeResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
io.deephaven.proto.backplane.grpc.HandshakeResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HandshakeResponseOrBuilder
,Cloneable
- Enclosing class:
- HandshakeResponse
public static final class HandshakeResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
implements HandshakeResponseOrBuilder
Servers respond with information needed to make subsequent requests tied to this session. The session token should be refreshed prior to the deadline, which is represented as milliseconds since the epoch. Clients are encouraged to use the expiration delay and cookie deadline to determine a good time to refresh.Protobuf type
io.deephaven.proto.backplane.grpc.HandshakeResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated.Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated.Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated.com.google.protobuf.ByteString
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated.long
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated.long
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated.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
(HandshakeResponse other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setMetadataHeader
(com.google.protobuf.ByteString value) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSessionToken
(com.google.protobuf.ByteString value) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated.setTokenDeadlineTimeMillis
(long value) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated.setTokenExpirationDelayMillis
(long value) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated.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<HandshakeResponse.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<HandshakeResponse.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<HandshakeResponse.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<HandshakeResponse.Builder>
-
setField
public HandshakeResponse.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<HandshakeResponse.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
-
setRepeatedField
public HandshakeResponse.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<HandshakeResponse.Builder>
-
addRepeatedField
public HandshakeResponse.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<HandshakeResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HandshakeResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
-
mergeFrom
public HandshakeResponse.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<HandshakeResponse.Builder>
- Throws:
IOException
-
getMetadataHeader
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated. See deephaven/proto/session.proto;l=138The metadata header to identify the session. This value is static and defined via configuration.
bytes metadata_header = 1 [deprecated = true];
- Specified by:
getMetadataHeader
in interfaceHandshakeResponseOrBuilder
- Returns:
- The metadataHeader.
-
setMetadataHeader
@Deprecated public HandshakeResponse.Builder setMetadataHeader(com.google.protobuf.ByteString value) Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated. See deephaven/proto/session.proto;l=138The metadata header to identify the session. This value is static and defined via configuration.
bytes metadata_header = 1 [deprecated = true];
- Parameters:
value
- The metadataHeader to set.- Returns:
- This builder for chaining.
-
clearMetadataHeader
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated. See deephaven/proto/session.proto;l=138The metadata header to identify the session. This value is static and defined via configuration.
bytes metadata_header = 1 [deprecated = true];
- Returns:
- This builder for chaining.
-
getSessionToken
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated. See deephaven/proto/session.proto;l=143Arbitrary session_token to assign to the value to the provided metadata header.
bytes session_token = 2 [deprecated = true];
- Specified by:
getSessionToken
in interfaceHandshakeResponseOrBuilder
- Returns:
- The sessionToken.
-
setSessionToken
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated. See deephaven/proto/session.proto;l=143Arbitrary session_token to assign to the value to the provided metadata header.
bytes session_token = 2 [deprecated = true];
- Parameters:
value
- The sessionToken to set.- Returns:
- This builder for chaining.
-
clearSessionToken
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated. See deephaven/proto/session.proto;l=143Arbitrary session_token to assign to the value to the provided metadata header.
bytes session_token = 2 [deprecated = true];
- Returns:
- This builder for chaining.
-
getTokenDeadlineTimeMillis
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated. See deephaven/proto/session.proto;l=148When this session_token will be considered invalid by the server.
sint64 token_deadline_time_millis = 3 [deprecated = true, jstype = JS_STRING];
- Specified by:
getTokenDeadlineTimeMillis
in interfaceHandshakeResponseOrBuilder
- Returns:
- The tokenDeadlineTimeMillis.
-
setTokenDeadlineTimeMillis
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated. See deephaven/proto/session.proto;l=148When this session_token will be considered invalid by the server.
sint64 token_deadline_time_millis = 3 [deprecated = true, jstype = JS_STRING];
- Parameters:
value
- The tokenDeadlineTimeMillis to set.- Returns:
- This builder for chaining.
-
clearTokenDeadlineTimeMillis
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated. See deephaven/proto/session.proto;l=148When this session_token will be considered invalid by the server.
sint64 token_deadline_time_millis = 3 [deprecated = true, jstype = JS_STRING];
- Returns:
- This builder for chaining.
-
getTokenExpirationDelayMillis
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated. See deephaven/proto/session.proto;l=154The length of time that this token was intended to live. Note that `refreshSessionToken` may return the existing token to reduce overhead and to prevent denial-of-service caused by refreshing too frequently.
sint64 token_expiration_delay_millis = 4 [deprecated = true, jstype = JS_STRING];
- Specified by:
getTokenExpirationDelayMillis
in interfaceHandshakeResponseOrBuilder
- Returns:
- The tokenExpirationDelayMillis.
-
setTokenExpirationDelayMillis
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated. See deephaven/proto/session.proto;l=154The length of time that this token was intended to live. Note that `refreshSessionToken` may return the existing token to reduce overhead and to prevent denial-of-service caused by refreshing too frequently.
sint64 token_expiration_delay_millis = 4 [deprecated = true, jstype = JS_STRING];
- Parameters:
value
- The tokenExpirationDelayMillis to set.- Returns:
- This builder for chaining.
-
clearTokenExpirationDelayMillis
Deprecated.io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated. See deephaven/proto/session.proto;l=154The length of time that this token was intended to live. Note that `refreshSessionToken` may return the existing token to reduce overhead and to prevent denial-of-service caused by refreshing too frequently.
sint64 token_expiration_delay_millis = 4 [deprecated = true, jstype = JS_STRING];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final HandshakeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
-
mergeUnknownFields
public final HandshakeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
-