Package viam.app.v1

Class AppOuterClass.APIKey.Builder

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

public static final class AppOuterClass.APIKey.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.APIKey,AppOuterClass.APIKey.Builder> implements AppOuterClass.APIKeyOrBuilder
Protobuf type viam.app.v1.APIKey
  • Method Details

    • getId

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

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

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

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

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

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

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

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

      public AppOuterClass.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 AppOuterClass.APIKeyOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

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

      public AppOuterClass.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 AppOuterClass.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 AppOuterClass.APIKeyOrBuilder
      Returns:
      The createdOn.
    • setCreatedOn

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

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

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

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