Package io.kubernetes.client.proto
Class V1.PodAttachOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
io.kubernetes.client.proto.V1.PodAttachOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.PodAttachOptionsOrBuilder
,Cloneable
- Enclosing class:
- V1.PodAttachOptions
public static final class V1.PodAttachOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
implements V1.PodAttachOptionsOrBuilder
PodAttachOptions is the query options to a Pod's remote attach call. --- TODO: merge w/ PodExecOptions below for stdin, stdout, etc 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.PodAttachOptions
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The container in which to execute the command.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Stderr if true indicates that stderr is to be redirected for the attach call.Stdin if true, redirects the standard input stream of the pod for this call.Stdout if true indicates that stdout is to be redirected for the attach call.clearTty()
TTY if true indicates that a tty will be allocated for the attach call.clone()
The container in which to execute the command.com.google.protobuf.ByteString
The container in which to execute the command.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
Stderr if true indicates that stderr is to be redirected for the attach call.boolean
getStdin()
Stdin if true, redirects the standard input stream of the pod for this call.boolean
Stdout if true indicates that stdout is to be redirected for the attach call.boolean
getTty()
TTY if true indicates that a tty will be allocated for the attach call.boolean
The container in which to execute the command.boolean
Stderr if true indicates that stderr is to be redirected for the attach call.boolean
hasStdin()
Stdin if true, redirects the standard input stream of the pod for this call.boolean
Stdout if true indicates that stdout is to be redirected for the attach call.boolean
hasTty()
TTY if true indicates that a tty will be allocated for the attach call.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.PodAttachOptions other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setContainer
(String value) The container in which to execute the command.setContainerBytes
(com.google.protobuf.ByteString value) The container in which to execute the command.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStderr
(boolean value) Stderr if true indicates that stderr is to be redirected for the attach call.setStdin
(boolean value) Stdin if true, redirects the standard input stream of the pod for this call.setStdout
(boolean value) Stdout if true indicates that stdout is to be redirected for the attach call.setTty
(boolean value) TTY if true indicates that a tty will be allocated for the attach call.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
setField
public V1.PodAttachOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
clearField
public V1.PodAttachOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
clearOneof
public V1.PodAttachOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
setRepeatedField
public V1.PodAttachOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
addRepeatedField
public V1.PodAttachOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.PodAttachOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
mergeFrom
public V1.PodAttachOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.PodAttachOptions.Builder>
- Throws:
IOException
-
hasStdin
public boolean hasStdin()Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;
- Specified by:
hasStdin
in interfaceV1.PodAttachOptionsOrBuilder
-
getStdin
public boolean getStdin()Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;
- Specified by:
getStdin
in interfaceV1.PodAttachOptionsOrBuilder
-
setStdin
Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;
-
clearStdin
Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;
-
hasStdout
public boolean hasStdout()Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. +optional
optional bool stdout = 2;
- Specified by:
hasStdout
in interfaceV1.PodAttachOptionsOrBuilder
-
getStdout
public boolean getStdout()Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. +optional
optional bool stdout = 2;
- Specified by:
getStdout
in interfaceV1.PodAttachOptionsOrBuilder
-
setStdout
Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. +optional
optional bool stdout = 2;
-
clearStdout
Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. +optional
optional bool stdout = 2;
-
hasStderr
public boolean hasStderr()Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. +optional
optional bool stderr = 3;
- Specified by:
hasStderr
in interfaceV1.PodAttachOptionsOrBuilder
-
getStderr
public boolean getStderr()Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. +optional
optional bool stderr = 3;
- Specified by:
getStderr
in interfaceV1.PodAttachOptionsOrBuilder
-
setStderr
Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. +optional
optional bool stderr = 3;
-
clearStderr
Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. +optional
optional bool stderr = 3;
-
hasTty
public boolean hasTty()TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. +optional
optional bool tty = 4;
- Specified by:
hasTty
in interfaceV1.PodAttachOptionsOrBuilder
-
getTty
public boolean getTty()TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. +optional
optional bool tty = 4;
- Specified by:
getTty
in interfaceV1.PodAttachOptionsOrBuilder
-
setTty
TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. +optional
optional bool tty = 4;
-
clearTty
TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. +optional
optional bool tty = 4;
-
hasContainer
public boolean hasContainer()The 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;
- Specified by:
hasContainer
in interfaceV1.PodAttachOptionsOrBuilder
-
getContainer
The 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;
- Specified by:
getContainer
in interfaceV1.PodAttachOptionsOrBuilder
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()The 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;
- Specified by:
getContainerBytes
in interfaceV1.PodAttachOptionsOrBuilder
-
setContainer
The 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;
-
clearContainer
The 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;
-
setContainerBytes
The 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;
-
setUnknownFields
public final V1.PodAttachOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-
mergeUnknownFields
public final V1.PodAttachOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PodAttachOptions.Builder>
-