Class ItemInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
io.deephaven.proto.backplane.grpc.ItemInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ItemInfoOrBuilder, Cloneable
Enclosing class:
ItemInfo

public static final class ItemInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder> implements ItemInfoOrBuilder
Protobuf type io.deephaven.proto.backplane.grpc.ItemInfo
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    Opaque string value representing a hash of the contents of this file, if available.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    The path to the item that this message describes.
    If this message represents a file, this is the size of the file.
    The type of this item, either file or directory.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Opaque string value representing a hash of the contents of this file, if available.
    com.google.protobuf.ByteString
    Opaque string value representing a hash of the contents of this file, if available.
    The path to the item that this message describes.
    com.google.protobuf.ByteString
    The path to the item that this message describes.
    long
    If this message represents a file, this is the size of the file.
    The type of this item, either file or directory.
    int
    The type of this item, either file or directory.
    boolean
    Opaque string value representing a hash of the contents of this file, if available.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setEtag(String value)
    Opaque string value representing a hash of the contents of this file, if available.
    setEtagBytes(com.google.protobuf.ByteString value)
    Opaque string value representing a hash of the contents of this file, if available.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setPath(String value)
    The path to the item that this message describes.
    setPathBytes(com.google.protobuf.ByteString value)
    The path to the item that this message describes.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setSize(long value)
    If this message represents a file, this is the size of the file.
    The type of this item, either file or directory.
    setTypeValue(int value)
    The type of this item, either file or directory.
    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 class com.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public ItemInfo.Builder mergeFrom(ItemInfo other)
    • isInitialized

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

      public ItemInfo.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<ItemInfo.Builder>
      Throws:
      IOException
    • getPath

      public String getPath()
       The path to the item that this message describes.
       
      string path = 1;
      Specified by:
      getPath in interface ItemInfoOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       The path to the item that this message describes.
       
      string path = 1;
      Specified by:
      getPathBytes in interface ItemInfoOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public ItemInfo.Builder setPath(String value)
       The path to the item that this message describes.
       
      string path = 1;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public ItemInfo.Builder clearPath()
       The path to the item that this message describes.
       
      string path = 1;
      Returns:
      This builder for chaining.
    • setPathBytes

      public ItemInfo.Builder setPathBytes(com.google.protobuf.ByteString value)
       The path to the item that this message describes.
       
      string path = 1;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of this item, either file or directory.
       
      .io.deephaven.proto.backplane.grpc.ItemType type = 2;
      Specified by:
      getTypeValue in interface ItemInfoOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public ItemInfo.Builder setTypeValue(int value)
       The type of this item, either file or directory.
       
      .io.deephaven.proto.backplane.grpc.ItemType type = 2;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public ItemType getType()
       The type of this item, either file or directory.
       
      .io.deephaven.proto.backplane.grpc.ItemType type = 2;
      Specified by:
      getType in interface ItemInfoOrBuilder
      Returns:
      The type.
    • setType

      public ItemInfo.Builder setType(ItemType value)
       The type of this item, either file or directory.
       
      .io.deephaven.proto.backplane.grpc.ItemType type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public ItemInfo.Builder clearType()
       The type of this item, either file or directory.
       
      .io.deephaven.proto.backplane.grpc.ItemType type = 2;
      Returns:
      This builder for chaining.
    • getSize

      public long getSize()
       If this message represents a file, this is the size of the file.
       
      sint64 size = 3 [jstype = JS_STRING];
      Specified by:
      getSize in interface ItemInfoOrBuilder
      Returns:
      The size.
    • setSize

      public ItemInfo.Builder setSize(long value)
       If this message represents a file, this is the size of the file.
       
      sint64 size = 3 [jstype = JS_STRING];
      Parameters:
      value - The size to set.
      Returns:
      This builder for chaining.
    • clearSize

      public ItemInfo.Builder clearSize()
       If this message represents a file, this is the size of the file.
       
      sint64 size = 3 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • hasEtag

      public boolean hasEtag()
       Opaque string value representing a hash of the contents of this file, if available.
       
      optional string etag = 4;
      Specified by:
      hasEtag in interface ItemInfoOrBuilder
      Returns:
      Whether the etag field is set.
    • getEtag

      public String getEtag()
       Opaque string value representing a hash of the contents of this file, if available.
       
      optional string etag = 4;
      Specified by:
      getEtag in interface ItemInfoOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Opaque string value representing a hash of the contents of this file, if available.
       
      optional string etag = 4;
      Specified by:
      getEtagBytes in interface ItemInfoOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public ItemInfo.Builder setEtag(String value)
       Opaque string value representing a hash of the contents of this file, if available.
       
      optional string etag = 4;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public ItemInfo.Builder clearEtag()
       Opaque string value representing a hash of the contents of this file, if available.
       
      optional string etag = 4;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public ItemInfo.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Opaque string value representing a hash of the contents of this file, if available.
       
      optional string etag = 4;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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