Package viam.app.v1

Class App.APIKey.Builder

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

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

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    string id = 1 [json_name = "id"];
    string key = 2 [json_name = "key"];
    string name = 3 [json_name = "name"];
    com.google.protobuf.Timestamp
    .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    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"];
    string name = 3 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 3 [json_name = "name"];
    boolean
    .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    mergeCreatedOn(com.google.protobuf.Timestamp value)
    .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    setCreatedOn(com.google.protobuf.Timestamp value)
    .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue)
    .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    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"];
    setName(String value)
    string name = 3 [json_name = "name"];
    setNameBytes(com.google.protobuf.ByteString value)
    string name = 3 [json_name = "name"];

    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 App.APIKeyOrBuilder
      Returns:
      The id.
    • getIdBytes

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

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

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

      public App.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 App.APIKeyOrBuilder
      Returns:
      The key.
    • getKeyBytes

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

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

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

      public App.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.
    • getName

      public String getName()
      string name = 3 [json_name = "name"];
      Specified by:
      getName in interface App.APIKeyOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

      public App.APIKey.Builder clearName()
      string name = 3 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

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

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

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

      public App.APIKey.Builder setCreatedOn(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    • setCreatedOn

      public App.APIKey.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    • mergeCreatedOn

      public App.APIKey.Builder mergeCreatedOn(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];
    • clearCreatedOn

      public App.APIKey.Builder clearCreatedOn()
      .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"];