Class MoveItemRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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 Details

    • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
    • clone

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

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

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

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

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

      public MoveItemRequest.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<MoveItemRequest.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.GeneratedMessageV3.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.
    • setUnknownFields

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

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