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 class
ConnectionProto.Connection.Builder
Configuration parameters to establish connection with an external data source, except the credential attributes.static class
ConnectionProto.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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 ConnectionProto.Connection
parseFrom(ByteBuffer data)
static ConnectionProto.Connection
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ConnectionProto.Connection>
parser()
ConnectionProto.Connection.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getPropertiesCase
public ConnectionProto.Connection.PropertiesCase getPropertiesCase()
- Specified by:
getPropertiesCase
in 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:
getName
in 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:
getNameBytes
in interfaceConnectionProto.ConnectionOrBuilder
- Returns:
- The bytes for name.
-
getFriendlyName
public String getFriendlyName()
User provided display name for the connection.
string friendly_name = 2;
- Specified by:
getFriendlyName
in 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:
getFriendlyNameBytes
in interfaceConnectionProto.ConnectionOrBuilder
- Returns:
- The bytes for friendlyName.
-
getDescription
public String getDescription()
User provided description.
string description = 3;
- Specified by:
getDescription
in interfaceConnectionProto.ConnectionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User provided description.
string description = 3;
- Specified by:
getDescriptionBytes
in 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:
hasCloudSql
in 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:
getCloudSql
in interfaceConnectionProto.ConnectionOrBuilder
- Returns:
- The cloudSql.
-
getCloudSqlOrBuilder
public ConnectionProto.CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;
- Specified by:
getCloudSqlOrBuilder
in 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:
getCreationTime
in 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:
getLastModifiedTime
in 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:
getHasCredential
in interfaceConnectionProto.ConnectionOrBuilder
- Returns:
- The hasCredential.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConnectionProto.Connection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConnectionProto.Connection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-