Package com.ocient.jdbc.proto
Class ClientWireProtocol.ClientConnectionSSO.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSSO.Builder>
com.ocient.jdbc.proto.ClientWireProtocol.ClientConnectionSSO.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ClientWireProtocol.ClientConnectionSSOOrBuilder,Cloneable
- Enclosing class:
- ClientWireProtocol.ClientConnectionSSO
public static final class ClientWireProtocol.ClientConnectionSSO.Builder
extends GeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSSO.Builder>
implements ClientWireProtocol.ClientConnectionSSOOrBuilder
Protobuf type
xg.cmdcomp.ClientConnectionSSO-
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;int32 majorClientVersion = 4;int32 minorClientVersion = 5;note the out of order field numberingstring sessionID = 6;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.intint32 majorClientVersion = 4;intint32 minorClientVersion = 5;note the out of order field numberingnote the out of order field numberingstring sessionID = 6;string sessionID = 6;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;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 numberingsetSessionID(String value) string sessionID = 6;setSessionIDBytes(ByteString value) string sessionID = 6;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.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSSO.Builder>
-
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.ClientConnectionSSO.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.ClientConnectionSSO.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.ClientConnectionSSO.Builder>
-
mergeFrom
public ClientWireProtocol.ClientConnectionSSO.Builder mergeFrom(ClientWireProtocol.ClientConnectionSSO 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 classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSSO.Builder>
-
mergeFrom
public ClientWireProtocol.ClientConnectionSSO.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.ClientConnectionSSO.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.ClientConnectionSSOOrBuilder- Returns:
- The database.
-
getDatabaseBytes
string database = 1;- Specified by:
getDatabaseBytesin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- 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.ClientConnectionSSOOrBuilder- Returns:
- The clientid.
-
getClientidBytes
string clientid = 2;- Specified by:
getClientidBytesin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- 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.ClientConnectionSSOOrBuilder- Returns:
- The version.
-
getVersionBytes
string version = 3;- Specified by:
getVersionBytesin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- 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.ClientConnectionSSOOrBuilder- 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.ClientConnectionSSOOrBuilder- 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 = 7;- Specified by:
getPatchClientVersionin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- Returns:
- The patchClientVersion.
-
getPatchClientVersionBytes
note the out of order field numbering
string patchClientVersion = 7;- Specified by:
getPatchClientVersionBytesin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- Returns:
- The bytes for patchClientVersion.
-
setPatchClientVersion
note the out of order field numbering
string patchClientVersion = 7;- Parameters:
value- The patchClientVersion to set.- Returns:
- This builder for chaining.
-
clearPatchClientVersion
note the out of order field numbering
string patchClientVersion = 7;- Returns:
- This builder for chaining.
-
setPatchClientVersionBytes
note the out of order field numbering
string patchClientVersion = 7;- Parameters:
value- The bytes for patchClientVersion to set.- Returns:
- This builder for chaining.
-
getSessionID
string sessionID = 6;- Specified by:
getSessionIDin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- Returns:
- The sessionID.
-
getSessionIDBytes
string sessionID = 6;- Specified by:
getSessionIDBytesin interfaceClientWireProtocol.ClientConnectionSSOOrBuilder- 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.
-
setUnknownFields
public final ClientWireProtocol.ClientConnectionSSO.Builder setUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<ClientWireProtocol.ClientConnectionSSO.Builder>
-
mergeUnknownFields
public final ClientWireProtocol.ClientConnectionSSO.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.ClientConnectionSSO.Builder>
-