Class Provisioning.CloudConfig.Builder

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

public static final class Provisioning.CloudConfig.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.CloudConfig,Provisioning.CloudConfig.Builder> implements Provisioning.CloudConfigOrBuilder
 minimal CloudConfig to create /etc/viam.json
 
Protobuf type viam.provisioning.v1.CloudConfig
  • Method Details

    • getId

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

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

       SmartMachine part id
       
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       SmartMachine part id
       
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

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

      public String getSecret()
       SmartMachine part secret
       
      string secret = 2 [json_name = "secret"];
      Specified by:
      getSecret in interface Provisioning.CloudConfigOrBuilder
      Returns:
      The secret.
    • getSecretBytes

      public com.google.protobuf.ByteString getSecretBytes()
       SmartMachine part secret
       
      string secret = 2 [json_name = "secret"];
      Specified by:
      getSecretBytes in interface Provisioning.CloudConfigOrBuilder
      Returns:
      The bytes for secret.
    • setSecret

      public Provisioning.CloudConfig.Builder setSecret(String value)
       SmartMachine part secret
       
      string secret = 2 [json_name = "secret"];
      Parameters:
      value - The secret to set.
      Returns:
      This builder for chaining.
    • clearSecret

      public Provisioning.CloudConfig.Builder clearSecret()
       SmartMachine part secret
       
      string secret = 2 [json_name = "secret"];
      Returns:
      This builder for chaining.
    • setSecretBytes

      public Provisioning.CloudConfig.Builder setSecretBytes(com.google.protobuf.ByteString value)
       SmartMachine part secret
       
      string secret = 2 [json_name = "secret"];
      Parameters:
      value - The bytes for secret to set.
      Returns:
      This builder for chaining.
    • getAppAddress

      public String getAppAddress()
      string app_address = 3 [json_name = "appAddress"];
      Specified by:
      getAppAddress in interface Provisioning.CloudConfigOrBuilder
      Returns:
      The appAddress.
    • getAppAddressBytes

      public com.google.protobuf.ByteString getAppAddressBytes()
      string app_address = 3 [json_name = "appAddress"];
      Specified by:
      getAppAddressBytes in interface Provisioning.CloudConfigOrBuilder
      Returns:
      The bytes for appAddress.
    • setAppAddress

      public Provisioning.CloudConfig.Builder setAppAddress(String value)
      string app_address = 3 [json_name = "appAddress"];
      Parameters:
      value - The appAddress to set.
      Returns:
      This builder for chaining.
    • clearAppAddress

      public Provisioning.CloudConfig.Builder clearAppAddress()
      string app_address = 3 [json_name = "appAddress"];
      Returns:
      This builder for chaining.
    • setAppAddressBytes

      public Provisioning.CloudConfig.Builder setAppAddressBytes(com.google.protobuf.ByteString value)
      string app_address = 3 [json_name = "appAddress"];
      Parameters:
      value - The bytes for appAddress to set.
      Returns:
      This builder for chaining.