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

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

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

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

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

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

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

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

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