Class Packages.FileInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Packages.FileInfo,Packages.FileInfo.Builder>
viam.app.packages.v1.Packages.FileInfo.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Packages.FileInfoOrBuilder
Enclosing class:
Packages.FileInfo

public static final class Packages.FileInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.FileInfo,Packages.FileInfo.Builder> implements Packages.FileInfoOrBuilder
Protobuf type viam.app.packages.v1.FileInfo
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    optional bool is_directory = 3 [json_name = "isDirectory"];
    string name = 1 [json_name = "name"];
    uint64 size = 2 [json_name = "size"];
    boolean
    optional bool is_directory = 3 [json_name = "isDirectory"];
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    long
    uint64 size = 2 [json_name = "size"];
    boolean
    optional bool is_directory = 3 [json_name = "isDirectory"];
    setIsDirectory(boolean value)
    optional bool is_directory = 3 [json_name = "isDirectory"];
    setName(String value)
    string name = 1 [json_name = "name"];
    setNameBytes(com.google.protobuf.ByteString value)
    string name = 1 [json_name = "name"];
    setSize(long value)
    uint64 size = 2 [json_name = "size"];

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Packages.FileInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Packages.FileInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Packages.FileInfo.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Packages.FileInfo.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Packages.FileInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSize

      public long getSize()
      uint64 size = 2 [json_name = "size"];
      Specified by:
      getSize in interface Packages.FileInfoOrBuilder
      Returns:
      The size.
    • setSize

      public Packages.FileInfo.Builder setSize(long value)
      uint64 size = 2 [json_name = "size"];
      Parameters:
      value - The size to set.
      Returns:
      This builder for chaining.
    • clearSize

      public Packages.FileInfo.Builder clearSize()
      uint64 size = 2 [json_name = "size"];
      Returns:
      This builder for chaining.
    • hasIsDirectory

      public boolean hasIsDirectory()
      optional bool is_directory = 3 [json_name = "isDirectory"];
      Specified by:
      hasIsDirectory in interface Packages.FileInfoOrBuilder
      Returns:
      Whether the isDirectory field is set.
    • getIsDirectory

      public boolean getIsDirectory()
      optional bool is_directory = 3 [json_name = "isDirectory"];
      Specified by:
      getIsDirectory in interface Packages.FileInfoOrBuilder
      Returns:
      The isDirectory.
    • setIsDirectory

      public Packages.FileInfo.Builder setIsDirectory(boolean value)
      optional bool is_directory = 3 [json_name = "isDirectory"];
      Parameters:
      value - The isDirectory to set.
      Returns:
      This builder for chaining.
    • clearIsDirectory

      public Packages.FileInfo.Builder clearIsDirectory()
      optional bool is_directory = 3 [json_name = "isDirectory"];
      Returns:
      This builder for chaining.