Class FstabEntry.Builder

  • All Implemented Interfaces:
    FstabEntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    FstabEntry

    public static final class FstabEntry.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
    implements FstabEntryOrBuilder
     Single fstab entry.
     
    Protobuf type google.cloud.migrationcenter.v1.FstabEntry
    • 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<FstabEntry.Builder>
      • clear

        public FstabEntry.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.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<FstabEntry.Builder>
      • getDefaultInstanceForType

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

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

        public FstabEntry buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public FstabEntry.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
      • setField

        public FstabEntry.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
      • clearField

        public FstabEntry.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
      • clearOneof

        public FstabEntry.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
      • setRepeatedField

        public FstabEntry.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
      • addRepeatedField

        public FstabEntry.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FstabEntry.Builder>
      • mergeFrom

        public FstabEntry.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FstabEntry.Builder>
      • isInitialized

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

        public FstabEntry.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<FstabEntry.Builder>
        Throws:
        IOException
      • getSpec

        public String getSpec()
         The block special device or remote filesystem to be mounted.
         
        string spec = 1;
        Specified by:
        getSpec in interface FstabEntryOrBuilder
        Returns:
        The spec.
      • getSpecBytes

        public com.google.protobuf.ByteString getSpecBytes()
         The block special device or remote filesystem to be mounted.
         
        string spec = 1;
        Specified by:
        getSpecBytes in interface FstabEntryOrBuilder
        Returns:
        The bytes for spec.
      • setSpec

        public FstabEntry.Builder setSpec​(String value)
         The block special device or remote filesystem to be mounted.
         
        string spec = 1;
        Parameters:
        value - The spec to set.
        Returns:
        This builder for chaining.
      • clearSpec

        public FstabEntry.Builder clearSpec()
         The block special device or remote filesystem to be mounted.
         
        string spec = 1;
        Returns:
        This builder for chaining.
      • setSpecBytes

        public FstabEntry.Builder setSpecBytes​(com.google.protobuf.ByteString value)
         The block special device or remote filesystem to be mounted.
         
        string spec = 1;
        Parameters:
        value - The bytes for spec to set.
        Returns:
        This builder for chaining.
      • getFile

        public String getFile()
         The mount point for the filesystem.
         
        string file = 2;
        Specified by:
        getFile in interface FstabEntryOrBuilder
        Returns:
        The file.
      • getFileBytes

        public com.google.protobuf.ByteString getFileBytes()
         The mount point for the filesystem.
         
        string file = 2;
        Specified by:
        getFileBytes in interface FstabEntryOrBuilder
        Returns:
        The bytes for file.
      • setFile

        public FstabEntry.Builder setFile​(String value)
         The mount point for the filesystem.
         
        string file = 2;
        Parameters:
        value - The file to set.
        Returns:
        This builder for chaining.
      • clearFile

        public FstabEntry.Builder clearFile()
         The mount point for the filesystem.
         
        string file = 2;
        Returns:
        This builder for chaining.
      • setFileBytes

        public FstabEntry.Builder setFileBytes​(com.google.protobuf.ByteString value)
         The mount point for the filesystem.
         
        string file = 2;
        Parameters:
        value - The bytes for file to set.
        Returns:
        This builder for chaining.
      • getVfstypeBytes

        public com.google.protobuf.ByteString getVfstypeBytes()
         The type of the filesystem.
         
        string vfstype = 3;
        Specified by:
        getVfstypeBytes in interface FstabEntryOrBuilder
        Returns:
        The bytes for vfstype.
      • setVfstype

        public FstabEntry.Builder setVfstype​(String value)
         The type of the filesystem.
         
        string vfstype = 3;
        Parameters:
        value - The vfstype to set.
        Returns:
        This builder for chaining.
      • clearVfstype

        public FstabEntry.Builder clearVfstype()
         The type of the filesystem.
         
        string vfstype = 3;
        Returns:
        This builder for chaining.
      • setVfstypeBytes

        public FstabEntry.Builder setVfstypeBytes​(com.google.protobuf.ByteString value)
         The type of the filesystem.
         
        string vfstype = 3;
        Parameters:
        value - The bytes for vfstype to set.
        Returns:
        This builder for chaining.
      • getMntops

        public String getMntops()
         Mount options associated with the filesystem.
         
        string mntops = 4;
        Specified by:
        getMntops in interface FstabEntryOrBuilder
        Returns:
        The mntops.
      • getMntopsBytes

        public com.google.protobuf.ByteString getMntopsBytes()
         Mount options associated with the filesystem.
         
        string mntops = 4;
        Specified by:
        getMntopsBytes in interface FstabEntryOrBuilder
        Returns:
        The bytes for mntops.
      • setMntops

        public FstabEntry.Builder setMntops​(String value)
         Mount options associated with the filesystem.
         
        string mntops = 4;
        Parameters:
        value - The mntops to set.
        Returns:
        This builder for chaining.
      • clearMntops

        public FstabEntry.Builder clearMntops()
         Mount options associated with the filesystem.
         
        string mntops = 4;
        Returns:
        This builder for chaining.
      • setMntopsBytes

        public FstabEntry.Builder setMntopsBytes​(com.google.protobuf.ByteString value)
         Mount options associated with the filesystem.
         
        string mntops = 4;
        Parameters:
        value - The bytes for mntops to set.
        Returns:
        This builder for chaining.
      • getFreq

        public int getFreq()
         Used by dump to determine which filesystems need to be dumped.
         
        int32 freq = 5;
        Specified by:
        getFreq in interface FstabEntryOrBuilder
        Returns:
        The freq.
      • setFreq

        public FstabEntry.Builder setFreq​(int value)
         Used by dump to determine which filesystems need to be dumped.
         
        int32 freq = 5;
        Parameters:
        value - The freq to set.
        Returns:
        This builder for chaining.
      • clearFreq

        public FstabEntry.Builder clearFreq()
         Used by dump to determine which filesystems need to be dumped.
         
        int32 freq = 5;
        Returns:
        This builder for chaining.
      • getPassno

        public int getPassno()
         Used by the fsck(8) program to determine the order in which filesystem
         checks are done at reboot time.
         
        int32 passno = 6;
        Specified by:
        getPassno in interface FstabEntryOrBuilder
        Returns:
        The passno.
      • setPassno

        public FstabEntry.Builder setPassno​(int value)
         Used by the fsck(8) program to determine the order in which filesystem
         checks are done at reboot time.
         
        int32 passno = 6;
        Parameters:
        value - The passno to set.
        Returns:
        This builder for chaining.
      • clearPassno

        public FstabEntry.Builder clearPassno()
         Used by the fsck(8) program to determine the order in which filesystem
         checks are done at reboot time.
         
        int32 passno = 6;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final FstabEntry.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<FstabEntry.Builder>