public static final class V1.FCVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder> implements V1.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 type
k8s.io.api.core.v1.FCVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.FCVolumeSource.Builder |
addAllTargetWWNs(Iterable<String> values)
Optional: FC target worldwide names (WWNs)
+optional
|
V1.FCVolumeSource.Builder |
addAllWwids(Iterable<String> values)
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
V1.FCVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FCVolumeSource.Builder |
addTargetWWNs(String value)
Optional: FC target worldwide names (WWNs)
+optional
|
V1.FCVolumeSource.Builder |
addTargetWWNsBytes(com.google.protobuf.ByteString value)
Optional: FC target worldwide names (WWNs)
+optional
|
V1.FCVolumeSource.Builder |
addWwids(String value)
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
V1.FCVolumeSource.Builder |
addWwidsBytes(com.google.protobuf.ByteString value)
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
V1.FCVolumeSource |
build() |
V1.FCVolumeSource |
buildPartial() |
V1.FCVolumeSource.Builder |
clear() |
V1.FCVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.FCVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
V1.FCVolumeSource.Builder |
clearLun()
Optional: FC target lun number
+optional
|
V1.FCVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.FCVolumeSource.Builder |
clearReadOnly()
Optional: Defaults to false (read/write).
|
V1.FCVolumeSource.Builder |
clearTargetWWNs()
Optional: FC target worldwide names (WWNs)
+optional
|
V1.FCVolumeSource.Builder |
clearWwids()
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
V1.FCVolumeSource.Builder |
clone() |
V1.FCVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFsType()
Filesystem type to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type to mount.
|
int |
getLun()
Optional: FC target lun number
+optional
|
boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
String |
getTargetWWNs(int index)
Optional: FC target worldwide names (WWNs)
+optional
|
com.google.protobuf.ByteString |
getTargetWWNsBytes(int index)
Optional: FC target worldwide names (WWNs)
+optional
|
int |
getTargetWWNsCount()
Optional: FC target worldwide names (WWNs)
+optional
|
com.google.protobuf.ProtocolStringList |
getTargetWWNsList()
Optional: FC target worldwide names (WWNs)
+optional
|
String |
getWwids(int index)
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.ByteString |
getWwidsBytes(int index)
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
int |
getWwidsCount()
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.ProtocolStringList |
getWwidsList()
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
boolean |
hasFsType()
Filesystem type to mount.
|
boolean |
hasLun()
Optional: FC target lun number
+optional
|
boolean |
hasReadOnly()
Optional: Defaults to false (read/write).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.FCVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.FCVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.FCVolumeSource.Builder |
mergeFrom(V1.FCVolumeSource other) |
V1.FCVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.FCVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FCVolumeSource.Builder |
setFsType(String value)
Filesystem type to mount.
|
V1.FCVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
V1.FCVolumeSource.Builder |
setLun(int value)
Optional: FC target lun number
+optional
|
V1.FCVolumeSource.Builder |
setReadOnly(boolean value)
Optional: Defaults to false (read/write).
|
V1.FCVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.FCVolumeSource.Builder |
setTargetWWNs(int index,
String value)
Optional: FC target worldwide names (WWNs)
+optional
|
V1.FCVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.FCVolumeSource.Builder |
setWwids(int index,
String value)
Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.FCVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.FCVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.FCVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder mergeFrom(V1.FCVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public V1.FCVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.FCVolumeSource.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getTargetWWNsList()
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;getTargetWWNsList in interface V1.FCVolumeSourceOrBuilderpublic int getTargetWWNsCount()
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;getTargetWWNsCount in interface V1.FCVolumeSourceOrBuilderpublic String getTargetWWNs(int index)
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;getTargetWWNs in interface V1.FCVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getTargetWWNsBytes(int index)
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;getTargetWWNsBytes in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setTargetWWNs(int index, String value)
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder addTargetWWNs(String value)
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder addAllTargetWWNs(Iterable<String> values)
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder clearTargetWWNs()
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder addTargetWWNsBytes(com.google.protobuf.ByteString value)
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;public boolean hasLun()
Optional: FC target lun number +optional
optional int32 lun = 2;hasLun in interface V1.FCVolumeSourceOrBuilderpublic int getLun()
Optional: FC target lun number +optional
optional int32 lun = 2;getLun in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setLun(int value)
Optional: FC target lun number +optional
optional int32 lun = 2;public V1.FCVolumeSource.Builder clearLun()
Optional: FC target lun number +optional
optional int32 lun = 2;public boolean hasFsType()
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;hasFsType in interface V1.FCVolumeSourceOrBuilderpublic String getFsType()
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;getFsType in interface V1.FCVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
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;getFsTypeBytes in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setFsType(String value)
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;public V1.FCVolumeSource.Builder clearFsType()
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;public V1.FCVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
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;public boolean hasReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;hasReadOnly in interface V1.FCVolumeSourceOrBuilderpublic boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;getReadOnly in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setReadOnly(boolean value)
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;public V1.FCVolumeSource.Builder clearReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;public com.google.protobuf.ProtocolStringList getWwidsList()
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;getWwidsList in interface V1.FCVolumeSourceOrBuilderpublic int getWwidsCount()
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;getWwidsCount in interface V1.FCVolumeSourceOrBuilderpublic String getWwids(int index)
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;getWwids in interface V1.FCVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getWwidsBytes(int index)
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;getWwidsBytes in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setWwids(int index, String value)
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;public V1.FCVolumeSource.Builder addWwids(String value)
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;public V1.FCVolumeSource.Builder addAllWwids(Iterable<String> values)
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;public V1.FCVolumeSource.Builder clearWwids()
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;public V1.FCVolumeSource.Builder addWwidsBytes(com.google.protobuf.ByteString value)
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
repeated string wwids = 5;public final V1.FCVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>public final V1.FCVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>Copyright © 2023. All rights reserved.