Class Generated.VolumeMountStatus.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeMountStatus.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeMountStatus.Builder>
      • getDefaultInstanceForType

        public Generated.VolumeMountStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.VolumeMountStatus build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.VolumeMountStatus buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeMountStatus.Builder>
      • mergeFrom

        public Generated.VolumeMountStatus.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.VolumeMountStatus.Builder>
        Throws:
        IOException
      • hasName

        public boolean hasName()
         Name corresponds to the name of the original VolumeMount.
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name corresponds to the name of the original VolumeMount.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.VolumeMountStatus.Builder setName​(String value)
         Name corresponds to the name of the original VolumeMount.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.VolumeMountStatus.Builder clearName()
         Name corresponds to the name of the original VolumeMount.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.VolumeMountStatus.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name corresponds to the name of the original VolumeMount.
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasMountPath

        public boolean hasMountPath()
         MountPath corresponds to the original VolumeMount.
         
        optional string mountPath = 2;
        Specified by:
        hasMountPath in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        Whether the mountPath field is set.
      • getMountPathBytes

        public com.google.protobuf.ByteString getMountPathBytes()
         MountPath corresponds to the original VolumeMount.
         
        optional string mountPath = 2;
        Specified by:
        getMountPathBytes in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        The bytes for mountPath.
      • setMountPath

        public Generated.VolumeMountStatus.Builder setMountPath​(String value)
         MountPath corresponds to the original VolumeMount.
         
        optional string mountPath = 2;
        Parameters:
        value - The mountPath to set.
        Returns:
        This builder for chaining.
      • clearMountPath

        public Generated.VolumeMountStatus.Builder clearMountPath()
         MountPath corresponds to the original VolumeMount.
         
        optional string mountPath = 2;
        Returns:
        This builder for chaining.
      • setMountPathBytes

        public Generated.VolumeMountStatus.Builder setMountPathBytes​(com.google.protobuf.ByteString value)
         MountPath corresponds to the original VolumeMount.
         
        optional string mountPath = 2;
        Parameters:
        value - The bytes for mountPath to set.
        Returns:
        This builder for chaining.
      • hasReadOnly

        public boolean hasReadOnly()
         ReadOnly corresponds to the original VolumeMount.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        Whether the readOnly field is set.
      • setReadOnly

        public Generated.VolumeMountStatus.Builder setReadOnly​(boolean value)
         ReadOnly corresponds to the original VolumeMount.
         +optional
         
        optional bool readOnly = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.VolumeMountStatus.Builder clearReadOnly()
         ReadOnly corresponds to the original VolumeMount.
         +optional
         
        optional bool readOnly = 3;
        Returns:
        This builder for chaining.
      • hasRecursiveReadOnly

        public boolean hasRecursiveReadOnly()
         RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
         An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
         depending on the mount result.
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 4;
        Specified by:
        hasRecursiveReadOnly in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        Whether the recursiveReadOnly field is set.
      • getRecursiveReadOnly

        public String getRecursiveReadOnly()
         RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
         An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
         depending on the mount result.
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 4;
        Specified by:
        getRecursiveReadOnly in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        The recursiveReadOnly.
      • getRecursiveReadOnlyBytes

        public com.google.protobuf.ByteString getRecursiveReadOnlyBytes()
         RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
         An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
         depending on the mount result.
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 4;
        Specified by:
        getRecursiveReadOnlyBytes in interface Generated.VolumeMountStatusOrBuilder
        Returns:
        The bytes for recursiveReadOnly.
      • setRecursiveReadOnly

        public Generated.VolumeMountStatus.Builder setRecursiveReadOnly​(String value)
         RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
         An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
         depending on the mount result.
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 4;
        Parameters:
        value - The recursiveReadOnly to set.
        Returns:
        This builder for chaining.
      • clearRecursiveReadOnly

        public Generated.VolumeMountStatus.Builder clearRecursiveReadOnly()
         RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
         An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
         depending on the mount result.
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 4;
        Returns:
        This builder for chaining.
      • setRecursiveReadOnlyBytes

        public Generated.VolumeMountStatus.Builder setRecursiveReadOnlyBytes​(com.google.protobuf.ByteString value)
         RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
         An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
         depending on the mount result.
         +featureGate=RecursiveReadOnlyMounts
         +optional
         
        optional string recursiveReadOnly = 4;
        Parameters:
        value - The bytes for recursiveReadOnly to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Generated.VolumeMountStatus.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeMountStatus.Builder>