Package k8s.io.api.core.v1
Class Generated.GlusterfsPersistentVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.GlusterfsPersistentVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.GlusterfsPersistentVolumeSourceOrBuilder
- Enclosing class:
- Generated.GlusterfsPersistentVolumeSource
public static final class Generated.GlusterfsPersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder> implements Generated.GlusterfsPersistentVolumeSourceOrBuilder
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
Protobuf typek8s.io.api.core.v1.GlusterfsPersistentVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.GlusterfsPersistentVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.GlusterfsPersistentVolumeSourcebuild()Generated.GlusterfsPersistentVolumeSourcebuildPartial()Generated.GlusterfsPersistentVolumeSource.Builderclear()Generated.GlusterfsPersistentVolumeSource.BuilderclearEndpoints()endpoints is the endpoint name that details Glusterfs topology.Generated.GlusterfsPersistentVolumeSource.BuilderclearEndpointsNamespace()endpointsNamespace is the namespace that contains Glusterfs endpoint.Generated.GlusterfsPersistentVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.GlusterfsPersistentVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.GlusterfsPersistentVolumeSource.BuilderclearPath()path is the Glusterfs volume path.Generated.GlusterfsPersistentVolumeSource.BuilderclearReadOnly()readOnly here will force the Glusterfs volume to be mounted with read-only permissions.Generated.GlusterfsPersistentVolumeSource.Builderclone()Generated.GlusterfsPersistentVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEndpoints()endpoints is the endpoint name that details Glusterfs topology.com.google.protobuf.ByteStringgetEndpointsBytes()endpoints is the endpoint name that details Glusterfs topology.StringgetEndpointsNamespace()endpointsNamespace is the namespace that contains Glusterfs endpoint.com.google.protobuf.ByteStringgetEndpointsNamespaceBytes()endpointsNamespace is the namespace that contains Glusterfs endpoint.StringgetPath()path is the Glusterfs volume path.com.google.protobuf.ByteStringgetPathBytes()path is the Glusterfs volume path.booleangetReadOnly()readOnly here will force the Glusterfs volume to be mounted with read-only permissions.booleanhasEndpoints()endpoints is the endpoint name that details Glusterfs topology.booleanhasEndpointsNamespace()endpointsNamespace is the namespace that contains Glusterfs endpoint.booleanhasPath()path is the Glusterfs volume path.booleanhasReadOnly()readOnly here will force the Glusterfs volume to be mounted with read-only permissions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.GlusterfsPersistentVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.GlusterfsPersistentVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.GlusterfsPersistentVolumeSource.BuildermergeFrom(Generated.GlusterfsPersistentVolumeSource other)Generated.GlusterfsPersistentVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.GlusterfsPersistentVolumeSource.BuildersetEndpoints(String value)endpoints is the endpoint name that details Glusterfs topology.Generated.GlusterfsPersistentVolumeSource.BuildersetEndpointsBytes(com.google.protobuf.ByteString value)endpoints is the endpoint name that details Glusterfs topology.Generated.GlusterfsPersistentVolumeSource.BuildersetEndpointsNamespace(String value)endpointsNamespace is the namespace that contains Glusterfs endpoint.Generated.GlusterfsPersistentVolumeSource.BuildersetEndpointsNamespaceBytes(com.google.protobuf.ByteString value)endpointsNamespace is the namespace that contains Glusterfs endpoint.Generated.GlusterfsPersistentVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.GlusterfsPersistentVolumeSource.BuildersetPath(String value)path is the Glusterfs volume path.Generated.GlusterfsPersistentVolumeSource.BuildersetPathBytes(com.google.protobuf.ByteString value)path is the Glusterfs volume path.Generated.GlusterfsPersistentVolumeSource.BuildersetReadOnly(boolean value)readOnly here will force the Glusterfs volume to be mounted with read-only permissions.Generated.GlusterfsPersistentVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.GlusterfsPersistentVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
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<Generated.GlusterfsPersistentVolumeSource.Builder>
-
clear
public Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.GlusterfsPersistentVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.GlusterfsPersistentVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.GlusterfsPersistentVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.Builder>
-
setField
public Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.Builder>
-
clearField
public Generated.GlusterfsPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
clearOneof
public Generated.GlusterfsPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
setRepeatedField
public Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.Builder>
-
addRepeatedField
public Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.Builder>
-
mergeFrom
public Generated.GlusterfsPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
mergeFrom
public Generated.GlusterfsPersistentVolumeSource.Builder mergeFrom(Generated.GlusterfsPersistentVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
mergeFrom
public Generated.GlusterfsPersistentVolumeSource.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<Generated.GlusterfsPersistentVolumeSource.Builder>- Throws:
IOException
-
hasEndpoints
public boolean hasEndpoints()
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string endpoints = 1;- Specified by:
hasEndpointsin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- Whether the endpoints field is set.
-
getEndpoints
public String getEndpoints()
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string endpoints = 1;- Specified by:
getEndpointsin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The endpoints.
-
getEndpointsBytes
public com.google.protobuf.ByteString getEndpointsBytes()
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string endpoints = 1;- Specified by:
getEndpointsBytesin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The bytes for endpoints.
-
setEndpoints
public Generated.GlusterfsPersistentVolumeSource.Builder setEndpoints(String value)
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string endpoints = 1;- Parameters:
value- The endpoints to set.- Returns:
- This builder for chaining.
-
clearEndpoints
public Generated.GlusterfsPersistentVolumeSource.Builder clearEndpoints()
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string endpoints = 1;- Returns:
- This builder for chaining.
-
setEndpointsBytes
public Generated.GlusterfsPersistentVolumeSource.Builder setEndpointsBytes(com.google.protobuf.ByteString value)
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string endpoints = 1;- Parameters:
value- The bytes for endpoints to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string path = 2;- Specified by:
hasPathin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string path = 2;- Specified by:
getPathin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string path = 2;- Specified by:
getPathBytesin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The bytes for path.
-
setPath
public Generated.GlusterfsPersistentVolumeSource.Builder setPath(String value)
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string path = 2;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Generated.GlusterfsPersistentVolumeSource.Builder clearPath()
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string path = 2;- Returns:
- This builder for chaining.
-
setPathBytes
public Generated.GlusterfsPersistentVolumeSource.Builder setPathBytes(com.google.protobuf.ByteString value)
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
optional string path = 2;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasReadOnly
public boolean hasReadOnly()
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional bool readOnly = 3;- Specified by:
hasReadOnlyin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional bool readOnly = 3;- Specified by:
getReadOnlyin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.GlusterfsPersistentVolumeSource.Builder setReadOnly(boolean value)
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional bool readOnly = 3;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.GlusterfsPersistentVolumeSource.Builder clearReadOnly()
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional bool readOnly = 3;- Returns:
- This builder for chaining.
-
hasEndpointsNamespace
public boolean hasEndpointsNamespace()
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional string endpointsNamespace = 4;- Specified by:
hasEndpointsNamespacein interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- Whether the endpointsNamespace field is set.
-
getEndpointsNamespace
public String getEndpointsNamespace()
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional string endpointsNamespace = 4;- Specified by:
getEndpointsNamespacein interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The endpointsNamespace.
-
getEndpointsNamespaceBytes
public com.google.protobuf.ByteString getEndpointsNamespaceBytes()
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional string endpointsNamespace = 4;- Specified by:
getEndpointsNamespaceBytesin interfaceGenerated.GlusterfsPersistentVolumeSourceOrBuilder- Returns:
- The bytes for endpointsNamespace.
-
setEndpointsNamespace
public Generated.GlusterfsPersistentVolumeSource.Builder setEndpointsNamespace(String value)
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional string endpointsNamespace = 4;- Parameters:
value- The endpointsNamespace to set.- Returns:
- This builder for chaining.
-
clearEndpointsNamespace
public Generated.GlusterfsPersistentVolumeSource.Builder clearEndpointsNamespace()
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional string endpointsNamespace = 4;- Returns:
- This builder for chaining.
-
setEndpointsNamespaceBytes
public Generated.GlusterfsPersistentVolumeSource.Builder setEndpointsNamespaceBytes(com.google.protobuf.ByteString value)
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod +optional
optional string endpointsNamespace = 4;- Parameters:
value- The bytes for endpointsNamespace to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.GlusterfsPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.GlusterfsPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
-
-