Class MysqlSourceConfig.Builder

  • All Implemented Interfaces:
    MysqlSourceConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    MysqlSourceConfig

    public static final class MysqlSourceConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlSourceConfig.Builder>
    implements MysqlSourceConfigOrBuilder
     MySQL source configuration
     
    Protobuf type google.cloud.datastream.v1.MysqlSourceConfig
    • 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<MysqlSourceConfig.Builder>
      • clear

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

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

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

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

        public MysqlSourceConfig.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<MysqlSourceConfig.Builder>
      • setField

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

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

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

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

        public MysqlSourceConfig.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<MysqlSourceConfig.Builder>
      • mergeFrom

        public MysqlSourceConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlSourceConfig.Builder>
      • isInitialized

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

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

        public boolean hasIncludeObjects()
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
        Specified by:
        hasIncludeObjects in interface MysqlSourceConfigOrBuilder
        Returns:
        Whether the includeObjects field is set.
      • getIncludeObjects

        public MysqlRdbms getIncludeObjects()
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
        Specified by:
        getIncludeObjects in interface MysqlSourceConfigOrBuilder
        Returns:
        The includeObjects.
      • setIncludeObjects

        public MysqlSourceConfig.Builder setIncludeObjects​(MysqlRdbms value)
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
      • setIncludeObjects

        public MysqlSourceConfig.Builder setIncludeObjects​(MysqlRdbms.Builder builderForValue)
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
      • mergeIncludeObjects

        public MysqlSourceConfig.Builder mergeIncludeObjects​(MysqlRdbms value)
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
      • clearIncludeObjects

        public MysqlSourceConfig.Builder clearIncludeObjects()
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
      • getIncludeObjectsBuilder

        public MysqlRdbms.Builder getIncludeObjectsBuilder()
         MySQL objects to retrieve from the source.
         
        .google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
      • hasExcludeObjects

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

        public MysqlSourceConfig.Builder setExcludeObjects​(MysqlRdbms value)
         MySQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
      • mergeExcludeObjects

        public MysqlSourceConfig.Builder mergeExcludeObjects​(MysqlRdbms value)
         MySQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
      • clearExcludeObjects

        public MysqlSourceConfig.Builder clearExcludeObjects()
         MySQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
      • getExcludeObjectsBuilder

        public MysqlRdbms.Builder getExcludeObjectsBuilder()
         MySQL objects to exclude from the stream.
         
        .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
      • getMaxConcurrentCdcTasks

        public int getMaxConcurrentCdcTasks()
         Maximum number of concurrent CDC 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_cdc_tasks = 3;
        Specified by:
        getMaxConcurrentCdcTasks in interface MysqlSourceConfigOrBuilder
        Returns:
        The maxConcurrentCdcTasks.
      • setMaxConcurrentCdcTasks

        public MysqlSourceConfig.Builder setMaxConcurrentCdcTasks​(int value)
         Maximum number of concurrent CDC 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_cdc_tasks = 3;
        Parameters:
        value - The maxConcurrentCdcTasks to set.
        Returns:
        This builder for chaining.
      • clearMaxConcurrentCdcTasks

        public MysqlSourceConfig.Builder clearMaxConcurrentCdcTasks()
         Maximum number of concurrent CDC 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_cdc_tasks = 3;
        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 = 4;
        Specified by:
        getMaxConcurrentBackfillTasks in interface MysqlSourceConfigOrBuilder
        Returns:
        The maxConcurrentBackfillTasks.
      • setMaxConcurrentBackfillTasks

        public MysqlSourceConfig.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 = 4;
        Parameters:
        value - The maxConcurrentBackfillTasks to set.
        Returns:
        This builder for chaining.
      • clearMaxConcurrentBackfillTasks

        public MysqlSourceConfig.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 = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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