Package io.grpc.alts.internal
Class HandshakerResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<HandshakerResult.Builder>
-
- io.grpc.alts.internal.HandshakerResult.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HandshakerResultOrBuilder
,java.lang.Cloneable
- Enclosing class:
- HandshakerResult
public static final class HandshakerResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<HandshakerResult.Builder> implements HandshakerResultOrBuilder
Protobuf typegrpc.gcp.HandshakerResult
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
applicationProtocol_
private int
bitField0_
private boolean
keepChannelOpen_
private com.google.protobuf.ByteString
keyData_
private Identity
localIdentity_
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>
localIdentityBuilder_
private int
maxFrameSize_
private Identity
peerIdentity_
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>
peerIdentityBuilder_
private RpcProtocolVersions
peerRpcVersions_
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder>
peerRpcVersionsBuilder_
private java.lang.Object
recordProtocol_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HandshakerResult
build()
HandshakerResult
buildPartial()
private void
buildPartial0(HandshakerResult result)
HandshakerResult.Builder
clear()
HandshakerResult.Builder
clearApplicationProtocol()
The application protocol negotiated for this connection.HandshakerResult.Builder
clearKeepChannelOpen()
Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.HandshakerResult.Builder
clearKeyData()
Cryptographic key data.HandshakerResult.Builder
clearLocalIdentity()
The local identity used in the handshake.HandshakerResult.Builder
clearMaxFrameSize()
The maximum frame size of the peer.HandshakerResult.Builder
clearPeerIdentity()
The authenticated identity of the peer.HandshakerResult.Builder
clearPeerRpcVersions()
The RPC protocol versions supported by the peer.HandshakerResult.Builder
clearRecordProtocol()
The record protocol negotiated for this connection.java.lang.String
getApplicationProtocol()
The application protocol negotiated for this connection.com.google.protobuf.ByteString
getApplicationProtocolBytes()
The application protocol negotiated for this connection.HandshakerResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getKeepChannelOpen()
Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.com.google.protobuf.ByteString
getKeyData()
Cryptographic key data.Identity
getLocalIdentity()
The local identity used in the handshake.Identity.Builder
getLocalIdentityBuilder()
The local identity used in the handshake.private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>
getLocalIdentityFieldBuilder()
The local identity used in the handshake.IdentityOrBuilder
getLocalIdentityOrBuilder()
The local identity used in the handshake.int
getMaxFrameSize()
The maximum frame size of the peer.Identity
getPeerIdentity()
The authenticated identity of the peer.Identity.Builder
getPeerIdentityBuilder()
The authenticated identity of the peer.private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder>
getPeerIdentityFieldBuilder()
The authenticated identity of the peer.IdentityOrBuilder
getPeerIdentityOrBuilder()
The authenticated identity of the peer.RpcProtocolVersions
getPeerRpcVersions()
The RPC protocol versions supported by the peer.RpcProtocolVersions.Builder
getPeerRpcVersionsBuilder()
The RPC protocol versions supported by the peer.private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder>
getPeerRpcVersionsFieldBuilder()
The RPC protocol versions supported by the peer.RpcProtocolVersionsOrBuilder
getPeerRpcVersionsOrBuilder()
The RPC protocol versions supported by the peer.java.lang.String
getRecordProtocol()
The record protocol negotiated for this connection.com.google.protobuf.ByteString
getRecordProtocolBytes()
The record protocol negotiated for this connection.boolean
hasLocalIdentity()
The local identity used in the handshake.boolean
hasPeerIdentity()
The authenticated identity of the peer.boolean
hasPeerRpcVersions()
The RPC protocol versions supported by the peer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
HandshakerResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HandshakerResult.Builder
mergeFrom(com.google.protobuf.Message other)
HandshakerResult.Builder
mergeFrom(HandshakerResult other)
HandshakerResult.Builder
mergeLocalIdentity(Identity value)
The local identity used in the handshake.HandshakerResult.Builder
mergePeerIdentity(Identity value)
The authenticated identity of the peer.HandshakerResult.Builder
mergePeerRpcVersions(RpcProtocolVersions value)
The RPC protocol versions supported by the peer.HandshakerResult.Builder
setApplicationProtocol(java.lang.String value)
The application protocol negotiated for this connection.HandshakerResult.Builder
setApplicationProtocolBytes(com.google.protobuf.ByteString value)
The application protocol negotiated for this connection.HandshakerResult.Builder
setKeepChannelOpen(boolean value)
Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.HandshakerResult.Builder
setKeyData(com.google.protobuf.ByteString value)
Cryptographic key data.HandshakerResult.Builder
setLocalIdentity(Identity value)
The local identity used in the handshake.HandshakerResult.Builder
setLocalIdentity(Identity.Builder builderForValue)
The local identity used in the handshake.HandshakerResult.Builder
setMaxFrameSize(int value)
The maximum frame size of the peer.HandshakerResult.Builder
setPeerIdentity(Identity value)
The authenticated identity of the peer.HandshakerResult.Builder
setPeerIdentity(Identity.Builder builderForValue)
The authenticated identity of the peer.HandshakerResult.Builder
setPeerRpcVersions(RpcProtocolVersions value)
The RPC protocol versions supported by the peer.HandshakerResult.Builder
setPeerRpcVersions(RpcProtocolVersions.Builder builderForValue)
The RPC protocol versions supported by the peer.HandshakerResult.Builder
setRecordProtocol(java.lang.String value)
The record protocol negotiated for this connection.HandshakerResult.Builder
setRecordProtocolBytes(com.google.protobuf.ByteString value)
The record protocol negotiated for this connection.-
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, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
applicationProtocol_
private java.lang.Object applicationProtocol_
-
recordProtocol_
private java.lang.Object recordProtocol_
-
keyData_
private com.google.protobuf.ByteString keyData_
-
peerIdentity_
private Identity peerIdentity_
-
peerIdentityBuilder_
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> peerIdentityBuilder_
-
localIdentity_
private Identity localIdentity_
-
localIdentityBuilder_
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> localIdentityBuilder_
-
keepChannelOpen_
private boolean keepChannelOpen_
-
peerRpcVersions_
private RpcProtocolVersions peerRpcVersions_
-
peerRpcVersionsBuilder_
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder> peerRpcVersionsBuilder_
-
maxFrameSize_
private int maxFrameSize_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HandshakerResult.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public HandshakerResult.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.GeneratedMessage.Builder<HandshakerResult.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.GeneratedMessage.Builder<HandshakerResult.Builder>
-
getDefaultInstanceForType
public HandshakerResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HandshakerResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HandshakerResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(HandshakerResult result)
-
mergeFrom
public HandshakerResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HandshakerResult.Builder>
-
mergeFrom
public HandshakerResult.Builder mergeFrom(HandshakerResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<HandshakerResult.Builder>
-
mergeFrom
public HandshakerResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<HandshakerResult.Builder>
- Throws:
java.io.IOException
-
getApplicationProtocol
public java.lang.String getApplicationProtocol()
The application protocol negotiated for this connection.
string application_protocol = 1;
- Specified by:
getApplicationProtocol
in interfaceHandshakerResultOrBuilder
- Returns:
- The applicationProtocol.
-
getApplicationProtocolBytes
public com.google.protobuf.ByteString getApplicationProtocolBytes()
The application protocol negotiated for this connection.
string application_protocol = 1;
- Specified by:
getApplicationProtocolBytes
in interfaceHandshakerResultOrBuilder
- Returns:
- The bytes for applicationProtocol.
-
setApplicationProtocol
public HandshakerResult.Builder setApplicationProtocol(java.lang.String value)
The application protocol negotiated for this connection.
string application_protocol = 1;
- Parameters:
value
- The applicationProtocol to set.- Returns:
- This builder for chaining.
-
clearApplicationProtocol
public HandshakerResult.Builder clearApplicationProtocol()
The application protocol negotiated for this connection.
string application_protocol = 1;
- Returns:
- This builder for chaining.
-
setApplicationProtocolBytes
public HandshakerResult.Builder setApplicationProtocolBytes(com.google.protobuf.ByteString value)
The application protocol negotiated for this connection.
string application_protocol = 1;
- Parameters:
value
- The bytes for applicationProtocol to set.- Returns:
- This builder for chaining.
-
getRecordProtocol
public java.lang.String getRecordProtocol()
The record protocol negotiated for this connection.
string record_protocol = 2;
- Specified by:
getRecordProtocol
in interfaceHandshakerResultOrBuilder
- Returns:
- The recordProtocol.
-
getRecordProtocolBytes
public com.google.protobuf.ByteString getRecordProtocolBytes()
The record protocol negotiated for this connection.
string record_protocol = 2;
- Specified by:
getRecordProtocolBytes
in interfaceHandshakerResultOrBuilder
- Returns:
- The bytes for recordProtocol.
-
setRecordProtocol
public HandshakerResult.Builder setRecordProtocol(java.lang.String value)
The record protocol negotiated for this connection.
string record_protocol = 2;
- Parameters:
value
- The recordProtocol to set.- Returns:
- This builder for chaining.
-
clearRecordProtocol
public HandshakerResult.Builder clearRecordProtocol()
The record protocol negotiated for this connection.
string record_protocol = 2;
- Returns:
- This builder for chaining.
-
setRecordProtocolBytes
public HandshakerResult.Builder setRecordProtocolBytes(com.google.protobuf.ByteString value)
The record protocol negotiated for this connection.
string record_protocol = 2;
- Parameters:
value
- The bytes for recordProtocol to set.- Returns:
- This builder for chaining.
-
getKeyData
public com.google.protobuf.ByteString getKeyData()
Cryptographic key data. The key data may be more than the key length required for the record protocol, thus the client of the handshaker service needs to truncate the key data into the right key length.
bytes key_data = 3;
- Specified by:
getKeyData
in interfaceHandshakerResultOrBuilder
- Returns:
- The keyData.
-
setKeyData
public HandshakerResult.Builder setKeyData(com.google.protobuf.ByteString value)
Cryptographic key data. The key data may be more than the key length required for the record protocol, thus the client of the handshaker service needs to truncate the key data into the right key length.
bytes key_data = 3;
- Parameters:
value
- The keyData to set.- Returns:
- This builder for chaining.
-
clearKeyData
public HandshakerResult.Builder clearKeyData()
Cryptographic key data. The key data may be more than the key length required for the record protocol, thus the client of the handshaker service needs to truncate the key data into the right key length.
bytes key_data = 3;
- Returns:
- This builder for chaining.
-
hasPeerIdentity
public boolean hasPeerIdentity()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
- Specified by:
hasPeerIdentity
in interfaceHandshakerResultOrBuilder
- Returns:
- Whether the peerIdentity field is set.
-
getPeerIdentity
public Identity getPeerIdentity()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
- Specified by:
getPeerIdentity
in interfaceHandshakerResultOrBuilder
- Returns:
- The peerIdentity.
-
setPeerIdentity
public HandshakerResult.Builder setPeerIdentity(Identity value)
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
setPeerIdentity
public HandshakerResult.Builder setPeerIdentity(Identity.Builder builderForValue)
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
mergePeerIdentity
public HandshakerResult.Builder mergePeerIdentity(Identity value)
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
clearPeerIdentity
public HandshakerResult.Builder clearPeerIdentity()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
getPeerIdentityBuilder
public Identity.Builder getPeerIdentityBuilder()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
getPeerIdentityOrBuilder
public IdentityOrBuilder getPeerIdentityOrBuilder()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
- Specified by:
getPeerIdentityOrBuilder
in interfaceHandshakerResultOrBuilder
-
getPeerIdentityFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> getPeerIdentityFieldBuilder()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
hasLocalIdentity
public boolean hasLocalIdentity()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
- Specified by:
hasLocalIdentity
in interfaceHandshakerResultOrBuilder
- Returns:
- Whether the localIdentity field is set.
-
getLocalIdentity
public Identity getLocalIdentity()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
- Specified by:
getLocalIdentity
in interfaceHandshakerResultOrBuilder
- Returns:
- The localIdentity.
-
setLocalIdentity
public HandshakerResult.Builder setLocalIdentity(Identity value)
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
setLocalIdentity
public HandshakerResult.Builder setLocalIdentity(Identity.Builder builderForValue)
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
mergeLocalIdentity
public HandshakerResult.Builder mergeLocalIdentity(Identity value)
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
clearLocalIdentity
public HandshakerResult.Builder clearLocalIdentity()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
getLocalIdentityBuilder
public Identity.Builder getLocalIdentityBuilder()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
getLocalIdentityOrBuilder
public IdentityOrBuilder getLocalIdentityOrBuilder()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
- Specified by:
getLocalIdentityOrBuilder
in interfaceHandshakerResultOrBuilder
-
getLocalIdentityFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> getLocalIdentityFieldBuilder()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
getKeepChannelOpen
public boolean getKeepChannelOpen()
Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.
bool keep_channel_open = 6;
- Specified by:
getKeepChannelOpen
in interfaceHandshakerResultOrBuilder
- Returns:
- The keepChannelOpen.
-
setKeepChannelOpen
public HandshakerResult.Builder setKeepChannelOpen(boolean value)
Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.
bool keep_channel_open = 6;
- Parameters:
value
- The keepChannelOpen to set.- Returns:
- This builder for chaining.
-
clearKeepChannelOpen
public HandshakerResult.Builder clearKeepChannelOpen()
Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.
bool keep_channel_open = 6;
- Returns:
- This builder for chaining.
-
hasPeerRpcVersions
public boolean hasPeerRpcVersions()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
- Specified by:
hasPeerRpcVersions
in interfaceHandshakerResultOrBuilder
- Returns:
- Whether the peerRpcVersions field is set.
-
getPeerRpcVersions
public RpcProtocolVersions getPeerRpcVersions()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
- Specified by:
getPeerRpcVersions
in interfaceHandshakerResultOrBuilder
- Returns:
- The peerRpcVersions.
-
setPeerRpcVersions
public HandshakerResult.Builder setPeerRpcVersions(RpcProtocolVersions value)
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
setPeerRpcVersions
public HandshakerResult.Builder setPeerRpcVersions(RpcProtocolVersions.Builder builderForValue)
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
mergePeerRpcVersions
public HandshakerResult.Builder mergePeerRpcVersions(RpcProtocolVersions value)
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
clearPeerRpcVersions
public HandshakerResult.Builder clearPeerRpcVersions()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
getPeerRpcVersionsBuilder
public RpcProtocolVersions.Builder getPeerRpcVersionsBuilder()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
getPeerRpcVersionsOrBuilder
public RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
- Specified by:
getPeerRpcVersionsOrBuilder
in interfaceHandshakerResultOrBuilder
-
getPeerRpcVersionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder> getPeerRpcVersionsFieldBuilder()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
getMaxFrameSize
public int getMaxFrameSize()
The maximum frame size of the peer.
uint32 max_frame_size = 8;
- Specified by:
getMaxFrameSize
in interfaceHandshakerResultOrBuilder
- Returns:
- The maxFrameSize.
-
setMaxFrameSize
public HandshakerResult.Builder setMaxFrameSize(int value)
The maximum frame size of the peer.
uint32 max_frame_size = 8;
- Parameters:
value
- The maxFrameSize to set.- Returns:
- This builder for chaining.
-
clearMaxFrameSize
public HandshakerResult.Builder clearMaxFrameSize()
The maximum frame size of the peer.
uint32 max_frame_size = 8;
- Returns:
- This builder for chaining.
-
-