Package viam.app.data.v1
Class Data.CaptureMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.CaptureMetadata,Data.CaptureMetadata.Builder>
viam.app.data.v1.Data.CaptureMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.CaptureMetadataOrBuilder
- Enclosing class:
- Data.CaptureMetadata
public static final class Data.CaptureMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.CaptureMetadata,Data.CaptureMetadata.Builder>
implements Data.CaptureMetadataOrBuilder
CaptureMetadata contains information on the settings used for the data capture.Protobuf type
viam.app.data.v1.CaptureMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<String> values) repeated string tags = 12 [json_name = "tags"];
repeated string tags = 12 [json_name = "tags"];
addTagsBytes
(com.google.protobuf.ByteString value) repeated string tags = 12 [json_name = "tags"];
string component_name = 9 [json_name = "componentName"];
string component_type = 7 [json_name = "componentType"];
string location_id = 2 [json_name = "locationId"];
string method_name = 10 [json_name = "methodName"];
string mime_type = 13 [json_name = "mimeType"];
string organization_id = 1 [json_name = "organizationId"];
string part_id = 6 [json_name = "partId"];
string part_name = 5 [json_name = "partName"];
string robot_id = 4 [json_name = "robotId"];
string robot_name = 3 [json_name = "robotName"];
repeated string tags = 12 [json_name = "tags"];
boolean
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
string component_name = 9 [json_name = "componentName"];
com.google.protobuf.ByteString
string component_name = 9 [json_name = "componentName"];
string component_type = 7 [json_name = "componentType"];
com.google.protobuf.ByteString
string component_type = 7 [json_name = "componentType"];
string location_id = 2 [json_name = "locationId"];
com.google.protobuf.ByteString
string location_id = 2 [json_name = "locationId"];
string method_name = 10 [json_name = "methodName"];
com.google.protobuf.ByteString
string method_name = 10 [json_name = "methodName"];
Deprecated.int
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
com.google.protobuf.Any
getMethodParametersOrDefault
(String key, com.google.protobuf.Any defaultValue) map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
com.google.protobuf.Any
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
string mime_type = 13 [json_name = "mimeType"];
com.google.protobuf.ByteString
string mime_type = 13 [json_name = "mimeType"];
string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
string part_id = 6 [json_name = "partId"];
com.google.protobuf.ByteString
string part_id = 6 [json_name = "partId"];
string part_name = 5 [json_name = "partName"];
com.google.protobuf.ByteString
string part_name = 5 [json_name = "partName"];
string robot_id = 4 [json_name = "robotId"];
com.google.protobuf.ByteString
string robot_id = 4 [json_name = "robotId"];
string robot_name = 3 [json_name = "robotName"];
com.google.protobuf.ByteString
string robot_name = 3 [json_name = "robotName"];
getTags
(int index) repeated string tags = 12 [json_name = "tags"];
com.google.protobuf.ByteString
getTagsBytes
(int index) repeated string tags = 12 [json_name = "tags"];
int
repeated string tags = 12 [json_name = "tags"];
repeated string tags = 12 [json_name = "tags"];
putAllMethodParameters
(Map<String, com.google.protobuf.Any> values) map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
putMethodParameters
(String key, com.google.protobuf.Any value) map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
setComponentName
(String value) string component_name = 9 [json_name = "componentName"];
setComponentNameBytes
(com.google.protobuf.ByteString value) string component_name = 9 [json_name = "componentName"];
setComponentType
(String value) string component_type = 7 [json_name = "componentType"];
setComponentTypeBytes
(com.google.protobuf.ByteString value) string component_type = 7 [json_name = "componentType"];
setLocationId
(String value) string location_id = 2 [json_name = "locationId"];
setLocationIdBytes
(com.google.protobuf.ByteString value) string location_id = 2 [json_name = "locationId"];
setMethodName
(String value) string method_name = 10 [json_name = "methodName"];
setMethodNameBytes
(com.google.protobuf.ByteString value) string method_name = 10 [json_name = "methodName"];
setMimeType
(String value) string mime_type = 13 [json_name = "mimeType"];
setMimeTypeBytes
(com.google.protobuf.ByteString value) string mime_type = 13 [json_name = "mimeType"];
setOrganizationId
(String value) string organization_id = 1 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
string part_id = 6 [json_name = "partId"];
setPartIdBytes
(com.google.protobuf.ByteString value) string part_id = 6 [json_name = "partId"];
setPartName
(String value) string part_name = 5 [json_name = "partName"];
setPartNameBytes
(com.google.protobuf.ByteString value) string part_name = 5 [json_name = "partName"];
setRobotId
(String value) string robot_id = 4 [json_name = "robotId"];
setRobotIdBytes
(com.google.protobuf.ByteString value) string robot_id = 4 [json_name = "robotId"];
setRobotName
(String value) string robot_name = 3 [json_name = "robotName"];
setRobotNameBytes
(com.google.protobuf.ByteString value) string robot_name = 3 [json_name = "robotName"];
repeated string tags = 12 [json_name = "tags"];
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
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getLocationId
string location_id = 2 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()string location_id = 2 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
string location_id = 2 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
string location_id = 2 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
string location_id = 2 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
getRobotName
string robot_name = 3 [json_name = "robotName"];
- Specified by:
getRobotName
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The robotName.
-
getRobotNameBytes
public com.google.protobuf.ByteString getRobotNameBytes()string robot_name = 3 [json_name = "robotName"];
- Specified by:
getRobotNameBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for robotName.
-
setRobotName
string robot_name = 3 [json_name = "robotName"];
- Parameters:
value
- The robotName to set.- Returns:
- This builder for chaining.
-
clearRobotName
string robot_name = 3 [json_name = "robotName"];
- Returns:
- This builder for chaining.
-
setRobotNameBytes
string robot_name = 3 [json_name = "robotName"];
- Parameters:
value
- The bytes for robotName to set.- Returns:
- This builder for chaining.
-
getRobotId
string robot_id = 4 [json_name = "robotId"];
- Specified by:
getRobotId
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The robotId.
-
getRobotIdBytes
public com.google.protobuf.ByteString getRobotIdBytes()string robot_id = 4 [json_name = "robotId"];
- Specified by:
getRobotIdBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for robotId.
-
setRobotId
string robot_id = 4 [json_name = "robotId"];
- Parameters:
value
- The robotId to set.- Returns:
- This builder for chaining.
-
clearRobotId
string robot_id = 4 [json_name = "robotId"];
- Returns:
- This builder for chaining.
-
setRobotIdBytes
string robot_id = 4 [json_name = "robotId"];
- Parameters:
value
- The bytes for robotId to set.- Returns:
- This builder for chaining.
-
getPartName
string part_name = 5 [json_name = "partName"];
- Specified by:
getPartName
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The partName.
-
getPartNameBytes
public com.google.protobuf.ByteString getPartNameBytes()string part_name = 5 [json_name = "partName"];
- Specified by:
getPartNameBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for partName.
-
setPartName
string part_name = 5 [json_name = "partName"];
- Parameters:
value
- The partName to set.- Returns:
- This builder for chaining.
-
clearPartName
string part_name = 5 [json_name = "partName"];
- Returns:
- This builder for chaining.
-
setPartNameBytes
string part_name = 5 [json_name = "partName"];
- Parameters:
value
- The bytes for partName to set.- Returns:
- This builder for chaining.
-
getPartId
string part_id = 6 [json_name = "partId"];
- Specified by:
getPartId
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The partId.
-
getPartIdBytes
public com.google.protobuf.ByteString getPartIdBytes()string part_id = 6 [json_name = "partId"];
- Specified by:
getPartIdBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for partId.
-
setPartId
string part_id = 6 [json_name = "partId"];
- Parameters:
value
- The partId to set.- Returns:
- This builder for chaining.
-
clearPartId
string part_id = 6 [json_name = "partId"];
- Returns:
- This builder for chaining.
-
setPartIdBytes
string part_id = 6 [json_name = "partId"];
- Parameters:
value
- The bytes for partId to set.- Returns:
- This builder for chaining.
-
getComponentType
string component_type = 7 [json_name = "componentType"];
- Specified by:
getComponentType
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The componentType.
-
getComponentTypeBytes
public com.google.protobuf.ByteString getComponentTypeBytes()string component_type = 7 [json_name = "componentType"];
- Specified by:
getComponentTypeBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for componentType.
-
setComponentType
string component_type = 7 [json_name = "componentType"];
- Parameters:
value
- The componentType to set.- Returns:
- This builder for chaining.
-
clearComponentType
string component_type = 7 [json_name = "componentType"];
- Returns:
- This builder for chaining.
-
setComponentTypeBytes
string component_type = 7 [json_name = "componentType"];
- Parameters:
value
- The bytes for componentType to set.- Returns:
- This builder for chaining.
-
getComponentName
string component_name = 9 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()string component_name = 9 [json_name = "componentName"];
- Specified by:
getComponentNameBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for componentName.
-
setComponentName
string component_name = 9 [json_name = "componentName"];
- Parameters:
value
- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
string component_name = 9 [json_name = "componentName"];
- Returns:
- This builder for chaining.
-
setComponentNameBytes
string component_name = 9 [json_name = "componentName"];
- Parameters:
value
- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getMethodName
string method_name = 10 [json_name = "methodName"];
- Specified by:
getMethodName
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.ByteString getMethodNameBytes()string method_name = 10 [json_name = "methodName"];
- Specified by:
getMethodNameBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for methodName.
-
setMethodName
string method_name = 10 [json_name = "methodName"];
- Parameters:
value
- The methodName to set.- Returns:
- This builder for chaining.
-
clearMethodName
string method_name = 10 [json_name = "methodName"];
- Returns:
- This builder for chaining.
-
setMethodNameBytes
string method_name = 10 [json_name = "methodName"];
- Parameters:
value
- The bytes for methodName to set.- Returns:
- This builder for chaining.
-
getMethodParametersCount
public int getMethodParametersCount()Description copied from interface:Data.CaptureMetadataOrBuilder
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
- Specified by:
getMethodParametersCount
in interfaceData.CaptureMetadataOrBuilder
-
containsMethodParameters
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
- Specified by:
containsMethodParameters
in interfaceData.CaptureMetadataOrBuilder
-
clearMethodParameters
-
removeMethodParameters
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
-
getMethodParameters
Deprecated.UsegetMethodParametersMap()
instead.- Specified by:
getMethodParameters
in interfaceData.CaptureMetadataOrBuilder
-
getMethodParametersMap
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
- Specified by:
getMethodParametersMap
in interfaceData.CaptureMetadataOrBuilder
-
getMethodParametersOrDefault
public com.google.protobuf.Any getMethodParametersOrDefault(String key, com.google.protobuf.Any defaultValue) map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
- Specified by:
getMethodParametersOrDefault
in interfaceData.CaptureMetadataOrBuilder
-
getMethodParametersOrThrow
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
- Specified by:
getMethodParametersOrThrow
in interfaceData.CaptureMetadataOrBuilder
-
putMethodParameters
map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
-
putAllMethodParameters
public Data.CaptureMetadata.Builder putAllMethodParameters(Map<String, com.google.protobuf.Any> values) map<string, .google.protobuf.Any> method_parameters = 11 [json_name = "methodParameters"];
-
getTagsList
repeated string tags = 12 [json_name = "tags"];
- Specified by:
getTagsList
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated string tags = 12 [json_name = "tags"];
- Specified by:
getTagsCount
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The count of tags.
-
getTags
repeated string tags = 12 [json_name = "tags"];
- Specified by:
getTags
in interfaceData.CaptureMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 12 [json_name = "tags"];
- Specified by:
getTagsBytes
in interfaceData.CaptureMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
repeated string tags = 12 [json_name = "tags"];
- Parameters:
index
- The index to set the value at.value
- The tags to set.- Returns:
- This builder for chaining.
-
addTags
repeated string tags = 12 [json_name = "tags"];
- Parameters:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
repeated string tags = 12 [json_name = "tags"];
- Parameters:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
repeated string tags = 12 [json_name = "tags"];
- Returns:
- This builder for chaining.
-
addTagsBytes
repeated string tags = 12 [json_name = "tags"];
- Parameters:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getMimeType
string mime_type = 13 [json_name = "mimeType"];
- Specified by:
getMimeType
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()string mime_type = 13 [json_name = "mimeType"];
- Specified by:
getMimeTypeBytes
in interfaceData.CaptureMetadataOrBuilder
- Returns:
- The bytes for mimeType.
-
setMimeType
string mime_type = 13 [json_name = "mimeType"];
- Parameters:
value
- The mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
string mime_type = 13 [json_name = "mimeType"];
- Returns:
- This builder for chaining.
-
setMimeTypeBytes
string mime_type = 13 [json_name = "mimeType"];
- Parameters:
value
- The bytes for mimeType to set.- Returns:
- This builder for chaining.
-