Package viam.provisioning.v1
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.jsonProtobuf type
viam.provisioning.v1.CloudConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring app_address = 3 [json_name = "appAddress"];
clearId()
SmartMachine part idSmartMachine part secretstring app_address = 3 [json_name = "appAddress"];
com.google.protobuf.ByteString
string app_address = 3 [json_name = "appAddress"];
getId()
SmartMachine part idcom.google.protobuf.ByteString
SmartMachine part idSmartMachine part secretcom.google.protobuf.ByteString
SmartMachine part secretsetAppAddress
(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, 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
SmartMachine part id
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceProvisioning.CloudConfigOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()SmartMachine part id
string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in 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:
getSecret
in interfaceProvisioning.CloudConfigOrBuilder
- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()SmartMachine part secret
string secret = 2 [json_name = "secret"];
- Specified by:
getSecretBytes
in 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:
getAppAddress
in interfaceProvisioning.CloudConfigOrBuilder
- Returns:
- The appAddress.
-
getAppAddressBytes
public com.google.protobuf.ByteString getAppAddressBytes()string app_address = 3 [json_name = "appAddress"];
- Specified by:
getAppAddressBytes
in 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.
-