Interface Generated.VolumeMountOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.VolumeMount, Generated.VolumeMount.Builder
    Enclosing class:
    Generated

    public static interface Generated.VolumeMountOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getMountPath()
      Path within the container at which the volume should be mounted.
      com.google.protobuf.ByteString getMountPathBytes()
      Path within the container at which the volume should be mounted.
      String getMountPropagation()
      mountPropagation determines how mounts are propagated from the host to container and the other way around.
      com.google.protobuf.ByteString getMountPropagationBytes()
      mountPropagation determines how mounts are propagated from the host to container and the other way around.
      String getName()
      This must match the Name of a Volume.
      com.google.protobuf.ByteString getNameBytes()
      This must match the Name of a Volume.
      boolean getReadOnly()
      Mounted read-only if true, read-write otherwise (false or unspecified).
      String getRecursiveReadOnly()
      RecursiveReadOnly specifies whether read-only mounts should be handled recursively.
      com.google.protobuf.ByteString getRecursiveReadOnlyBytes()
      RecursiveReadOnly specifies whether read-only mounts should be handled recursively.
      String getSubPath()
      Path within the volume from which the container's volume should be mounted.
      com.google.protobuf.ByteString getSubPathBytes()
      Path within the volume from which the container's volume should be mounted.
      String getSubPathExpr()
      Expanded path within the volume from which the container's volume should be mounted.
      com.google.protobuf.ByteString getSubPathExprBytes()
      Expanded path within the volume from which the container's volume should be mounted.
      boolean hasMountPath()
      Path within the container at which the volume should be mounted.
      boolean hasMountPropagation()
      mountPropagation determines how mounts are propagated from the host to container and the other way around.
      boolean hasName()
      This must match the Name of a Volume.
      boolean hasReadOnly()
      Mounted read-only if true, read-write otherwise (false or unspecified).
      boolean hasRecursiveReadOnly()
      RecursiveReadOnly specifies whether read-only mounts should be handled recursively.
      boolean hasSubPath()
      Path within the volume from which the container's volume should be mounted.
      boolean hasSubPathExpr()
      Expanded path within the volume from which the container's volume should be mounted.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasName

        boolean hasName()
         This must match the Name of a Volume.
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         This must match the Name of a Volume.
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         This must match the Name of a Volume.
         
        optional string name = 1;
        Returns:
        The bytes for name.
      • hasReadOnly

        boolean hasReadOnly()
         Mounted read-only if true, read-write otherwise (false or unspecified).
         Defaults to false.
         +optional
         
        optional bool readOnly = 2;
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        boolean getReadOnly()
         Mounted read-only if true, read-write otherwise (false or unspecified).
         Defaults to false.
         +optional
         
        optional bool readOnly = 2;
        Returns:
        The readOnly.
      • hasRecursiveReadOnly

        boolean hasRecursiveReadOnly()
         RecursiveReadOnly specifies whether read-only mounts should be handled
         recursively.
        
         If ReadOnly is false, this field has no meaning and must be unspecified.
        
         If ReadOnly is true, and this field is set to Disabled, the mount is not made
         recursively read-only.  If this field is set to IfPossible, the mount is made
         recursively read-only, if it is supported by the container runtime.  If this
         field is set to Enabled, the mount is made recursively read-only if it is
         supported by the container runtime, otherwise the pod will not be started and
         an error will be generated to indicate the reason.
        
         If this field is set to IfPossible or Enabled, MountPropagation must be set to
         None (or be unspecified, which defaults to None).
        
         If this field is not specified, it is treated as an equivalent of Disabled.
        
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 7;
        Returns:
        Whether the recursiveReadOnly field is set.
      • getRecursiveReadOnly

        String getRecursiveReadOnly()
         RecursiveReadOnly specifies whether read-only mounts should be handled
         recursively.
        
         If ReadOnly is false, this field has no meaning and must be unspecified.
        
         If ReadOnly is true, and this field is set to Disabled, the mount is not made
         recursively read-only.  If this field is set to IfPossible, the mount is made
         recursively read-only, if it is supported by the container runtime.  If this
         field is set to Enabled, the mount is made recursively read-only if it is
         supported by the container runtime, otherwise the pod will not be started and
         an error will be generated to indicate the reason.
        
         If this field is set to IfPossible or Enabled, MountPropagation must be set to
         None (or be unspecified, which defaults to None).
        
         If this field is not specified, it is treated as an equivalent of Disabled.
        
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 7;
        Returns:
        The recursiveReadOnly.
      • getRecursiveReadOnlyBytes

        com.google.protobuf.ByteString getRecursiveReadOnlyBytes()
         RecursiveReadOnly specifies whether read-only mounts should be handled
         recursively.
        
         If ReadOnly is false, this field has no meaning and must be unspecified.
        
         If ReadOnly is true, and this field is set to Disabled, the mount is not made
         recursively read-only.  If this field is set to IfPossible, the mount is made
         recursively read-only, if it is supported by the container runtime.  If this
         field is set to Enabled, the mount is made recursively read-only if it is
         supported by the container runtime, otherwise the pod will not be started and
         an error will be generated to indicate the reason.
        
         If this field is set to IfPossible or Enabled, MountPropagation must be set to
         None (or be unspecified, which defaults to None).
        
         If this field is not specified, it is treated as an equivalent of Disabled.
        
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 7;
        Returns:
        The bytes for recursiveReadOnly.
      • hasMountPath

        boolean hasMountPath()
         Path within the container at which the volume should be mounted.  Must
         not contain ':'.
         
        optional string mountPath = 3;
        Returns:
        Whether the mountPath field is set.
      • getMountPath

        String getMountPath()
         Path within the container at which the volume should be mounted.  Must
         not contain ':'.
         
        optional string mountPath = 3;
        Returns:
        The mountPath.
      • getMountPathBytes

        com.google.protobuf.ByteString getMountPathBytes()
         Path within the container at which the volume should be mounted.  Must
         not contain ':'.
         
        optional string mountPath = 3;
        Returns:
        The bytes for mountPath.
      • hasSubPath

        boolean hasSubPath()
         Path within the volume from which the container's volume should be mounted.
         Defaults to "" (volume's root).
         +optional
         
        optional string subPath = 4;
        Returns:
        Whether the subPath field is set.
      • getSubPath

        String getSubPath()
         Path within the volume from which the container's volume should be mounted.
         Defaults to "" (volume's root).
         +optional
         
        optional string subPath = 4;
        Returns:
        The subPath.
      • getSubPathBytes

        com.google.protobuf.ByteString getSubPathBytes()
         Path within the volume from which the container's volume should be mounted.
         Defaults to "" (volume's root).
         +optional
         
        optional string subPath = 4;
        Returns:
        The bytes for subPath.
      • hasMountPropagation

        boolean hasMountPropagation()
         mountPropagation determines how mounts are propagated from the host
         to container and the other way around.
         When not set, MountPropagationNone is used.
         This field is beta in 1.10.
         When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
         (which defaults to None).
         +optional
         
        optional string mountPropagation = 5;
        Returns:
        Whether the mountPropagation field is set.
      • getMountPropagation

        String getMountPropagation()
         mountPropagation determines how mounts are propagated from the host
         to container and the other way around.
         When not set, MountPropagationNone is used.
         This field is beta in 1.10.
         When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
         (which defaults to None).
         +optional
         
        optional string mountPropagation = 5;
        Returns:
        The mountPropagation.
      • getMountPropagationBytes

        com.google.protobuf.ByteString getMountPropagationBytes()
         mountPropagation determines how mounts are propagated from the host
         to container and the other way around.
         When not set, MountPropagationNone is used.
         This field is beta in 1.10.
         When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
         (which defaults to None).
         +optional
         
        optional string mountPropagation = 5;
        Returns:
        The bytes for mountPropagation.
      • hasSubPathExpr

        boolean hasSubPathExpr()
         Expanded path within the volume from which the container's volume should be mounted.
         Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
         Defaults to "" (volume's root).
         SubPathExpr and SubPath are mutually exclusive.
         +optional
         
        optional string subPathExpr = 6;
        Returns:
        Whether the subPathExpr field is set.
      • getSubPathExpr

        String getSubPathExpr()
         Expanded path within the volume from which the container's volume should be mounted.
         Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
         Defaults to "" (volume's root).
         SubPathExpr and SubPath are mutually exclusive.
         +optional
         
        optional string subPathExpr = 6;
        Returns:
        The subPathExpr.
      • getSubPathExprBytes

        com.google.protobuf.ByteString getSubPathExprBytes()
         Expanded path within the volume from which the container's volume should be mounted.
         Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
         Defaults to "" (volume's root).
         SubPathExpr and SubPath are mutually exclusive.
         +optional
         
        optional string subPathExpr = 6;
        Returns:
        The bytes for subPathExpr.