Package org.apache.calcite.avatica.proto
Class Common.ConnectionProperties
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.calcite.avatica.proto.Common.ConnectionProperties
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Common.ConnectionPropertiesOrBuilder
- Enclosing class:
- Common
public static final class Common.ConnectionProperties extends com.google.protobuf.GeneratedMessageV3 implements Common.ConnectionPropertiesOrBuilder
Details about a connection
Protobuf typeConnectionProperties- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommon.ConnectionProperties.BuilderDetails about a connection-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTO_COMMIT_FIELD_NUMBERprivate booleanautoCommit_private java.lang.Objectcatalog_static intCATALOG_FIELD_NUMBERprivate static Common.ConnectionPropertiesDEFAULT_INSTANCEstatic intHAS_AUTO_COMMIT_FIELD_NUMBERstatic intHAS_READ_ONLY_FIELD_NUMBERprivate booleanhasAutoCommit_private booleanhasReadOnly_static intIS_DIRTY_FIELD_NUMBERprivate booleanisDirty_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Common.ConnectionProperties>PARSERstatic intREAD_ONLY_FIELD_NUMBERprivate booleanreadOnly_private java.lang.Objectschema_static intSCHEMA_FIELD_NUMBERprivate static longserialVersionUIDstatic intTRANSACTION_ISOLATION_FIELD_NUMBERprivate inttransactionIsolation_
-
Constructor Summary
Constructors Modifier Constructor Description privateConnectionProperties()privateConnectionProperties(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)privateConnectionProperties(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetAutoCommit()bool auto_commit = 2;java.lang.StringgetCatalog()string catalog = 5;com.google.protobuf.ByteStringgetCatalogBytes()string catalog = 5;static Common.ConnectionPropertiesgetDefaultInstance()Common.ConnectionPropertiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetHasAutoCommit()field is a Boolean, need to discern null and default valuebooleangetHasReadOnly()field is a Boolean, need to discern null and default valuebooleangetIsDirty()bool is_dirty = 1;com.google.protobuf.Parser<Common.ConnectionProperties>getParserForType()booleangetReadOnly()bool read_only = 3;java.lang.StringgetSchema()string schema = 6;com.google.protobuf.ByteStringgetSchemaBytes()string schema = 6;intgetSerializedSize()intgetTransactionIsolation()uint32 transaction_isolation = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Common.ConnectionProperties.BuildernewBuilder()static Common.ConnectionProperties.BuildernewBuilder(Common.ConnectionProperties prototype)Common.ConnectionProperties.BuildernewBuilderForType()protected Common.ConnectionProperties.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Common.ConnectionPropertiesparseDelimitedFrom(java.io.InputStream input)static Common.ConnectionPropertiesparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ConnectionPropertiesparseFrom(byte[] data)static Common.ConnectionPropertiesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ConnectionPropertiesparseFrom(com.google.protobuf.ByteString data)static Common.ConnectionPropertiesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ConnectionPropertiesparseFrom(com.google.protobuf.CodedInputStream input)static Common.ConnectionPropertiesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ConnectionPropertiesparseFrom(java.io.InputStream input)static Common.ConnectionPropertiesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ConnectionPropertiesparseFrom(java.nio.ByteBuffer data)static Common.ConnectionPropertiesparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Common.ConnectionProperties>parser()Common.ConnectionProperties.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
IS_DIRTY_FIELD_NUMBER
public static final int IS_DIRTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
isDirty_
private boolean isDirty_
-
AUTO_COMMIT_FIELD_NUMBER
public static final int AUTO_COMMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
autoCommit_
private boolean autoCommit_
-
HAS_AUTO_COMMIT_FIELD_NUMBER
public static final int HAS_AUTO_COMMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
hasAutoCommit_
private boolean hasAutoCommit_
-
READ_ONLY_FIELD_NUMBER
public static final int READ_ONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
readOnly_
private boolean readOnly_
-
HAS_READ_ONLY_FIELD_NUMBER
public static final int HAS_READ_ONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
hasReadOnly_
private boolean hasReadOnly_
-
TRANSACTION_ISOLATION_FIELD_NUMBER
public static final int TRANSACTION_ISOLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
transactionIsolation_
private int transactionIsolation_
-
CATALOG_FIELD_NUMBER
public static final int CATALOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
catalog_
private volatile java.lang.Object catalog_
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
schema_
private volatile java.lang.Object schema_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Common.ConnectionProperties DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Common.ConnectionProperties> PARSER
-
-
Constructor Detail
-
ConnectionProperties
private ConnectionProperties(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
ConnectionProperties
private ConnectionProperties()
-
ConnectionProperties
private ConnectionProperties(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getIsDirty
public boolean getIsDirty()
bool is_dirty = 1;- Specified by:
getIsDirtyin interfaceCommon.ConnectionPropertiesOrBuilder
-
getAutoCommit
public boolean getAutoCommit()
bool auto_commit = 2;- Specified by:
getAutoCommitin interfaceCommon.ConnectionPropertiesOrBuilder
-
getHasAutoCommit
public boolean getHasAutoCommit()
field is a Boolean, need to discern null and default value
bool has_auto_commit = 7;- Specified by:
getHasAutoCommitin interfaceCommon.ConnectionPropertiesOrBuilder
-
getReadOnly
public boolean getReadOnly()
bool read_only = 3;- Specified by:
getReadOnlyin interfaceCommon.ConnectionPropertiesOrBuilder
-
getHasReadOnly
public boolean getHasReadOnly()
field is a Boolean, need to discern null and default value
bool has_read_only = 8;- Specified by:
getHasReadOnlyin interfaceCommon.ConnectionPropertiesOrBuilder
-
getTransactionIsolation
public int getTransactionIsolation()
uint32 transaction_isolation = 4;- Specified by:
getTransactionIsolationin interfaceCommon.ConnectionPropertiesOrBuilder
-
getCatalog
public java.lang.String getCatalog()
string catalog = 5;- Specified by:
getCatalogin interfaceCommon.ConnectionPropertiesOrBuilder
-
getCatalogBytes
public com.google.protobuf.ByteString getCatalogBytes()
string catalog = 5;- Specified by:
getCatalogBytesin interfaceCommon.ConnectionPropertiesOrBuilder
-
getSchema
public java.lang.String getSchema()
string schema = 6;- Specified by:
getSchemain interfaceCommon.ConnectionPropertiesOrBuilder
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes()
string schema = 6;- Specified by:
getSchemaBytesin interfaceCommon.ConnectionPropertiesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Common.ConnectionProperties parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ConnectionProperties parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ConnectionProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ConnectionProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ConnectionProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ConnectionProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ConnectionProperties parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ConnectionProperties parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Common.ConnectionProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Common.ConnectionProperties parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ConnectionProperties parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ConnectionProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Common.ConnectionProperties.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Common.ConnectionProperties.Builder newBuilder()
-
newBuilder
public static Common.ConnectionProperties.Builder newBuilder(Common.ConnectionProperties prototype)
-
toBuilder
public Common.ConnectionProperties.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Common.ConnectionProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Common.ConnectionProperties getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Common.ConnectionProperties> parser()
-
getParserForType
public com.google.protobuf.Parser<Common.ConnectionProperties> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Common.ConnectionProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-