Package com.ocient.jdbc.proto
Class ClientWireProtocol.ClientConnectionSecurityToken.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.Builder>
com.ocient.jdbc.proto.ClientWireProtocol.ClientConnectionSecurityToken.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ClientWireProtocol.ClientConnectionSecurityTokenOrBuilder,Cloneable
- Enclosing class:
- ClientWireProtocol.ClientConnectionSecurityToken
public static final class ClientWireProtocol.ClientConnectionSecurityToken.Builder
extends GeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.Builder>
implements ClientWireProtocol.ClientConnectionSecurityTokenOrBuilder
Protobuf type
xg.cmdcomp.ClientConnectionSecurityToken-
Method Summary
Modifier and TypeMethodDescriptionbuild()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.string clientid = 2;string database = 1;bool force = 10;string issuerFingerprint = 9;int32 majorClientVersion = 4;int32 minorClientVersion = 5;note the out of order field numberingstring securityToken = 7;string sessionID = 6;True if the client supports parallelstring tokenSignature = 8;string version = 3;string clientid = 2;string clientid = 2;string database = 1;string database = 1;Get an instance of the type with no fields set.static final Descriptors.DescriptorGet the message's type's descriptor.booleangetForce()bool force = 10;string issuerFingerprint = 9;string issuerFingerprint = 9;intint32 majorClientVersion = 4;intint32 minorClientVersion = 5;note the out of order field numberingnote the out of order field numberingstring securityToken = 7;string securityToken = 7;string sessionID = 6;string sessionID = 6;booleanTrue if the client supports parallelstring tokenSignature = 8;string tokenSignature = 8;string version = 3;string version = 3;protected GeneratedMessageV3.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.mergeUnknownFields(UnknownFieldSet unknownFields) Merge some unknown fields into theUnknownFieldSetfor this message.setClientid(String value) string clientid = 2;setClientidBytes(ByteString value) string clientid = 2;setDatabase(String value) string database = 1;setDatabaseBytes(ByteString value) string database = 1;setForce(boolean value) bool force = 10;setIssuerFingerprint(String value) string issuerFingerprint = 9;string issuerFingerprint = 9;setMajorClientVersion(int value) int32 majorClientVersion = 4;setMinorClientVersion(int value) int32 minorClientVersion = 5;setPatchClientVersion(String value) note the out of order field numberingnote the out of order field numberingsetSecurityToken(String value) string securityToken = 7;setSecurityTokenBytes(ByteString value) string securityToken = 7;setSessionID(String value) string sessionID = 6;setSessionIDBytes(ByteString value) string sessionID = 6;setSupportsSortedParallelTCPStreams(boolean value) True if the client supports parallelsetTokenSignature(String value) string tokenSignature = 8;setTokenSignatureBytes(ByteString value) string tokenSignature = 8;setUnknownFields(UnknownFieldSet unknownFields) Set theUnknownFieldSetfor this message.setVersion(String value) string version = 3;setVersionBytes(ByteString value) string version = 3;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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:GeneratedMessageV3.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:GeneratedMessageV3.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 classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.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 classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.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.ClientConnectionSecurityToken.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 classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.Builder>
-
mergeFrom
public ClientWireProtocol.ClientConnectionSecurityToken.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.ClientConnectionSecurityToken.Builder>- Throws:
InvalidProtocolBufferException- the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.IOException- an I/O error reading from the stream
-
getDatabase
string database = 1;- Specified by:
getDatabasein interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The database.
-
getDatabaseBytes
string database = 1;- Specified by:
getDatabaseBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for database.
-
setDatabase
string database = 1;- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
clearDatabase
string database = 1;- Returns:
- This builder for chaining.
-
setDatabaseBytes
string database = 1;- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
getClientid
string clientid = 2;- Specified by:
getClientidin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The clientid.
-
getClientidBytes
string clientid = 2;- Specified by:
getClientidBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for clientid.
-
setClientid
string clientid = 2;- Parameters:
value- The clientid to set.- Returns:
- This builder for chaining.
-
clearClientid
string clientid = 2;- Returns:
- This builder for chaining.
-
setClientidBytes
string clientid = 2;- Parameters:
value- The bytes for clientid to set.- Returns:
- This builder for chaining.
-
getVersion
string version = 3;- Specified by:
getVersionin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The version.
-
getVersionBytes
string version = 3;- Specified by:
getVersionBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for version.
-
setVersion
string version = 3;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
string version = 3;- Returns:
- This builder for chaining.
-
setVersionBytes
string version = 3;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getMajorClientVersion
public int getMajorClientVersion()int32 majorClientVersion = 4;- Specified by:
getMajorClientVersionin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The majorClientVersion.
-
setMajorClientVersion
int32 majorClientVersion = 4;- Parameters:
value- The majorClientVersion to set.- Returns:
- This builder for chaining.
-
clearMajorClientVersion
int32 majorClientVersion = 4;- Returns:
- This builder for chaining.
-
getMinorClientVersion
public int getMinorClientVersion()int32 minorClientVersion = 5;- Specified by:
getMinorClientVersionin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The minorClientVersion.
-
setMinorClientVersion
int32 minorClientVersion = 5;- Parameters:
value- The minorClientVersion to set.- Returns:
- This builder for chaining.
-
clearMinorClientVersion
int32 minorClientVersion = 5;- Returns:
- This builder for chaining.
-
getPatchClientVersion
note the out of order field numbering
string patchClientVersion = 11;- Specified by:
getPatchClientVersionin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The patchClientVersion.
-
getPatchClientVersionBytes
note the out of order field numbering
string patchClientVersion = 11;- Specified by:
getPatchClientVersionBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for patchClientVersion.
-
setPatchClientVersion
note the out of order field numbering
string patchClientVersion = 11;- Parameters:
value- The patchClientVersion to set.- Returns:
- This builder for chaining.
-
clearPatchClientVersion
note the out of order field numbering
string patchClientVersion = 11;- Returns:
- This builder for chaining.
-
setPatchClientVersionBytes
public ClientWireProtocol.ClientConnectionSecurityToken.Builder setPatchClientVersionBytes(ByteString value) note the out of order field numbering
string patchClientVersion = 11;- Parameters:
value- The bytes for patchClientVersion to set.- Returns:
- This builder for chaining.
-
getSessionID
string sessionID = 6;- Specified by:
getSessionIDin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The sessionID.
-
getSessionIDBytes
string sessionID = 6;- Specified by:
getSessionIDBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for sessionID.
-
setSessionID
string sessionID = 6;- Parameters:
value- The sessionID to set.- Returns:
- This builder for chaining.
-
clearSessionID
string sessionID = 6;- Returns:
- This builder for chaining.
-
setSessionIDBytes
string sessionID = 6;- Parameters:
value- The bytes for sessionID to set.- Returns:
- This builder for chaining.
-
getSecurityToken
string securityToken = 7;- Specified by:
getSecurityTokenin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The securityToken.
-
getSecurityTokenBytes
string securityToken = 7;- Specified by:
getSecurityTokenBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for securityToken.
-
setSecurityToken
string securityToken = 7;- Parameters:
value- The securityToken to set.- Returns:
- This builder for chaining.
-
clearSecurityToken
string securityToken = 7;- Returns:
- This builder for chaining.
-
setSecurityTokenBytes
public ClientWireProtocol.ClientConnectionSecurityToken.Builder setSecurityTokenBytes(ByteString value) string securityToken = 7;- Parameters:
value- The bytes for securityToken to set.- Returns:
- This builder for chaining.
-
getTokenSignature
string tokenSignature = 8;- Specified by:
getTokenSignaturein interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The tokenSignature.
-
getTokenSignatureBytes
string tokenSignature = 8;- Specified by:
getTokenSignatureBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for tokenSignature.
-
setTokenSignature
string tokenSignature = 8;- Parameters:
value- The tokenSignature to set.- Returns:
- This builder for chaining.
-
clearTokenSignature
string tokenSignature = 8;- Returns:
- This builder for chaining.
-
setTokenSignatureBytes
public ClientWireProtocol.ClientConnectionSecurityToken.Builder setTokenSignatureBytes(ByteString value) string tokenSignature = 8;- Parameters:
value- The bytes for tokenSignature to set.- Returns:
- This builder for chaining.
-
getIssuerFingerprint
string issuerFingerprint = 9;- Specified by:
getIssuerFingerprintin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The issuerFingerprint.
-
getIssuerFingerprintBytes
string issuerFingerprint = 9;- Specified by:
getIssuerFingerprintBytesin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The bytes for issuerFingerprint.
-
setIssuerFingerprint
string issuerFingerprint = 9;- Parameters:
value- The issuerFingerprint to set.- Returns:
- This builder for chaining.
-
clearIssuerFingerprint
string issuerFingerprint = 9;- Returns:
- This builder for chaining.
-
setIssuerFingerprintBytes
public ClientWireProtocol.ClientConnectionSecurityToken.Builder setIssuerFingerprintBytes(ByteString value) string issuerFingerprint = 9;- Parameters:
value- The bytes for issuerFingerprint to set.- Returns:
- This builder for chaining.
-
getForce
public boolean getForce()bool force = 10;- Specified by:
getForcein interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The force.
-
setForce
bool force = 10;- Parameters:
value- The force to set.- Returns:
- This builder for chaining.
-
clearForce
bool force = 10;- Returns:
- This builder for chaining.
-
getSupportsSortedParallelTCPStreams
public boolean getSupportsSortedParallelTCPStreams()True if the client supports parallel
bool supportsSortedParallelTCPStreams = 12;- Specified by:
getSupportsSortedParallelTCPStreamsin interfaceClientWireProtocol.ClientConnectionSecurityTokenOrBuilder- Returns:
- The supportsSortedParallelTCPStreams.
-
setSupportsSortedParallelTCPStreams
public ClientWireProtocol.ClientConnectionSecurityToken.Builder setSupportsSortedParallelTCPStreams(boolean value) True if the client supports parallel
bool supportsSortedParallelTCPStreams = 12;- Parameters:
value- The supportsSortedParallelTCPStreams to set.- Returns:
- This builder for chaining.
-
clearSupportsSortedParallelTCPStreams
public ClientWireProtocol.ClientConnectionSecurityToken.Builder clearSupportsSortedParallelTCPStreams()True if the client supports parallel
bool supportsSortedParallelTCPStreams = 12;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClientWireProtocol.ClientConnectionSecurityToken.Builder setUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.Builder>
-
mergeUnknownFields
public final ClientWireProtocol.ClientConnectionSecurityToken.Builder mergeUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSecurityToken.Builder>
-