Class BundleInstallSpec.Builder (1.54.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.54.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  BundleInstallSpec . Builder   extends   GeneratedMessageV3 . Builder<BundleInstallSpec . Builder >  implements   BundleInstallSpecOrBuilder  
   BundleInstallSpec is the specification configuration for a single managed
 bundle.
 Protobuf type google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec
    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
   
  addAllExemptedNamespaces(Iterable<String> values) 
  
    
public   BundleInstallSpec . Builder   addAllExemptedNamespaces ( Iterable<String>   values )  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <String >The exemptedNamespaces to add.
 
     
  
  
  addExemptedNamespaces(String value) 
  
    
public   BundleInstallSpec . Builder   addExemptedNamespaces ( String   value )  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The exemptedNamespaces to add.
 
     
  
  
  addExemptedNamespacesBytes(ByteString value) 
  
    
public   BundleInstallSpec . Builder   addExemptedNamespacesBytes ( ByteString   value )  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes of the exemptedNamespaces to add.
 
     
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BundleInstallSpec . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   BundleInstallSpec   build ()  
  
  buildPartial() 
  
    
public   BundleInstallSpec   buildPartial ()  
  
  clear() 
  
    
public   BundleInstallSpec . Builder   clear ()  
  
  Overrides 
  
  clearExemptedNamespaces() 
  
    
public   BundleInstallSpec . Builder   clearExemptedNamespaces ()  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   BundleInstallSpec . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   BundleInstallSpec . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   BundleInstallSpec . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   BundleInstallSpec   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getExemptedNamespaces(int index) 
  
    
public   String   getExemptedNamespaces ( int   index )  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The exemptedNamespaces at the given index.
 
     
  
  getExemptedNamespacesBytes(int index) 
  
    
public   ByteString   getExemptedNamespacesBytes ( int   index )  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the exemptedNamespaces at the given index.
 
     
  
  getExemptedNamespacesCount() 
  
    
public   int   getExemptedNamespacesCount ()  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Returns  
      
        Type Description  
      
        int The count of exemptedNamespaces.
 
     
  
  getExemptedNamespacesList() 
  
    
public   ProtocolStringList   getExemptedNamespacesList ()  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(BundleInstallSpec other) 
  
    
public   BundleInstallSpec . Builder   mergeFrom ( BundleInstallSpec   other )  
  
  
  
    
public   BundleInstallSpec . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   BundleInstallSpec . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BundleInstallSpec . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setExemptedNamespaces(int index, String value) 
  
    
public   BundleInstallSpec . Builder   setExemptedNamespaces ( int   index ,   String   value )  
   The set of namespaces to be exempted from the bundle.
 repeated string exempted_namespaces = 2;
    
      
        Parameters  
      
        Name Description  
      
        indexint The index to set the value at.
 
      
        valueString The exemptedNamespaces to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BundleInstallSpec . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   BundleInstallSpec . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BundleInstallSpec . 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."],[],[]]