Class TargetSpec.Builder (0.59.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.59.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  TargetSpec . Builder   extends   GeneratedMessageV3 . Builder<TargetSpec . Builder >  implements   TargetSpecOrBuilder  
   Represents one path to the location that holds target data.
 Protobuf type google.cloud.bigquery.migration.v2.TargetSpec
    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   TargetSpec . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   TargetSpec   build ()  
  
  buildPartial() 
  
    
public   TargetSpec   buildPartial ()  
  
  clear() 
  
    
public   TargetSpec . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   TargetSpec . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   TargetSpec . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearRelativePath() 
  
    
public   TargetSpec . Builder   clearRelativePath ()  
   The relative path for the target data. Given source file
 base_uri/input/sql, the output would be
 target_base_uri/sql/relative_path/input.sql.
 string relative_path = 1;
clone() 
  
    
public   TargetSpec . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   TargetSpec   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getRelativePath() 
  
    
public   String   getRelativePath ()  
   The relative path for the target data. Given source file
 base_uri/input/sql, the output would be
 target_base_uri/sql/relative_path/input.sql.
 string relative_path = 1;
    
      
        Returns  
      
        Type Description  
      
        String The relativePath.
 
     
  
  getRelativePathBytes() 
  
    
public   ByteString   getRelativePathBytes ()  
   The relative path for the target data. Given source file
 base_uri/input/sql, the output would be
 target_base_uri/sql/relative_path/input.sql.
 string relative_path = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for relativePath.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(TargetSpec other) 
  
    
public   TargetSpec . Builder   mergeFrom ( TargetSpec   other )  
  
  
  
    
public   TargetSpec . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   TargetSpec . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   TargetSpec . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   TargetSpec . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRelativePath(String value) 
  
    
public   TargetSpec . Builder   setRelativePath ( String   value )  
   The relative path for the target data. Given source file
 base_uri/input/sql, the output would be
 target_base_uri/sql/relative_path/input.sql.
 string relative_path = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The relativePath to set.
 
     
  
  
  setRelativePathBytes(ByteString value) 
  
    
public   TargetSpec . Builder   setRelativePathBytes ( ByteString   value )  
   The relative path for the target data. Given source file
 base_uri/input/sql, the output would be
 target_base_uri/sql/relative_path/input.sql.
 string relative_path = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for relativePath to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   TargetSpec . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   TargetSpec . 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."],[],[]]