Interface SaveFileRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SaveFileRequest,SaveFileRequest.Builder
public interface SaveFileRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue to permit replacing an existing file, false to require that no file already exists with that name.com.google.protobuf.ByteStringThe contents to use when creating then file, or to use to replace the file.getPath()The path to the file to write contents tocom.google.protobuf.ByteStringThe path to the file to write contents toMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAllowOverwrite
boolean getAllowOverwrite()True to permit replacing an existing file, false to require that no file already exists with that name.
bool allow_overwrite = 1;- Returns:
- The allowOverwrite.
-
getPath
String getPath()The path to the file to write contents to
string path = 2;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()The path to the file to write contents to
string path = 2;- Returns:
- The bytes for path.
-
getContents
com.google.protobuf.ByteString getContents()The contents to use when creating then file, or to use to replace the file.
bytes contents = 3;- Returns:
- The contents.
-