Package viam.app.datasync.v1
Class DataSync.DataCaptureMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.DataCaptureMetadata,DataSync.DataCaptureMetadata.Builder>
viam.app.datasync.v1.DataSync.DataCaptureMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.DataCaptureMetadataOrBuilder
- Enclosing class:
- DataSync.DataCaptureMetadata
public static final class DataSync.DataCaptureMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.DataCaptureMetadata,DataSync.DataCaptureMetadata.Builder>
implements DataSync.DataCaptureMetadataOrBuilder
DataCaptureMetadata contains the metadata for data captured by collectors.Protobuf type
viam.app.datasync.v1.DataCaptureMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<String> values) repeated string tags = 8 [json_name = "tags"];
repeated string tags = 8 [json_name = "tags"];
addTagsBytes
(com.google.protobuf.ByteString value) repeated string tags = 8 [json_name = "tags"];
string component_name = 2 [json_name = "componentName"];
string component_type = 1 [json_name = "componentType"];
string file_extension = 7 [json_name = "fileExtension"];
string method_name = 4 [json_name = "methodName"];
repeated string tags = 8 [json_name = "tags"];
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
boolean
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
string component_name = 2 [json_name = "componentName"];
com.google.protobuf.ByteString
string component_name = 2 [json_name = "componentName"];
string component_type = 1 [json_name = "componentType"];
com.google.protobuf.ByteString
string component_type = 1 [json_name = "componentType"];
string file_extension = 7 [json_name = "fileExtension"];
com.google.protobuf.ByteString
string file_extension = 7 [json_name = "fileExtension"];
string method_name = 4 [json_name = "methodName"];
com.google.protobuf.ByteString
string method_name = 4 [json_name = "methodName"];
Deprecated.int
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
com.google.protobuf.Any
getMethodParametersOrDefault
(String key, com.google.protobuf.Any defaultValue) map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
com.google.protobuf.Any
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
getTags
(int index) repeated string tags = 8 [json_name = "tags"];
com.google.protobuf.ByteString
getTagsBytes
(int index) repeated string tags = 8 [json_name = "tags"];
int
repeated string tags = 8 [json_name = "tags"];
repeated string tags = 8 [json_name = "tags"];
getType()
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
int
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
putAllMethodParameters
(Map<String, com.google.protobuf.Any> values) map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
putMethodParameters
(String key, com.google.protobuf.Any value) map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
setComponentName
(String value) string component_name = 2 [json_name = "componentName"];
setComponentNameBytes
(com.google.protobuf.ByteString value) string component_name = 2 [json_name = "componentName"];
setComponentType
(String value) string component_type = 1 [json_name = "componentType"];
setComponentTypeBytes
(com.google.protobuf.ByteString value) string component_type = 1 [json_name = "componentType"];
setFileExtension
(String value) string file_extension = 7 [json_name = "fileExtension"];
setFileExtensionBytes
(com.google.protobuf.ByteString value) string file_extension = 7 [json_name = "fileExtension"];
setMethodName
(String value) string method_name = 4 [json_name = "methodName"];
setMethodNameBytes
(com.google.protobuf.ByteString value) string method_name = 4 [json_name = "methodName"];
repeated string tags = 8 [json_name = "tags"];
setType
(DataSync.DataType value) .viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
setTypeValue
(int value) .viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
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
-
getComponentType
string component_type = 1 [json_name = "componentType"];
- Specified by:
getComponentType
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The componentType.
-
getComponentTypeBytes
public com.google.protobuf.ByteString getComponentTypeBytes()string component_type = 1 [json_name = "componentType"];
- Specified by:
getComponentTypeBytes
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The bytes for componentType.
-
setComponentType
string component_type = 1 [json_name = "componentType"];
- Parameters:
value
- The componentType to set.- Returns:
- This builder for chaining.
-
clearComponentType
string component_type = 1 [json_name = "componentType"];
- Returns:
- This builder for chaining.
-
setComponentTypeBytes
public DataSync.DataCaptureMetadata.Builder setComponentTypeBytes(com.google.protobuf.ByteString value) string component_type = 1 [json_name = "componentType"];
- Parameters:
value
- The bytes for componentType to set.- Returns:
- This builder for chaining.
-
getComponentName
string component_name = 2 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()string component_name = 2 [json_name = "componentName"];
- Specified by:
getComponentNameBytes
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The bytes for componentName.
-
setComponentName
string component_name = 2 [json_name = "componentName"];
- Parameters:
value
- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
string component_name = 2 [json_name = "componentName"];
- Returns:
- This builder for chaining.
-
setComponentNameBytes
public DataSync.DataCaptureMetadata.Builder setComponentNameBytes(com.google.protobuf.ByteString value) string component_name = 2 [json_name = "componentName"];
- Parameters:
value
- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getMethodName
string method_name = 4 [json_name = "methodName"];
- Specified by:
getMethodName
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.ByteString getMethodNameBytes()string method_name = 4 [json_name = "methodName"];
- Specified by:
getMethodNameBytes
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The bytes for methodName.
-
setMethodName
string method_name = 4 [json_name = "methodName"];
- Parameters:
value
- The methodName to set.- Returns:
- This builder for chaining.
-
clearMethodName
string method_name = 4 [json_name = "methodName"];
- Returns:
- This builder for chaining.
-
setMethodNameBytes
public DataSync.DataCaptureMetadata.Builder setMethodNameBytes(com.google.protobuf.ByteString value) string method_name = 4 [json_name = "methodName"];
- Parameters:
value
- The bytes for methodName to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
- Specified by:
getTypeValue
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
getType
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
- Specified by:
getType
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The type.
-
setType
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
.viam.app.datasync.v1.DataType type = 5 [json_name = "type"];
- Returns:
- This builder for chaining.
-
getMethodParametersCount
public int getMethodParametersCount()Description copied from interface:DataSync.DataCaptureMetadataOrBuilder
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
- Specified by:
getMethodParametersCount
in interfaceDataSync.DataCaptureMetadataOrBuilder
-
containsMethodParameters
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
- Specified by:
containsMethodParameters
in interfaceDataSync.DataCaptureMetadataOrBuilder
-
clearMethodParameters
-
removeMethodParameters
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
-
getMethodParameters
Deprecated.UsegetMethodParametersMap()
instead.- Specified by:
getMethodParameters
in interfaceDataSync.DataCaptureMetadataOrBuilder
-
getMethodParametersMap
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
- Specified by:
getMethodParametersMap
in interfaceDataSync.DataCaptureMetadataOrBuilder
-
getMethodParametersOrDefault
public com.google.protobuf.Any getMethodParametersOrDefault(String key, com.google.protobuf.Any defaultValue) map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
- Specified by:
getMethodParametersOrDefault
in interfaceDataSync.DataCaptureMetadataOrBuilder
-
getMethodParametersOrThrow
map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
- Specified by:
getMethodParametersOrThrow
in interfaceDataSync.DataCaptureMetadataOrBuilder
-
putMethodParameters
public DataSync.DataCaptureMetadata.Builder putMethodParameters(String key, com.google.protobuf.Any value) map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
-
putAllMethodParameters
public DataSync.DataCaptureMetadata.Builder putAllMethodParameters(Map<String, com.google.protobuf.Any> values) map<string, .google.protobuf.Any> method_parameters = 6 [json_name = "methodParameters"];
-
getFileExtension
string file_extension = 7 [json_name = "fileExtension"];
- Specified by:
getFileExtension
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The fileExtension.
-
getFileExtensionBytes
public com.google.protobuf.ByteString getFileExtensionBytes()string file_extension = 7 [json_name = "fileExtension"];
- Specified by:
getFileExtensionBytes
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The bytes for fileExtension.
-
setFileExtension
string file_extension = 7 [json_name = "fileExtension"];
- Parameters:
value
- The fileExtension to set.- Returns:
- This builder for chaining.
-
clearFileExtension
string file_extension = 7 [json_name = "fileExtension"];
- Returns:
- This builder for chaining.
-
setFileExtensionBytes
public DataSync.DataCaptureMetadata.Builder setFileExtensionBytes(com.google.protobuf.ByteString value) string file_extension = 7 [json_name = "fileExtension"];
- Parameters:
value
- The bytes for fileExtension to set.- Returns:
- This builder for chaining.
-
getTagsList
repeated string tags = 8 [json_name = "tags"];
- Specified by:
getTagsList
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated string tags = 8 [json_name = "tags"];
- Specified by:
getTagsCount
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Returns:
- The count of tags.
-
getTags
repeated string tags = 8 [json_name = "tags"];
- Specified by:
getTags
in interfaceDataSync.DataCaptureMetadataOrBuilder
- 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 = 8 [json_name = "tags"];
- Specified by:
getTagsBytes
in interfaceDataSync.DataCaptureMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
repeated string tags = 8 [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 = 8 [json_name = "tags"];
- Parameters:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
repeated string tags = 8 [json_name = "tags"];
- Parameters:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
repeated string tags = 8 [json_name = "tags"];
- Returns:
- This builder for chaining.
-
addTagsBytes
repeated string tags = 8 [json_name = "tags"];
- Parameters:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-