Package k8s.io.api.core.v1
Class Generated.DownwardAPIVolumeFile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.DownwardAPIVolumeFile
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.DownwardAPIVolumeFileOrBuilder
- Enclosing class:
- Generated
public static final class Generated.DownwardAPIVolumeFile extends com.google.protobuf.GeneratedMessageV3 implements Generated.DownwardAPIVolumeFileOrBuilder
DownwardAPIVolumeFile represents information to create the file containing the pod field
Protobuf typek8s.io.api.core.v1.DownwardAPIVolumeFile- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.DownwardAPIVolumeFile.BuilderDownwardAPIVolumeFile represents information to create the file containing the pod field-
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 intFIELDREF_FIELD_NUMBERstatic intMODE_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.DownwardAPIVolumeFile>PARSERDeprecated.static intPATH_FIELD_NUMBERstatic intRESOURCEFIELDREF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.DownwardAPIVolumeFilegetDefaultInstance()Generated.DownwardAPIVolumeFilegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.ObjectFieldSelectorgetFieldRef()Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.Generated.ObjectFieldSelectorOrBuildergetFieldRefOrBuilder()Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.intgetMode()Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.com.google.protobuf.Parser<Generated.DownwardAPIVolumeFile>getParserForType()StringgetPath()Required: Path is the relative path name of the file to be created.com.google.protobuf.ByteStringgetPathBytes()Required: Path is the relative path name of the file to be created.Generated.ResourceFieldSelectorgetResourceFieldRef()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.Generated.ResourceFieldSelectorOrBuildergetResourceFieldRefOrBuilder()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.intgetSerializedSize()booleanhasFieldRef()Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.inthashCode()booleanhasMode()Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.booleanhasPath()Required: Path is the relative path name of the file to be created.booleanhasResourceFieldRef()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.DownwardAPIVolumeFile.BuildernewBuilder()static Generated.DownwardAPIVolumeFile.BuildernewBuilder(Generated.DownwardAPIVolumeFile prototype)Generated.DownwardAPIVolumeFile.BuildernewBuilderForType()protected Generated.DownwardAPIVolumeFile.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.DownwardAPIVolumeFileparseDelimitedFrom(InputStream input)static Generated.DownwardAPIVolumeFileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.DownwardAPIVolumeFileparseFrom(byte[] data)static Generated.DownwardAPIVolumeFileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.DownwardAPIVolumeFileparseFrom(com.google.protobuf.ByteString data)static Generated.DownwardAPIVolumeFileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.DownwardAPIVolumeFileparseFrom(com.google.protobuf.CodedInputStream input)static Generated.DownwardAPIVolumeFileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.DownwardAPIVolumeFileparseFrom(InputStream input)static Generated.DownwardAPIVolumeFileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.DownwardAPIVolumeFileparseFrom(ByteBuffer data)static Generated.DownwardAPIVolumeFileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.DownwardAPIVolumeFile>parser()Generated.DownwardAPIVolumeFile.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
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELDREF_FIELD_NUMBER
public static final int FIELDREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCEFIELDREF_FIELD_NUMBER
public static final int RESOURCEFIELDREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.DownwardAPIVolumeFile> 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
-
hasPath
public boolean hasPath()
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;- Specified by:
hasPathin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;- Specified by:
getPathin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;- Specified by:
getPathBytesin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- The bytes for path.
-
hasFieldRef
public boolean hasFieldRef()
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;- Specified by:
hasFieldRefin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- Whether the fieldRef field is set.
-
getFieldRef
public Generated.ObjectFieldSelector getFieldRef()
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;- Specified by:
getFieldRefin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- The fieldRef.
-
getFieldRefOrBuilder
public Generated.ObjectFieldSelectorOrBuilder getFieldRefOrBuilder()
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;- Specified by:
getFieldRefOrBuilderin interfaceGenerated.DownwardAPIVolumeFileOrBuilder
-
hasResourceFieldRef
public boolean hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;- Specified by:
hasResourceFieldRefin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- Whether the resourceFieldRef field is set.
-
getResourceFieldRef
public Generated.ResourceFieldSelector getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;- Specified by:
getResourceFieldRefin interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- The resourceFieldRef.
-
getResourceFieldRefOrBuilder
public Generated.ResourceFieldSelectorOrBuilder getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;- Specified by:
getResourceFieldRefOrBuilderin interfaceGenerated.DownwardAPIVolumeFileOrBuilder
-
hasMode
public boolean hasMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 mode = 4;- Specified by:
hasModein interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- Whether the mode field is set.
-
getMode
public int getMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 mode = 4;- Specified by:
getModein interfaceGenerated.DownwardAPIVolumeFileOrBuilder- Returns:
- The mode.
-
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.DownwardAPIVolumeFile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.DownwardAPIVolumeFile 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.DownwardAPIVolumeFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.DownwardAPIVolumeFile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.DownwardAPIVolumeFile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.DownwardAPIVolumeFile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.DownwardAPIVolumeFile.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.DownwardAPIVolumeFile.Builder newBuilder()
-
newBuilder
public static Generated.DownwardAPIVolumeFile.Builder newBuilder(Generated.DownwardAPIVolumeFile prototype)
-
toBuilder
public Generated.DownwardAPIVolumeFile.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.DownwardAPIVolumeFile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.DownwardAPIVolumeFile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.DownwardAPIVolumeFile> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.DownwardAPIVolumeFile> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.DownwardAPIVolumeFile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-