Class NfsMount.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NfsMount.Builder>
com.google.cloud.aiplatform.v1.NfsMount.Builder
All Implemented Interfaces:
NfsMountOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NfsMount

public static final class NfsMount.Builder extends com.google.protobuf.GeneratedMessage.Builder<NfsMount.Builder> implements NfsMountOrBuilder
 Represents a mount configuration for Network File System (NFS) to mount.
 
Protobuf type google.cloud.aiplatform.v1.NfsMount
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NfsMount.Builder>
    • clear

      public NfsMount.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.GeneratedMessage.Builder<NfsMount.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.GeneratedMessage.Builder<NfsMount.Builder>
    • getDefaultInstanceForType

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

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

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

      public NfsMount.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<NfsMount.Builder>
    • mergeFrom

      public NfsMount.Builder mergeFrom(NfsMount other)
    • isInitialized

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

      public NfsMount.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<NfsMount.Builder>
      Throws:
      IOException
    • getServer

      public String getServer()
       Required. IP address of the NFS server.
       
      string server = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServer in interface NfsMountOrBuilder
      Returns:
      The server.
    • getServerBytes

      public com.google.protobuf.ByteString getServerBytes()
       Required. IP address of the NFS server.
       
      string server = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServerBytes in interface NfsMountOrBuilder
      Returns:
      The bytes for server.
    • setServer

      public NfsMount.Builder setServer(String value)
       Required. IP address of the NFS server.
       
      string server = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The server to set.
      Returns:
      This builder for chaining.
    • clearServer

      public NfsMount.Builder clearServer()
       Required. IP address of the NFS server.
       
      string server = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setServerBytes

      public NfsMount.Builder setServerBytes(com.google.protobuf.ByteString value)
       Required. IP address of the NFS server.
       
      string server = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for server to set.
      Returns:
      This builder for chaining.
    • getPath

      public String getPath()
       Required. Source path exported from NFS server.
       Has to start with '/', and combined with the ip address, it indicates
       the source mount path in the form of `server:path`
       
      string path = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPath in interface NfsMountOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Required. Source path exported from NFS server.
       Has to start with '/', and combined with the ip address, it indicates
       the source mount path in the form of `server:path`
       
      string path = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPathBytes in interface NfsMountOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public NfsMount.Builder setPath(String value)
       Required. Source path exported from NFS server.
       Has to start with '/', and combined with the ip address, it indicates
       the source mount path in the form of `server:path`
       
      string path = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public NfsMount.Builder clearPath()
       Required. Source path exported from NFS server.
       Has to start with '/', and combined with the ip address, it indicates
       the source mount path in the form of `server:path`
       
      string path = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setPathBytes

      public NfsMount.Builder setPathBytes(com.google.protobuf.ByteString value)
       Required. Source path exported from NFS server.
       Has to start with '/', and combined with the ip address, it indicates
       the source mount path in the form of `server:path`
       
      string path = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getMountPoint

      public String getMountPoint()
       Required. Destination mount path. The NFS will be mounted for the user
       under /mnt/nfs/<mount_point>
       
      string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMountPoint in interface NfsMountOrBuilder
      Returns:
      The mountPoint.
    • getMountPointBytes

      public com.google.protobuf.ByteString getMountPointBytes()
       Required. Destination mount path. The NFS will be mounted for the user
       under /mnt/nfs/<mount_point>
       
      string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMountPointBytes in interface NfsMountOrBuilder
      Returns:
      The bytes for mountPoint.
    • setMountPoint

      public NfsMount.Builder setMountPoint(String value)
       Required. Destination mount path. The NFS will be mounted for the user
       under /mnt/nfs/<mount_point>
       
      string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The mountPoint to set.
      Returns:
      This builder for chaining.
    • clearMountPoint

      public NfsMount.Builder clearMountPoint()
       Required. Destination mount path. The NFS will be mounted for the user
       under /mnt/nfs/<mount_point>
       
      string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setMountPointBytes

      public NfsMount.Builder setMountPointBytes(com.google.protobuf.ByteString value)
       Required. Destination mount path. The NFS will be mounted for the user
       under /mnt/nfs/<mount_point>
       
      string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for mountPoint to set.
      Returns:
      This builder for chaining.