Package viam.app.datasync.v1
Class DataSync.SensorMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.SensorMetadata,DataSync.SensorMetadata.Builder>
viam.app.datasync.v1.DataSync.SensorMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.SensorMetadataOrBuilder
- Enclosing class:
- DataSync.SensorMetadata
public static final class DataSync.SensorMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.SensorMetadata,DataSync.SensorMetadata.Builder>
implements DataSync.SensorMetadataOrBuilder
SensorMetadata contains the time the sensor data was requested and was received.Protobuf type
viam.app.datasync.v1.SensorMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
.google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
.google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
int
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
boolean
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
boolean
.google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
boolean
.google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
mergeAnnotations
(Data.Annotations value) .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
mergeTimeReceived
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
mergeTimeRequested
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
setAnnotations
(Data.Annotations value) .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
setAnnotations
(Data.Annotations.Builder builderForValue) .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
setMimeType
(DataSync.MimeType value) .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
setMimeTypeValue
(int value) .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
setTimeReceived
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
setTimeReceived
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
setTimeRequested
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
setTimeRequested
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
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
-
hasTimeRequested
public boolean hasTimeRequested().google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
- Specified by:
hasTimeRequested
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- Whether the timeRequested field is set.
-
getTimeRequested
public com.google.protobuf.Timestamp getTimeRequested().google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
- Specified by:
getTimeRequested
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- The timeRequested.
-
setTimeRequested
.google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
-
setTimeRequested
public DataSync.SensorMetadata.Builder setTimeRequested(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
-
mergeTimeRequested
.google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
-
clearTimeRequested
.google.protobuf.Timestamp time_requested = 1 [json_name = "timeRequested"];
-
hasTimeReceived
public boolean hasTimeReceived().google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
- Specified by:
hasTimeReceived
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- Whether the timeReceived field is set.
-
getTimeReceived
public com.google.protobuf.Timestamp getTimeReceived().google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
- Specified by:
getTimeReceived
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- The timeReceived.
-
setTimeReceived
.google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
-
setTimeReceived
public DataSync.SensorMetadata.Builder setTimeReceived(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
-
mergeTimeReceived
.google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
-
clearTimeReceived
.google.protobuf.Timestamp time_received = 2 [json_name = "timeReceived"];
-
getMimeTypeValue
public int getMimeTypeValue().viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
- Specified by:
getMimeTypeValue
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for mimeType.
-
setMimeTypeValue
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
- Parameters:
value
- The mimeType to set.- Returns:
- This builder for chaining.
-
getMimeType
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
- Specified by:
getMimeType
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- The mimeType.
-
setMimeType
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
- Parameters:
value
- The enum numeric value on the wire for mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
.viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
- Returns:
- This builder for chaining.
-
hasAnnotations
public boolean hasAnnotations().viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
- Specified by:
hasAnnotations
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- Whether the annotations field is set.
-
getAnnotations
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
- Specified by:
getAnnotations
in interfaceDataSync.SensorMetadataOrBuilder
- Returns:
- The annotations.
-
setAnnotations
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
-
setAnnotations
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
-
mergeAnnotations
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
-
clearAnnotations
.viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
-