Package viam.app.data.v1
Class Data.BinaryMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryMetadata,Data.BinaryMetadata.Builder>
viam.app.data.v1.Data.BinaryMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.BinaryMetadataOrBuilder
- Enclosing class:
- Data.BinaryMetadata
public static final class Data.BinaryMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryMetadata,Data.BinaryMetadata.Builder>
implements Data.BinaryMetadataOrBuilder
BinaryMetadata is the metadata associated with binary data.Protobuf type
viam.app.data.v1.BinaryMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDatasetIds
(Iterable<String> values) repeated string dataset_ids = 9 [json_name = "datasetIds"];
addDatasetIds
(String value) repeated string dataset_ids = 9 [json_name = "datasetIds"];
addDatasetIdsBytes
(com.google.protobuf.ByteString value) repeated string dataset_ids = 9 [json_name = "datasetIds"];
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
repeated string dataset_ids = 9 [json_name = "datasetIds"];
string file_ext = 6 [json_name = "fileExt"];
string file_name = 5 [json_name = "fileName"];
clearId()
string id = 1 [json_name = "id"];
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
clearUri()
string uri = 7 [json_name = "uri"];
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
getDatasetIds
(int index) repeated string dataset_ids = 9 [json_name = "datasetIds"];
com.google.protobuf.ByteString
getDatasetIdsBytes
(int index) repeated string dataset_ids = 9 [json_name = "datasetIds"];
int
repeated string dataset_ids = 9 [json_name = "datasetIds"];
repeated string dataset_ids = 9 [json_name = "datasetIds"];
string file_ext = 6 [json_name = "fileExt"];
com.google.protobuf.ByteString
string file_ext = 6 [json_name = "fileExt"];
string file_name = 5 [json_name = "fileName"];
com.google.protobuf.ByteString
string file_name = 5 [json_name = "fileName"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
getUri()
string uri = 7 [json_name = "uri"];
com.google.protobuf.ByteString
string uri = 7 [json_name = "uri"];
boolean
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
boolean
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
boolean
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
boolean
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
mergeAnnotations
(Data.Annotations value) .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
mergeTimeReceived
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
mergeTimeRequested
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
setAnnotations
(Data.Annotations value) .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
setAnnotations
(Data.Annotations.Builder builderForValue) .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
setCaptureMetadata
(Data.CaptureMetadata.Builder builderForValue) .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
setDatasetIds
(int index, String value) repeated string dataset_ids = 9 [json_name = "datasetIds"];
setFileExt
(String value) string file_ext = 6 [json_name = "fileExt"];
setFileExtBytes
(com.google.protobuf.ByteString value) string file_ext = 6 [json_name = "fileExt"];
setFileName
(String value) string file_name = 5 [json_name = "fileName"];
setFileNameBytes
(com.google.protobuf.ByteString value) string file_name = 5 [json_name = "fileName"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
setTimeReceived
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
setTimeReceived
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
setTimeRequested
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
setTimeRequested
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
string uri = 7 [json_name = "uri"];
setUriBytes
(com.google.protobuf.ByteString value) string uri = 7 [json_name = "uri"];
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
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasCaptureMetadata
public boolean hasCaptureMetadata().viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
- Specified by:
hasCaptureMetadata
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- Whether the captureMetadata field is set.
-
getCaptureMetadata
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
- Specified by:
getCaptureMetadata
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The captureMetadata.
-
setCaptureMetadata
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
-
setCaptureMetadata
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
-
mergeCaptureMetadata
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
-
clearCaptureMetadata
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
-
hasTimeRequested
public boolean hasTimeRequested().google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
- Specified by:
hasTimeRequested
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- Whether the timeRequested field is set.
-
getTimeRequested
public com.google.protobuf.Timestamp getTimeRequested().google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
- Specified by:
getTimeRequested
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The timeRequested.
-
setTimeRequested
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
-
setTimeRequested
public Data.BinaryMetadata.Builder setTimeRequested(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
-
mergeTimeRequested
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
-
clearTimeRequested
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
-
hasTimeReceived
public boolean hasTimeReceived().google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
- Specified by:
hasTimeReceived
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- Whether the timeReceived field is set.
-
getTimeReceived
public com.google.protobuf.Timestamp getTimeReceived().google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
- Specified by:
getTimeReceived
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The timeReceived.
-
setTimeReceived
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
-
setTimeReceived
public Data.BinaryMetadata.Builder setTimeReceived(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
-
mergeTimeReceived
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
-
clearTimeReceived
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
-
getFileName
string file_name = 5 [json_name = "fileName"];
- Specified by:
getFileName
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()string file_name = 5 [json_name = "fileName"];
- Specified by:
getFileNameBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for fileName.
-
setFileName
string file_name = 5 [json_name = "fileName"];
- Parameters:
value
- The fileName to set.- Returns:
- This builder for chaining.
-
clearFileName
string file_name = 5 [json_name = "fileName"];
- Returns:
- This builder for chaining.
-
setFileNameBytes
string file_name = 5 [json_name = "fileName"];
- Parameters:
value
- The bytes for fileName to set.- Returns:
- This builder for chaining.
-
getFileExt
string file_ext = 6 [json_name = "fileExt"];
- Specified by:
getFileExt
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The fileExt.
-
getFileExtBytes
public com.google.protobuf.ByteString getFileExtBytes()string file_ext = 6 [json_name = "fileExt"];
- Specified by:
getFileExtBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for fileExt.
-
setFileExt
string file_ext = 6 [json_name = "fileExt"];
- Parameters:
value
- The fileExt to set.- Returns:
- This builder for chaining.
-
clearFileExt
string file_ext = 6 [json_name = "fileExt"];
- Returns:
- This builder for chaining.
-
setFileExtBytes
string file_ext = 6 [json_name = "fileExt"];
- Parameters:
value
- The bytes for fileExt to set.- Returns:
- This builder for chaining.
-
getUri
string uri = 7 [json_name = "uri"];
- Specified by:
getUri
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()string uri = 7 [json_name = "uri"];
- Specified by:
getUriBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for uri.
-
setUri
string uri = 7 [json_name = "uri"];
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
string uri = 7 [json_name = "uri"];
- Returns:
- This builder for chaining.
-
setUriBytes
string uri = 7 [json_name = "uri"];
- Parameters:
value
- The bytes for uri to set.- Returns:
- This builder for chaining.
-
hasAnnotations
public boolean hasAnnotations().viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
- Specified by:
hasAnnotations
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- Whether the annotations field is set.
-
getAnnotations
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
- Specified by:
getAnnotations
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The annotations.
-
setAnnotations
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
-
setAnnotations
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
-
mergeAnnotations
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
-
clearAnnotations
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
-
getDatasetIdsList
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIdsList
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- A list containing the datasetIds.
-
getDatasetIdsCount
public int getDatasetIdsCount()repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIdsCount
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The count of datasetIds.
-
getDatasetIds
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIds
in interfaceData.BinaryMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The datasetIds at the given index.
-
getDatasetIdsBytes
public com.google.protobuf.ByteString getDatasetIdsBytes(int index) repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIdsBytes
in interfaceData.BinaryMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the datasetIds at the given index.
-
setDatasetIds
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Parameters:
index
- The index to set the value at.value
- The datasetIds to set.- Returns:
- This builder for chaining.
-
addDatasetIds
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Parameters:
value
- The datasetIds to add.- Returns:
- This builder for chaining.
-
addAllDatasetIds
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Parameters:
values
- The datasetIds to add.- Returns:
- This builder for chaining.
-
clearDatasetIds
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Returns:
- This builder for chaining.
-
addDatasetIdsBytes
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Parameters:
value
- The bytes of the datasetIds to add.- Returns:
- This builder for chaining.
-