Class SaveFileRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
io.deephaven.proto.backplane.grpc.SaveFileRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SaveFileRequestOrBuilder
,Cloneable
- Enclosing class:
- SaveFileRequest
public static final class SaveFileRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
implements SaveFileRequestOrBuilder
Protobuf type
io.deephaven.proto.backplane.grpc.SaveFileRequest
-
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.The contents to use when creating then file, or to use to replace the file.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The path to the file to write contents toclone()
boolean
True to permit replacing an existing file, false to require that no file already exists with that name.com.google.protobuf.ByteString
The contents to use when creating then file, or to use to replace the file.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getPath()
The path to the file to write contents tocom.google.protobuf.ByteString
The path to the file to write contents toprotected 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
(SaveFileRequest other) final SaveFileRequest.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.setContents
(com.google.protobuf.ByteString value) The contents to use when creating then file, or to use to replace the file.The path to the file to write contents tosetPathBytes
(com.google.protobuf.ByteString value) The path to the file to write contents tosetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final SaveFileRequest.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<SaveFileRequest.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<SaveFileRequest.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<SaveFileRequest.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<SaveFileRequest.Builder>
-
setField
public SaveFileRequest.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<SaveFileRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
-
setRepeatedField
public SaveFileRequest.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<SaveFileRequest.Builder>
-
addRepeatedField
public SaveFileRequest.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<SaveFileRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SaveFileRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
-
mergeFrom
public SaveFileRequest.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<SaveFileRequest.Builder>
- Throws:
IOException
-
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 = 1;
- Specified by:
getAllowOverwrite
in interfaceSaveFileRequestOrBuilder
- 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 = 1;
- 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 = 1;
- Returns:
- This builder for chaining.
-
getPath
The path to the file to write contents to
string path = 2;
- Specified by:
getPath
in interfaceSaveFileRequestOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()The path to the file to write contents to
string path = 2;
- Specified by:
getPathBytes
in interfaceSaveFileRequestOrBuilder
- Returns:
- The bytes for path.
-
setPath
The path to the file to write contents to
string path = 2;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
The path to the file to write contents to
string path = 2;
- Returns:
- This builder for chaining.
-
setPathBytes
The path to the file to write contents to
string path = 2;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
getContents
public com.google.protobuf.ByteString getContents()The contents to use when creating then file, or to use to replace the file.
bytes contents = 3;
- Specified by:
getContents
in interfaceSaveFileRequestOrBuilder
- Returns:
- The contents.
-
setContents
The contents to use when creating then file, or to use to replace the file.
bytes contents = 3;
- Parameters:
value
- The contents to set.- Returns:
- This builder for chaining.
-
clearContents
The contents to use when creating then file, or to use to replace the file.
bytes contents = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SaveFileRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
-
mergeUnknownFields
public final SaveFileRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFileRequest.Builder>
-