Class BundleInstallSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BundleInstallSpec.Builder>
com.google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec.Builder
All Implemented Interfaces:
BundleInstallSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BundleInstallSpec

public static final class BundleInstallSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<BundleInstallSpec.Builder> implements BundleInstallSpecOrBuilder
 BundleInstallSpec is the specification configuration for a single managed
 bundle.
 
Protobuf type google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BundleInstallSpec.Builder>
    • clear

      public BundleInstallSpec.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BundleInstallSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BundleInstallSpec.Builder>
    • getDefaultInstanceForType

      public BundleInstallSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BundleInstallSpec build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BundleInstallSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BundleInstallSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BundleInstallSpec.Builder>
    • mergeFrom

      public BundleInstallSpec.Builder mergeFrom(BundleInstallSpec other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BundleInstallSpec.Builder>
    • mergeFrom

      public BundleInstallSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BundleInstallSpec.Builder>
      Throws:
      IOException
    • getExemptedNamespacesList

      public com.google.protobuf.ProtocolStringList getExemptedNamespacesList()
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Specified by:
      getExemptedNamespacesList in interface BundleInstallSpecOrBuilder
      Returns:
      A list containing the exemptedNamespaces.
    • getExemptedNamespacesCount

      public int getExemptedNamespacesCount()
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Specified by:
      getExemptedNamespacesCount in interface BundleInstallSpecOrBuilder
      Returns:
      The count of exemptedNamespaces.
    • getExemptedNamespaces

      public String getExemptedNamespaces(int index)
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Specified by:
      getExemptedNamespaces in interface BundleInstallSpecOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The exemptedNamespaces at the given index.
    • getExemptedNamespacesBytes

      public com.google.protobuf.ByteString getExemptedNamespacesBytes(int index)
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Specified by:
      getExemptedNamespacesBytes in interface BundleInstallSpecOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the exemptedNamespaces at the given index.
    • setExemptedNamespaces

      public BundleInstallSpec.Builder setExemptedNamespaces(int index, String value)
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Parameters:
      index - The index to set the value at.
      value - The exemptedNamespaces to set.
      Returns:
      This builder for chaining.
    • addExemptedNamespaces

      public BundleInstallSpec.Builder addExemptedNamespaces(String value)
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Parameters:
      value - The exemptedNamespaces to add.
      Returns:
      This builder for chaining.
    • addAllExemptedNamespaces

      public BundleInstallSpec.Builder addAllExemptedNamespaces(Iterable<String> values)
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Parameters:
      values - The exemptedNamespaces to add.
      Returns:
      This builder for chaining.
    • clearExemptedNamespaces

      public BundleInstallSpec.Builder clearExemptedNamespaces()
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Returns:
      This builder for chaining.
    • addExemptedNamespacesBytes

      public BundleInstallSpec.Builder addExemptedNamespacesBytes(com.google.protobuf.ByteString value)
       The set of namespaces to be exempted from the bundle.
       
      repeated string exempted_namespaces = 2;
      Parameters:
      value - The bytes of the exemptedNamespaces to add.
      Returns:
      This builder for chaining.