Class PackageEntity.Builder (2.31.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.31.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  PackageEntity . Builder   extends   GeneratedMessageV3 . Builder<PackageEntity . Builder >  implements   PackageEntityOrBuilder  
   Package's parent is a schema.
 Protobuf type google.cloud.clouddms.v1.PackageEntity
    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   PackageEntity . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   PackageEntity   build ()  
  
  buildPartial() 
  
    
public   PackageEntity   buildPartial ()  
  
  clear() 
  
    
public   PackageEntity . Builder   clear ()  
  
  Overrides 
  
  clearCustomFeatures() 
  
    
public   PackageEntity . Builder   clearCustomFeatures ()  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   PackageEntity . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   PackageEntity . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearPackageBody() 
  
    
public   PackageEntity . Builder   clearPackageBody ()  
   The SQL code which creates the package body. If the package specification
 has cursors or subprograms, then the package body is mandatory.
 string package_body = 2;
clearPackageSqlCode() 
  
    
public   PackageEntity . Builder   clearPackageSqlCode ()  
   The SQL code which creates the package.
 string package_sql_code = 1;
clone() 
  
    
public   PackageEntity . Builder   clone ()  
  
  Overrides 
  
  getCustomFeatures() 
  
    
public   Struct   getCustomFeatures ()  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
    
      
        Returns  
      
        Type Description  
      
        Struct The customFeatures.
 
     
  
  getCustomFeaturesBuilder() 
  
    
public   Struct . Builder   getCustomFeaturesBuilder ()  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
getCustomFeaturesOrBuilder() 
  
    
public   StructOrBuilder   getCustomFeaturesOrBuilder ()  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
getDefaultInstanceForType() 
  
    
public   PackageEntity   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getPackageBody() 
  
    
public   String   getPackageBody ()  
   The SQL code which creates the package body. If the package specification
 has cursors or subprograms, then the package body is mandatory.
 string package_body = 2;
    
      
        Returns  
      
        Type Description  
      
        String The packageBody.
 
     
  
  getPackageBodyBytes() 
  
    
public   ByteString   getPackageBodyBytes ()  
   The SQL code which creates the package body. If the package specification
 has cursors or subprograms, then the package body is mandatory.
 string package_body = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for packageBody.
 
     
  
  getPackageSqlCode() 
  
    
public   String   getPackageSqlCode ()  
   The SQL code which creates the package.
 string package_sql_code = 1;
    
      
        Returns  
      
        Type Description  
      
        String The packageSqlCode.
 
     
  
  getPackageSqlCodeBytes() 
  
    
public   ByteString   getPackageSqlCodeBytes ()  
   The SQL code which creates the package.
 string package_sql_code = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for packageSqlCode.
 
     
  
  hasCustomFeatures() 
  
    
public   boolean   hasCustomFeatures ()  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the customFeatures field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeCustomFeatures(Struct value) 
  
    
public   PackageEntity . Builder   mergeCustomFeatures ( Struct   value )  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
    
      
        Parameter  
      
        Name Description  
      
        valueStruct  
     
  
  
  mergeFrom(PackageEntity other) 
  
    
public   PackageEntity . Builder   mergeFrom ( PackageEntity   other )  
  
  
  
    
public   PackageEntity . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   PackageEntity . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PackageEntity . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setCustomFeatures(Struct value) 
  
    
public   PackageEntity . Builder   setCustomFeatures ( Struct   value )  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
    
      
        Parameter  
      
        Name Description  
      
        valueStruct  
     
  
  
  setCustomFeatures(Struct.Builder builderForValue) 
  
    
public   PackageEntity . Builder   setCustomFeatures ( Struct . Builder   builderForValue )  
   Custom engine specific features.
 .google.protobuf.Struct custom_features = 3;
    
      
        Parameter  
      
        Name Description  
      
        builderForValueBuilder  
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PackageEntity . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setPackageBody(String value) 
  
    
public   PackageEntity . Builder   setPackageBody ( String   value )  
   The SQL code which creates the package body. If the package specification
 has cursors or subprograms, then the package body is mandatory.
 string package_body = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The packageBody to set.
 
     
  
  
  setPackageBodyBytes(ByteString value) 
  
    
public   PackageEntity . Builder   setPackageBodyBytes ( ByteString   value )  
   The SQL code which creates the package body. If the package specification
 has cursors or subprograms, then the package body is mandatory.
 string package_body = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for packageBody to set.
 
     
  
  
  setPackageSqlCode(String value) 
  
    
public   PackageEntity . Builder   setPackageSqlCode ( String   value )  
   The SQL code which creates the package.
 string package_sql_code = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The packageSqlCode to set.
 
     
  
  
  setPackageSqlCodeBytes(ByteString value) 
  
    
public   PackageEntity . Builder   setPackageSqlCodeBytes ( ByteString   value )  
   The SQL code which creates the package.
 string package_sql_code = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for packageSqlCode to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   PackageEntity . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PackageEntity . 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-29 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-29 UTC."],[],[]]