Package k8s.io.api.core.v1
Class Generated.EphemeralContainerCommon
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.EphemeralContainerCommon
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.EphemeralContainerCommonOrBuilder
- Enclosing class:
- Generated
public static final class Generated.EphemeralContainerCommon extends com.google.protobuf.GeneratedMessageV3 implements Generated.EphemeralContainerCommonOrBuilder
EphemeralContainerCommon is a copy of all fields in Container to be inlined in EphemeralContainer. This separate type allows easy conversion from EphemeralContainer to Container and allows separate documentation for the fields of EphemeralContainer. When a new field is added to Container it must be added here as well.
Protobuf typek8s.io.api.core.v1.EphemeralContainerCommon- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.EphemeralContainerCommon.BuilderEphemeralContainerCommon is a copy of all fields in Container to be inlined in EphemeralContainer.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intARGS_FIELD_NUMBERstatic intCOMMAND_FIELD_NUMBERstatic intENV_FIELD_NUMBERstatic intENVFROM_FIELD_NUMBERstatic intIMAGE_FIELD_NUMBERstatic intIMAGEPULLPOLICY_FIELD_NUMBERstatic intLIFECYCLE_FIELD_NUMBERstatic intLIVENESSPROBE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.EphemeralContainerCommon>PARSERDeprecated.static intPORTS_FIELD_NUMBERstatic intREADINESSPROBE_FIELD_NUMBERstatic intRESIZEPOLICY_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intRESTARTPOLICY_FIELD_NUMBERstatic intSECURITYCONTEXT_FIELD_NUMBERstatic intSTARTUPPROBE_FIELD_NUMBERstatic intSTDIN_FIELD_NUMBERstatic intSTDINONCE_FIELD_NUMBERstatic intTERMINATIONMESSAGEPATH_FIELD_NUMBERstatic intTERMINATIONMESSAGEPOLICY_FIELD_NUMBERstatic intTTY_FIELD_NUMBERstatic intVOLUMEDEVICES_FIELD_NUMBERstatic intVOLUMEMOUNTS_FIELD_NUMBERstatic intWORKINGDIR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetArgs(int index)Arguments to the entrypoint.com.google.protobuf.ByteStringgetArgsBytes(int index)Arguments to the entrypoint.intgetArgsCount()Arguments to the entrypoint.com.google.protobuf.ProtocolStringListgetArgsList()Arguments to the entrypoint.StringgetCommand(int index)Entrypoint array.com.google.protobuf.ByteStringgetCommandBytes(int index)Entrypoint array.intgetCommandCount()Entrypoint array.com.google.protobuf.ProtocolStringListgetCommandList()Entrypoint array.static Generated.EphemeralContainerCommongetDefaultInstance()Generated.EphemeralContainerCommongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.EnvVargetEnv(int index)List of environment variables to set in the container.intgetEnvCount()List of environment variables to set in the container.Generated.EnvFromSourcegetEnvFrom(int index)List of sources to populate environment variables in the container.intgetEnvFromCount()List of sources to populate environment variables in the container.List<Generated.EnvFromSource>getEnvFromList()List of sources to populate environment variables in the container.Generated.EnvFromSourceOrBuildergetEnvFromOrBuilder(int index)List of sources to populate environment variables in the container.List<? extends Generated.EnvFromSourceOrBuilder>getEnvFromOrBuilderList()List of sources to populate environment variables in the container.List<Generated.EnvVar>getEnvList()List of environment variables to set in the container.Generated.EnvVarOrBuildergetEnvOrBuilder(int index)List of environment variables to set in the container.List<? extends Generated.EnvVarOrBuilder>getEnvOrBuilderList()List of environment variables to set in the container.StringgetImage()Container image name.com.google.protobuf.ByteStringgetImageBytes()Container image name.StringgetImagePullPolicy()Image pull policy.com.google.protobuf.ByteStringgetImagePullPolicyBytes()Image pull policy.Generated.LifecyclegetLifecycle()Lifecycle is not allowed for ephemeral containers.Generated.LifecycleOrBuildergetLifecycleOrBuilder()Lifecycle is not allowed for ephemeral containers.Generated.ProbegetLivenessProbe()Probes are not allowed for ephemeral containers.Generated.ProbeOrBuildergetLivenessProbeOrBuilder()Probes are not allowed for ephemeral containers.StringgetName()Name of the ephemeral container specified as a DNS_LABEL.com.google.protobuf.ByteStringgetNameBytes()Name of the ephemeral container specified as a DNS_LABEL.com.google.protobuf.Parser<Generated.EphemeralContainerCommon>getParserForType()Generated.ContainerPortgetPorts(int index)Ports are not allowed for ephemeral containers.intgetPortsCount()Ports are not allowed for ephemeral containers.List<Generated.ContainerPort>getPortsList()Ports are not allowed for ephemeral containers.Generated.ContainerPortOrBuildergetPortsOrBuilder(int index)Ports are not allowed for ephemeral containers.List<? extends Generated.ContainerPortOrBuilder>getPortsOrBuilderList()Ports are not allowed for ephemeral containers.Generated.ProbegetReadinessProbe()Probes are not allowed for ephemeral containers.Generated.ProbeOrBuildergetReadinessProbeOrBuilder()Probes are not allowed for ephemeral containers.Generated.ContainerResizePolicygetResizePolicy(int index)Resources resize policy for the container.intgetResizePolicyCount()Resources resize policy for the container.List<Generated.ContainerResizePolicy>getResizePolicyList()Resources resize policy for the container.Generated.ContainerResizePolicyOrBuildergetResizePolicyOrBuilder(int index)Resources resize policy for the container.List<? extends Generated.ContainerResizePolicyOrBuilder>getResizePolicyOrBuilderList()Resources resize policy for the container.Generated.ResourceRequirementsgetResources()Resources are not allowed for ephemeral containers.Generated.ResourceRequirementsOrBuildergetResourcesOrBuilder()Resources are not allowed for ephemeral containers.StringgetRestartPolicy()Restart policy for the container to manage the restart behavior of each container within a pod.com.google.protobuf.ByteStringgetRestartPolicyBytes()Restart policy for the container to manage the restart behavior of each container within a pod.Generated.SecurityContextgetSecurityContext()Optional: SecurityContext defines the security options the ephemeral container should be run with.Generated.SecurityContextOrBuildergetSecurityContextOrBuilder()Optional: SecurityContext defines the security options the ephemeral container should be run with.intgetSerializedSize()Generated.ProbegetStartupProbe()Probes are not allowed for ephemeral containers.Generated.ProbeOrBuildergetStartupProbeOrBuilder()Probes are not allowed for ephemeral containers.booleangetStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleangetStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.StringgetTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.com.google.protobuf.ByteStringgetTerminationMessagePathBytes()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.StringgetTerminationMessagePolicy()Indicate how the termination message should be populated.com.google.protobuf.ByteStringgetTerminationMessagePolicyBytes()Indicate how the termination message should be populated.booleangetTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Generated.VolumeDevicegetVolumeDevices(int index)volumeDevices is the list of block devices to be used by the container.intgetVolumeDevicesCount()volumeDevices is the list of block devices to be used by the container.List<Generated.VolumeDevice>getVolumeDevicesList()volumeDevices is the list of block devices to be used by the container.Generated.VolumeDeviceOrBuildergetVolumeDevicesOrBuilder(int index)volumeDevices is the list of block devices to be used by the container.List<? extends Generated.VolumeDeviceOrBuilder>getVolumeDevicesOrBuilderList()volumeDevices is the list of block devices to be used by the container.Generated.VolumeMountgetVolumeMounts(int index)Pod volumes to mount into the container's filesystem.intgetVolumeMountsCount()Pod volumes to mount into the container's filesystem.List<Generated.VolumeMount>getVolumeMountsList()Pod volumes to mount into the container's filesystem.Generated.VolumeMountOrBuildergetVolumeMountsOrBuilder(int index)Pod volumes to mount into the container's filesystem.List<? extends Generated.VolumeMountOrBuilder>getVolumeMountsOrBuilderList()Pod volumes to mount into the container's filesystem.StringgetWorkingDir()Container's working directory.com.google.protobuf.ByteStringgetWorkingDirBytes()Container's working directory.inthashCode()booleanhasImage()Container image name.booleanhasImagePullPolicy()Image pull policy.booleanhasLifecycle()Lifecycle is not allowed for ephemeral containers.booleanhasLivenessProbe()Probes are not allowed for ephemeral containers.booleanhasName()Name of the ephemeral container specified as a DNS_LABEL.booleanhasReadinessProbe()Probes are not allowed for ephemeral containers.booleanhasResources()Resources are not allowed for ephemeral containers.booleanhasRestartPolicy()Restart policy for the container to manage the restart behavior of each container within a pod.booleanhasSecurityContext()Optional: SecurityContext defines the security options the ephemeral container should be run with.booleanhasStartupProbe()Probes are not allowed for ephemeral containers.booleanhasStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleanhasStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.booleanhasTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.booleanhasTerminationMessagePolicy()Indicate how the termination message should be populated.booleanhasTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.booleanhasWorkingDir()Container's working directory.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.EphemeralContainerCommon.BuildernewBuilder()static Generated.EphemeralContainerCommon.BuildernewBuilder(Generated.EphemeralContainerCommon prototype)Generated.EphemeralContainerCommon.BuildernewBuilderForType()protected Generated.EphemeralContainerCommon.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.EphemeralContainerCommonparseDelimitedFrom(InputStream input)static Generated.EphemeralContainerCommonparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EphemeralContainerCommonparseFrom(byte[] data)static Generated.EphemeralContainerCommonparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EphemeralContainerCommonparseFrom(com.google.protobuf.ByteString data)static Generated.EphemeralContainerCommonparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EphemeralContainerCommonparseFrom(com.google.protobuf.CodedInputStream input)static Generated.EphemeralContainerCommonparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EphemeralContainerCommonparseFrom(InputStream input)static Generated.EphemeralContainerCommonparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EphemeralContainerCommonparseFrom(ByteBuffer data)static Generated.EphemeralContainerCommonparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.EphemeralContainerCommon>parser()Generated.EphemeralContainerCommon.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKINGDIR_FIELD_NUMBER
public static final int WORKINGDIR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORTS_FIELD_NUMBER
public static final int PORTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVFROM_FIELD_NUMBER
public static final int ENVFROM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENV_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESIZEPOLICY_FIELD_NUMBER
public static final int RESIZEPOLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTARTPOLICY_FIELD_NUMBER
public static final int RESTARTPOLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMEMOUNTS_FIELD_NUMBER
public static final int VOLUMEMOUNTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMEDEVICES_FIELD_NUMBER
public static final int VOLUMEDEVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIVENESSPROBE_FIELD_NUMBER
public static final int LIVENESSPROBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READINESSPROBE_FIELD_NUMBER
public static final int READINESSPROBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTUPPROBE_FIELD_NUMBER
public static final int STARTUPPROBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIFECYCLE_FIELD_NUMBER
public static final int LIFECYCLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TERMINATIONMESSAGEPATH_FIELD_NUMBER
public static final int TERMINATIONMESSAGEPATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TERMINATIONMESSAGEPOLICY_FIELD_NUMBER
public static final int TERMINATIONMESSAGEPOLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGEPULLPOLICY_FIELD_NUMBER
public static final int IMAGEPULLPOLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITYCONTEXT_FIELD_NUMBER
public static final int SECURITYCONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STDIN_FIELD_NUMBER
public static final int STDIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STDINONCE_FIELD_NUMBER
public static final int STDINONCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TTY_FIELD_NUMBER
public static final int TTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.EphemeralContainerCommon> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasName
public boolean hasName()
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
optional string name = 1;- Specified by:
getNamein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for name.
-
hasImage
public boolean hasImage()
Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
optional string image = 2;- Specified by:
hasImagein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public String getImage()
Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
optional string image = 2;- Specified by:
getImagein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
optional string image = 2;- Specified by:
getImageBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for image.
-
getCommandList
public com.google.protobuf.ProtocolStringList getCommandList()
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Specified by:
getCommandListin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- A list containing the command.
-
getCommandCount
public int getCommandCount()
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Specified by:
getCommandCountin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The count of command.
-
getCommand
public String getCommand(int index)
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Specified by:
getCommandin interfaceGenerated.EphemeralContainerCommonOrBuilder- 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)
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Specified by:
getCommandBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
getArgsList
public com.google.protobuf.ProtocolStringList getArgsList()
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Specified by:
getArgsListin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Specified by:
getArgsCountin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The count of args.
-
getArgs
public String getArgs(int index)
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Specified by:
getArgsin interfaceGenerated.EphemeralContainerCommonOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index)
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Specified by:
getArgsBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
hasWorkingDir
public boolean hasWorkingDir()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;- Specified by:
hasWorkingDirin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the workingDir field is set.
-
getWorkingDir
public String getWorkingDir()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;- Specified by:
getWorkingDirin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The workingDir.
-
getWorkingDirBytes
public com.google.protobuf.ByteString getWorkingDirBytes()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;- Specified by:
getWorkingDirBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for workingDir.
-
getPortsList
public List<Generated.ContainerPort> getPortsList()
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getPortsOrBuilderList
public List<? extends Generated.ContainerPortOrBuilder> getPortsOrBuilderList()
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsOrBuilderListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getPortsCount
public int getPortsCount()
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsCountin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getPorts
public Generated.ContainerPort getPorts(int index)
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getPortsOrBuilder
public Generated.ContainerPortOrBuilder getPortsOrBuilder(int index)
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;- Specified by:
getPortsOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvFromList
public List<Generated.EnvFromSource> getEnvFromList()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvFromOrBuilderList
public List<? extends Generated.EnvFromSourceOrBuilder> getEnvFromOrBuilderList()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromOrBuilderListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvFromCount
public int getEnvFromCount()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromCountin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvFrom
public Generated.EnvFromSource getEnvFrom(int index)
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvFromOrBuilder
public Generated.EnvFromSourceOrBuilder getEnvFromOrBuilder(int index)
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;- Specified by:
getEnvFromOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvList
public List<Generated.EnvVar> getEnvList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvOrBuilderList
public List<? extends Generated.EnvVarOrBuilder> getEnvOrBuilderList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvOrBuilderListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvCount
public int getEnvCount()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvCountin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnv
public Generated.EnvVar getEnv(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getEnvOrBuilder
public Generated.EnvVarOrBuilder getEnvOrBuilder(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;- Specified by:
getEnvOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasResources
public boolean hasResources()
Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;- Specified by:
hasResourcesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
public Generated.ResourceRequirements getResources()
Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;- Specified by:
getResourcesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The resources.
-
getResourcesOrBuilder
public Generated.ResourceRequirementsOrBuilder getResourcesOrBuilder()
Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;- Specified by:
getResourcesOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getResizePolicyList
public List<Generated.ContainerResizePolicy> getResizePolicyList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getResizePolicyOrBuilderList
public List<? extends Generated.ContainerResizePolicyOrBuilder> getResizePolicyOrBuilderList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyOrBuilderListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getResizePolicyCount
public int getResizePolicyCount()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyCountin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getResizePolicy
public Generated.ContainerResizePolicy getResizePolicy(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getResizePolicyOrBuilder
public Generated.ContainerResizePolicyOrBuilder getResizePolicyOrBuilder(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;- Specified by:
getResizePolicyOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasRestartPolicy
public boolean hasRestartPolicy()
Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Specified by:
hasRestartPolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the restartPolicy field is set.
-
getRestartPolicy
public String getRestartPolicy()
Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Specified by:
getRestartPolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The restartPolicy.
-
getRestartPolicyBytes
public com.google.protobuf.ByteString getRestartPolicyBytes()
Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Specified by:
getRestartPolicyBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for restartPolicy.
-
getVolumeMountsList
public List<Generated.VolumeMount> getVolumeMountsList()
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeMountsOrBuilderList
public List<? extends Generated.VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsOrBuilderListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeMountsCount
public int getVolumeMountsCount()
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsCountin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeMounts
public Generated.VolumeMount getVolumeMounts(int index)
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeMountsOrBuilder
public Generated.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;- Specified by:
getVolumeMountsOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeDevicesList
public List<Generated.VolumeDevice> getVolumeDevicesList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeDevicesOrBuilderList
public List<? extends Generated.VolumeDeviceOrBuilder> getVolumeDevicesOrBuilderList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesOrBuilderListin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeDevicesCount
public int getVolumeDevicesCount()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesCountin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeDevices
public Generated.VolumeDevice getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
getVolumeDevicesOrBuilder
public Generated.VolumeDeviceOrBuilder getVolumeDevicesOrBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;- Specified by:
getVolumeDevicesOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasLivenessProbe
public boolean hasLivenessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;- Specified by:
hasLivenessProbein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the livenessProbe field is set.
-
getLivenessProbe
public Generated.Probe getLivenessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;- Specified by:
getLivenessProbein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The livenessProbe.
-
getLivenessProbeOrBuilder
public Generated.ProbeOrBuilder getLivenessProbeOrBuilder()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;- Specified by:
getLivenessProbeOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasReadinessProbe
public boolean hasReadinessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;- Specified by:
hasReadinessProbein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the readinessProbe field is set.
-
getReadinessProbe
public Generated.Probe getReadinessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;- Specified by:
getReadinessProbein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The readinessProbe.
-
getReadinessProbeOrBuilder
public Generated.ProbeOrBuilder getReadinessProbeOrBuilder()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;- Specified by:
getReadinessProbeOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasStartupProbe
public boolean hasStartupProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;- Specified by:
hasStartupProbein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the startupProbe field is set.
-
getStartupProbe
public Generated.Probe getStartupProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;- Specified by:
getStartupProbein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The startupProbe.
-
getStartupProbeOrBuilder
public Generated.ProbeOrBuilder getStartupProbeOrBuilder()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;- Specified by:
getStartupProbeOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasLifecycle
public boolean hasLifecycle()
Lifecycle is not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;- Specified by:
hasLifecyclein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the lifecycle field is set.
-
getLifecycle
public Generated.Lifecycle getLifecycle()
Lifecycle is not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;- Specified by:
getLifecyclein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The lifecycle.
-
getLifecycleOrBuilder
public Generated.LifecycleOrBuilder getLifecycleOrBuilder()
Lifecycle is not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;- Specified by:
getLifecycleOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasTerminationMessagePath
public boolean hasTerminationMessagePath()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;- Specified by:
hasTerminationMessagePathin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the terminationMessagePath field is set.
-
getTerminationMessagePath
public String getTerminationMessagePath()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;- Specified by:
getTerminationMessagePathin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The terminationMessagePath.
-
getTerminationMessagePathBytes
public com.google.protobuf.ByteString getTerminationMessagePathBytes()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;- Specified by:
getTerminationMessagePathBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for terminationMessagePath.
-
hasTerminationMessagePolicy
public boolean hasTerminationMessagePolicy()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;- Specified by:
hasTerminationMessagePolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the terminationMessagePolicy field is set.
-
getTerminationMessagePolicy
public String getTerminationMessagePolicy()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;- Specified by:
getTerminationMessagePolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The terminationMessagePolicy.
-
getTerminationMessagePolicyBytes
public com.google.protobuf.ByteString getTerminationMessagePolicyBytes()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;- Specified by:
getTerminationMessagePolicyBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for terminationMessagePolicy.
-
hasImagePullPolicy
public boolean hasImagePullPolicy()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;- Specified by:
hasImagePullPolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the imagePullPolicy field is set.
-
getImagePullPolicy
public String getImagePullPolicy()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;- Specified by:
getImagePullPolicyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The imagePullPolicy.
-
getImagePullPolicyBytes
public com.google.protobuf.ByteString getImagePullPolicyBytes()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;- Specified by:
getImagePullPolicyBytesin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The bytes for imagePullPolicy.
-
hasSecurityContext
public boolean hasSecurityContext()
Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;- Specified by:
hasSecurityContextin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the securityContext field is set.
-
getSecurityContext
public Generated.SecurityContext getSecurityContext()
Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;- Specified by:
getSecurityContextin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The securityContext.
-
getSecurityContextOrBuilder
public Generated.SecurityContextOrBuilder getSecurityContextOrBuilder()
Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;- Specified by:
getSecurityContextOrBuilderin interfaceGenerated.EphemeralContainerCommonOrBuilder
-
hasStdin
public boolean hasStdin()
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;- Specified by:
hasStdinin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the stdin field is set.
-
getStdin
public boolean getStdin()
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;- Specified by:
getStdinin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The stdin.
-
hasStdinOnce
public boolean hasStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;- Specified by:
hasStdinOncein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the stdinOnce field is set.
-
getStdinOnce
public boolean getStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;- Specified by:
getStdinOncein interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The stdinOnce.
-
hasTty
public boolean hasTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;- Specified by:
hasTtyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- Whether the tty field is set.
-
getTty
public boolean getTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;- Specified by:
getTtyin interfaceGenerated.EphemeralContainerCommonOrBuilder- Returns:
- The tty.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EphemeralContainerCommon parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EphemeralContainerCommon parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EphemeralContainerCommon parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.EphemeralContainerCommon.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.EphemeralContainerCommon.Builder newBuilder()
-
newBuilder
public static Generated.EphemeralContainerCommon.Builder newBuilder(Generated.EphemeralContainerCommon prototype)
-
toBuilder
public Generated.EphemeralContainerCommon.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.EphemeralContainerCommon.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.EphemeralContainerCommon getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.EphemeralContainerCommon> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.EphemeralContainerCommon> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.EphemeralContainerCommon getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-