Class Generated.ClusterTrustBundleProjection

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.ClusterTrustBundleProjectionOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.ClusterTrustBundleProjection
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.ClusterTrustBundleProjectionOrBuilder
     ClusterTrustBundleProjection describes how to select a set of
     ClusterTrustBundle objects and project their contents into the pod
     filesystem.
     
    Protobuf type k8s.io.api.core.v1.ClusterTrustBundleProjection
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.ClusterTrustBundleProjection parseFrom​(ByteBuffer data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ClusterTrustBundleProjection parseFrom​(com.google.protobuf.ByteString data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ClusterTrustBundleProjection parseFrom​(com.google.protobuf.ByteString data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ClusterTrustBundleProjection parseFrom​(byte[] data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ClusterTrustBundleProjection parseFrom​(byte[] data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

        protected Generated.ClusterTrustBundleProjection.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.ClusterTrustBundleProjection> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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