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)
Required: FC target worldwide names (WWNs)
|
V1.FCVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FCVolumeSource.Builder |
addTargetWWNs(String value)
Required: FC target worldwide names (WWNs)
|
V1.FCVolumeSource.Builder |
addTargetWWNsBytes(com.google.protobuf.ByteString value)
Required: FC target worldwide names (WWNs)
|
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()
Required: FC target lun number
|
V1.FCVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.FCVolumeSource.Builder |
clearReadOnly()
Optional: Defaults to false (read/write).
|
V1.FCVolumeSource.Builder |
clearTargetWWNs()
Required: FC target worldwide names (WWNs)
|
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()
Required: FC target lun number
|
boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
String |
getTargetWWNs(int index)
Required: FC target worldwide names (WWNs)
|
com.google.protobuf.ByteString |
getTargetWWNsBytes(int index)
Required: FC target worldwide names (WWNs)
|
int |
getTargetWWNsCount()
Required: FC target worldwide names (WWNs)
|
com.google.protobuf.ProtocolStringList |
getTargetWWNsList()
Required: FC target worldwide names (WWNs)
|
boolean |
hasFsType()
Filesystem type to mount.
|
boolean |
hasLun()
Required: FC target lun number
|
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)
Required: FC target lun number
|
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)
Required: FC target worldwide names (WWNs)
|
V1.FCVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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()
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNsList in interface V1.FCVolumeSourceOrBuilderpublic int getTargetWWNsCount()
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNsCount in interface V1.FCVolumeSourceOrBuilderpublic String getTargetWWNs(int index)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNs in interface V1.FCVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getTargetWWNsBytes(int index)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNsBytes in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setTargetWWNs(int index, String value)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder addTargetWWNs(String value)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder addAllTargetWWNs(Iterable<String> values)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder clearTargetWWNs()
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public V1.FCVolumeSource.Builder addTargetWWNsBytes(com.google.protobuf.ByteString value)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public boolean hasLun()
Required: FC target lun number
optional int32 lun = 2;hasLun in interface V1.FCVolumeSourceOrBuilderpublic int getLun()
Required: FC target lun number
optional int32 lun = 2;getLun in interface V1.FCVolumeSourceOrBuilderpublic V1.FCVolumeSource.Builder setLun(int value)
Required: FC target lun number
optional int32 lun = 2;public V1.FCVolumeSource.Builder clearLun()
Required: FC target lun number
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 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 © 2018. All rights reserved.