Class PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • clear

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • clearField

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • clearOneof

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • setRepeatedField

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • addRepeatedField

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlSourceConfig.Builder>
      • mergeFrom

        public PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
        Throws:
        IOException
      • hasIncludeObjects

        public boolean hasIncludeObjects()
         PostgreSQL objects to include in the stream.
         
        .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
        Specified by:
        hasIncludeObjects in interface PostgresqlSourceConfigOrBuilder
        Returns:
        Whether the includeObjects field is set.
      • clearIncludeObjects

        public PostgresqlSourceConfig.Builder clearIncludeObjects()
         PostgreSQL objects to include in the stream.
         
        .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
      • getIncludeObjectsBuilder

        public PostgresqlRdbms.Builder getIncludeObjectsBuilder()
         PostgreSQL objects to include in the stream.
         
        .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
      • hasExcludeObjects

        public boolean hasExcludeObjects()
         PostgreSQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
        Specified by:
        hasExcludeObjects in interface PostgresqlSourceConfigOrBuilder
        Returns:
        Whether the excludeObjects field is set.
      • clearExcludeObjects

        public PostgresqlSourceConfig.Builder clearExcludeObjects()
         PostgreSQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
      • getExcludeObjectsBuilder

        public PostgresqlRdbms.Builder getExcludeObjectsBuilder()
         PostgreSQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
      • getReplicationSlot

        public String getReplicationSlot()
         Required. Immutable. The name of the logical replication slot that's
         configured with the pgoutput plugin.
         
        string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getReplicationSlot in interface PostgresqlSourceConfigOrBuilder
        Returns:
        The replicationSlot.
      • getReplicationSlotBytes

        public com.google.protobuf.ByteString getReplicationSlotBytes()
         Required. Immutable. The name of the logical replication slot that's
         configured with the pgoutput plugin.
         
        string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getReplicationSlotBytes in interface PostgresqlSourceConfigOrBuilder
        Returns:
        The bytes for replicationSlot.
      • setReplicationSlot

        public PostgresqlSourceConfig.Builder setReplicationSlot​(String value)
         Required. Immutable. The name of the logical replication slot that's
         configured with the pgoutput plugin.
         
        string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The replicationSlot to set.
        Returns:
        This builder for chaining.
      • clearReplicationSlot

        public PostgresqlSourceConfig.Builder clearReplicationSlot()
         Required. Immutable. The name of the logical replication slot that's
         configured with the pgoutput plugin.
         
        string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setReplicationSlotBytes

        public PostgresqlSourceConfig.Builder setReplicationSlotBytes​(com.google.protobuf.ByteString value)
         Required. Immutable. The name of the logical replication slot that's
         configured with the pgoutput plugin.
         
        string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for replicationSlot to set.
        Returns:
        This builder for chaining.
      • getPublication

        public String getPublication()
         Required. The name of the publication that includes the set of all tables
         that are defined in the stream's include_objects.
         
        string publication = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPublication in interface PostgresqlSourceConfigOrBuilder
        Returns:
        The publication.
      • getPublicationBytes

        public com.google.protobuf.ByteString getPublicationBytes()
         Required. The name of the publication that includes the set of all tables
         that are defined in the stream's include_objects.
         
        string publication = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPublicationBytes in interface PostgresqlSourceConfigOrBuilder
        Returns:
        The bytes for publication.
      • setPublication

        public PostgresqlSourceConfig.Builder setPublication​(String value)
         Required. The name of the publication that includes the set of all tables
         that are defined in the stream's include_objects.
         
        string publication = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The publication to set.
        Returns:
        This builder for chaining.
      • clearPublication

        public PostgresqlSourceConfig.Builder clearPublication()
         Required. The name of the publication that includes the set of all tables
         that are defined in the stream's include_objects.
         
        string publication = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setPublicationBytes

        public PostgresqlSourceConfig.Builder setPublicationBytes​(com.google.protobuf.ByteString value)
         Required. The name of the publication that includes the set of all tables
         that are defined in the stream's include_objects.
         
        string publication = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for publication to set.
        Returns:
        This builder for chaining.
      • getMaxConcurrentBackfillTasks

        public int getMaxConcurrentBackfillTasks()
         Maximum number of concurrent backfill tasks. The number should be non
         negative. If not set (or set to 0), the system's default value will be
         used.
         
        int32 max_concurrent_backfill_tasks = 5;
        Specified by:
        getMaxConcurrentBackfillTasks in interface PostgresqlSourceConfigOrBuilder
        Returns:
        The maxConcurrentBackfillTasks.
      • setMaxConcurrentBackfillTasks

        public PostgresqlSourceConfig.Builder setMaxConcurrentBackfillTasks​(int value)
         Maximum number of concurrent backfill tasks. The number should be non
         negative. If not set (or set to 0), the system's default value will be
         used.
         
        int32 max_concurrent_backfill_tasks = 5;
        Parameters:
        value - The maxConcurrentBackfillTasks to set.
        Returns:
        This builder for chaining.
      • clearMaxConcurrentBackfillTasks

        public PostgresqlSourceConfig.Builder clearMaxConcurrentBackfillTasks()
         Maximum number of concurrent backfill tasks. The number should be non
         negative. If not set (or set to 0), the system's default value will be
         used.
         
        int32 max_concurrent_backfill_tasks = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>
      • mergeUnknownFields

        public final PostgresqlSourceConfig.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<PostgresqlSourceConfig.Builder>