Package com.google.cloud.datacatalog.v1
Class BigQueryConnectionSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
- com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder
-
- All Implemented Interfaces:
BigQueryConnectionSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BigQueryConnectionSpec
public static final class BigQueryConnectionSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder> implements BigQueryConnectionSpecOrBuilder
Specification for the BigQuery connection.
Protobuf typegoogle.cloud.datacatalog.v1.BigQueryConnectionSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigQueryConnectionSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BigQueryConnectionSpecbuild()BigQueryConnectionSpecbuildPartial()BigQueryConnectionSpec.Builderclear()BigQueryConnectionSpec.BuilderclearCloudSql()Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.BuilderclearConnectionSpec()BigQueryConnectionSpec.BuilderclearConnectionType()The type of the BigQuery connection.BigQueryConnectionSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BigQueryConnectionSpec.BuilderclearHasCredential()True if there are credentials attached to the BigQuery connection; false otherwise.BigQueryConnectionSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BigQueryConnectionSpec.Builderclone()CloudSqlBigQueryConnectionSpecgetCloudSql()Specification for the BigQuery connection to a Cloud SQL instance.CloudSqlBigQueryConnectionSpec.BuildergetCloudSqlBuilder()Specification for the BigQuery connection to a Cloud SQL instance.CloudSqlBigQueryConnectionSpecOrBuildergetCloudSqlOrBuilder()Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.ConnectionSpecCasegetConnectionSpecCase()BigQueryConnectionSpec.ConnectionTypegetConnectionType()The type of the BigQuery connection.intgetConnectionTypeValue()The type of the BigQuery connection.BigQueryConnectionSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetHasCredential()True if there are credentials attached to the BigQuery connection; false otherwise.booleanhasCloudSql()Specification for the BigQuery connection to a Cloud SQL instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BigQueryConnectionSpec.BuildermergeCloudSql(CloudSqlBigQueryConnectionSpec value)Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.BuildermergeFrom(BigQueryConnectionSpec other)BigQueryConnectionSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BigQueryConnectionSpec.BuildermergeFrom(com.google.protobuf.Message other)BigQueryConnectionSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BigQueryConnectionSpec.BuildersetCloudSql(CloudSqlBigQueryConnectionSpec value)Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.BuildersetCloudSql(CloudSqlBigQueryConnectionSpec.Builder builderForValue)Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.BuildersetConnectionType(BigQueryConnectionSpec.ConnectionType value)The type of the BigQuery connection.BigQueryConnectionSpec.BuildersetConnectionTypeValue(int value)The type of the BigQuery connection.BigQueryConnectionSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BigQueryConnectionSpec.BuildersetHasCredential(boolean value)True if there are credentials attached to the BigQuery connection; false otherwise.BigQueryConnectionSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BigQueryConnectionSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<BigQueryConnectionSpec.Builder>
-
clear
public BigQueryConnectionSpec.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
getDefaultInstanceForType
public BigQueryConnectionSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BigQueryConnectionSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BigQueryConnectionSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BigQueryConnectionSpec.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
setField
public BigQueryConnectionSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
clearField
public BigQueryConnectionSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
clearOneof
public BigQueryConnectionSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
setRepeatedField
public BigQueryConnectionSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
addRepeatedField
public BigQueryConnectionSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
mergeFrom
public BigQueryConnectionSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BigQueryConnectionSpec.Builder>
-
mergeFrom
public BigQueryConnectionSpec.Builder mergeFrom(BigQueryConnectionSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
mergeFrom
public BigQueryConnectionSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BigQueryConnectionSpec.Builder>- Throws:
IOException
-
getConnectionSpecCase
public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
- Specified by:
getConnectionSpecCasein interfaceBigQueryConnectionSpecOrBuilder
-
clearConnectionSpec
public BigQueryConnectionSpec.Builder clearConnectionSpec()
-
getConnectionTypeValue
public int getConnectionTypeValue()
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;- Specified by:
getConnectionTypeValuein interfaceBigQueryConnectionSpecOrBuilder- Returns:
- The enum numeric value on the wire for connectionType.
-
setConnectionTypeValue
public BigQueryConnectionSpec.Builder setConnectionTypeValue(int value)
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;- Parameters:
value- The enum numeric value on the wire for connectionType to set.- Returns:
- This builder for chaining.
-
getConnectionType
public BigQueryConnectionSpec.ConnectionType getConnectionType()
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;- Specified by:
getConnectionTypein interfaceBigQueryConnectionSpecOrBuilder- Returns:
- The connectionType.
-
setConnectionType
public BigQueryConnectionSpec.Builder setConnectionType(BigQueryConnectionSpec.ConnectionType value)
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;- Parameters:
value- The connectionType to set.- Returns:
- This builder for chaining.
-
clearConnectionType
public BigQueryConnectionSpec.Builder clearConnectionType()
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;- Returns:
- This builder for chaining.
-
hasCloudSql
public boolean hasCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;- Specified by:
hasCloudSqlin interfaceBigQueryConnectionSpecOrBuilder- Returns:
- Whether the cloudSql field is set.
-
getCloudSql
public CloudSqlBigQueryConnectionSpec getCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;- Specified by:
getCloudSqlin interfaceBigQueryConnectionSpecOrBuilder- Returns:
- The cloudSql.
-
setCloudSql
public BigQueryConnectionSpec.Builder setCloudSql(CloudSqlBigQueryConnectionSpec value)
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
-
setCloudSql
public BigQueryConnectionSpec.Builder setCloudSql(CloudSqlBigQueryConnectionSpec.Builder builderForValue)
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
-
mergeCloudSql
public BigQueryConnectionSpec.Builder mergeCloudSql(CloudSqlBigQueryConnectionSpec value)
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
-
clearCloudSql
public BigQueryConnectionSpec.Builder clearCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
-
getCloudSqlBuilder
public CloudSqlBigQueryConnectionSpec.Builder getCloudSqlBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
-
getCloudSqlOrBuilder
public CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;- Specified by:
getCloudSqlOrBuilderin interfaceBigQueryConnectionSpecOrBuilder
-
getHasCredential
public boolean getHasCredential()
True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;- Specified by:
getHasCredentialin interfaceBigQueryConnectionSpecOrBuilder- Returns:
- The hasCredential.
-
setHasCredential
public BigQueryConnectionSpec.Builder setHasCredential(boolean value)
True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;- Parameters:
value- The hasCredential to set.- Returns:
- This builder for chaining.
-
clearHasCredential
public BigQueryConnectionSpec.Builder clearHasCredential()
True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BigQueryConnectionSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
mergeUnknownFields
public final BigQueryConnectionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
-