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

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

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

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

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

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

        public boolean hasPort()
         Number or name 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 = 1;
        Specified by:
        hasPort in interface Generated.TCPSocketActionOrBuilder
        Returns:
        Whether the port field is set.
      • getPort

        public Generated.IntOrString getPort()
         Number or name 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 = 1;
        Specified by:
        getPort in interface Generated.TCPSocketActionOrBuilder
        Returns:
        The port.
      • setPort

        public Generated.TCPSocketAction.Builder setPort​(Generated.IntOrString value)
         Number or name 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 = 1;
      • mergePort

        public Generated.TCPSocketAction.Builder mergePort​(Generated.IntOrString value)
         Number or name 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 = 1;
      • clearPort

        public Generated.TCPSocketAction.Builder clearPort()
         Number or name 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 = 1;
      • getPortBuilder

        public Generated.IntOrString.Builder getPortBuilder()
         Number or name 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 = 1;
      • hasHost

        public boolean hasHost()
         Optional: Host name to connect to, defaults to the pod IP.
         +optional
         
        optional string host = 2;
        Specified by:
        hasHost in interface Generated.TCPSocketActionOrBuilder
        Returns:
        Whether the host field is set.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
         Optional: Host name to connect to, defaults to the pod IP.
         +optional
         
        optional string host = 2;
        Specified by:
        getHostBytes in interface Generated.TCPSocketActionOrBuilder
        Returns:
        The bytes for host.
      • setHost

        public Generated.TCPSocketAction.Builder setHost​(String value)
         Optional: Host name to connect to, defaults to the pod IP.
         +optional
         
        optional string host = 2;
        Parameters:
        value - The host to set.
        Returns:
        This builder for chaining.
      • clearHost

        public Generated.TCPSocketAction.Builder clearHost()
         Optional: Host name to connect to, defaults to the pod IP.
         +optional
         
        optional string host = 2;
        Returns:
        This builder for chaining.
      • setHostBytes

        public Generated.TCPSocketAction.Builder setHostBytes​(com.google.protobuf.ByteString value)
         Optional: Host name to connect to, defaults to the pod IP.
         +optional
         
        optional string host = 2;
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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