Package k8s.io.api.core.v1
Class Generated.ExecAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
- k8s.io.api.core.v1.Generated.ExecAction.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ExecActionOrBuilder
- Enclosing class:
- Generated.ExecAction
public static final class Generated.ExecAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder> implements Generated.ExecActionOrBuilder
ExecAction describes a "run in container" action.
Protobuf typek8s.io.api.core.v1.ExecAction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.ExecAction.BuilderaddAllCommand(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.Generated.ExecAction.BuilderaddCommand(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.Generated.ExecAction.BuilderaddCommandBytes(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.Generated.ExecAction.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ExecActionbuild()Generated.ExecActionbuildPartial()Generated.ExecAction.Builderclear()Generated.ExecAction.BuilderclearCommand()Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.Generated.ExecAction.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ExecAction.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ExecAction.Builderclone()StringgetCommand(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.com.google.protobuf.ByteStringgetCommandBytes(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.intgetCommandCount()Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.com.google.protobuf.ProtocolStringListgetCommandList()Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.Generated.ExecActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.ExecAction.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ExecAction.BuildermergeFrom(com.google.protobuf.Message other)Generated.ExecAction.BuildermergeFrom(Generated.ExecAction other)Generated.ExecAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ExecAction.BuildersetCommand(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.Generated.ExecAction.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ExecAction.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ExecAction.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
clear
public Generated.ExecAction.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
getDefaultInstanceForType
public Generated.ExecAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ExecAction build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ExecAction buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ExecAction.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
setField
public Generated.ExecAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
clearField
public Generated.ExecAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
clearOneof
public Generated.ExecAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
addRepeatedField
public Generated.ExecAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
mergeFrom
public Generated.ExecAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ExecAction.Builder>
-
mergeFrom
public Generated.ExecAction.Builder mergeFrom(Generated.ExecAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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=atomicrepeated string command = 1;- Specified by:
getCommandListin interfaceGenerated.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=atomicrepeated string command = 1;- Specified by:
getCommandCountin interfaceGenerated.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=atomicrepeated string command = 1;- Specified by:
getCommandin interfaceGenerated.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=atomicrepeated string command = 1;- Specified by:
getCommandBytesin interfaceGenerated.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=atomicrepeated 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=atomicrepeated 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=atomicrepeated 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=atomicrepeated 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=atomicrepeated 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
mergeUnknownFields
public final Generated.ExecAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ExecAction.Builder>
-
-