Package com.ocient.jdbc.proto
Class ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
com.ocient.jdbc.proto.ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder,Cloneable
- Enclosing class:
ClientWireProtocol.ClientConnectionSecurityTokenResponse
public static final class ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder
extends GeneratedMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
implements ClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
Protobuf type
xg.cmdcomp.ClientConnectionSecurityTokenResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllSecondary(Iterable<? extends ClientWireProtocol.SecondaryInterfaceList> values) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;addSecondary(int index, ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;addSecondary(int index, ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;addSecondary(ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;addSecondaryBuilder(int index) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;build()Constructs the message based on the state of the Builder.LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.clear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.The fully qualified username used for the connectionRedirect = true, means we are telling client to connect elsewherestring redirectHost = 3;fixed32 redirectPort = 4;.xg.cmdcomp.ConfirmationResponse response = 1;repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;Different from 'sessionID' which belongs to the client..xg.cmdcomp.ServerVersion serverVersion = 9;Get an instance of the type with no fields set.static final Descriptors.DescriptorGet the message's type's descriptor.The fully qualified username used for the connectionThe fully qualified username used for the connectionbooleanRedirect = true, means we are telling client to connect elsewherestring redirectHost = 3;string redirectHost = 3;intfixed32 redirectPort = 4;.xg.cmdcomp.ConfirmationResponse response = 1;.xg.cmdcomp.ConfirmationResponse response = 1;.xg.cmdcomp.ConfirmationResponse response = 1;getSecondary(int index) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;getSecondaryBuilder(int index) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;intrepeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;getSecondaryOrBuilder(int index) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;Different from 'sessionID' which belongs to the client.Different from 'sessionID' which belongs to the client..xg.cmdcomp.ServerVersion serverVersion = 9;.xg.cmdcomp.ServerVersion serverVersion = 9;.xg.cmdcomp.ServerVersion serverVersion = 9;boolean.xg.cmdcomp.ConfirmationResponse response = 1;boolean.xg.cmdcomp.ServerVersion serverVersion = 9;protected GeneratedMessage.FieldAccessorTableGet the FieldAccessorTable for this type.final booleanReturns true if all required fields in the message and all embedded messages are set, false otherwise.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Mergeotherinto the message being built..xg.cmdcomp.ConfirmationResponse response = 1;.xg.cmdcomp.ServerVersion serverVersion = 9;removeSecondary(int index) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;setFullyQualifiedUsername(String value) The fully qualified username used for the connectionThe fully qualified username used for the connectionsetRedirect(boolean value) Redirect = true, means we are telling client to connect elsewheresetRedirectHost(String value) string redirectHost = 3;setRedirectHostBytes(ByteString value) string redirectHost = 3;setRedirectPort(int value) fixed32 redirectPort = 4;.xg.cmdcomp.ConfirmationResponse response = 1;setResponse(ClientWireProtocol.ConfirmationResponse.Builder builderForValue) .xg.cmdcomp.ConfirmationResponse response = 1;setSecondary(int index, ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;setSecondary(int index, ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;setServerSessionId(String value) Different from 'sessionID' which belongs to the client.Different from 'sessionID' which belongs to the client..xg.cmdcomp.ServerVersion serverVersion = 9;setServerVersion(ClientWireProtocol.ServerVersion.Builder builderForValue) .xg.cmdcomp.ServerVersion serverVersion = 9;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
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessage.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos. -
clear
Description copied from class:GeneratedMessage.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
-
getDescriptorForType
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
-
getDefaultInstanceForType
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>
-
mergeFrom
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder>- Throws:
IOException- an I/O error reading from the stream
-
hasResponse
public boolean hasResponse().xg.cmdcomp.ConfirmationResponse response = 1;- Specified by:
hasResponsein interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
.xg.cmdcomp.ConfirmationResponse response = 1;- Specified by:
getResponsein interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The response.
-
setResponse
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setResponse(ClientWireProtocol.ConfirmationResponse value) .xg.cmdcomp.ConfirmationResponse response = 1; -
setResponse
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setResponse(ClientWireProtocol.ConfirmationResponse.Builder builderForValue) .xg.cmdcomp.ConfirmationResponse response = 1; -
mergeResponse
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder mergeResponse(ClientWireProtocol.ConfirmationResponse value) .xg.cmdcomp.ConfirmationResponse response = 1; -
clearResponse
.xg.cmdcomp.ConfirmationResponse response = 1; -
getResponseBuilder
.xg.cmdcomp.ConfirmationResponse response = 1; -
getResponseOrBuilder
.xg.cmdcomp.ConfirmationResponse response = 1;- Specified by:
getResponseOrBuilderin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-
getRedirect
public boolean getRedirect()Redirect = true, means we are telling client to connect elsewhere
bool redirect = 2;- Specified by:
getRedirectin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The redirect.
-
setRedirect
Redirect = true, means we are telling client to connect elsewhere
bool redirect = 2;- Parameters:
value- The redirect to set.- Returns:
- This builder for chaining.
-
clearRedirect
Redirect = true, means we are telling client to connect elsewhere
bool redirect = 2;- Returns:
- This builder for chaining.
-
getRedirectHost
string redirectHost = 3;- Specified by:
getRedirectHostin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The redirectHost.
-
getRedirectHostBytes
string redirectHost = 3;- Specified by:
getRedirectHostBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The bytes for redirectHost.
-
setRedirectHost
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setRedirectHost(String value) string redirectHost = 3;- Parameters:
value- The redirectHost to set.- Returns:
- This builder for chaining.
-
clearRedirectHost
string redirectHost = 3;- Returns:
- This builder for chaining.
-
setRedirectHostBytes
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setRedirectHostBytes(ByteString value) string redirectHost = 3;- Parameters:
value- The bytes for redirectHost to set.- Returns:
- This builder for chaining.
-
getRedirectPort
public int getRedirectPort()fixed32 redirectPort = 4;- Specified by:
getRedirectPortin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The redirectPort.
-
setRedirectPort
fixed32 redirectPort = 4;- Parameters:
value- The redirectPort to set.- Returns:
- This builder for chaining.
-
clearRedirectPort
fixed32 redirectPort = 4;- Returns:
- This builder for chaining.
-
getSecondaryList
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryListin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-
getSecondaryCount
public int getSecondaryCount()repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryCountin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-
getSecondary
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-
setSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setSecondary(int index, ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
setSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setSecondary(int index, ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder addSecondary(ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder addSecondary(int index, ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder addSecondary(ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder addSecondary(int index, ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addAllSecondary
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder addAllSecondary(Iterable<? extends ClientWireProtocol.SecondaryInterfaceList> values) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
clearSecondary
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
removeSecondary
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
getSecondaryBuilder
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
getSecondaryOrBuilder
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryOrBuilderin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-
getSecondaryOrBuilderList
public List<? extends ClientWireProtocol.SecondaryInterfaceListOrBuilder> getSecondaryOrBuilderList()repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryOrBuilderListin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-
addSecondaryBuilder
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondaryBuilder
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
getSecondaryBuilderList
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
getServerSessionId
Different from 'sessionID' which belongs to the client.
string serverSessionId = 7;- Specified by:
getServerSessionIdin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The serverSessionId.
-
getServerSessionIdBytes
Different from 'sessionID' which belongs to the client.
string serverSessionId = 7;- Specified by:
getServerSessionIdBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The bytes for serverSessionId.
-
setServerSessionId
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setServerSessionId(String value) Different from 'sessionID' which belongs to the client.
string serverSessionId = 7;- Parameters:
value- The serverSessionId to set.- Returns:
- This builder for chaining.
-
clearServerSessionId
Different from 'sessionID' which belongs to the client.
string serverSessionId = 7;- Returns:
- This builder for chaining.
-
setServerSessionIdBytes
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setServerSessionIdBytes(ByteString value) Different from 'sessionID' which belongs to the client.
string serverSessionId = 7;- Parameters:
value- The bytes for serverSessionId to set.- Returns:
- This builder for chaining.
-
getFullyQualifiedUsername
The fully qualified username used for the connection
string fullyQualifiedUsername = 8;- Specified by:
getFullyQualifiedUsernamein interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The fullyQualifiedUsername.
-
getFullyQualifiedUsernameBytes
The fully qualified username used for the connection
string fullyQualifiedUsername = 8;- Specified by:
getFullyQualifiedUsernameBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The bytes for fullyQualifiedUsername.
-
setFullyQualifiedUsername
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setFullyQualifiedUsername(String value) The fully qualified username used for the connection
string fullyQualifiedUsername = 8;- Parameters:
value- The fullyQualifiedUsername to set.- Returns:
- This builder for chaining.
-
clearFullyQualifiedUsername
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder clearFullyQualifiedUsername()The fully qualified username used for the connection
string fullyQualifiedUsername = 8;- Returns:
- This builder for chaining.
-
setFullyQualifiedUsernameBytes
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setFullyQualifiedUsernameBytes(ByteString value) The fully qualified username used for the connection
string fullyQualifiedUsername = 8;- Parameters:
value- The bytes for fullyQualifiedUsername to set.- Returns:
- This builder for chaining.
-
hasServerVersion
public boolean hasServerVersion().xg.cmdcomp.ServerVersion serverVersion = 9;- Specified by:
hasServerVersionin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- Whether the serverVersion field is set.
-
getServerVersion
.xg.cmdcomp.ServerVersion serverVersion = 9;- Specified by:
getServerVersionin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder- Returns:
- The serverVersion.
-
setServerVersion
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setServerVersion(ClientWireProtocol.ServerVersion value) .xg.cmdcomp.ServerVersion serverVersion = 9; -
setServerVersion
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder setServerVersion(ClientWireProtocol.ServerVersion.Builder builderForValue) .xg.cmdcomp.ServerVersion serverVersion = 9; -
mergeServerVersion
public ClientWireProtocol.ClientConnectionSecurityTokenResponse.Builder mergeServerVersion(ClientWireProtocol.ServerVersion value) .xg.cmdcomp.ServerVersion serverVersion = 9; -
clearServerVersion
.xg.cmdcomp.ServerVersion serverVersion = 9; -
getServerVersionBuilder
.xg.cmdcomp.ServerVersion serverVersion = 9; -
getServerVersionOrBuilder
.xg.cmdcomp.ServerVersion serverVersion = 9;- Specified by:
getServerVersionOrBuilderin interfaceClientWireProtocol.ClientConnectionSecurityTokenResponseOrBuilder
-