Class Generated.IngressClassSpec.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.IngressClassSpec.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.IngressClassSpec.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.IngressClassSpec 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.IngressClassSpec.Builder>
      • mergeFrom

        public Generated.IngressClassSpec.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<Generated.IngressClassSpec.Builder>
        Throws:
        IOException
      • 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.
      • setController

        public Generated.IngressClassSpec.Builder setController​(String value)
         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;
        Parameters:
        value - The controller to set.
        Returns:
        This builder for chaining.
      • clearController

        public Generated.IngressClassSpec.Builder clearController()
         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;
        Returns:
        This builder for chaining.
      • setControllerBytes

        public Generated.IngressClassSpec.Builder setControllerBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for controller to set.
        Returns:
        This builder for chaining.
      • 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.
      • setParameters

        public Generated.IngressClassSpec.Builder setParameters​(Generated.IngressClassParametersReference value)
         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;
      • mergeParameters

        public Generated.IngressClassSpec.Builder mergeParameters​(Generated.IngressClassParametersReference value)
         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;
      • clearParameters

        public Generated.IngressClassSpec.Builder clearParameters()
         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;
      • getParametersBuilder

        public Generated.IngressClassParametersReference.Builder getParametersBuilder()
         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;
      • setUnknownFields

        public final Generated.IngressClassSpec.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressClassSpec.Builder>
      • mergeUnknownFields

        public final Generated.IngressClassSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressClassSpec.Builder>