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 type
google.cloud.bigquery.connection.v1beta1.Connection| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionProto.Connection.Builder
Configuration parameters to establish connection with an external data
source, except the credential attributes.
|
static class |
ConnectionProto.Connection.PropertiesCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_SQL_FIELD_NUMBER |
static int |
CREATION_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FRIENDLY_NAME_FIELD_NUMBER |
static int |
HAS_CREDENTIAL_FIELD_NUMBER |
static int |
LAST_MODIFIED_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ConnectionProto.CloudSqlProperties |
getCloudSql()
Cloud SQL properties.
|
ConnectionProto.CloudSqlPropertiesOrBuilder |
getCloudSqlOrBuilder()
Cloud SQL properties.
|
long |
getCreationTime()
Output only.
|
static ConnectionProto.Connection |
getDefaultInstance() |
ConnectionProto.Connection |
getDefaultInstanceForType() |
String |
getDescription()
User provided description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User provided description.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFriendlyName()
User provided display name for the connection.
|
com.google.protobuf.ByteString |
getFriendlyNameBytes()
User provided display name for the connection.
|
boolean |
getHasCredential()
Output only.
|
long |
getLastModifiedTime()
Output only.
|
String |
getName()
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
|
com.google.protobuf.ByteString |
getNameBytes()
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.PropertiesCase |
getPropertiesCase() |
int |
getSerializedSize() |
boolean |
hasCloudSql()
Cloud SQL properties.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConnectionProto.Connection.Builder |
newBuilder() |
static ConnectionProto.Connection.Builder |
newBuilder(ConnectionProto.Connection prototype) |
ConnectionProto.Connection.Builder |
newBuilderForType() |
protected ConnectionProto.Connection.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConnectionProto.Connection |
parseDelimitedFrom(InputStream input) |
static ConnectionProto.Connection |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConnectionProto.Connection |
parseFrom(byte[] data) |
static ConnectionProto.Connection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConnectionProto.Connection |
parseFrom(ByteBuffer data) |
static ConnectionProto.Connection |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConnectionProto.Connection |
parseFrom(com.google.protobuf.ByteString data) |
static ConnectionProto.Connection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConnectionProto.Connection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConnectionProto.Connection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConnectionProto.Connection |
parseFrom(InputStream input) |
static ConnectionProto.Connection |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConnectionProto.Connection> |
parser() |
ConnectionProto.Connection.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int FRIENDLY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CLOUD_SQL_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER
public static final int LAST_MODIFIED_TIME_FIELD_NUMBER
public static final int HAS_CREDENTIAL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ConnectionProto.Connection.PropertiesCase getPropertiesCase()
getPropertiesCase in interface ConnectionProto.ConnectionOrBuilderpublic String getName()
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1;getName in interface ConnectionProto.ConnectionOrBuilderpublic 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;getNameBytes in interface ConnectionProto.ConnectionOrBuilderpublic String getFriendlyName()
User provided display name for the connection.
string friendly_name = 2;getFriendlyName in interface ConnectionProto.ConnectionOrBuilderpublic com.google.protobuf.ByteString getFriendlyNameBytes()
User provided display name for the connection.
string friendly_name = 2;getFriendlyNameBytes in interface ConnectionProto.ConnectionOrBuilderpublic String getDescription()
User provided description.
string description = 3;getDescription in interface ConnectionProto.ConnectionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User provided description.
string description = 3;getDescriptionBytes in interface ConnectionProto.ConnectionOrBuilderpublic boolean hasCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;hasCloudSql in interface ConnectionProto.ConnectionOrBuilderpublic ConnectionProto.CloudSqlProperties getCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;getCloudSql in interface ConnectionProto.ConnectionOrBuilderpublic ConnectionProto.CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;getCloudSqlOrBuilder in interface ConnectionProto.ConnectionOrBuilderpublic long getCreationTime()
Output only. The creation timestamp of the connection.
int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getCreationTime in interface ConnectionProto.ConnectionOrBuilderpublic long getLastModifiedTime()
Output only. The last update timestamp of the connection.
int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastModifiedTime in interface ConnectionProto.ConnectionOrBuilderpublic boolean getHasCredential()
Output only. True, if credential is configured for this connection.
bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getHasCredential in interface ConnectionProto.ConnectionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConnectionProto.Connection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConnectionProto.Connection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConnectionProto.Connection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConnectionProto.Connection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConnectionProto.Connection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConnectionProto.Connection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConnectionProto.Connection parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConnectionProto.Connection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConnectionProto.Connection parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConnectionProto.Connection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConnectionProto.Connection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConnectionProto.Connection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConnectionProto.Connection.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConnectionProto.Connection.Builder newBuilder()
public static ConnectionProto.Connection.Builder newBuilder(ConnectionProto.Connection prototype)
public ConnectionProto.Connection.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConnectionProto.Connection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConnectionProto.Connection getDefaultInstance()
public static com.google.protobuf.Parser<ConnectionProto.Connection> parser()
public com.google.protobuf.Parser<ConnectionProto.Connection> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConnectionProto.Connection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.