Class Common.ResourceName.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.ResourceName,Common.ResourceName.Builder>
com.viam.common.v1.Common.ResourceName.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Common.ResourceNameOrBuilder, Cloneable
Enclosing class:
Common.ResourceName

public static final class Common.ResourceName.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Common.ResourceName,Common.ResourceName.Builder> implements Common.ResourceNameOrBuilder
Protobuf type viam.common.v1.ResourceName
  • Method Details

    • getNamespace

      public String getNamespace()
      string namespace = 1 [json_name = "namespace"];
      Specified by:
      getNamespace in interface Common.ResourceNameOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1 [json_name = "namespace"];
      Specified by:
      getNamespaceBytes in interface Common.ResourceNameOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public Common.ResourceName.Builder setNamespace(String value)
      string namespace = 1 [json_name = "namespace"];
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public Common.ResourceName.Builder clearNamespace()
      string namespace = 1 [json_name = "namespace"];
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public Common.ResourceName.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 1 [json_name = "namespace"];
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
      string type = 2 [json_name = "type"];
      Specified by:
      getType in interface Common.ResourceNameOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
      string type = 2 [json_name = "type"];
      Specified by:
      getTypeBytes in interface Common.ResourceNameOrBuilder
      Returns:
      The bytes for type.
    • setType

      public Common.ResourceName.Builder setType(String value)
      string type = 2 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Common.ResourceName.Builder clearType()
      string type = 2 [json_name = "type"];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public Common.ResourceName.Builder setTypeBytes(com.google.protobuf.ByteString value)
      string type = 2 [json_name = "type"];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getSubtype

      public String getSubtype()
      string subtype = 3 [json_name = "subtype"];
      Specified by:
      getSubtype in interface Common.ResourceNameOrBuilder
      Returns:
      The subtype.
    • getSubtypeBytes

      public com.google.protobuf.ByteString getSubtypeBytes()
      string subtype = 3 [json_name = "subtype"];
      Specified by:
      getSubtypeBytes in interface Common.ResourceNameOrBuilder
      Returns:
      The bytes for subtype.
    • setSubtype

      public Common.ResourceName.Builder setSubtype(String value)
      string subtype = 3 [json_name = "subtype"];
      Parameters:
      value - The subtype to set.
      Returns:
      This builder for chaining.
    • clearSubtype

      public Common.ResourceName.Builder clearSubtype()
      string subtype = 3 [json_name = "subtype"];
      Returns:
      This builder for chaining.
    • setSubtypeBytes

      public Common.ResourceName.Builder setSubtypeBytes(com.google.protobuf.ByteString value)
      string subtype = 3 [json_name = "subtype"];
      Parameters:
      value - The bytes for subtype to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
      string name = 4 [json_name = "name"];
      Specified by:
      getName in interface Common.ResourceNameOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

      public Common.ResourceName.Builder clearName()
      string name = 4 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

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

      public List<String> getRemotePathList()
      repeated string remote_path = 5 [json_name = "remotePath"];
      Specified by:
      getRemotePathList in interface Common.ResourceNameOrBuilder
      Returns:
      A list containing the remotePath.
    • getRemotePathCount

      public int getRemotePathCount()
      repeated string remote_path = 5 [json_name = "remotePath"];
      Specified by:
      getRemotePathCount in interface Common.ResourceNameOrBuilder
      Returns:
      The count of remotePath.
    • getRemotePath

      public String getRemotePath(int index)
      repeated string remote_path = 5 [json_name = "remotePath"];
      Specified by:
      getRemotePath in interface Common.ResourceNameOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The remotePath at the given index.
    • getRemotePathBytes

      public com.google.protobuf.ByteString getRemotePathBytes(int index)
      repeated string remote_path = 5 [json_name = "remotePath"];
      Specified by:
      getRemotePathBytes in interface Common.ResourceNameOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the remotePath at the given index.
    • setRemotePath

      public Common.ResourceName.Builder setRemotePath(int index, String value)
      repeated string remote_path = 5 [json_name = "remotePath"];
      Parameters:
      index - The index to set the value at.
      value - The remotePath to set.
      Returns:
      This builder for chaining.
    • addRemotePath

      public Common.ResourceName.Builder addRemotePath(String value)
      repeated string remote_path = 5 [json_name = "remotePath"];
      Parameters:
      value - The remotePath to add.
      Returns:
      This builder for chaining.
    • addAllRemotePath

      public Common.ResourceName.Builder addAllRemotePath(Iterable<String> values)
      repeated string remote_path = 5 [json_name = "remotePath"];
      Parameters:
      values - The remotePath to add.
      Returns:
      This builder for chaining.
    • clearRemotePath

      public Common.ResourceName.Builder clearRemotePath()
      repeated string remote_path = 5 [json_name = "remotePath"];
      Returns:
      This builder for chaining.
    • addRemotePathBytes

      public Common.ResourceName.Builder addRemotePathBytes(com.google.protobuf.ByteString value)
      repeated string remote_path = 5 [json_name = "remotePath"];
      Parameters:
      value - The bytes of the remotePath to add.
      Returns:
      This builder for chaining.
    • getLocalName

      public String getLocalName()
      string local_name = 6 [json_name = "localName"];
      Specified by:
      getLocalName in interface Common.ResourceNameOrBuilder
      Returns:
      The localName.
    • getLocalNameBytes

      public com.google.protobuf.ByteString getLocalNameBytes()
      string local_name = 6 [json_name = "localName"];
      Specified by:
      getLocalNameBytes in interface Common.ResourceNameOrBuilder
      Returns:
      The bytes for localName.
    • setLocalName

      public Common.ResourceName.Builder setLocalName(String value)
      string local_name = 6 [json_name = "localName"];
      Parameters:
      value - The localName to set.
      Returns:
      This builder for chaining.
    • clearLocalName

      public Common.ResourceName.Builder clearLocalName()
      string local_name = 6 [json_name = "localName"];
      Returns:
      This builder for chaining.
    • setLocalNameBytes

      public Common.ResourceName.Builder setLocalNameBytes(com.google.protobuf.ByteString value)
      string local_name = 6 [json_name = "localName"];
      Parameters:
      value - The bytes for localName to set.
      Returns:
      This builder for chaining.