public static final class ConnectionProto.Connection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder> 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 | Method and Description |
|---|---|
ConnectionProto.Connection.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConnectionProto.Connection |
build() |
ConnectionProto.Connection |
buildPartial() |
ConnectionProto.Connection.Builder |
clear() |
ConnectionProto.Connection.Builder |
clearCloudSql()
Cloud SQL properties.
|
ConnectionProto.Connection.Builder |
clearCreationTime()
Output only.
|
ConnectionProto.Connection.Builder |
clearDescription()
User provided description.
|
ConnectionProto.Connection.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConnectionProto.Connection.Builder |
clearFriendlyName()
User provided display name for the connection.
|
ConnectionProto.Connection.Builder |
clearHasCredential()
Output only.
|
ConnectionProto.Connection.Builder |
clearLastModifiedTime()
Output only.
|
ConnectionProto.Connection.Builder |
clearName()
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1; |
ConnectionProto.Connection.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConnectionProto.Connection.Builder |
clearProperties() |
ConnectionProto.Connection.Builder |
clone() |
ConnectionProto.CloudSqlProperties |
getCloudSql()
Cloud SQL properties.
|
ConnectionProto.CloudSqlProperties.Builder |
getCloudSqlBuilder()
Cloud SQL properties.
|
ConnectionProto.CloudSqlPropertiesOrBuilder |
getCloudSqlOrBuilder()
Cloud SQL properties.
|
long |
getCreationTime()
Output only.
|
ConnectionProto.Connection |
getDefaultInstanceForType() |
String |
getDescription()
User provided description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User provided description.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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}`
string name = 1; |
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; |
ConnectionProto.Connection.PropertiesCase |
getPropertiesCase() |
boolean |
hasCloudSql()
Cloud SQL properties.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConnectionProto.Connection.Builder |
mergeCloudSql(ConnectionProto.CloudSqlProperties value)
Cloud SQL properties.
|
ConnectionProto.Connection.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConnectionProto.Connection.Builder |
mergeFrom(ConnectionProto.Connection other) |
ConnectionProto.Connection.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConnectionProto.Connection.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConnectionProto.Connection.Builder |
setCloudSql(ConnectionProto.CloudSqlProperties.Builder builderForValue)
Cloud SQL properties.
|
ConnectionProto.Connection.Builder |
setCloudSql(ConnectionProto.CloudSqlProperties value)
Cloud SQL properties.
|
ConnectionProto.Connection.Builder |
setCreationTime(long value)
Output only.
|
ConnectionProto.Connection.Builder |
setDescription(String value)
User provided description.
|
ConnectionProto.Connection.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
User provided description.
|
ConnectionProto.Connection.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConnectionProto.Connection.Builder |
setFriendlyName(String value)
User provided display name for the connection.
|
ConnectionProto.Connection.Builder |
setFriendlyNameBytes(com.google.protobuf.ByteString value)
User provided display name for the connection.
|
ConnectionProto.Connection.Builder |
setHasCredential(boolean value)
Output only.
|
ConnectionProto.Connection.Builder |
setLastModifiedTime(long value)
Output only.
|
ConnectionProto.Connection.Builder |
setName(String value)
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1; |
ConnectionProto.Connection.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1; |
ConnectionProto.Connection.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConnectionProto.Connection.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConnectionProto.Connection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConnectionProto.Connection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConnectionProto.Connection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder mergeFrom(ConnectionProto.Connection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public ConnectionProto.Connection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionProto.Connection.Builder>IOExceptionpublic ConnectionProto.Connection.PropertiesCase getPropertiesCase()
getPropertiesCase in interface ConnectionProto.ConnectionOrBuilderpublic ConnectionProto.Connection.Builder clearProperties()
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;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 ConnectionProto.Connection.Builder setName(String value)
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1;value - The name to set.public ConnectionProto.Connection.Builder clearName()
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1;public ConnectionProto.Connection.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the connection in the form of:
`projects/{project_id}/locations/{location_id}/connections/{connection_id}`
string name = 1;value - The bytes for name to set.public 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 ConnectionProto.Connection.Builder setFriendlyName(String value)
User provided display name for the connection.
string friendly_name = 2;value - The friendlyName to set.public ConnectionProto.Connection.Builder clearFriendlyName()
User provided display name for the connection.
string friendly_name = 2;public ConnectionProto.Connection.Builder setFriendlyNameBytes(com.google.protobuf.ByteString value)
User provided display name for the connection.
string friendly_name = 2;value - The bytes for friendlyName to set.public 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 ConnectionProto.Connection.Builder setDescription(String value)
User provided description.
string description = 3;value - The description to set.public ConnectionProto.Connection.Builder clearDescription()
User provided description.
string description = 3;public ConnectionProto.Connection.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User provided description.
string description = 3;value - The bytes for description to set.public 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.Connection.Builder setCloudSql(ConnectionProto.CloudSqlProperties value)
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;public ConnectionProto.Connection.Builder setCloudSql(ConnectionProto.CloudSqlProperties.Builder builderForValue)
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;public ConnectionProto.Connection.Builder mergeCloudSql(ConnectionProto.CloudSqlProperties value)
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;public ConnectionProto.Connection.Builder clearCloudSql()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;public ConnectionProto.CloudSqlProperties.Builder getCloudSqlBuilder()
Cloud SQL properties.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties cloud_sql = 4;public 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 ConnectionProto.Connection.Builder setCreationTime(long value)
Output only. The creation timestamp of the connection.
int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The creationTime to set.public ConnectionProto.Connection.Builder clearCreationTime()
Output only. The creation timestamp of the connection.
int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public 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 ConnectionProto.Connection.Builder setLastModifiedTime(long value)
Output only. The last update timestamp of the connection.
int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The lastModifiedTime to set.public ConnectionProto.Connection.Builder clearLastModifiedTime()
Output only. The last update timestamp of the connection.
int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public 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 ConnectionProto.Connection.Builder setHasCredential(boolean value)
Output only. True, if credential is configured for this connection.
bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The hasCredential to set.public ConnectionProto.Connection.Builder clearHasCredential()
Output only. True, if credential is configured for this connection.
bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public final ConnectionProto.Connection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>public final ConnectionProto.Connection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.Connection.Builder>Copyright © 2025 Google LLC. All rights reserved.