public static final class V1.PodExecOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder> implements V1.PodExecOptionsOrBuilder
PodExecOptions is the query options to a Pod's remote exec call. --- TODO: This is largely identical to PodAttachOptions above, make sure they stay in sync and see about merging and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTYProtobuf type
k8s.io.api.core.v1.PodExecOptions| Modifier and Type | Method and Description |
|---|---|
V1.PodExecOptions.Builder |
addAllCommand(Iterable<String> values)
Command is the remote command to execute.
|
V1.PodExecOptions.Builder |
addCommand(String value)
Command is the remote command to execute.
|
V1.PodExecOptions.Builder |
addCommandBytes(com.google.protobuf.ByteString value)
Command is the remote command to execute.
|
V1.PodExecOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodExecOptions |
build() |
V1.PodExecOptions |
buildPartial() |
V1.PodExecOptions.Builder |
clear() |
V1.PodExecOptions.Builder |
clearCommand()
Command is the remote command to execute.
|
V1.PodExecOptions.Builder |
clearContainer()
Container in which to execute the command.
|
V1.PodExecOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PodExecOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PodExecOptions.Builder |
clearStderr()
Redirect the standard error stream of the pod for this call.
|
V1.PodExecOptions.Builder |
clearStdin()
Redirect the standard input stream of the pod for this call.
|
V1.PodExecOptions.Builder |
clearStdout()
Redirect the standard output stream of the pod for this call.
|
V1.PodExecOptions.Builder |
clearTty()
TTY if true indicates that a tty will be allocated for the exec call.
|
V1.PodExecOptions.Builder |
clone() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
V1.PodExecOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.PodExecOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PodExecOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PodExecOptions.Builder |
mergeFrom(V1.PodExecOptions other) |
V1.PodExecOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PodExecOptions.Builder |
setCommand(int index,
String value)
Command is the remote command to execute.
|
V1.PodExecOptions.Builder |
setContainer(String value)
Container in which to execute the command.
|
V1.PodExecOptions.Builder |
setContainerBytes(com.google.protobuf.ByteString value)
Container in which to execute the command.
|
V1.PodExecOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodExecOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PodExecOptions.Builder |
setStderr(boolean value)
Redirect the standard error stream of the pod for this call.
|
V1.PodExecOptions.Builder |
setStdin(boolean value)
Redirect the standard input stream of the pod for this call.
|
V1.PodExecOptions.Builder |
setStdout(boolean value)
Redirect the standard output stream of the pod for this call.
|
V1.PodExecOptions.Builder |
setTty(boolean value)
TTY if true indicates that a tty will be allocated for the exec call.
|
V1.PodExecOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PodExecOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PodExecOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PodExecOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder mergeFrom(V1.PodExecOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public V1.PodExecOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodExecOptions.Builder>IOExceptionpublic boolean hasStdin()
Redirect the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;hasStdin in interface V1.PodExecOptionsOrBuilderpublic boolean getStdin()
Redirect the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;getStdin in interface V1.PodExecOptionsOrBuilderpublic V1.PodExecOptions.Builder setStdin(boolean value)
Redirect the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;public V1.PodExecOptions.Builder clearStdin()
Redirect the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;public boolean hasStdout()
Redirect the standard output stream of the pod for this call. Defaults to true. +optional
optional bool stdout = 2;hasStdout in interface V1.PodExecOptionsOrBuilderpublic boolean getStdout()
Redirect the standard output stream of the pod for this call. Defaults to true. +optional
optional bool stdout = 2;getStdout in interface V1.PodExecOptionsOrBuilderpublic V1.PodExecOptions.Builder setStdout(boolean value)
Redirect the standard output stream of the pod for this call. Defaults to true. +optional
optional bool stdout = 2;public V1.PodExecOptions.Builder clearStdout()
Redirect the standard output stream of the pod for this call. Defaults to true. +optional
optional bool stdout = 2;public boolean hasStderr()
Redirect the standard error stream of the pod for this call. Defaults to true. +optional
optional bool stderr = 3;hasStderr in interface V1.PodExecOptionsOrBuilderpublic boolean getStderr()
Redirect the standard error stream of the pod for this call. Defaults to true. +optional
optional bool stderr = 3;getStderr in interface V1.PodExecOptionsOrBuilderpublic V1.PodExecOptions.Builder setStderr(boolean value)
Redirect the standard error stream of the pod for this call. Defaults to true. +optional
optional bool stderr = 3;public V1.PodExecOptions.Builder clearStderr()
Redirect the standard error stream of the pod for this call. Defaults to true. +optional
optional bool stderr = 3;public boolean hasTty()
TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. +optional
optional bool tty = 4;hasTty in interface V1.PodExecOptionsOrBuilderpublic boolean getTty()
TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. +optional
optional bool tty = 4;getTty in interface V1.PodExecOptionsOrBuilderpublic V1.PodExecOptions.Builder setTty(boolean value)
TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. +optional
optional bool tty = 4;public V1.PodExecOptions.Builder clearTty()
TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. +optional
optional bool tty = 4;public 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;hasContainer in interface V1.PodExecOptionsOrBuilderpublic 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;getContainer in interface V1.PodExecOptionsOrBuilderpublic 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;getContainerBytes in interface V1.PodExecOptionsOrBuilderpublic V1.PodExecOptions.Builder setContainer(String value)
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;public V1.PodExecOptions.Builder clearContainer()
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;public V1.PodExecOptions.Builder setContainerBytes(com.google.protobuf.ByteString value)
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;public com.google.protobuf.ProtocolStringList getCommandList()
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;getCommandList in interface V1.PodExecOptionsOrBuilderpublic int getCommandCount()
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;getCommandCount in interface V1.PodExecOptionsOrBuilderpublic String getCommand(int index)
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;getCommand in interface V1.PodExecOptionsOrBuilderpublic com.google.protobuf.ByteString getCommandBytes(int index)
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;getCommandBytes in interface V1.PodExecOptionsOrBuilderpublic V1.PodExecOptions.Builder setCommand(int index, String value)
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;public V1.PodExecOptions.Builder addCommand(String value)
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;public V1.PodExecOptions.Builder addAllCommand(Iterable<String> values)
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;public V1.PodExecOptions.Builder clearCommand()
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;public V1.PodExecOptions.Builder addCommandBytes(com.google.protobuf.ByteString value)
Command is the remote command to execute. argv array. Not executed within a shell.
repeated string command = 6;public final V1.PodExecOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>public final V1.PodExecOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodExecOptions.Builder>Copyright © 2020. All rights reserved.