Class MoveItemRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MoveItemRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<MoveItemRequest.Builder>
io.deephaven.proto.backplane.grpc.MoveItemRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MoveItemRequestOrBuilder, Cloneable
Enclosing class:
MoveItemRequest

public static final class MoveItemRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<MoveItemRequest.Builder> implements MoveItemRequestOrBuilder
 Requests to move a file to a new path, which may be in a different directory. Presently it is not
 permitted to overwrite an existing file in this way.
 
Protobuf type io.deephaven.proto.backplane.grpc.MoveItemRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    True to permit replacing an existing file, false to require that no file already exists with that name.
    The path where the file should be moved to
    The path where the file currently exists
    boolean
    True to permit replacing an existing file, false to require that no file already exists with that name.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The path where the file should be moved to
    com.google.protobuf.ByteString
    The path where the file should be moved to
    The path where the file currently exists
    com.google.protobuf.ByteString
    The path where the file currently exists
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setAllowOverwrite(boolean value)
    True to permit replacing an existing file, false to require that no file already exists with that name.
    The path where the file should be moved to
    setNewPathBytes(com.google.protobuf.ByteString value)
    The path where the file should be moved to
    The path where the file currently exists
    setOldPathBytes(com.google.protobuf.ByteString value)
    The path where the file currently exists

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<MoveItemRequest.Builder>
    • clear

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

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

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

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

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

      public MoveItemRequest.Builder mergeFrom(MoveItemRequest other)
    • isInitialized

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

      public MoveItemRequest.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<MoveItemRequest.Builder>
      Throws:
      IOException
    • getOldPath

      public String getOldPath()
       The path where the file currently exists
       
      string old_path = 1;
      Specified by:
      getOldPath in interface MoveItemRequestOrBuilder
      Returns:
      The oldPath.
    • getOldPathBytes

      public com.google.protobuf.ByteString getOldPathBytes()
       The path where the file currently exists
       
      string old_path = 1;
      Specified by:
      getOldPathBytes in interface MoveItemRequestOrBuilder
      Returns:
      The bytes for oldPath.
    • setOldPath

      public MoveItemRequest.Builder setOldPath(String value)
       The path where the file currently exists
       
      string old_path = 1;
      Parameters:
      value - The oldPath to set.
      Returns:
      This builder for chaining.
    • clearOldPath

      public MoveItemRequest.Builder clearOldPath()
       The path where the file currently exists
       
      string old_path = 1;
      Returns:
      This builder for chaining.
    • setOldPathBytes

      public MoveItemRequest.Builder setOldPathBytes(com.google.protobuf.ByteString value)
       The path where the file currently exists
       
      string old_path = 1;
      Parameters:
      value - The bytes for oldPath to set.
      Returns:
      This builder for chaining.
    • getNewPath

      public String getNewPath()
       The path where the file should be moved to
       
      string new_path = 2;
      Specified by:
      getNewPath in interface MoveItemRequestOrBuilder
      Returns:
      The newPath.
    • getNewPathBytes

      public com.google.protobuf.ByteString getNewPathBytes()
       The path where the file should be moved to
       
      string new_path = 2;
      Specified by:
      getNewPathBytes in interface MoveItemRequestOrBuilder
      Returns:
      The bytes for newPath.
    • setNewPath

      public MoveItemRequest.Builder setNewPath(String value)
       The path where the file should be moved to
       
      string new_path = 2;
      Parameters:
      value - The newPath to set.
      Returns:
      This builder for chaining.
    • clearNewPath

      public MoveItemRequest.Builder clearNewPath()
       The path where the file should be moved to
       
      string new_path = 2;
      Returns:
      This builder for chaining.
    • setNewPathBytes

      public MoveItemRequest.Builder setNewPathBytes(com.google.protobuf.ByteString value)
       The path where the file should be moved to
       
      string new_path = 2;
      Parameters:
      value - The bytes for newPath to set.
      Returns:
      This builder for chaining.
    • getAllowOverwrite

      public boolean getAllowOverwrite()
       True to permit replacing an existing file, false to require that no file already exists with that name.
       
      bool allow_overwrite = 3;
      Specified by:
      getAllowOverwrite in interface MoveItemRequestOrBuilder
      Returns:
      The allowOverwrite.
    • setAllowOverwrite

      public MoveItemRequest.Builder setAllowOverwrite(boolean value)
       True to permit replacing an existing file, false to require that no file already exists with that name.
       
      bool allow_overwrite = 3;
      Parameters:
      value - The allowOverwrite to set.
      Returns:
      This builder for chaining.
    • clearAllowOverwrite

      public MoveItemRequest.Builder clearAllowOverwrite()
       True to permit replacing an existing file, false to require that no file already exists with that name.
       
      bool allow_overwrite = 3;
      Returns:
      This builder for chaining.