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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BigQueryConnectionSpec
build()
BigQueryConnectionSpec
buildPartial()
BigQueryConnectionSpec.Builder
clear()
BigQueryConnectionSpec.Builder
clearCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.Builder
clearConnectionSpec()
BigQueryConnectionSpec.Builder
clearConnectionType()
The type of the BigQuery connection.BigQueryConnectionSpec.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BigQueryConnectionSpec.Builder
clearHasCredential()
True if there are credentials attached to the BigQuery connection; false otherwise.BigQueryConnectionSpec.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BigQueryConnectionSpec.Builder
clone()
CloudSqlBigQueryConnectionSpec
getCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.CloudSqlBigQueryConnectionSpec.Builder
getCloudSqlBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.CloudSqlBigQueryConnectionSpecOrBuilder
getCloudSqlOrBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.ConnectionSpecCase
getConnectionSpecCase()
BigQueryConnectionSpec.ConnectionType
getConnectionType()
The type of the BigQuery connection.int
getConnectionTypeValue()
The type of the BigQuery connection.BigQueryConnectionSpec
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getHasCredential()
True if there are credentials attached to the BigQuery connection; false otherwise.boolean
hasCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BigQueryConnectionSpec.Builder
mergeCloudSql(CloudSqlBigQueryConnectionSpec value)
Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.Builder
mergeFrom(BigQueryConnectionSpec other)
BigQueryConnectionSpec.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BigQueryConnectionSpec.Builder
mergeFrom(com.google.protobuf.Message other)
BigQueryConnectionSpec.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BigQueryConnectionSpec.Builder
setCloudSql(CloudSqlBigQueryConnectionSpec value)
Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.Builder
setCloudSql(CloudSqlBigQueryConnectionSpec.Builder builderForValue)
Specification for the BigQuery connection to a Cloud SQL instance.BigQueryConnectionSpec.Builder
setConnectionType(BigQueryConnectionSpec.ConnectionType value)
The type of the BigQuery connection.BigQueryConnectionSpec.Builder
setConnectionTypeValue(int value)
The type of the BigQuery connection.BigQueryConnectionSpec.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BigQueryConnectionSpec.Builder
setHasCredential(boolean value)
True if there are credentials attached to the BigQuery connection; false otherwise.BigQueryConnectionSpec.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BigQueryConnectionSpec.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
clear
public BigQueryConnectionSpec.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
getDefaultInstanceForType
public BigQueryConnectionSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BigQueryConnectionSpec build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BigQueryConnectionSpec buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BigQueryConnectionSpec.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
setField
public BigQueryConnectionSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
clearField
public BigQueryConnectionSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
clearOneof
public BigQueryConnectionSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
setRepeatedField
public BigQueryConnectionSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
addRepeatedField
public BigQueryConnectionSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
mergeFrom
public BigQueryConnectionSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BigQueryConnectionSpec.Builder>
-
mergeFrom
public BigQueryConnectionSpec.Builder mergeFrom(BigQueryConnectionSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BigQueryConnectionSpec.Builder>
- Throws:
IOException
-
getConnectionSpecCase
public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
- Specified by:
getConnectionSpecCase
in 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:
getConnectionTypeValue
in 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:
getConnectionType
in 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:
hasCloudSql
in 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:
getCloudSql
in 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:
getCloudSqlOrBuilder
in interfaceBigQueryConnectionSpecOrBuilder
-
getHasCredential
public boolean getHasCredential()
True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;
- Specified by:
getHasCredential
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
mergeUnknownFields
public final BigQueryConnectionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
-
-