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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
True to permit replacing an existing file, false to require that no file already exists with that name.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The path where the file should be moved toThe path where the file currently existsclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
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 tocom.google.protobuf.ByteString
The path where the file should be moved toThe path where the file currently existscom.google.protobuf.ByteString
The path where the file currently existsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(MoveItemRequest other) final MoveItemRequest.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAllowOverwrite
(boolean value) True to permit replacing an existing file, false to require that no file already exists with that name.setNewPath
(String value) The path where the file should be moved tosetNewPathBytes
(com.google.protobuf.ByteString value) The path where the file should be moved tosetOldPath
(String value) The path where the file currently existssetOldPathBytes
(com.google.protobuf.ByteString value) The path where the file currently existssetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final MoveItemRequest.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
setField
public MoveItemRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
addRepeatedField
public MoveItemRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MoveItemRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MoveItemRequest.Builder>
- Throws:
IOException
-
getOldPath
The path where the file currently exists
string old_path = 1;
- Specified by:
getOldPath
in interfaceMoveItemRequestOrBuilder
- 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 interfaceMoveItemRequestOrBuilder
- Returns:
- The bytes for oldPath.
-
setOldPath
The path where the file currently exists
string old_path = 1;
- Parameters:
value
- The oldPath to set.- Returns:
- This builder for chaining.
-
clearOldPath
The path where the file currently exists
string old_path = 1;
- Returns:
- This builder for chaining.
-
setOldPathBytes
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
The path where the file should be moved to
string new_path = 2;
- Specified by:
getNewPath
in interfaceMoveItemRequestOrBuilder
- 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 interfaceMoveItemRequestOrBuilder
- Returns:
- The bytes for newPath.
-
setNewPath
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
The path where the file should be moved to
string new_path = 2;
- Returns:
- This builder for chaining.
-
setNewPathBytes
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 interfaceMoveItemRequestOrBuilder
- Returns:
- The allowOverwrite.
-
setAllowOverwrite
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-
mergeUnknownFields
public final MoveItemRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MoveItemRequest.Builder>
-