Package k8s.io.api.core.v1
Class Generated.FCVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.FCVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.FCVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.FCVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.FCVolumeSourceOrBuilder
Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
Protobuf typek8s.io.api.core.v1.FCVolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.FCVolumeSource.BuilderRepresents a Fibre Channel volume.-
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 intFSTYPE_FIELD_NUMBERstatic intLUN_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.FCVolumeSource>PARSERDeprecated.static intREADONLY_FIELD_NUMBERstatic intTARGETWWNS_FIELD_NUMBERstatic intWWIDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.FCVolumeSourcegetDefaultInstance()Generated.FCVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFsType()fsType is the filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type to mount.intgetLun()lun is Optional: FC target lun number +optionalcom.google.protobuf.Parser<Generated.FCVolumeSource>getParserForType()booleangetReadOnly()readOnly is Optional: Defaults to false (read/write).intgetSerializedSize()StringgetTargetWWNs(int index)targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomiccom.google.protobuf.ByteStringgetTargetWWNsBytes(int index)targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomicintgetTargetWWNsCount()targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomiccom.google.protobuf.ProtocolStringListgetTargetWWNsList()targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomicStringgetWwids(int index)wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.com.google.protobuf.ByteStringgetWwidsBytes(int index)wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.intgetWwidsCount()wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.com.google.protobuf.ProtocolStringListgetWwidsList()wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.booleanhasFsType()fsType is the filesystem type to mount.inthashCode()booleanhasLun()lun is Optional: FC target lun number +optionalbooleanhasReadOnly()readOnly is Optional: Defaults to false (read/write).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.FCVolumeSource.BuildernewBuilder()static Generated.FCVolumeSource.BuildernewBuilder(Generated.FCVolumeSource prototype)Generated.FCVolumeSource.BuildernewBuilderForType()protected Generated.FCVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.FCVolumeSourceparseDelimitedFrom(InputStream input)static Generated.FCVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FCVolumeSourceparseFrom(byte[] data)static Generated.FCVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FCVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.FCVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FCVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.FCVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FCVolumeSourceparseFrom(InputStream input)static Generated.FCVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FCVolumeSourceparseFrom(ByteBuffer data)static Generated.FCVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.FCVolumeSource>parser()Generated.FCVolumeSource.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
-
TARGETWWNS_FIELD_NUMBER
public static final int TARGETWWNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LUN_FIELD_NUMBER
public static final int LUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FSTYPE_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WWIDS_FIELD_NUMBER
public static final int WWIDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.FCVolumeSource> 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
-
getTargetWWNsList
public com.google.protobuf.ProtocolStringList getTargetWWNsList()
targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomic
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsListin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- A list containing the targetWWNs.
-
getTargetWWNsCount
public int getTargetWWNsCount()
targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomic
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsCountin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- The count of targetWWNs.
-
getTargetWWNs
public String getTargetWWNs(int index)
targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomic
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsin interfaceGenerated.FCVolumeSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetWWNs at the given index.
-
getTargetWWNsBytes
public com.google.protobuf.ByteString getTargetWWNsBytes(int index)
targetWWNs is Optional: FC target worldwide names (WWNs) +optional +listType=atomic
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsBytesin interfaceGenerated.FCVolumeSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetWWNs at the given index.
-
hasLun
public boolean hasLun()
lun is Optional: FC target lun number +optional
optional int32 lun = 2;- Specified by:
hasLunin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- Whether the lun field is set.
-
getLun
public int getLun()
lun is Optional: FC target lun number +optional
optional int32 lun = 2;- Specified by:
getLunin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- The lun.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Specified by:
hasFsTypein interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Specified by:
getFsTypein interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Specified by:
getFsTypeBytesin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
hasReadOnly
public boolean hasReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
hasReadOnlyin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
getReadOnlyin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- The readOnly.
-
getWwidsList
public com.google.protobuf.ProtocolStringList getWwidsList()
wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional +listType=atomic
repeated string wwids = 5;- Specified by:
getWwidsListin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- A list containing the wwids.
-
getWwidsCount
public int getWwidsCount()
wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional +listType=atomic
repeated string wwids = 5;- Specified by:
getWwidsCountin interfaceGenerated.FCVolumeSourceOrBuilder- Returns:
- The count of wwids.
-
getWwids
public String getWwids(int index)
wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional +listType=atomic
repeated string wwids = 5;- Specified by:
getWwidsin interfaceGenerated.FCVolumeSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The wwids at the given index.
-
getWwidsBytes
public com.google.protobuf.ByteString getWwidsBytes(int index)
wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional +listType=atomic
repeated string wwids = 5;- Specified by:
getWwidsBytesin interfaceGenerated.FCVolumeSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the wwids at the given index.
-
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.FCVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FCVolumeSource 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.FCVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.FCVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.FCVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.FCVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.FCVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.FCVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.FCVolumeSource.Builder newBuilder(Generated.FCVolumeSource prototype)
-
toBuilder
public Generated.FCVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.FCVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.FCVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.FCVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.FCVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.FCVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-