Class Generated.ClusterTrustBundleProjection.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ClusterTrustBundleProjection.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.GeneratedMessageV3.Builder<Generated.ClusterTrustBundleProjection.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.ClusterTrustBundleProjection buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ClusterTrustBundleProjection.Builder>
      • hasName

        public boolean hasName()
         Select a single ClusterTrustBundle by object name.  Mutually-exclusive
         with signerName and labelSelector.
         +optional
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Select a single ClusterTrustBundle by object name.  Mutually-exclusive
         with signerName and labelSelector.
         +optional
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.ClusterTrustBundleProjection.Builder setName​(String value)
         Select a single ClusterTrustBundle by object name.  Mutually-exclusive
         with signerName and labelSelector.
         +optional
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.ClusterTrustBundleProjection.Builder clearName()
         Select a single ClusterTrustBundle by object name.  Mutually-exclusive
         with signerName and labelSelector.
         +optional
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.ClusterTrustBundleProjection.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Select a single ClusterTrustBundle by object name.  Mutually-exclusive
         with signerName and labelSelector.
         +optional
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasSignerName

        public boolean hasSignerName()
         Select all ClusterTrustBundles that match this signer name.
         Mutually-exclusive with name.  The contents of all selected
         ClusterTrustBundles will be unified and deduplicated.
         +optional
         
        optional string signerName = 2;
        Specified by:
        hasSignerName in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        Whether the signerName field is set.
      • getSignerName

        public String getSignerName()
         Select all ClusterTrustBundles that match this signer name.
         Mutually-exclusive with name.  The contents of all selected
         ClusterTrustBundles will be unified and deduplicated.
         +optional
         
        optional string signerName = 2;
        Specified by:
        getSignerName in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        The signerName.
      • getSignerNameBytes

        public com.google.protobuf.ByteString getSignerNameBytes()
         Select all ClusterTrustBundles that match this signer name.
         Mutually-exclusive with name.  The contents of all selected
         ClusterTrustBundles will be unified and deduplicated.
         +optional
         
        optional string signerName = 2;
        Specified by:
        getSignerNameBytes in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        The bytes for signerName.
      • setSignerName

        public Generated.ClusterTrustBundleProjection.Builder setSignerName​(String value)
         Select all ClusterTrustBundles that match this signer name.
         Mutually-exclusive with name.  The contents of all selected
         ClusterTrustBundles will be unified and deduplicated.
         +optional
         
        optional string signerName = 2;
        Parameters:
        value - The signerName to set.
        Returns:
        This builder for chaining.
      • clearSignerName

        public Generated.ClusterTrustBundleProjection.Builder clearSignerName()
         Select all ClusterTrustBundles that match this signer name.
         Mutually-exclusive with name.  The contents of all selected
         ClusterTrustBundles will be unified and deduplicated.
         +optional
         
        optional string signerName = 2;
        Returns:
        This builder for chaining.
      • setSignerNameBytes

        public Generated.ClusterTrustBundleProjection.Builder setSignerNameBytes​(com.google.protobuf.ByteString value)
         Select all ClusterTrustBundles that match this signer name.
         Mutually-exclusive with name.  The contents of all selected
         ClusterTrustBundles will be unified and deduplicated.
         +optional
         
        optional string signerName = 2;
        Parameters:
        value - The bytes for signerName to set.
        Returns:
        This builder for chaining.
      • hasLabelSelector

        public boolean hasLabelSelector()
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
        Specified by:
        hasLabelSelector in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        Whether the labelSelector field is set.
      • getLabelSelector

        public Generated.LabelSelector getLabelSelector()
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
        Specified by:
        getLabelSelector in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        The labelSelector.
      • setLabelSelector

        public Generated.ClusterTrustBundleProjection.Builder setLabelSelector​(Generated.LabelSelector value)
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
      • setLabelSelector

        public Generated.ClusterTrustBundleProjection.Builder setLabelSelector​(Generated.LabelSelector.Builder builderForValue)
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
      • mergeLabelSelector

        public Generated.ClusterTrustBundleProjection.Builder mergeLabelSelector​(Generated.LabelSelector value)
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
      • clearLabelSelector

        public Generated.ClusterTrustBundleProjection.Builder clearLabelSelector()
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
      • getLabelSelectorBuilder

        public Generated.LabelSelector.Builder getLabelSelectorBuilder()
         Select all ClusterTrustBundles that match this label selector.  Only has
         effect if signerName is set.  Mutually-exclusive with name.  If unset,
         interpreted as "match nothing".  If set but empty, interpreted as "match
         everything".
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 3;
      • hasOptional

        public boolean hasOptional()
         If true, don't block pod startup if the referenced ClusterTrustBundle(s)
         aren't available.  If using name, then the named ClusterTrustBundle is
         allowed not to exist.  If using signerName, then the combination of
         signerName and labelSelector is allowed to match zero
         ClusterTrustBundles.
         +optional
         
        optional bool optional = 5;
        Specified by:
        hasOptional in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        Whether the optional field is set.
      • getOptional

        public boolean getOptional()
         If true, don't block pod startup if the referenced ClusterTrustBundle(s)
         aren't available.  If using name, then the named ClusterTrustBundle is
         allowed not to exist.  If using signerName, then the combination of
         signerName and labelSelector is allowed to match zero
         ClusterTrustBundles.
         +optional
         
        optional bool optional = 5;
        Specified by:
        getOptional in interface Generated.ClusterTrustBundleProjectionOrBuilder
        Returns:
        The optional.
      • setOptional

        public Generated.ClusterTrustBundleProjection.Builder setOptional​(boolean value)
         If true, don't block pod startup if the referenced ClusterTrustBundle(s)
         aren't available.  If using name, then the named ClusterTrustBundle is
         allowed not to exist.  If using signerName, then the combination of
         signerName and labelSelector is allowed to match zero
         ClusterTrustBundles.
         +optional
         
        optional bool optional = 5;
        Parameters:
        value - The optional to set.
        Returns:
        This builder for chaining.
      • clearOptional

        public Generated.ClusterTrustBundleProjection.Builder clearOptional()
         If true, don't block pod startup if the referenced ClusterTrustBundle(s)
         aren't available.  If using name, then the named ClusterTrustBundle is
         allowed not to exist.  If using signerName, then the combination of
         signerName and labelSelector is allowed to match zero
         ClusterTrustBundles.
         +optional
         
        optional bool optional = 5;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.ClusterTrustBundleProjection.Builder setPathBytes​(com.google.protobuf.ByteString value)
         Relative path from the volume root to write the bundle.
         
        optional string path = 4;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.