Send feedback
  
   
 
  
    
      Class MysqlSourceConfig.Builder (1.27.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 1.27.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  MysqlSourceConfig . Builder   extends   GeneratedMessageV3 . Builder<MysqlSourceConfig . Builder >  implements   MysqlSourceConfigOrBuilder  
   
   MySQL source configuration
 Protobuf type google.cloud.datastream.v1alpha1.MysqlSourceConfig
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
  Methods
   
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   MysqlSourceConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  build() 
  
    
public   MysqlSourceConfig   build ()  
   
  
   
  buildPartial() 
  
    
public   MysqlSourceConfig   buildPartial ()  
   
  
   
  clear() 
  
    
public   MysqlSourceConfig . Builder   clear ()  
   
  
  Overrides 
  
   
  clearAllowlist() 
  
    
public   MysqlSourceConfig . Builder   clearAllowlist ()  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   MysqlSourceConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   MysqlSourceConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  clearRejectlist() 
  
    
public   MysqlSourceConfig . Builder   clearRejectlist ()  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
   
  clone() 
  
    
public   MysqlSourceConfig . Builder   clone ()  
   
  
  Overrides 
  
   
  getAllowlist() 
  
    
public   MysqlRdbms   getAllowlist ()  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        MysqlRdbms  
        The allowlist.
 
       
     
  
   
  getAllowlistBuilder() 
  
    
public   MysqlRdbms . Builder   getAllowlistBuilder ()  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
   
  getAllowlistOrBuilder() 
  
    
public   MysqlRdbmsOrBuilder   getAllowlistOrBuilder ()  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
   
  getDefaultInstanceForType() 
  
    
public   MysqlSourceConfig   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  getRejectlist() 
  
    
public   MysqlRdbms   getRejectlist ()  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        MysqlRdbms  
        The rejectlist.
 
       
     
  
   
  getRejectlistBuilder() 
  
    
public   MysqlRdbms . Builder   getRejectlistBuilder ()  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
   
  getRejectlistOrBuilder() 
  
    
public   MysqlRdbmsOrBuilder   getRejectlistOrBuilder ()  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
   
  hasAllowlist() 
  
    
public   boolean   hasAllowlist ()  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the allowlist field is set.
 
       
     
  
   
  hasRejectlist() 
  
    
public   boolean   hasRejectlist ()  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the rejectlist field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  mergeAllowlist(MysqlRdbms value) 
  
    
public   MysqlSourceConfig . Builder   mergeAllowlist ( MysqlRdbms   value )  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
  
   
  mergeFrom(MysqlSourceConfig other) 
  
    
public   MysqlSourceConfig . Builder   mergeFrom ( MysqlSourceConfig   other )  
   
  
  
   
  
  
    
public   MysqlSourceConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  mergeFrom(Message other) 
  
    
public   MysqlSourceConfig . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  mergeRejectlist(MysqlRdbms value) 
  
    
public   MysqlSourceConfig . Builder   mergeRejectlist ( MysqlRdbms   value )  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   MysqlSourceConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  setAllowlist(MysqlRdbms value) 
  
    
public   MysqlSourceConfig . Builder   setAllowlist ( MysqlRdbms   value )  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
  
   
  setAllowlist(MysqlRdbms.Builder builderForValue) 
  
    
public   MysqlSourceConfig . Builder   setAllowlist ( MysqlRdbms . Builder   builderForValue )  
   
   MySQL objects to retrieve from the source.
 .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;
 
  
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   MysqlSourceConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  setRejectlist(MysqlRdbms value) 
  
    
public   MysqlSourceConfig . Builder   setRejectlist ( MysqlRdbms   value )  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
  
   
  setRejectlist(MysqlRdbms.Builder builderForValue) 
  
    
public   MysqlSourceConfig . Builder   setRejectlist ( MysqlRdbms . Builder   builderForValue )  
   
   MySQL objects to exclude from the stream.
 .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;
 
  
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   MysqlSourceConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   MysqlSourceConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]