Package viam.app.cloudslam.v1
Class CloudSlam.StartMappingSessionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<CloudSlam.StartMappingSessionRequest,CloudSlam.StartMappingSessionRequest.Builder>
viam.app.cloudslam.v1.CloudSlam.StartMappingSessionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,CloudSlam.StartMappingSessionRequestOrBuilder
- Enclosing class:
- CloudSlam.StartMappingSessionRequest
public static final class CloudSlam.StartMappingSessionRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CloudSlam.StartMappingSessionRequest,CloudSlam.StartMappingSessionRequest.Builder>
implements CloudSlam.StartMappingSessionRequestOrBuilder
Protobuf type
viam.app.cloudslam.v1.StartMappingSessionRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSensors
(Iterable<? extends CloudSlam.SensorInfo> values) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
addSensors
(int index, CloudSlam.SensorInfo value) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
addSensors
(int index, CloudSlam.SensorInfo.Builder builderForValue) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
addSensors
(CloudSlam.SensorInfo value) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
addSensors
(CloudSlam.SensorInfo.Builder builderForValue) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
string existing_map_version = 11 [json_name = "existingMapVersion"];
string location_id = 5 [json_name = "locationId"];
string map_name = 3 [json_name = "mapName"];
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
string organization_id = 4 [json_name = "organizationId"];
string robot_id = 6 [json_name = "robotId"];
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
.google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
Version to use for slam, defaults stableVersion to use for viam, defaults stable.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
string existing_map_version = 11 [json_name = "existingMapVersion"];
com.google.protobuf.ByteString
string existing_map_version = 11 [json_name = "existingMapVersion"];
string location_id = 5 [json_name = "locationId"];
com.google.protobuf.ByteString
string location_id = 5 [json_name = "locationId"];
string map_name = 3 [json_name = "mapName"];
com.google.protobuf.ByteString
string map_name = 3 [json_name = "mapName"];
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
string organization_id = 4 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 4 [json_name = "organizationId"];
string robot_id = 6 [json_name = "robotId"];
com.google.protobuf.ByteString
string robot_id = 6 [json_name = "robotId"];
getSensors
(int index) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
int
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
com.google.protobuf.Struct
.google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
Version to use for slam, defaults stablecom.google.protobuf.ByteString
Version to use for slam, defaults stableVersion to use for viam, defaults stablecom.google.protobuf.ByteString
Version to use for viam, defaults stableboolean
.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
boolean
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
boolean
.google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
mergeModule
(CloudSlam.Module value) .viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
mergeSlamConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
removeSensors
(int index) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
setCaptureInterval
(CloudSlam.CaptureInterval.Builder builderForValue) .viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
setExistingMapVersion
(String value) string existing_map_version = 11 [json_name = "existingMapVersion"];
setExistingMapVersionBytes
(com.google.protobuf.ByteString value) string existing_map_version = 11 [json_name = "existingMapVersion"];
setLocationId
(String value) string location_id = 5 [json_name = "locationId"];
setLocationIdBytes
(com.google.protobuf.ByteString value) string location_id = 5 [json_name = "locationId"];
setMapName
(String value) string map_name = 3 [json_name = "mapName"];
setMapNameBytes
(com.google.protobuf.ByteString value) string map_name = 3 [json_name = "mapName"];
setModule
(CloudSlam.Module value) .viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
setModule
(CloudSlam.Module.Builder builderForValue) .viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
setOrganizationId
(String value) string organization_id = 4 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 4 [json_name = "organizationId"];
setRobotId
(String value) string robot_id = 6 [json_name = "robotId"];
setRobotIdBytes
(com.google.protobuf.ByteString value) string robot_id = 6 [json_name = "robotId"];
setSensors
(int index, CloudSlam.SensorInfo value) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
setSensors
(int index, CloudSlam.SensorInfo.Builder builderForValue) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
setSlamConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
setSlamConfig
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
setSlamVersion
(String value) Version to use for slam, defaults stablesetSlamVersionBytes
(com.google.protobuf.ByteString value) Version to use for slam, defaults stablesetViamServerVersion
(String value) Version to use for viam, defaults stablesetViamServerVersionBytes
(com.google.protobuf.ByteString value) Version to use for viam, defaults stableMethods 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
-
getSlamVersion
Version to use for slam, defaults stable
string slam_version = 1 [json_name = "slamVersion"];
- Specified by:
getSlamVersion
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The slamVersion.
-
getSlamVersionBytes
public com.google.protobuf.ByteString getSlamVersionBytes()Version to use for slam, defaults stable
string slam_version = 1 [json_name = "slamVersion"];
- Specified by:
getSlamVersionBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for slamVersion.
-
setSlamVersion
Version to use for slam, defaults stable
string slam_version = 1 [json_name = "slamVersion"];
- Parameters:
value
- The slamVersion to set.- Returns:
- This builder for chaining.
-
clearSlamVersion
Version to use for slam, defaults stable
string slam_version = 1 [json_name = "slamVersion"];
- Returns:
- This builder for chaining.
-
setSlamVersionBytes
public CloudSlam.StartMappingSessionRequest.Builder setSlamVersionBytes(com.google.protobuf.ByteString value) Version to use for slam, defaults stable
string slam_version = 1 [json_name = "slamVersion"];
- Parameters:
value
- The bytes for slamVersion to set.- Returns:
- This builder for chaining.
-
getViamServerVersion
Version to use for viam, defaults stable
string viam_server_version = 2 [json_name = "viamServerVersion"];
- Specified by:
getViamServerVersion
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The viamServerVersion.
-
getViamServerVersionBytes
public com.google.protobuf.ByteString getViamServerVersionBytes()Version to use for viam, defaults stable
string viam_server_version = 2 [json_name = "viamServerVersion"];
- Specified by:
getViamServerVersionBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for viamServerVersion.
-
setViamServerVersion
Version to use for viam, defaults stable
string viam_server_version = 2 [json_name = "viamServerVersion"];
- Parameters:
value
- The viamServerVersion to set.- Returns:
- This builder for chaining.
-
clearViamServerVersion
Version to use for viam, defaults stable
string viam_server_version = 2 [json_name = "viamServerVersion"];
- Returns:
- This builder for chaining.
-
setViamServerVersionBytes
public CloudSlam.StartMappingSessionRequest.Builder setViamServerVersionBytes(com.google.protobuf.ByteString value) Version to use for viam, defaults stable
string viam_server_version = 2 [json_name = "viamServerVersion"];
- Parameters:
value
- The bytes for viamServerVersion to set.- Returns:
- This builder for chaining.
-
getMapName
string map_name = 3 [json_name = "mapName"];
- Specified by:
getMapName
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The mapName.
-
getMapNameBytes
public com.google.protobuf.ByteString getMapNameBytes()string map_name = 3 [json_name = "mapName"];
- Specified by:
getMapNameBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for mapName.
-
setMapName
string map_name = 3 [json_name = "mapName"];
- Parameters:
value
- The mapName to set.- Returns:
- This builder for chaining.
-
clearMapName
string map_name = 3 [json_name = "mapName"];
- Returns:
- This builder for chaining.
-
setMapNameBytes
public CloudSlam.StartMappingSessionRequest.Builder setMapNameBytes(com.google.protobuf.ByteString value) string map_name = 3 [json_name = "mapName"];
- Parameters:
value
- The bytes for mapName to set.- Returns:
- This builder for chaining.
-
getOrganizationId
string organization_id = 4 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 4 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 4 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 4 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public CloudSlam.StartMappingSessionRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 4 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getLocationId
string location_id = 5 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()string location_id = 5 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
string location_id = 5 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
string location_id = 5 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
public CloudSlam.StartMappingSessionRequest.Builder setLocationIdBytes(com.google.protobuf.ByteString value) string location_id = 5 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
getRobotId
string robot_id = 6 [json_name = "robotId"];
- Specified by:
getRobotId
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The robotId.
-
getRobotIdBytes
public com.google.protobuf.ByteString getRobotIdBytes()string robot_id = 6 [json_name = "robotId"];
- Specified by:
getRobotIdBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for robotId.
-
setRobotId
string robot_id = 6 [json_name = "robotId"];
- Parameters:
value
- The robotId to set.- Returns:
- This builder for chaining.
-
clearRobotId
string robot_id = 6 [json_name = "robotId"];
- Returns:
- This builder for chaining.
-
setRobotIdBytes
public CloudSlam.StartMappingSessionRequest.Builder setRobotIdBytes(com.google.protobuf.ByteString value) string robot_id = 6 [json_name = "robotId"];
- Parameters:
value
- The bytes for robotId to set.- Returns:
- This builder for chaining.
-
hasCaptureInterval
public boolean hasCaptureInterval().viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
- Specified by:
hasCaptureInterval
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- Whether the captureInterval field is set.
-
getCaptureInterval
.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
- Specified by:
getCaptureInterval
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The captureInterval.
-
setCaptureInterval
public CloudSlam.StartMappingSessionRequest.Builder setCaptureInterval(CloudSlam.CaptureInterval value) .viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
-
setCaptureInterval
public CloudSlam.StartMappingSessionRequest.Builder setCaptureInterval(CloudSlam.CaptureInterval.Builder builderForValue) .viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
-
mergeCaptureInterval
public CloudSlam.StartMappingSessionRequest.Builder mergeCaptureInterval(CloudSlam.CaptureInterval value) .viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
-
clearCaptureInterval
.viam.app.cloudslam.v1.CaptureInterval capture_interval = 7 [json_name = "captureInterval"];
-
getSensorsList
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
- Specified by:
getSensorsList
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
-
getSensorsCount
public int getSensorsCount()repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
- Specified by:
getSensorsCount
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
-
getSensors
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
- Specified by:
getSensors
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
-
setSensors
public CloudSlam.StartMappingSessionRequest.Builder setSensors(int index, CloudSlam.SensorInfo value) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
setSensors
public CloudSlam.StartMappingSessionRequest.Builder setSensors(int index, CloudSlam.SensorInfo.Builder builderForValue) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
addSensors
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
addSensors
public CloudSlam.StartMappingSessionRequest.Builder addSensors(int index, CloudSlam.SensorInfo value) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
addSensors
public CloudSlam.StartMappingSessionRequest.Builder addSensors(CloudSlam.SensorInfo.Builder builderForValue) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
addSensors
public CloudSlam.StartMappingSessionRequest.Builder addSensors(int index, CloudSlam.SensorInfo.Builder builderForValue) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
addAllSensors
public CloudSlam.StartMappingSessionRequest.Builder addAllSensors(Iterable<? extends CloudSlam.SensorInfo> values) repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
clearSensors
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
removeSensors
repeated .viam.app.cloudslam.v1.SensorInfo sensors = 8 [json_name = "sensors"];
-
hasSlamConfig
public boolean hasSlamConfig().google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
- Specified by:
hasSlamConfig
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- Whether the slamConfig field is set.
-
getSlamConfig
public com.google.protobuf.Struct getSlamConfig().google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
- Specified by:
getSlamConfig
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The slamConfig.
-
setSlamConfig
.google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
-
setSlamConfig
public CloudSlam.StartMappingSessionRequest.Builder setSlamConfig(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
-
mergeSlamConfig
public CloudSlam.StartMappingSessionRequest.Builder mergeSlamConfig(com.google.protobuf.Struct value) .google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
-
clearSlamConfig
.google.protobuf.Struct slam_config = 10 [json_name = "slamConfig"];
-
getExistingMapVersion
string existing_map_version = 11 [json_name = "existingMapVersion"];
- Specified by:
getExistingMapVersion
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The existingMapVersion.
-
getExistingMapVersionBytes
public com.google.protobuf.ByteString getExistingMapVersionBytes()string existing_map_version = 11 [json_name = "existingMapVersion"];
- Specified by:
getExistingMapVersionBytes
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The bytes for existingMapVersion.
-
setExistingMapVersion
string existing_map_version = 11 [json_name = "existingMapVersion"];
- Parameters:
value
- The existingMapVersion to set.- Returns:
- This builder for chaining.
-
clearExistingMapVersion
string existing_map_version = 11 [json_name = "existingMapVersion"];
- Returns:
- This builder for chaining.
-
setExistingMapVersionBytes
public CloudSlam.StartMappingSessionRequest.Builder setExistingMapVersionBytes(com.google.protobuf.ByteString value) string existing_map_version = 11 [json_name = "existingMapVersion"];
- Parameters:
value
- The bytes for existingMapVersion to set.- Returns:
- This builder for chaining.
-
hasModule
public boolean hasModule().viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
- Specified by:
hasModule
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- Whether the module field is set.
-
getModule
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
- Specified by:
getModule
in interfaceCloudSlam.StartMappingSessionRequestOrBuilder
- Returns:
- The module.
-
setModule
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
-
setModule
public CloudSlam.StartMappingSessionRequest.Builder setModule(CloudSlam.Module.Builder builderForValue) .viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
-
mergeModule
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
-
clearModule
.viam.app.cloudslam.v1.Module module = 12 [json_name = "module"];
-