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

        public Generated.ExecAction.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.ExecAction.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.ExecAction.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.ExecAction.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.ExecAction.Builder>
      • setField

        public Generated.ExecAction.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
      • clearField

        public Generated.ExecAction.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.ExecAction.Builder>
      • clearOneof

        public Generated.ExecAction.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.ExecAction.Builder>
      • setRepeatedField

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

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

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

        public com.google.protobuf.ProtocolStringList getCommandList()
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Specified by:
        getCommandList in interface Generated.ExecActionOrBuilder
        Returns:
        A list containing the command.
      • getCommandCount

        public int getCommandCount()
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Specified by:
        getCommandCount in interface Generated.ExecActionOrBuilder
        Returns:
        The count of command.
      • getCommand

        public String getCommand​(int index)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Specified by:
        getCommand in interface Generated.ExecActionOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The command at the given index.
      • getCommandBytes

        public com.google.protobuf.ByteString getCommandBytes​(int index)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Specified by:
        getCommandBytes in interface Generated.ExecActionOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the command at the given index.
      • setCommand

        public Generated.ExecAction.Builder setCommand​(int index,
                                                       String value)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Parameters:
        index - The index to set the value at.
        value - The command to set.
        Returns:
        This builder for chaining.
      • addCommand

        public Generated.ExecAction.Builder addCommand​(String value)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Parameters:
        value - The command to add.
        Returns:
        This builder for chaining.
      • addAllCommand

        public Generated.ExecAction.Builder addAllCommand​(Iterable<String> values)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Parameters:
        values - The command to add.
        Returns:
        This builder for chaining.
      • clearCommand

        public Generated.ExecAction.Builder clearCommand()
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Returns:
        This builder for chaining.
      • addCommandBytes

        public Generated.ExecAction.Builder addCommandBytes​(com.google.protobuf.ByteString value)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Parameters:
        value - The bytes of the command to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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