Package io.kubernetes.client.proto
Class V1.FCVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
io.kubernetes.client.proto.V1.FCVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.FCVolumeSourceOrBuilder
,Cloneable
- Enclosing class:
- V1.FCVolumeSource
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
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTargetWWNs
(Iterable<String> values) Optional: FC target worldwide names (WWNs) +optionaladdAllWwids
(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.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTargetWWNs
(String value) Optional: FC target worldwide names (WWNs) +optionaladdTargetWWNsBytes
(com.google.protobuf.ByteString value) Optional: FC target worldwide names (WWNs) +optionalOptional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.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.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filesystem type to mount.clearLun()
Optional: FC target lun number +optionalclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional: Defaults to false (read/write).Optional: FC target worldwide names (WWNs) +optionalOptional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Filesystem type to mount.com.google.protobuf.ByteString
Filesystem type to mount.int
getLun()
Optional: FC target lun number +optionalboolean
Optional: Defaults to false (read/write).getTargetWWNs
(int index) Optional: FC target worldwide names (WWNs) +optionalcom.google.protobuf.ByteString
getTargetWWNsBytes
(int index) Optional: FC target worldwide names (WWNs) +optionalint
Optional: FC target worldwide names (WWNs) +optionalcom.google.protobuf.ProtocolStringList
Optional: FC target worldwide names (WWNs) +optionalgetWwids
(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
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
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.boolean
Filesystem type to mount.boolean
hasLun()
Optional: FC target lun number +optionalboolean
Optional: Defaults to false (read/write).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.FCVolumeSource other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Filesystem type to mount.setFsTypeBytes
(com.google.protobuf.ByteString value) Filesystem type to mount.setLun
(int value) Optional: FC target lun number +optionalsetReadOnly
(boolean value) Optional: Defaults to false (read/write).setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTargetWWNs
(int index, String value) Optional: FC target worldwide names (WWNs) +optionalsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
setField
public V1.FCVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
setRepeatedField
public V1.FCVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
addRepeatedField
public V1.FCVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.FCVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
mergeFrom
public V1.FCVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.FCVolumeSource.Builder>
- Throws:
IOException
-
getTargetWWNsList
public com.google.protobuf.ProtocolStringList getTargetWWNsList()Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
- Specified by:
getTargetWWNsList
in interfaceV1.FCVolumeSourceOrBuilder
-
getTargetWWNsCount
public int getTargetWWNsCount()Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
- Specified by:
getTargetWWNsCount
in interfaceV1.FCVolumeSourceOrBuilder
-
getTargetWWNs
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
- Specified by:
getTargetWWNs
in interfaceV1.FCVolumeSourceOrBuilder
-
getTargetWWNsBytes
public com.google.protobuf.ByteString getTargetWWNsBytes(int index) Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
- Specified by:
getTargetWWNsBytes
in interfaceV1.FCVolumeSourceOrBuilder
-
setTargetWWNs
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
-
addTargetWWNs
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
-
addAllTargetWWNs
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
-
clearTargetWWNs
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
-
addTargetWWNsBytes
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;
-
hasLun
public boolean hasLun()Optional: FC target lun number +optional
optional int32 lun = 2;
- Specified by:
hasLun
in interfaceV1.FCVolumeSourceOrBuilder
-
getLun
public int getLun()Optional: FC target lun number +optional
optional int32 lun = 2;
- Specified by:
getLun
in interfaceV1.FCVolumeSourceOrBuilder
-
setLun
Optional: FC target lun number +optional
optional int32 lun = 2;
-
clearLun
Optional: FC target lun number +optional
optional int32 lun = 2;
-
hasFsType
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;
- Specified by:
hasFsType
in interfaceV1.FCVolumeSourceOrBuilder
-
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;
- Specified by:
getFsType
in interfaceV1.FCVolumeSourceOrBuilder
-
getFsTypeBytes
public 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;
- Specified by:
getFsTypeBytes
in interfaceV1.FCVolumeSourceOrBuilder
-
setFsType
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;
-
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;
-
setFsTypeBytes
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;
-
hasReadOnly
public boolean hasReadOnly()Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
- Specified by:
hasReadOnly
in interfaceV1.FCVolumeSourceOrBuilder
-
getReadOnly
public boolean getReadOnly()Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
- Specified by:
getReadOnly
in interfaceV1.FCVolumeSourceOrBuilder
-
setReadOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
-
clearReadOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
-
getWwidsList
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;
- Specified by:
getWwidsList
in interfaceV1.FCVolumeSourceOrBuilder
-
getWwidsCount
public 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;
- Specified by:
getWwidsCount
in interfaceV1.FCVolumeSourceOrBuilder
-
getWwids
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;
- Specified by:
getWwids
in interfaceV1.FCVolumeSourceOrBuilder
-
getWwidsBytes
public 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;
- Specified by:
getWwidsBytes
in interfaceV1.FCVolumeSourceOrBuilder
-
setWwids
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;
-
addWwids
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;
-
addAllWwids
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;
-
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;
-
addWwidsBytes
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;
-
setUnknownFields
public final V1.FCVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
mergeUnknownFields
public final V1.FCVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-