Class DestinationConfig.Builder (1.75.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.75.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  DestinationConfig . Builder   extends   GeneratedMessageV3 . Builder<DestinationConfig . Builder >  implements   DestinationConfigOrBuilder  
   The configuration of the stream destination.
 Protobuf type google.cloud.datastream.v1alpha1.DestinationConfig
    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   DestinationConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   DestinationConfig   build ()  
  
  buildPartial() 
  
    
public   DestinationConfig   buildPartial ()  
  
  clear() 
  
    
public   DestinationConfig . Builder   clear ()  
  
  Overrides 
  
  clearDestinationConnectionProfileName() 
  
    
public   DestinationConfig . Builder   clearDestinationConnectionProfileName ()  
   Required. Destination connection profile identifier.
 
 string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
 
clearDestinationStreamConfig() 
  
    
public   DestinationConfig . Builder   clearDestinationStreamConfig ()  
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   DestinationConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearGcsDestinationConfig() 
  
    
public   DestinationConfig . Builder   clearGcsDestinationConfig ()  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   DestinationConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   DestinationConfig . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   DestinationConfig   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getDestinationConnectionProfileName() 
  
    
public   String   getDestinationConnectionProfileName ()  
   Required. Destination connection profile identifier.
 
 string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        String The destinationConnectionProfileName.
 
     
  
  getDestinationConnectionProfileNameBytes() 
  
    
public   ByteString   getDestinationConnectionProfileNameBytes ()  
   Required. Destination connection profile identifier.
 
 string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for destinationConnectionProfileName.
 
     
  
  getDestinationStreamConfigCase() 
  
    
public   DestinationConfig . DestinationStreamConfigCase   getDestinationStreamConfigCase ()  
  
  getGcsDestinationConfig() 
  
    
public   GcsDestinationConfig   getGcsDestinationConfig ()  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
getGcsDestinationConfigBuilder() 
  
    
public   GcsDestinationConfig . Builder   getGcsDestinationConfigBuilder ()  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
getGcsDestinationConfigOrBuilder() 
  
    
public   GcsDestinationConfigOrBuilder   getGcsDestinationConfigOrBuilder ()  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
hasGcsDestinationConfig() 
  
    
public   boolean   hasGcsDestinationConfig ()  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the gcsDestinationConfig field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(DestinationConfig other) 
  
    
public   DestinationConfig . Builder   mergeFrom ( DestinationConfig   other )  
  
  
  
    
public   DestinationConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   DestinationConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeGcsDestinationConfig(GcsDestinationConfig value) 
  
    
public   DestinationConfig . Builder   mergeGcsDestinationConfig ( GcsDestinationConfig   value )  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   DestinationConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setDestinationConnectionProfileName(String value) 
  
    
public   DestinationConfig . Builder   setDestinationConnectionProfileName ( String   value )  
   Required. Destination connection profile identifier.
 
 string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        valueString The destinationConnectionProfileName to set.
 
     
  
  
  setDestinationConnectionProfileNameBytes(ByteString value) 
  
    
public   DestinationConfig . Builder   setDestinationConnectionProfileNameBytes ( ByteString   value )  
   Required. Destination connection profile identifier.
 
 string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for destinationConnectionProfileName to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   DestinationConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setGcsDestinationConfig(GcsDestinationConfig value) 
  
    
public   DestinationConfig . Builder   setGcsDestinationConfig ( GcsDestinationConfig   value )  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue) 
  
    
public   DestinationConfig . Builder   setGcsDestinationConfig ( GcsDestinationConfig . Builder   builderForValue )  
  .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   DestinationConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   DestinationConfig . 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-28 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-28 UTC."],[],[]]