public static final class ConnectionAPI.HandshakeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder> implements ConnectionAPI.HandshakeRequestOrBuilder
org.apache.geode.internal.protocol.protobuf.v1.HandshakeRequest| Modifier and Type | Method and Description |
|---|---|
ConnectionAPI.HandshakeRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConnectionAPI.HandshakeRequest |
build() |
ConnectionAPI.HandshakeRequest |
buildPartial() |
ConnectionAPI.HandshakeRequest.Builder |
clear() |
ConnectionAPI.HandshakeRequest.Builder |
clearCredentials() |
ConnectionAPI.HandshakeRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConnectionAPI.HandshakeRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConnectionAPI.HandshakeRequest.Builder |
clearValueFormat()
Set the serialization format for values.
|
ConnectionAPI.HandshakeRequest.Builder |
clone() |
boolean |
containsCredentials(java.lang.String key)
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
java.util.Map<java.lang.String,java.lang.String> |
getCredentials()
Deprecated.
|
int |
getCredentialsCount()
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
java.util.Map<java.lang.String,java.lang.String> |
getCredentialsMap()
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
java.lang.String |
getCredentialsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
java.lang.String |
getCredentialsOrThrow(java.lang.String key)
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
ConnectionAPI.HandshakeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,java.lang.String> |
getMutableCredentials()
Deprecated.
|
java.lang.String |
getValueFormat()
Set the serialization format for values.
|
com.google.protobuf.ByteString |
getValueFormatBytes()
Set the serialization format for values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ConnectionAPI.HandshakeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConnectionAPI.HandshakeRequest.Builder |
mergeFrom(ConnectionAPI.HandshakeRequest other) |
ConnectionAPI.HandshakeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConnectionAPI.HandshakeRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConnectionAPI.HandshakeRequest.Builder |
putAllCredentials(java.util.Map<java.lang.String,java.lang.String> values)
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
ConnectionAPI.HandshakeRequest.Builder |
putCredentials(java.lang.String key,
java.lang.String value)
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
ConnectionAPI.HandshakeRequest.Builder |
removeCredentials(java.lang.String key)
Credentials used to authenticate with the security service
Not required if the server does not have a security service enabled
|
ConnectionAPI.HandshakeRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConnectionAPI.HandshakeRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ConnectionAPI.HandshakeRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConnectionAPI.HandshakeRequest.Builder |
setValueFormat(java.lang.String value)
Set the serialization format for values.
|
ConnectionAPI.HandshakeRequest.Builder |
setValueFormatBytes(com.google.protobuf.ByteString value)
Set the serialization format for values.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConnectionAPI.HandshakeRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConnectionAPI.HandshakeRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConnectionAPI.HandshakeRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder mergeFrom(ConnectionAPI.HandshakeRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public ConnectionAPI.HandshakeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionAPI.HandshakeRequest.Builder>java.io.IOExceptionpublic int getCredentialsCount()
ConnectionAPI.HandshakeRequestOrBuilderCredentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;getCredentialsCount in interface ConnectionAPI.HandshakeRequestOrBuilderpublic boolean containsCredentials(java.lang.String key)
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;containsCredentials in interface ConnectionAPI.HandshakeRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCredentials()
getCredentialsMap() instead.getCredentials in interface ConnectionAPI.HandshakeRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getCredentialsMap()
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;getCredentialsMap in interface ConnectionAPI.HandshakeRequestOrBuilderpublic java.lang.String getCredentialsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;getCredentialsOrDefault in interface ConnectionAPI.HandshakeRequestOrBuilderpublic java.lang.String getCredentialsOrThrow(java.lang.String key)
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;getCredentialsOrThrow in interface ConnectionAPI.HandshakeRequestOrBuilderpublic ConnectionAPI.HandshakeRequest.Builder clearCredentials()
public ConnectionAPI.HandshakeRequest.Builder removeCredentials(java.lang.String key)
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableCredentials()
public ConnectionAPI.HandshakeRequest.Builder putCredentials(java.lang.String key, java.lang.String value)
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;public ConnectionAPI.HandshakeRequest.Builder putAllCredentials(java.util.Map<java.lang.String,java.lang.String> values)
Credentials used to authenticate with the security service Not required if the server does not have a security service enabled
map<string, string> credentials = 1;public java.lang.String getValueFormat()
Set the serialization format for values. This should match the getID of a registered org.apache.geode.protocol.serialization.ValueSerializer on the server side. If set any EncodedValue can be sent using EncodedValue.customObjectResult, and EncodedValues sent by the server may also come back as EncodedValue.customObjectResult. If not set the server will attempt to convert non primative objects to JSON and send them as EncodedValue.jsonResult.
string valueFormat = 2;getValueFormat in interface ConnectionAPI.HandshakeRequestOrBuilderpublic com.google.protobuf.ByteString getValueFormatBytes()
Set the serialization format for values. This should match the getID of a registered org.apache.geode.protocol.serialization.ValueSerializer on the server side. If set any EncodedValue can be sent using EncodedValue.customObjectResult, and EncodedValues sent by the server may also come back as EncodedValue.customObjectResult. If not set the server will attempt to convert non primative objects to JSON and send them as EncodedValue.jsonResult.
string valueFormat = 2;getValueFormatBytes in interface ConnectionAPI.HandshakeRequestOrBuilderpublic ConnectionAPI.HandshakeRequest.Builder setValueFormat(java.lang.String value)
Set the serialization format for values. This should match the getID of a registered org.apache.geode.protocol.serialization.ValueSerializer on the server side. If set any EncodedValue can be sent using EncodedValue.customObjectResult, and EncodedValues sent by the server may also come back as EncodedValue.customObjectResult. If not set the server will attempt to convert non primative objects to JSON and send them as EncodedValue.jsonResult.
string valueFormat = 2;public ConnectionAPI.HandshakeRequest.Builder clearValueFormat()
Set the serialization format for values. This should match the getID of a registered org.apache.geode.protocol.serialization.ValueSerializer on the server side. If set any EncodedValue can be sent using EncodedValue.customObjectResult, and EncodedValues sent by the server may also come back as EncodedValue.customObjectResult. If not set the server will attempt to convert non primative objects to JSON and send them as EncodedValue.jsonResult.
string valueFormat = 2;public ConnectionAPI.HandshakeRequest.Builder setValueFormatBytes(com.google.protobuf.ByteString value)
Set the serialization format for values. This should match the getID of a registered org.apache.geode.protocol.serialization.ValueSerializer on the server side. If set any EncodedValue can be sent using EncodedValue.customObjectResult, and EncodedValues sent by the server may also come back as EncodedValue.customObjectResult. If not set the server will attempt to convert non primative objects to JSON and send them as EncodedValue.jsonResult.
string valueFormat = 2;public final ConnectionAPI.HandshakeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>public final ConnectionAPI.HandshakeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionAPI.HandshakeRequest.Builder>