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.Descriptorcom.google.protobuf.Descriptors.DescriptorFilesystem type to mount.com.google.protobuf.ByteStringFilesystem type to mount.intgetLun()Optional: FC target lun number +optionalbooleanOptional: Defaults to false (read/write).getTargetWWNs(int index) Optional: FC target worldwide names (WWNs) +optionalcom.google.protobuf.ByteStringgetTargetWWNsBytes(int index) Optional: FC target worldwide names (WWNs) +optionalintOptional: FC target worldwide names (WWNs) +optionalcom.google.protobuf.ProtocolStringListOptional: 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.ByteStringgetWwidsBytes(int index) Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.intOptional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.com.google.protobuf.ProtocolStringListOptional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.booleanFilesystem type to mount.booleanhasLun()Optional: FC target lun number +optionalbooleanOptional: Defaults to false (read/write).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
setField
public V1.FCVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
addRepeatedField
public V1.FCVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.FCVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getTargetWWNsListin interfaceV1.FCVolumeSourceOrBuilder
-
getTargetWWNsCount
public int getTargetWWNsCount()Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsCountin interfaceV1.FCVolumeSourceOrBuilder
-
getTargetWWNs
Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsin interfaceV1.FCVolumeSourceOrBuilder
-
getTargetWWNsBytes
public com.google.protobuf.ByteString getTargetWWNsBytes(int index) Optional: FC target worldwide names (WWNs) +optional
repeated string targetWWNs = 1;- Specified by:
getTargetWWNsBytesin 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:
hasLunin interfaceV1.FCVolumeSourceOrBuilder
-
getLun
public int getLun()Optional: FC target lun number +optional
optional int32 lun = 2;- Specified by:
getLunin 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:
hasFsTypein 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:
getFsTypein 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:
getFsTypeBytesin 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:
hasReadOnlyin 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:
getReadOnlyin 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:
getWwidsListin 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:
getWwidsCountin 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:
getWwidsin 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:
getWwidsBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-
mergeUnknownFields
public final V1.FCVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FCVolumeSource.Builder>
-