Class VolumeConfig.NfsExport

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getNetworkIdBytes

        public com.google.protobuf.ByteString getNetworkIdBytes()
         Network to use to publish the export.
         
        string network_id = 1;
        Specified by:
        getNetworkIdBytes in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        The bytes for networkId.
      • hasMachineId

        public boolean hasMachineId()
         Either a single machine, identified by an ID, or a comma-separated
         list of machine IDs.
         
        string machine_id = 2;
        Specified by:
        hasMachineId in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        Whether the machineId field is set.
      • getMachineId

        public String getMachineId()
         Either a single machine, identified by an ID, or a comma-separated
         list of machine IDs.
         
        string machine_id = 2;
        Specified by:
        getMachineId in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        The machineId.
      • getMachineIdBytes

        public com.google.protobuf.ByteString getMachineIdBytes()
         Either a single machine, identified by an ID, or a comma-separated
         list of machine IDs.
         
        string machine_id = 2;
        Specified by:
        getMachineIdBytes in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        The bytes for machineId.
      • getPermissionsValue

        public int getPermissionsValue()
         Export permissions.
         
        .google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
        Specified by:
        getPermissionsValue in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        The enum numeric value on the wire for permissions.
      • getNoRootSquash

        public boolean getNoRootSquash()
         Disable root squashing, which is a feature of NFS.
         Root squash is a special mapping of the remote superuser (root) identity
         when using identity authentication.
         
        bool no_root_squash = 5;
        Specified by:
        getNoRootSquash in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        The noRootSquash.
      • getAllowDev

        public boolean getAllowDev()
         Allow dev flag in NfsShare AllowedClientsRequest.
         
        bool allow_dev = 7;
        Specified by:
        getAllowDev in interface VolumeConfig.NfsExportOrBuilder
        Returns:
        The allowDev.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static VolumeConfig.NfsExport parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VolumeConfig.NfsExport parseFrom​(ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VolumeConfig.NfsExport parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VolumeConfig.NfsExport parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VolumeConfig.NfsExport parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VolumeConfig.NfsExport parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public VolumeConfig.NfsExport.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public VolumeConfig.NfsExport.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected VolumeConfig.NfsExport.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<VolumeConfig.NfsExport> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public VolumeConfig.NfsExport getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder