Class Packages.Package.Builder

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

public static final class Packages.Package.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.Package,Packages.Package.Builder> implements Packages.PackageOrBuilder
Protobuf type viam.app.packages.v1.Package
  • Method Details

    • hasInfo

      public boolean hasInfo()
      .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
      Specified by:
      hasInfo in interface Packages.PackageOrBuilder
      Returns:
      Whether the info field is set.
    • getInfo

      public Packages.PackageInfo getInfo()
      .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
      Specified by:
      getInfo in interface Packages.PackageOrBuilder
      Returns:
      The info.
    • setInfo

      .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
    • setInfo

      public Packages.Package.Builder setInfo(Packages.PackageInfo.Builder builderForValue)
      .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
    • mergeInfo

      .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
    • clearInfo

      public Packages.Package.Builder clearInfo()
      .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
    • getUrl

      public String getUrl()
      string url = 2 [json_name = "url"];
      Specified by:
      getUrl in interface Packages.PackageOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
      string url = 2 [json_name = "url"];
      Specified by:
      getUrlBytes in interface Packages.PackageOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public Packages.Package.Builder setUrl(String value)
      string url = 2 [json_name = "url"];
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

      public Packages.Package.Builder clearUrl()
      string url = 2 [json_name = "url"];
      Returns:
      This builder for chaining.
    • setUrlBytes

      public Packages.Package.Builder setUrlBytes(com.google.protobuf.ByteString value)
      string url = 2 [json_name = "url"];
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • hasCreatedOn

      public boolean hasCreatedOn()
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
      Specified by:
      hasCreatedOn in interface Packages.PackageOrBuilder
      Returns:
      Whether the createdOn field is set.
    • getCreatedOn

      public com.google.protobuf.Timestamp getCreatedOn()
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
      Specified by:
      getCreatedOn in interface Packages.PackageOrBuilder
      Returns:
      The createdOn.
    • setCreatedOn

      public Packages.Package.Builder setCreatedOn(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • setCreatedOn

      public Packages.Package.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • mergeCreatedOn

      public Packages.Package.Builder mergeCreatedOn(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • clearCreatedOn

      public Packages.Package.Builder clearCreatedOn()
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • getChecksum

      public String getChecksum()
      string checksum = 4 [json_name = "checksum"];
      Specified by:
      getChecksum in interface Packages.PackageOrBuilder
      Returns:
      The checksum.
    • getChecksumBytes

      public com.google.protobuf.ByteString getChecksumBytes()
      string checksum = 4 [json_name = "checksum"];
      Specified by:
      getChecksumBytes in interface Packages.PackageOrBuilder
      Returns:
      The bytes for checksum.
    • setChecksum

      public Packages.Package.Builder setChecksum(String value)
      string checksum = 4 [json_name = "checksum"];
      Parameters:
      value - The checksum to set.
      Returns:
      This builder for chaining.
    • clearChecksum

      public Packages.Package.Builder clearChecksum()
      string checksum = 4 [json_name = "checksum"];
      Returns:
      This builder for chaining.
    • setChecksumBytes

      public Packages.Package.Builder setChecksumBytes(com.google.protobuf.ByteString value)
      string checksum = 4 [json_name = "checksum"];
      Parameters:
      value - The bytes for checksum to set.
      Returns:
      This builder for chaining.
    • getId

      public String getId()
      string id = 5 [json_name = "id"];
      Specified by:
      getId in interface Packages.PackageOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 5 [json_name = "id"];
      Specified by:
      getIdBytes in interface Packages.PackageOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Packages.Package.Builder setId(String value)
      string id = 5 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Packages.Package.Builder clearId()
      string id = 5 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Packages.Package.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 5 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.