public static final class FCVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder> implements 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
appscode.kubernetes.v1beta2.FCVolumeSource| Modifier and Type | Method and Description |
|---|---|
FCVolumeSource.Builder |
addAllTargetWWNs(java.lang.Iterable<java.lang.String> values)
Required: FC target worldwide names (WWNs)
|
FCVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
FCVolumeSource.Builder |
addTargetWWNs(java.lang.String value)
Required: FC target worldwide names (WWNs)
|
FCVolumeSource.Builder |
addTargetWWNsBytes(com.google.protobuf.ByteString value)
Required: FC target worldwide names (WWNs)
|
FCVolumeSource |
build() |
FCVolumeSource |
buildPartial() |
FCVolumeSource.Builder |
clear() |
FCVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FCVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
FCVolumeSource.Builder |
clearLun()
Required: FC target lun number
|
FCVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FCVolumeSource.Builder |
clearReadOnly()
Optional: Defaults to false (read/write).
|
FCVolumeSource.Builder |
clearTargetWWNs()
Required: FC target worldwide names (WWNs)
|
FCVolumeSource.Builder |
clone() |
FCVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.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).
|
java.lang.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)
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FCVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FCVolumeSource.Builder |
mergeFrom(FCVolumeSource other) |
FCVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
FCVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FCVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
FCVolumeSource.Builder |
setFsType(java.lang.String value)
Filesystem type to mount.
|
FCVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
FCVolumeSource.Builder |
setLun(int value)
Required: FC target lun number
|
FCVolumeSource.Builder |
setReadOnly(boolean value)
Optional: Defaults to false (read/write).
|
FCVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
FCVolumeSource.Builder |
setTargetWWNs(int index,
java.lang.String value)
Required: FC target worldwide names (WWNs)
|
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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, 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<FCVolumeSource.Builder>public 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<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<FCVolumeSource.Builder>public FCVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FCVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FCVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<FCVolumeSource.Builder>public FCVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder mergeFrom(FCVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public FCVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FCVolumeSource.Builder>java.io.IOExceptionpublic com.google.protobuf.ProtocolStringList getTargetWWNsList()
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNsList in interface FCVolumeSourceOrBuilderpublic int getTargetWWNsCount()
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNsCount in interface FCVolumeSourceOrBuilderpublic java.lang.String getTargetWWNs(int index)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNs in interface FCVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getTargetWWNsBytes(int index)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;getTargetWWNsBytes in interface FCVolumeSourceOrBuilderpublic FCVolumeSource.Builder setTargetWWNs(int index, java.lang.String value)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public FCVolumeSource.Builder addTargetWWNs(java.lang.String value)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public FCVolumeSource.Builder addAllTargetWWNs(java.lang.Iterable<java.lang.String> values)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public FCVolumeSource.Builder clearTargetWWNs()
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public FCVolumeSource.Builder addTargetWWNsBytes(com.google.protobuf.ByteString value)
Required: FC target worldwide names (WWNs)
repeated string targetWWNs = 1;public int getLun()
Required: FC target lun number
optional int32 lun = 2;getLun in interface FCVolumeSourceOrBuilderpublic FCVolumeSource.Builder setLun(int value)
Required: FC target lun number
optional int32 lun = 2;public FCVolumeSource.Builder clearLun()
Required: FC target lun number
optional int32 lun = 2;public java.lang.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 string fsType = 3;getFsType in interface 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 string fsType = 3;getFsTypeBytes in interface FCVolumeSourceOrBuilderpublic FCVolumeSource.Builder setFsType(java.lang.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 string fsType = 3;public 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 string fsType = 3;public 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 string fsType = 3;public boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
optional bool readOnly = 4;getReadOnly in interface FCVolumeSourceOrBuilderpublic FCVolumeSource.Builder setReadOnly(boolean value)
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
optional bool readOnly = 4;public FCVolumeSource.Builder clearReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
optional bool readOnly = 4;public final FCVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>public final FCVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FCVolumeSource.Builder>