Class Generated.IngressClassSpec

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

    public static final class Generated.IngressClassSpec
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.IngressClassSpecOrBuilder
     IngressClassSpec provides information about the class of an Ingress.
     
    Protobuf type k8s.io.api.networking.v1.IngressClassSpec
    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
      • hasController

        public boolean hasController()
         controller refers to the name of the controller that should handle this
         class. This allows for different "flavors" that are controlled by the
         same controller. For example, you may have different parameters for the
         same implementing controller. This should be specified as a
         domain-prefixed path no more than 250 characters in length, e.g.
         "acme.io/ingress-controller". This field is immutable.
         
        optional string controller = 1;
        Specified by:
        hasController in interface Generated.IngressClassSpecOrBuilder
        Returns:
        Whether the controller field is set.
      • getController

        public String getController()
         controller refers to the name of the controller that should handle this
         class. This allows for different "flavors" that are controlled by the
         same controller. For example, you may have different parameters for the
         same implementing controller. This should be specified as a
         domain-prefixed path no more than 250 characters in length, e.g.
         "acme.io/ingress-controller". This field is immutable.
         
        optional string controller = 1;
        Specified by:
        getController in interface Generated.IngressClassSpecOrBuilder
        Returns:
        The controller.
      • getControllerBytes

        public com.google.protobuf.ByteString getControllerBytes()
         controller refers to the name of the controller that should handle this
         class. This allows for different "flavors" that are controlled by the
         same controller. For example, you may have different parameters for the
         same implementing controller. This should be specified as a
         domain-prefixed path no more than 250 characters in length, e.g.
         "acme.io/ingress-controller". This field is immutable.
         
        optional string controller = 1;
        Specified by:
        getControllerBytes in interface Generated.IngressClassSpecOrBuilder
        Returns:
        The bytes for controller.
      • hasParameters

        public boolean hasParameters()
         parameters is a link to a custom resource containing additional
         configuration for the controller. This is optional if the controller does
         not require extra parameters.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressClassParametersReference parameters = 2;
        Specified by:
        hasParameters in interface Generated.IngressClassSpecOrBuilder
        Returns:
        Whether the parameters field is set.
      • getParameters

        public Generated.IngressClassParametersReference getParameters()
         parameters is a link to a custom resource containing additional
         configuration for the controller. This is optional if the controller does
         not require extra parameters.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressClassParametersReference parameters = 2;
        Specified by:
        getParameters in interface Generated.IngressClassSpecOrBuilder
        Returns:
        The parameters.
      • 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.IngressClassSpec parseFrom​(ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Generated.IngressClassSpec 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.IngressClassSpec parseFrom​(byte[] data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<Generated.IngressClassSpec> 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.IngressClassSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder