Class ConnectionProto.Connection
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection
-
- All Implemented Interfaces:
ConnectionProto.ConnectionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ConnectionProto
public static final class ConnectionProto.Connection extends com.google.protobuf.GeneratedMessageV3 implements ConnectionProto.ConnectionOrBuilder
Configuration parameters to establish connection with an external data source, except the credential attributes.
Protobuf typegoogle.cloud.bigquery.connection.v1beta1.Connection- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionProto.Connection.BuilderConfiguration parameters to establish connection with an external data source, except the credential attributes.static classConnectionProto.Connection.PropertiesCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLOUD_SQL_FIELD_NUMBERstatic intCREATION_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intFRIENDLY_NAME_FIELD_NUMBERstatic intHAS_CREDENTIAL_FIELD_NUMBERstatic intLAST_MODIFIED_TIME_FIELD_NUMBERstatic intNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ConnectionProto.CloudSqlPropertiesgetCloudSql()Cloud SQL properties.ConnectionProto.CloudSqlPropertiesOrBuildergetCloudSqlOrBuilder()Cloud SQL properties.longgetCreationTime()Output only.static ConnectionProto.ConnectiongetDefaultInstance()ConnectionProto.ConnectiongetDefaultInstanceForType()StringgetDescription()User provided description.com.google.protobuf.ByteStringgetDescriptionBytes()User provided description.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFriendlyName()User provided display name for the connection.com.google.protobuf.ByteStringgetFriendlyNameBytes()User provided display name for the connection.booleangetHasCredential()Output only.longgetLastModifiedTime()Output only.StringgetName()The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`com.google.protobuf.ByteStringgetNameBytes()The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`com.google.protobuf.Parser<ConnectionProto.Connection>getParserForType()ConnectionProto.Connection.PropertiesCasegetPropertiesCase()intgetSerializedSize()booleanhasCloudSql()Cloud SQL properties.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ConnectionProto.Connection.BuildernewBuilder()static ConnectionProto.Connection.BuildernewBuilder(ConnectionProto.Connection prototype)ConnectionProto.Connection.BuildernewBuilderForType()protected ConnectionProto.Connection.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ConnectionProto.ConnectionparseDelimitedFrom(InputStream input)static ConnectionProto.ConnectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConnectionProto.ConnectionparseFrom(byte[] data)static ConnectionProto.ConnectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConnectionProto.ConnectionparseFrom(com.google.protobuf.ByteString data)static ConnectionProto.ConnectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConnectionProto.ConnectionparseFrom(com.google.protobuf.CodedInputStream input)static ConnectionProto.ConnectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConnectionProto.ConnectionparseFrom(InputStream input)static ConnectionProto.ConnectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConnectionProto.ConnectionparseFrom(ByteBuffer data)static ConnectionProto.ConnectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ConnectionProto.Connection>parser()ConnectionProto.Connection.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRIENDLY_NAME_FIELD_NUMBER
public static final int FRIENDLY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_SQL_FIELD_NUMBER
public static final int CLOUD_SQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIME_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_MODIFIED_TIME_FIELD_NUMBER
public static final int LAST_MODIFIED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HAS_CREDENTIAL_FIELD_NUMBER
public static final int HAS_CREDENTIAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein 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
-
getPropertiesCase
public ConnectionProto.Connection.PropertiesCase getPropertiesCase()
- Specified by:
getPropertiesCasein interfaceConnectionProto.ConnectionOrBuilder
-
getName
public String getName()
The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`string name = 1;- Specified by:
getNamein interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`string name = 1;- Specified by:
getNameBytesin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The bytes for name.
-
getFriendlyName
public String getFriendlyName()
User provided display name for the connection.
string friendly_name = 2;- Specified by:
getFriendlyNamein interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The friendlyName.
-
getFriendlyNameBytes
public com.google.protobuf.ByteString getFriendlyNameBytes()
User provided display name for the connection.
string friendly_name = 2;- Specified by:
getFriendlyNameBytesin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The bytes for friendlyName.
-
getDescription
public String getDescription()
User provided description.
string description = 3;- Specified by:
getDescriptionin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User provided description.
string description = 3;- Specified by:
getDescriptionBytesin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The bytes for description.
-
hasCloudSql
public boolean hasCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;- Specified by:
hasCloudSqlin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- Whether the cloudSql field is set.
-
getCloudSql
public ConnectionProto.CloudSqlProperties getCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;- Specified by:
getCloudSqlin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The cloudSql.
-
getCloudSqlOrBuilder
public ConnectionProto.CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;- Specified by:
getCloudSqlOrBuilderin interfaceConnectionProto.ConnectionOrBuilder
-
getCreationTime
public long getCreationTime()
Output only. The creation timestamp of the connection.
int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimein interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The creationTime.
-
getLastModifiedTime
public long getLastModifiedTime()
Output only. The last update timestamp of the connection.
int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastModifiedTimein interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The lastModifiedTime.
-
getHasCredential
public boolean getHasCredential()
Output only. True, if credential is configured for this connection.
bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHasCredentialin interfaceConnectionProto.ConnectionOrBuilder- Returns:
- The hasCredential.
-
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 IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(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 ConnectionProto.Connection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProto.Connection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProto.Connection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProto.Connection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProto.Connection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProto.Connection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProto.Connection parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ConnectionProto.Connection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ConnectionProto.Connection parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ConnectionProto.Connection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ConnectionProto.Connection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ConnectionProto.Connection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ConnectionProto.Connection.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ConnectionProto.Connection.Builder newBuilder()
-
newBuilder
public static ConnectionProto.Connection.Builder newBuilder(ConnectionProto.Connection prototype)
-
toBuilder
public ConnectionProto.Connection.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConnectionProto.Connection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ConnectionProto.Connection getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ConnectionProto.Connection> parser()
-
getParserForType
public com.google.protobuf.Parser<ConnectionProto.Connection> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConnectionProto.Connection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-