Class BigQueryConnectionSpec.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • clear

        public BigQueryConnectionSpec.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • getDefaultInstanceForType

        public BigQueryConnectionSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BigQueryConnectionSpec build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BigQueryConnectionSpec buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public BigQueryConnectionSpec.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • clearField

        public BigQueryConnectionSpec.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • clearOneof

        public BigQueryConnectionSpec.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • addRepeatedField

        public BigQueryConnectionSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryConnectionSpec.Builder>
        Throws:
        IOException
      • getConnectionTypeValue

        public int getConnectionTypeValue()
         The type of the BigQuery connection.
         
        .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
        Specified by:
        getConnectionTypeValue in interface BigQueryConnectionSpecOrBuilder
        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.
      • 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 interface BigQueryConnectionSpecOrBuilder
        Returns:
        Whether the cloudSql field is set.
      • 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;
      • getHasCredential

        public boolean getHasCredential()
         True if there are credentials attached to the BigQuery connection; false
         otherwise.
         
        bool has_credential = 3;
        Specified by:
        getHasCredential in interface BigQueryConnectionSpecOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>
      • mergeUnknownFields

        public final BigQueryConnectionSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder>