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

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

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

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

        public Generated.IngressBackend.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressBackend.Builder>
      • addRepeatedField

        public Generated.IngressBackend.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressBackend.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.IngressBackend.Builder>
      • mergeFrom

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

        public boolean hasService()
         service references a service as a backend.
         This is a mutually exclusive setting with "Resource".
         +optional
         
        optional .k8s.io.api.networking.v1.IngressServiceBackend service = 4;
        Specified by:
        hasService in interface Generated.IngressBackendOrBuilder
        Returns:
        Whether the service field is set.
      • clearService

        public Generated.IngressBackend.Builder clearService()
         service references a service as a backend.
         This is a mutually exclusive setting with "Resource".
         +optional
         
        optional .k8s.io.api.networking.v1.IngressServiceBackend service = 4;
      • getServiceBuilder

        public Generated.IngressServiceBackend.Builder getServiceBuilder()
         service references a service as a backend.
         This is a mutually exclusive setting with "Resource".
         +optional
         
        optional .k8s.io.api.networking.v1.IngressServiceBackend service = 4;
      • hasResource

        public boolean hasResource()
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
        Specified by:
        hasResource in interface Generated.IngressBackendOrBuilder
        Returns:
        Whether the resource field is set.
      • getResource

        public Generated.TypedLocalObjectReference getResource()
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
        Specified by:
        getResource in interface Generated.IngressBackendOrBuilder
        Returns:
        The resource.
      • setResource

        public Generated.IngressBackend.Builder setResource​(Generated.TypedLocalObjectReference value)
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
      • setResource

        public Generated.IngressBackend.Builder setResource​(Generated.TypedLocalObjectReference.Builder builderForValue)
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
      • mergeResource

        public Generated.IngressBackend.Builder mergeResource​(Generated.TypedLocalObjectReference value)
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
      • clearResource

        public Generated.IngressBackend.Builder clearResource()
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
      • getResourceBuilder

        public Generated.TypedLocalObjectReference.Builder getResourceBuilder()
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
      • getResourceOrBuilder

        public Generated.TypedLocalObjectReferenceOrBuilder getResourceOrBuilder()
         resource is an ObjectRef to another Kubernetes resource in the namespace
         of the Ingress object. If resource is specified, a service.Name and
         service.Port must not be specified.
         This is a mutually exclusive setting with "Service".
         +optional
         
        optional .k8s.io.api.core.v1.TypedLocalObjectReference resource = 3;
        Specified by:
        getResourceOrBuilder in interface Generated.IngressBackendOrBuilder
      • setUnknownFields

        public final Generated.IngressBackend.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.IngressBackend.Builder>
      • mergeUnknownFields

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