Class SaveFileRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SaveFileRequest.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<SaveFileRequest.Builder> implements SaveFileRequestOrBuilder
Protobuf type io.deephaven.proto.backplane.grpc.SaveFileRequest
  • 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 contents to use when creating then file, or to use to replace the file.
    The path to the file to write contents to
    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
     
    The path to the file to write contents to
    com.google.protobuf.ByteString
    The path to the file to write contents to
    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.
    setContents(com.google.protobuf.ByteString value)
    The contents to use when creating then file, or to use to replace the file.
    setPath(String value)
    The path to the file to write contents to
    setPathBytes(com.google.protobuf.ByteString value)
    The path to the file to write contents to

    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<SaveFileRequest.Builder>
    • clear

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

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

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

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

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

      public SaveFileRequest.Builder mergeFrom(SaveFileRequest other)
    • isInitialized

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

      public SaveFileRequest.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<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 interface SaveFileRequestOrBuilder
      Returns:
      The allowOverwrite.
    • setAllowOverwrite

      public SaveFileRequest.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 = 1;
      Parameters:
      value - The allowOverwrite to set.
      Returns:
      This builder for chaining.
    • clearAllowOverwrite

      public SaveFileRequest.Builder 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

      public String getPath()
       The path to the file to write contents to
       
      string path = 2;
      Specified by:
      getPath in interface SaveFileRequestOrBuilder
      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 interface SaveFileRequestOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public SaveFileRequest.Builder setPath(String value)
       The path to the file to write contents to
       
      string path = 2;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public SaveFileRequest.Builder clearPath()
       The path to the file to write contents to
       
      string path = 2;
      Returns:
      This builder for chaining.
    • setPathBytes

      public SaveFileRequest.Builder setPathBytes(com.google.protobuf.ByteString value)
       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 interface SaveFileRequestOrBuilder
      Returns:
      The contents.
    • setContents

      public SaveFileRequest.Builder setContents(com.google.protobuf.ByteString value)
       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

      public SaveFileRequest.Builder clearContents()
       The contents to use when creating then file, or to use to replace the file.
       
      bytes contents = 3;
      Returns:
      This builder for chaining.