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

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

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

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

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

        public boolean hasPort()
         port is the port number of the ingress port.
         
        optional int32 port = 1;
        Specified by:
        hasPort in interface Generated.IngressPortStatusOrBuilder
        Returns:
        Whether the port field is set.
      • setPort

        public Generated.IngressPortStatus.Builder setPort​(int value)
         port is the port number of the ingress port.
         
        optional int32 port = 1;
        Parameters:
        value - The port to set.
        Returns:
        This builder for chaining.
      • hasProtocol

        public boolean hasProtocol()
         protocol is the protocol of the ingress port.
         The supported values are: "TCP", "UDP", "SCTP"
         
        optional string protocol = 2;
        Specified by:
        hasProtocol in interface Generated.IngressPortStatusOrBuilder
        Returns:
        Whether the protocol field is set.
      • getProtocol

        public String getProtocol()
         protocol is the protocol of the ingress port.
         The supported values are: "TCP", "UDP", "SCTP"
         
        optional string protocol = 2;
        Specified by:
        getProtocol in interface Generated.IngressPortStatusOrBuilder
        Returns:
        The protocol.
      • getProtocolBytes

        public com.google.protobuf.ByteString getProtocolBytes()
         protocol is the protocol of the ingress port.
         The supported values are: "TCP", "UDP", "SCTP"
         
        optional string protocol = 2;
        Specified by:
        getProtocolBytes in interface Generated.IngressPortStatusOrBuilder
        Returns:
        The bytes for protocol.
      • setProtocol

        public Generated.IngressPortStatus.Builder setProtocol​(String value)
         protocol is the protocol of the ingress port.
         The supported values are: "TCP", "UDP", "SCTP"
         
        optional string protocol = 2;
        Parameters:
        value - The protocol to set.
        Returns:
        This builder for chaining.
      • clearProtocol

        public Generated.IngressPortStatus.Builder clearProtocol()
         protocol is the protocol of the ingress port.
         The supported values are: "TCP", "UDP", "SCTP"
         
        optional string protocol = 2;
        Returns:
        This builder for chaining.
      • setProtocolBytes

        public Generated.IngressPortStatus.Builder setProtocolBytes​(com.google.protobuf.ByteString value)
         protocol is the protocol of the ingress port.
         The supported values are: "TCP", "UDP", "SCTP"
         
        optional string protocol = 2;
        Parameters:
        value - The bytes for protocol to set.
        Returns:
        This builder for chaining.
      • hasError

        public boolean hasError()
         error is to record the problem with the service port
         The format of the error shall comply with the following rules:
         - built-in error values shall be specified in this file and those shall use
           CamelCase names
         - cloud provider specific error values must have names that comply with the
           format foo.example.com/CamelCase.
         ---
         The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
         +optional
         +kubebuilder:validation:Required
         +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
         +kubebuilder:validation:MaxLength=316
         
        optional string error = 3;
        Specified by:
        hasError in interface Generated.IngressPortStatusOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public String getError()
         error is to record the problem with the service port
         The format of the error shall comply with the following rules:
         - built-in error values shall be specified in this file and those shall use
           CamelCase names
         - cloud provider specific error values must have names that comply with the
           format foo.example.com/CamelCase.
         ---
         The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
         +optional
         +kubebuilder:validation:Required
         +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
         +kubebuilder:validation:MaxLength=316
         
        optional string error = 3;
        Specified by:
        getError in interface Generated.IngressPortStatusOrBuilder
        Returns:
        The error.
      • getErrorBytes

        public com.google.protobuf.ByteString getErrorBytes()
         error is to record the problem with the service port
         The format of the error shall comply with the following rules:
         - built-in error values shall be specified in this file and those shall use
           CamelCase names
         - cloud provider specific error values must have names that comply with the
           format foo.example.com/CamelCase.
         ---
         The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
         +optional
         +kubebuilder:validation:Required
         +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
         +kubebuilder:validation:MaxLength=316
         
        optional string error = 3;
        Specified by:
        getErrorBytes in interface Generated.IngressPortStatusOrBuilder
        Returns:
        The bytes for error.
      • setError

        public Generated.IngressPortStatus.Builder setError​(String value)
         error is to record the problem with the service port
         The format of the error shall comply with the following rules:
         - built-in error values shall be specified in this file and those shall use
           CamelCase names
         - cloud provider specific error values must have names that comply with the
           format foo.example.com/CamelCase.
         ---
         The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
         +optional
         +kubebuilder:validation:Required
         +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
         +kubebuilder:validation:MaxLength=316
         
        optional string error = 3;
        Parameters:
        value - The error to set.
        Returns:
        This builder for chaining.
      • clearError

        public Generated.IngressPortStatus.Builder clearError()
         error is to record the problem with the service port
         The format of the error shall comply with the following rules:
         - built-in error values shall be specified in this file and those shall use
           CamelCase names
         - cloud provider specific error values must have names that comply with the
           format foo.example.com/CamelCase.
         ---
         The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
         +optional
         +kubebuilder:validation:Required
         +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
         +kubebuilder:validation:MaxLength=316
         
        optional string error = 3;
        Returns:
        This builder for chaining.
      • setErrorBytes

        public Generated.IngressPortStatus.Builder setErrorBytes​(com.google.protobuf.ByteString value)
         error is to record the problem with the service port
         The format of the error shall comply with the following rules:
         - built-in error values shall be specified in this file and those shall use
           CamelCase names
         - cloud provider specific error values must have names that comply with the
           format foo.example.com/CamelCase.
         ---
         The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
         +optional
         +kubebuilder:validation:Required
         +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
         +kubebuilder:validation:MaxLength=316
         
        optional string error = 3;
        Parameters:
        value - The bytes for error to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Generated.IngressPortStatus.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.IngressPortStatus.Builder>