Class IngestionDataSourceSettings.Builder (1.130.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 1.130.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  IngestionDataSourceSettings . Builder   extends   GeneratedMessageV3 . Builder<IngestionDataSourceSettings . Builder >  implements   IngestionDataSourceSettingsOrBuilder  
   
   Settings for an ingestion data source on a topic.
 Protobuf type google.pubsub.v1.IngestionDataSourceSettings
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      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   IngestionDataSourceSettings . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  build() 
  
    
public   IngestionDataSourceSettings   build ()  
   
  
   
  buildPartial() 
  
    
public   IngestionDataSourceSettings   buildPartial ()  
   
  
   
  clear() 
  
    
public   IngestionDataSourceSettings . Builder   clear ()  
   
  
  Overrides 
  
   
  clearAwsKinesis() 
  
    
public   IngestionDataSourceSettings . Builder   clearAwsKinesis ()  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   IngestionDataSourceSettings . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   IngestionDataSourceSettings . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  clearSource() 
  
    
public   IngestionDataSourceSettings . Builder   clearSource ()  
   
  
   
  clone() 
  
    
public   IngestionDataSourceSettings . Builder   clone ()  
   
  
  Overrides 
  
   
  getAwsKinesis() 
  
    
public   IngestionDataSourceSettings . AwsKinesis   getAwsKinesis ()  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getAwsKinesisBuilder() 
  
    
public   IngestionDataSourceSettings . AwsKinesis . Builder   getAwsKinesisBuilder ()  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getAwsKinesisOrBuilder() 
  
    
public   IngestionDataSourceSettings . AwsKinesisOrBuilder   getAwsKinesisOrBuilder ()  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getDefaultInstanceForType() 
  
    
public   IngestionDataSourceSettings   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  getSourceCase() 
  
    
public   IngestionDataSourceSettings . SourceCase   getSourceCase ()  
   
  
   
  hasAwsKinesis() 
  
    
public   boolean   hasAwsKinesis ()  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the awsKinesis field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  mergeAwsKinesis(IngestionDataSourceSettings.AwsKinesis value) 
  
    
public   IngestionDataSourceSettings . Builder   mergeAwsKinesis ( IngestionDataSourceSettings . AwsKinesis   value )  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
   
  
  
    
public   IngestionDataSourceSettings . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  mergeFrom(Message other) 
  
    
public   IngestionDataSourceSettings . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  mergeFrom(IngestionDataSourceSettings other) 
  
    
public   IngestionDataSourceSettings . Builder   mergeFrom ( IngestionDataSourceSettings   other )  
   
  
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   IngestionDataSourceSettings . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  setAwsKinesis(IngestionDataSourceSettings.AwsKinesis value) 
  
    
public   IngestionDataSourceSettings . Builder   setAwsKinesis ( IngestionDataSourceSettings . AwsKinesis   value )  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
   
  setAwsKinesis(IngestionDataSourceSettings.AwsKinesis.Builder builderForValue) 
  
    
public   IngestionDataSourceSettings . Builder   setAwsKinesis ( IngestionDataSourceSettings . AwsKinesis . Builder   builderForValue )  
   
   Optional. Amazon Kinesis Data Streams.
 
 .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   IngestionDataSourceSettings . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   IngestionDataSourceSettings . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   IngestionDataSourceSettings . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]