Package com.ocient.jdbc.proto
Class ClientWireProtocol.ClientConnection2Response.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ClientWireProtocol.ClientConnection2Response.Builder>
com.google.protobuf.GeneratedMessage.Builder<ClientWireProtocol.ClientConnection2Response.Builder>
com.ocient.jdbc.proto.ClientWireProtocol.ClientConnection2Response.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ClientWireProtocol.ClientConnection2ResponseOrBuilder,Cloneable
- Enclosing class:
ClientWireProtocol.ClientConnection2Response
public static final class ClientWireProtocol.ClientConnection2Response.Builder
extends GeneratedMessage.Builder<ClientWireProtocol.ClientConnection2Response.Builder>
implements ClientWireProtocol.ClientConnection2ResponseOrBuilder
Protobuf type
xg.cmdcomp.ClientConnection2Response-
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.Redirect = 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;The security token associated with this sessionstring serverSessionId = 7;Get an instance of the type with no fields set.static final Descriptors.DescriptorGet the message's type's descriptor.booleanRedirect = 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;The security token associated with this sessionThe security token associated with this sessionThe security token associated with this sessionstring serverSessionId = 7;string serverSessionId = 7;boolean.xg.cmdcomp.ConfirmationResponse response = 1;booleanThe security token associated with this sessionprotected 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;The security token associated with this sessionremoveSecondary(int index) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;setRedirect(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;The security token associated with this sessionsetSecurityToken(ClientWireProtocol.SecurityToken.Builder builderForValue) The security token associated with this sessionsetServerSessionId(String value) string serverSessionId = 7;string serverSessionId = 7;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.ClientConnection2Response.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.ClientConnection2Response.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.ClientConnection2Response.Builder>
-
mergeFrom
public ClientWireProtocol.ClientConnection2Response.Builder mergeFrom(ClientWireProtocol.ClientConnection2Response other) -
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.ClientConnection2Response.Builder>
-
mergeFrom
public ClientWireProtocol.ClientConnection2Response.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.ClientConnection2Response.Builder>- Throws:
IOException- an I/O error reading from the stream
-
hasResponse
public boolean hasResponse().xg.cmdcomp.ConfirmationResponse response = 1;- Specified by:
hasResponsein interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
.xg.cmdcomp.ConfirmationResponse response = 1;- Specified by:
getResponsein interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- The response.
-
setResponse
public ClientWireProtocol.ClientConnection2Response.Builder setResponse(ClientWireProtocol.ConfirmationResponse value) .xg.cmdcomp.ConfirmationResponse response = 1; -
setResponse
public ClientWireProtocol.ClientConnection2Response.Builder setResponse(ClientWireProtocol.ConfirmationResponse.Builder builderForValue) .xg.cmdcomp.ConfirmationResponse response = 1; -
mergeResponse
public ClientWireProtocol.ClientConnection2Response.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.ClientConnection2ResponseOrBuilder
-
getRedirect
public boolean getRedirect()Redirect = true, means we are telling client to connect elsewhere
bool redirect = 2;- Specified by:
getRedirectin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- 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.ClientConnection2ResponseOrBuilder- Returns:
- The redirectHost.
-
getRedirectHostBytes
string redirectHost = 3;- Specified by:
getRedirectHostBytesin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- The bytes for redirectHost.
-
setRedirectHost
string redirectHost = 3;- Parameters:
value- The redirectHost to set.- Returns:
- This builder for chaining.
-
clearRedirectHost
string redirectHost = 3;- Returns:
- This builder for chaining.
-
setRedirectHostBytes
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.ClientConnection2ResponseOrBuilder- 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.ClientConnection2ResponseOrBuilder
-
getSecondaryCount
public int getSecondaryCount()repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryCountin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder
-
getSecondary
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder
-
setSecondary
public ClientWireProtocol.ClientConnection2Response.Builder setSecondary(int index, ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
setSecondary
public ClientWireProtocol.ClientConnection2Response.Builder setSecondary(int index, ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnection2Response.Builder addSecondary(ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnection2Response.Builder addSecondary(int index, ClientWireProtocol.SecondaryInterfaceList value) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnection2Response.Builder addSecondary(ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondary
public ClientWireProtocol.ClientConnection2Response.Builder addSecondary(int index, ClientWireProtocol.SecondaryInterfaceList.Builder builderForValue) repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addAllSecondary
public ClientWireProtocol.ClientConnection2Response.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.ClientConnection2ResponseOrBuilder
-
getSecondaryOrBuilderList
public List<? extends ClientWireProtocol.SecondaryInterfaceListOrBuilder> getSecondaryOrBuilderList()repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6;- Specified by:
getSecondaryOrBuilderListin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder
-
addSecondaryBuilder
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
addSecondaryBuilder
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
getSecondaryBuilderList
repeated .xg.cmdcomp.SecondaryInterfaceList secondary = 6; -
getServerSessionId
string serverSessionId = 7;- Specified by:
getServerSessionIdin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- The serverSessionId.
-
getServerSessionIdBytes
string serverSessionId = 7;- Specified by:
getServerSessionIdBytesin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- The bytes for serverSessionId.
-
setServerSessionId
string serverSessionId = 7;- Parameters:
value- The serverSessionId to set.- Returns:
- This builder for chaining.
-
clearServerSessionId
string serverSessionId = 7;- Returns:
- This builder for chaining.
-
setServerSessionIdBytes
public ClientWireProtocol.ClientConnection2Response.Builder setServerSessionIdBytes(ByteString value) string serverSessionId = 7;- Parameters:
value- The bytes for serverSessionId to set.- Returns:
- This builder for chaining.
-
hasSecurityToken
public boolean hasSecurityToken()The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8;- Specified by:
hasSecurityTokenin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- Whether the securityToken field is set.
-
getSecurityToken
The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8;- Specified by:
getSecurityTokenin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder- Returns:
- The securityToken.
-
setSecurityToken
public ClientWireProtocol.ClientConnection2Response.Builder setSecurityToken(ClientWireProtocol.SecurityToken value) The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8; -
setSecurityToken
public ClientWireProtocol.ClientConnection2Response.Builder setSecurityToken(ClientWireProtocol.SecurityToken.Builder builderForValue) The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8; -
mergeSecurityToken
public ClientWireProtocol.ClientConnection2Response.Builder mergeSecurityToken(ClientWireProtocol.SecurityToken value) The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8; -
clearSecurityToken
The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8; -
getSecurityTokenBuilder
The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8; -
getSecurityTokenOrBuilder
The security token associated with this session
.xg.cmdcomp.SecurityToken securityToken = 8;- Specified by:
getSecurityTokenOrBuilderin interfaceClientWireProtocol.ClientConnection2ResponseOrBuilder
-