Package viam.provisioning.v1
Class Provisioning.CloudConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Provisioning.CloudConfig,Provisioning.CloudConfig.Builder>
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.jsonProtobuf type
viam.provisioning.v1.CloudConfig-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];string app_address = 3 [json_name = "appAddress"];clearId()SmartMachine part idSmartMachine part secret.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];string app_address = 3 [json_name = "appAddress"];com.google.protobuf.ByteStringstring app_address = 3 [json_name = "appAddress"];getId()SmartMachine part idcom.google.protobuf.ByteStringSmartMachine part idSmartMachine part secretcom.google.protobuf.ByteStringSmartMachine part secretboolean.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];mergeApiKey(Provisioning.APIKey value) .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];setApiKey(Provisioning.APIKey value) .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];setApiKey(Provisioning.APIKey.Builder builderForValue) .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];setAppAddress(String value) string app_address = 3 [json_name = "appAddress"];setAppAddressBytes(com.google.protobuf.ByteString value) string app_address = 3 [json_name = "appAddress"];SmartMachine part idsetIdBytes(com.google.protobuf.ByteString value) SmartMachine part idSmartMachine part secretsetSecretBytes(com.google.protobuf.ByteString value) SmartMachine part secretMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
SmartMachine part id
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()SmartMachine part id
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceProvisioning.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
SmartMachine part id
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getSecret
SmartMachine part secret
string secret = 2 [json_name = "secret"];- Specified by:
getSecretin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()SmartMachine part secret
string secret = 2 [json_name = "secret"];- Specified by:
getSecretBytesin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- The bytes for secret.
-
setSecret
SmartMachine part secret
string secret = 2 [json_name = "secret"];- Parameters:
value- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
SmartMachine part secret
string secret = 2 [json_name = "secret"];- Returns:
- This builder for chaining.
-
setSecretBytes
SmartMachine part secret
string secret = 2 [json_name = "secret"];- Parameters:
value- The bytes for secret to set.- Returns:
- This builder for chaining.
-
getAppAddress
string app_address = 3 [json_name = "appAddress"];- Specified by:
getAppAddressin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- The appAddress.
-
getAppAddressBytes
public com.google.protobuf.ByteString getAppAddressBytes()string app_address = 3 [json_name = "appAddress"];- Specified by:
getAppAddressBytesin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- The bytes for appAddress.
-
setAppAddress
string app_address = 3 [json_name = "appAddress"];- Parameters:
value- The appAddress to set.- Returns:
- This builder for chaining.
-
clearAppAddress
string app_address = 3 [json_name = "appAddress"];- Returns:
- This builder for chaining.
-
setAppAddressBytes
string app_address = 3 [json_name = "appAddress"];- Parameters:
value- The bytes for appAddress to set.- Returns:
- This builder for chaining.
-
hasApiKey
public boolean hasApiKey().viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];- Specified by:
hasApiKeyin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- Whether the apiKey field is set.
-
getApiKey
.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];- Specified by:
getApiKeyin interfaceProvisioning.CloudConfigOrBuilder- Returns:
- The apiKey.
-
setApiKey
.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"]; -
setApiKey
.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"]; -
mergeApiKey
.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"]; -
clearApiKey
.viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
-