Package viam.app.v1
Class Robot.CloudConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.CloudConfig,Robot.CloudConfig.Builder>
viam.app.v1.Robot.CloudConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.CloudConfigOrBuilder
- Enclosing class:
- Robot.CloudConfig
public static final class Robot.CloudConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.CloudConfig,Robot.CloudConfig.Builder>
implements Robot.CloudConfigOrBuilder
Protobuf type
viam.app.v1.CloudConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocationSecrets
(Iterable<? extends Robot.LocationSecret> values) All valid location secrets.addLocationSecrets
(int index, Robot.LocationSecret value) All valid location secrets.addLocationSecrets
(int index, Robot.LocationSecret.Builder builderForValue) All valid location secrets.All valid location secrets.addLocationSecrets
(Robot.LocationSecret.Builder builderForValue) All valid location secrets.string fqdn = 2 [json_name = "fqdn"];
clearId()
Robot part id.string local_fqdn = 3 [json_name = "localFqdn"];
string location_id = 11 [json_name = "locationId"];
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated.All valid location secrets.string machine_id = 12 [json_name = "machineId"];
string managed_by = 4 [json_name = "managedBy"];
string primary_org_id = 10 [json_name = "primaryOrgId"];
Robot part secretstring signaling_address = 5 [json_name = "signalingAddress"];
bool signaling_insecure = 6 [json_name = "signalingInsecure"];
getFqdn()
string fqdn = 2 [json_name = "fqdn"];
com.google.protobuf.ByteString
string fqdn = 2 [json_name = "fqdn"];
getId()
Robot part id.com.google.protobuf.ByteString
Robot part id.string local_fqdn = 3 [json_name = "localFqdn"];
com.google.protobuf.ByteString
string local_fqdn = 3 [json_name = "localFqdn"];
string location_id = 11 [json_name = "locationId"];
com.google.protobuf.ByteString
string location_id = 11 [json_name = "locationId"];
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated.com.google.protobuf.ByteString
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated.getLocationSecrets
(int index) All valid location secrets.int
All valid location secrets.All valid location secrets.string machine_id = 12 [json_name = "machineId"];
com.google.protobuf.ByteString
string machine_id = 12 [json_name = "machineId"];
string managed_by = 4 [json_name = "managedBy"];
com.google.protobuf.ByteString
string managed_by = 4 [json_name = "managedBy"];
string primary_org_id = 10 [json_name = "primaryOrgId"];
com.google.protobuf.ByteString
string primary_org_id = 10 [json_name = "primaryOrgId"];
Robot part secretcom.google.protobuf.ByteString
Robot part secretstring signaling_address = 5 [json_name = "signalingAddress"];
com.google.protobuf.ByteString
string signaling_address = 5 [json_name = "signalingAddress"];
boolean
bool signaling_insecure = 6 [json_name = "signalingInsecure"];
removeLocationSecrets
(int index) All valid location secrets.string fqdn = 2 [json_name = "fqdn"];
setFqdnBytes
(com.google.protobuf.ByteString value) string fqdn = 2 [json_name = "fqdn"];
Robot part id.setIdBytes
(com.google.protobuf.ByteString value) Robot part id.setLocalFqdn
(String value) string local_fqdn = 3 [json_name = "localFqdn"];
setLocalFqdnBytes
(com.google.protobuf.ByteString value) string local_fqdn = 3 [json_name = "localFqdn"];
setLocationId
(String value) string location_id = 11 [json_name = "locationId"];
setLocationIdBytes
(com.google.protobuf.ByteString value) string location_id = 11 [json_name = "locationId"];
setLocationSecret
(String value) Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated.setLocationSecretBytes
(com.google.protobuf.ByteString value) Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated.setLocationSecrets
(int index, Robot.LocationSecret value) All valid location secrets.setLocationSecrets
(int index, Robot.LocationSecret.Builder builderForValue) All valid location secrets.setMachineId
(String value) string machine_id = 12 [json_name = "machineId"];
setMachineIdBytes
(com.google.protobuf.ByteString value) string machine_id = 12 [json_name = "machineId"];
setManagedBy
(String value) string managed_by = 4 [json_name = "managedBy"];
setManagedByBytes
(com.google.protobuf.ByteString value) string managed_by = 4 [json_name = "managedBy"];
setPrimaryOrgId
(String value) string primary_org_id = 10 [json_name = "primaryOrgId"];
setPrimaryOrgIdBytes
(com.google.protobuf.ByteString value) string primary_org_id = 10 [json_name = "primaryOrgId"];
Robot part secretsetSecretBytes
(com.google.protobuf.ByteString value) Robot part secretsetSignalingAddress
(String value) string signaling_address = 5 [json_name = "signalingAddress"];
setSignalingAddressBytes
(com.google.protobuf.ByteString value) string signaling_address = 5 [json_name = "signalingAddress"];
setSignalingInsecure
(boolean value) bool signaling_insecure = 6 [json_name = "signalingInsecure"];
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
Robot part id.
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Robot part id.
string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for id.
-
setId
Robot part id.
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
Robot part id.
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
Robot part id.
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getFqdn
string fqdn = 2 [json_name = "fqdn"];
- Specified by:
getFqdn
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()string fqdn = 2 [json_name = "fqdn"];
- Specified by:
getFqdnBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for fqdn.
-
setFqdn
string fqdn = 2 [json_name = "fqdn"];
- Parameters:
value
- The fqdn to set.- Returns:
- This builder for chaining.
-
clearFqdn
string fqdn = 2 [json_name = "fqdn"];
- Returns:
- This builder for chaining.
-
setFqdnBytes
string fqdn = 2 [json_name = "fqdn"];
- Parameters:
value
- The bytes for fqdn to set.- Returns:
- This builder for chaining.
-
getLocalFqdn
string local_fqdn = 3 [json_name = "localFqdn"];
- Specified by:
getLocalFqdn
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The localFqdn.
-
getLocalFqdnBytes
public com.google.protobuf.ByteString getLocalFqdnBytes()string local_fqdn = 3 [json_name = "localFqdn"];
- Specified by:
getLocalFqdnBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for localFqdn.
-
setLocalFqdn
string local_fqdn = 3 [json_name = "localFqdn"];
- Parameters:
value
- The localFqdn to set.- Returns:
- This builder for chaining.
-
clearLocalFqdn
string local_fqdn = 3 [json_name = "localFqdn"];
- Returns:
- This builder for chaining.
-
setLocalFqdnBytes
string local_fqdn = 3 [json_name = "localFqdn"];
- Parameters:
value
- The bytes for localFqdn to set.- Returns:
- This builder for chaining.
-
getManagedBy
string managed_by = 4 [json_name = "managedBy"];
- Specified by:
getManagedBy
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The managedBy.
-
getManagedByBytes
public com.google.protobuf.ByteString getManagedByBytes()string managed_by = 4 [json_name = "managedBy"];
- Specified by:
getManagedByBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for managedBy.
-
setManagedBy
string managed_by = 4 [json_name = "managedBy"];
- Parameters:
value
- The managedBy to set.- Returns:
- This builder for chaining.
-
clearManagedBy
string managed_by = 4 [json_name = "managedBy"];
- Returns:
- This builder for chaining.
-
setManagedByBytes
string managed_by = 4 [json_name = "managedBy"];
- Parameters:
value
- The bytes for managedBy to set.- Returns:
- This builder for chaining.
-
getSignalingAddress
string signaling_address = 5 [json_name = "signalingAddress"];
- Specified by:
getSignalingAddress
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The signalingAddress.
-
getSignalingAddressBytes
public com.google.protobuf.ByteString getSignalingAddressBytes()string signaling_address = 5 [json_name = "signalingAddress"];
- Specified by:
getSignalingAddressBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for signalingAddress.
-
setSignalingAddress
string signaling_address = 5 [json_name = "signalingAddress"];
- Parameters:
value
- The signalingAddress to set.- Returns:
- This builder for chaining.
-
clearSignalingAddress
string signaling_address = 5 [json_name = "signalingAddress"];
- Returns:
- This builder for chaining.
-
setSignalingAddressBytes
string signaling_address = 5 [json_name = "signalingAddress"];
- Parameters:
value
- The bytes for signalingAddress to set.- Returns:
- This builder for chaining.
-
getSignalingInsecure
public boolean getSignalingInsecure()bool signaling_insecure = 6 [json_name = "signalingInsecure"];
- Specified by:
getSignalingInsecure
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The signalingInsecure.
-
setSignalingInsecure
bool signaling_insecure = 6 [json_name = "signalingInsecure"];
- Parameters:
value
- The signalingInsecure to set.- Returns:
- This builder for chaining.
-
clearSignalingInsecure
bool signaling_insecure = 6 [json_name = "signalingInsecure"];
- Returns:
- This builder for chaining.
-
getLocationSecret
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated. See app/v1/robot.proto;l=78Deprecated use location_secrets
string location_secret = 7 [json_name = "locationSecret", deprecated = true];
- Specified by:
getLocationSecret
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The locationSecret.
-
getLocationSecretBytes
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated. See app/v1/robot.proto;l=78Deprecated use location_secrets
string location_secret = 7 [json_name = "locationSecret", deprecated = true];
- Specified by:
getLocationSecretBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for locationSecret.
-
setLocationSecret
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated. See app/v1/robot.proto;l=78Deprecated use location_secrets
string location_secret = 7 [json_name = "locationSecret", deprecated = true];
- Parameters:
value
- The locationSecret to set.- Returns:
- This builder for chaining.
-
clearLocationSecret
Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated. See app/v1/robot.proto;l=78Deprecated use location_secrets
string location_secret = 7 [json_name = "locationSecret", deprecated = true];
- Returns:
- This builder for chaining.
-
setLocationSecretBytes
@Deprecated public Robot.CloudConfig.Builder setLocationSecretBytes(com.google.protobuf.ByteString value) Deprecated.viam.app.v1.CloudConfig.location_secret is deprecated. See app/v1/robot.proto;l=78Deprecated use location_secrets
string location_secret = 7 [json_name = "locationSecret", deprecated = true];
- Parameters:
value
- The bytes for locationSecret to set.- Returns:
- This builder for chaining.
-
getSecret
Robot part secret
string secret = 8 [json_name = "secret"];
- Specified by:
getSecret
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()Robot part secret
string secret = 8 [json_name = "secret"];
- Specified by:
getSecretBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for secret.
-
setSecret
Robot part secret
string secret = 8 [json_name = "secret"];
- Parameters:
value
- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
Robot part secret
string secret = 8 [json_name = "secret"];
- Returns:
- This builder for chaining.
-
setSecretBytes
Robot part secret
string secret = 8 [json_name = "secret"];
- Parameters:
value
- The bytes for secret to set.- Returns:
- This builder for chaining.
-
getLocationSecretsList
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
- Specified by:
getLocationSecretsList
in interfaceRobot.CloudConfigOrBuilder
-
getLocationSecretsCount
public int getLocationSecretsCount()All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
- Specified by:
getLocationSecretsCount
in interfaceRobot.CloudConfigOrBuilder
-
getLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
- Specified by:
getLocationSecrets
in interfaceRobot.CloudConfigOrBuilder
-
setLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
setLocationSecrets
public Robot.CloudConfig.Builder setLocationSecrets(int index, Robot.LocationSecret.Builder builderForValue) All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
addLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
addLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
addLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
addLocationSecrets
public Robot.CloudConfig.Builder addLocationSecrets(int index, Robot.LocationSecret.Builder builderForValue) All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
addAllLocationSecrets
public Robot.CloudConfig.Builder addAllLocationSecrets(Iterable<? extends Robot.LocationSecret> values) All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
clearLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
removeLocationSecrets
All valid location secrets.
repeated .viam.app.v1.LocationSecret location_secrets = 9 [json_name = "locationSecrets"];
-
getPrimaryOrgId
string primary_org_id = 10 [json_name = "primaryOrgId"];
- Specified by:
getPrimaryOrgId
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The primaryOrgId.
-
getPrimaryOrgIdBytes
public com.google.protobuf.ByteString getPrimaryOrgIdBytes()string primary_org_id = 10 [json_name = "primaryOrgId"];
- Specified by:
getPrimaryOrgIdBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for primaryOrgId.
-
setPrimaryOrgId
string primary_org_id = 10 [json_name = "primaryOrgId"];
- Parameters:
value
- The primaryOrgId to set.- Returns:
- This builder for chaining.
-
clearPrimaryOrgId
string primary_org_id = 10 [json_name = "primaryOrgId"];
- Returns:
- This builder for chaining.
-
setPrimaryOrgIdBytes
string primary_org_id = 10 [json_name = "primaryOrgId"];
- Parameters:
value
- The bytes for primaryOrgId to set.- Returns:
- This builder for chaining.
-
getLocationId
string location_id = 11 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()string location_id = 11 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
string location_id = 11 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
string location_id = 11 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
string location_id = 11 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
getMachineId
string machine_id = 12 [json_name = "machineId"];
- Specified by:
getMachineId
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The machineId.
-
getMachineIdBytes
public com.google.protobuf.ByteString getMachineIdBytes()string machine_id = 12 [json_name = "machineId"];
- Specified by:
getMachineIdBytes
in interfaceRobot.CloudConfigOrBuilder
- Returns:
- The bytes for machineId.
-
setMachineId
string machine_id = 12 [json_name = "machineId"];
- Parameters:
value
- The machineId to set.- Returns:
- This builder for chaining.
-
clearMachineId
string machine_id = 12 [json_name = "machineId"];
- Returns:
- This builder for chaining.
-
setMachineIdBytes
string machine_id = 12 [json_name = "machineId"];
- Parameters:
value
- The bytes for machineId to set.- Returns:
- This builder for chaining.
-