Class Generated.HTTPGetAction.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.HTTPGetAction.Builder>
      • clear

        public Generated.HTTPGetAction.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPGetAction.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.HTTPGetAction.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.HTTPGetAction.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPGetAction.Builder>
      • clearField

        public Generated.HTTPGetAction.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPGetAction.Builder>
      • clearOneof

        public Generated.HTTPGetAction.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPGetAction.Builder>
      • setRepeatedField

        public Generated.HTTPGetAction.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.HTTPGetAction.Builder>
      • addRepeatedField

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

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

        public boolean hasPath()
         Path to access on the HTTP server.
         +optional
         
        optional string path = 1;
        Specified by:
        hasPath in interface Generated.HTTPGetActionOrBuilder
        Returns:
        Whether the path field is set.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Path to access on the HTTP server.
         +optional
         
        optional string path = 1;
        Specified by:
        getPathBytes in interface Generated.HTTPGetActionOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Generated.HTTPGetAction.Builder setPath​(String value)
         Path to access on the HTTP server.
         +optional
         
        optional string path = 1;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Generated.HTTPGetAction.Builder clearPath()
         Path to access on the HTTP server.
         +optional
         
        optional string path = 1;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.HTTPGetAction.Builder setPathBytes​(com.google.protobuf.ByteString value)
         Path to access on the HTTP server.
         +optional
         
        optional string path = 1;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • hasPort

        public boolean hasPort()
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
        Specified by:
        hasPort in interface Generated.HTTPGetActionOrBuilder
        Returns:
        Whether the port field is set.
      • getPort

        public Generated.IntOrString getPort()
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
        Specified by:
        getPort in interface Generated.HTTPGetActionOrBuilder
        Returns:
        The port.
      • setPort

        public Generated.HTTPGetAction.Builder setPort​(Generated.IntOrString value)
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
      • setPort

        public Generated.HTTPGetAction.Builder setPort​(Generated.IntOrString.Builder builderForValue)
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
      • mergePort

        public Generated.HTTPGetAction.Builder mergePort​(Generated.IntOrString value)
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
      • clearPort

        public Generated.HTTPGetAction.Builder clearPort()
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
      • getPortBuilder

        public Generated.IntOrString.Builder getPortBuilder()
         Name or number of the port to access on the container.
         Number must be in the range 1 to 65535.
         Name must be an IANA_SVC_NAME.
         
        optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
      • hasHost

        public boolean hasHost()
         Host name to connect to, defaults to the pod IP. You probably want to set
         "Host" in httpHeaders instead.
         +optional
         
        optional string host = 3;
        Specified by:
        hasHost in interface Generated.HTTPGetActionOrBuilder
        Returns:
        Whether the host field is set.
      • getHost

        public String getHost()
         Host name to connect to, defaults to the pod IP. You probably want to set
         "Host" in httpHeaders instead.
         +optional
         
        optional string host = 3;
        Specified by:
        getHost in interface Generated.HTTPGetActionOrBuilder
        Returns:
        The host.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
         Host name to connect to, defaults to the pod IP. You probably want to set
         "Host" in httpHeaders instead.
         +optional
         
        optional string host = 3;
        Specified by:
        getHostBytes in interface Generated.HTTPGetActionOrBuilder
        Returns:
        The bytes for host.
      • setHost

        public Generated.HTTPGetAction.Builder setHost​(String value)
         Host name to connect to, defaults to the pod IP. You probably want to set
         "Host" in httpHeaders instead.
         +optional
         
        optional string host = 3;
        Parameters:
        value - The host to set.
        Returns:
        This builder for chaining.
      • clearHost

        public Generated.HTTPGetAction.Builder clearHost()
         Host name to connect to, defaults to the pod IP. You probably want to set
         "Host" in httpHeaders instead.
         +optional
         
        optional string host = 3;
        Returns:
        This builder for chaining.
      • setHostBytes

        public Generated.HTTPGetAction.Builder setHostBytes​(com.google.protobuf.ByteString value)
         Host name to connect to, defaults to the pod IP. You probably want to set
         "Host" in httpHeaders instead.
         +optional
         
        optional string host = 3;
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • hasScheme

        public boolean hasScheme()
         Scheme to use for connecting to the host.
         Defaults to HTTP.
         +optional
         
        optional string scheme = 4;
        Specified by:
        hasScheme in interface Generated.HTTPGetActionOrBuilder
        Returns:
        Whether the scheme field is set.
      • getSchemeBytes

        public com.google.protobuf.ByteString getSchemeBytes()
         Scheme to use for connecting to the host.
         Defaults to HTTP.
         +optional
         
        optional string scheme = 4;
        Specified by:
        getSchemeBytes in interface Generated.HTTPGetActionOrBuilder
        Returns:
        The bytes for scheme.
      • setScheme

        public Generated.HTTPGetAction.Builder setScheme​(String value)
         Scheme to use for connecting to the host.
         Defaults to HTTP.
         +optional
         
        optional string scheme = 4;
        Parameters:
        value - The scheme to set.
        Returns:
        This builder for chaining.
      • clearScheme

        public Generated.HTTPGetAction.Builder clearScheme()
         Scheme to use for connecting to the host.
         Defaults to HTTP.
         +optional
         
        optional string scheme = 4;
        Returns:
        This builder for chaining.
      • setSchemeBytes

        public Generated.HTTPGetAction.Builder setSchemeBytes​(com.google.protobuf.ByteString value)
         Scheme to use for connecting to the host.
         Defaults to HTTP.
         +optional
         
        optional string scheme = 4;
        Parameters:
        value - The bytes for scheme to set.
        Returns:
        This builder for chaining.
      • getHttpHeadersCount

        public int getHttpHeadersCount()
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
        Specified by:
        getHttpHeadersCount in interface Generated.HTTPGetActionOrBuilder
      • setHttpHeaders

        public Generated.HTTPGetAction.Builder setHttpHeaders​(int index,
                                                              Generated.HTTPHeader value)
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • addHttpHeaders

        public Generated.HTTPGetAction.Builder addHttpHeaders​(Generated.HTTPHeader value)
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • addHttpHeaders

        public Generated.HTTPGetAction.Builder addHttpHeaders​(int index,
                                                              Generated.HTTPHeader value)
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • clearHttpHeaders

        public Generated.HTTPGetAction.Builder clearHttpHeaders()
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • removeHttpHeaders

        public Generated.HTTPGetAction.Builder removeHttpHeaders​(int index)
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • getHttpHeadersBuilder

        public Generated.HTTPHeader.Builder getHttpHeadersBuilder​(int index)
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • addHttpHeadersBuilder

        public Generated.HTTPHeader.Builder addHttpHeadersBuilder()
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • addHttpHeadersBuilder

        public Generated.HTTPHeader.Builder addHttpHeadersBuilder​(int index)
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • getHttpHeadersBuilderList

        public List<Generated.HTTPHeader.Builder> getHttpHeadersBuilderList()
         Custom headers to set in the request. HTTP allows repeated headers.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
      • setUnknownFields

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

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