Interface Generated.PodExecOptionsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCommand​(int index)
      Command is the remote command to execute.
      com.google.protobuf.ByteString getCommandBytes​(int index)
      Command is the remote command to execute.
      int getCommandCount()
      Command is the remote command to execute.
      List<String> getCommandList()
      Command is the remote command to execute.
      String getContainer()
      Container in which to execute the command.
      com.google.protobuf.ByteString getContainerBytes()
      Container in which to execute the command.
      boolean getStderr()
      Redirect the standard error stream of the pod for this call.
      boolean getStdin()
      Redirect the standard input stream of the pod for this call.
      boolean getStdout()
      Redirect the standard output stream of the pod for this call.
      boolean getTty()
      TTY if true indicates that a tty will be allocated for the exec call.
      boolean hasContainer()
      Container in which to execute the command.
      boolean hasStderr()
      Redirect the standard error stream of the pod for this call.
      boolean hasStdin()
      Redirect the standard input stream of the pod for this call.
      boolean hasStdout()
      Redirect the standard output stream of the pod for this call.
      boolean hasTty()
      TTY if true indicates that a tty will be allocated for the exec call.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasStdin

        boolean hasStdin()
         Redirect the standard input stream of the pod for this call.
         Defaults to false.
         +optional
         
        optional bool stdin = 1;
        Returns:
        Whether the stdin field is set.
      • getStdin

        boolean getStdin()
         Redirect the standard input stream of the pod for this call.
         Defaults to false.
         +optional
         
        optional bool stdin = 1;
        Returns:
        The stdin.
      • hasStdout

        boolean hasStdout()
         Redirect the standard output stream of the pod for this call.
         +optional
         
        optional bool stdout = 2;
        Returns:
        Whether the stdout field is set.
      • getStdout

        boolean getStdout()
         Redirect the standard output stream of the pod for this call.
         +optional
         
        optional bool stdout = 2;
        Returns:
        The stdout.
      • hasStderr

        boolean hasStderr()
         Redirect the standard error stream of the pod for this call.
         +optional
         
        optional bool stderr = 3;
        Returns:
        Whether the stderr field is set.
      • getStderr

        boolean getStderr()
         Redirect the standard error stream of the pod for this call.
         +optional
         
        optional bool stderr = 3;
        Returns:
        The stderr.
      • hasTty

        boolean hasTty()
         TTY if true indicates that a tty will be allocated for the exec call.
         Defaults to false.
         +optional
         
        optional bool tty = 4;
        Returns:
        Whether the tty field is set.
      • getTty

        boolean getTty()
         TTY if true indicates that a tty will be allocated for the exec call.
         Defaults to false.
         +optional
         
        optional bool tty = 4;
        Returns:
        The tty.
      • hasContainer

        boolean hasContainer()
         Container in which to execute the command.
         Defaults to only container if there is only one container in the pod.
         +optional
         
        optional string container = 5;
        Returns:
        Whether the container field is set.
      • getContainer

        String getContainer()
         Container in which to execute the command.
         Defaults to only container if there is only one container in the pod.
         +optional
         
        optional string container = 5;
        Returns:
        The container.
      • getContainerBytes

        com.google.protobuf.ByteString getContainerBytes()
         Container in which to execute the command.
         Defaults to only container if there is only one container in the pod.
         +optional
         
        optional string container = 5;
        Returns:
        The bytes for container.
      • getCommandList

        List<String> getCommandList()
         Command is the remote command to execute. argv array. Not executed within a shell.
         +listType=atomic
         
        repeated string command = 6;
        Returns:
        A list containing the command.
      • getCommandCount

        int getCommandCount()
         Command is the remote command to execute. argv array. Not executed within a shell.
         +listType=atomic
         
        repeated string command = 6;
        Returns:
        The count of command.
      • getCommand

        String getCommand​(int index)
         Command is the remote command to execute. argv array. Not executed within a shell.
         +listType=atomic
         
        repeated string command = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The command at the given index.
      • getCommandBytes

        com.google.protobuf.ByteString getCommandBytes​(int index)
         Command is the remote command to execute. argv array. Not executed within a shell.
         +listType=atomic
         
        repeated string command = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the command at the given index.