Class Provisioning.APIKey.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Provisioning.APIKey,Provisioning.APIKey.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.APIKey,Provisioning.APIKey.Builder>
viam.provisioning.v1.Provisioning.APIKey.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Provisioning.APIKeyOrBuilder
Enclosing class:
Provisioning.APIKey

public static final class Provisioning.APIKey.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.APIKey,Provisioning.APIKey.Builder> implements Provisioning.APIKeyOrBuilder
Protobuf type viam.provisioning.v1.APIKey
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    string id = 1 [json_name = "id"];
    string key = 2 [json_name = "key"];
    string id = 1 [json_name = "id"];
    com.google.protobuf.ByteString
    string id = 1 [json_name = "id"];
    string key = 2 [json_name = "key"];
    com.google.protobuf.ByteString
    string key = 2 [json_name = "key"];
    setId(String value)
    string id = 1 [json_name = "id"];
    setIdBytes(com.google.protobuf.ByteString value)
    string id = 1 [json_name = "id"];
    setKey(String value)
    string key = 2 [json_name = "key"];
    setKeyBytes(com.google.protobuf.ByteString value)
    string key = 2 [json_name = "key"];

    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

    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface Provisioning.APIKeyOrBuilder
      Returns:
      The id.
    • getIdBytes

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

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

      public Provisioning.APIKey.Builder clearId()
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Provisioning.APIKey.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getKey

      public String getKey()
      string key = 2 [json_name = "key"];
      Specified by:
      getKey in interface Provisioning.APIKeyOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      string key = 2 [json_name = "key"];
      Specified by:
      getKeyBytes in interface Provisioning.APIKeyOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public Provisioning.APIKey.Builder setKey(String value)
      string key = 2 [json_name = "key"];
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public Provisioning.APIKey.Builder clearKey()
      string key = 2 [json_name = "key"];
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Provisioning.APIKey.Builder setKeyBytes(com.google.protobuf.ByteString value)
      string key = 2 [json_name = "key"];
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.