Package viam.app.data.v1
Class Data.GetLatestTabularDataResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.GetLatestTabularDataResponse,Data.GetLatestTabularDataResponse.Builder>
viam.app.data.v1.Data.GetLatestTabularDataResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.GetLatestTabularDataResponseOrBuilder
- Enclosing class:
- Data.GetLatestTabularDataResponse
public static final class Data.GetLatestTabularDataResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.GetLatestTabularDataResponse,Data.GetLatestTabularDataResponse.Builder>
implements Data.GetLatestTabularDataResponseOrBuilder
GetLatestTabularDataResponse provides the data, time synced, and time captured of the most recent tabular data captured from the requested data source, as long as it was synced within the last year.Protobuf type
viam.app.data.v1.GetLatestTabularDataResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct payload = 3 [json_name = "payload"];
.google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
.google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
com.google.protobuf.Struct
.google.protobuf.Struct payload = 3 [json_name = "payload"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
boolean
.google.protobuf.Struct payload = 3 [json_name = "payload"];
boolean
.google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
boolean
.google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
mergePayload
(com.google.protobuf.Struct value) .google.protobuf.Struct payload = 3 [json_name = "payload"];
mergeTimeCaptured
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
mergeTimeSynced
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
setPayload
(com.google.protobuf.Struct value) .google.protobuf.Struct payload = 3 [json_name = "payload"];
setPayload
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct payload = 3 [json_name = "payload"];
setTimeCaptured
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
setTimeCaptured
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
setTimeSynced
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
setTimeSynced
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
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
-
hasTimeCaptured
public boolean hasTimeCaptured().google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
- Specified by:
hasTimeCaptured
in interfaceData.GetLatestTabularDataResponseOrBuilder
- Returns:
- Whether the timeCaptured field is set.
-
getTimeCaptured
public com.google.protobuf.Timestamp getTimeCaptured().google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
- Specified by:
getTimeCaptured
in interfaceData.GetLatestTabularDataResponseOrBuilder
- Returns:
- The timeCaptured.
-
setTimeCaptured
public Data.GetLatestTabularDataResponse.Builder setTimeCaptured(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
-
setTimeCaptured
public Data.GetLatestTabularDataResponse.Builder setTimeCaptured(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
-
mergeTimeCaptured
public Data.GetLatestTabularDataResponse.Builder mergeTimeCaptured(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
-
clearTimeCaptured
.google.protobuf.Timestamp time_captured = 1 [json_name = "timeCaptured"];
-
hasTimeSynced
public boolean hasTimeSynced().google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
- Specified by:
hasTimeSynced
in interfaceData.GetLatestTabularDataResponseOrBuilder
- Returns:
- Whether the timeSynced field is set.
-
getTimeSynced
public com.google.protobuf.Timestamp getTimeSynced().google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
- Specified by:
getTimeSynced
in interfaceData.GetLatestTabularDataResponseOrBuilder
- Returns:
- The timeSynced.
-
setTimeSynced
.google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
-
setTimeSynced
public Data.GetLatestTabularDataResponse.Builder setTimeSynced(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
-
mergeTimeSynced
public Data.GetLatestTabularDataResponse.Builder mergeTimeSynced(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
-
clearTimeSynced
.google.protobuf.Timestamp time_synced = 2 [json_name = "timeSynced"];
-
hasPayload
public boolean hasPayload().google.protobuf.Struct payload = 3 [json_name = "payload"];
- Specified by:
hasPayload
in interfaceData.GetLatestTabularDataResponseOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.Struct getPayload().google.protobuf.Struct payload = 3 [json_name = "payload"];
- Specified by:
getPayload
in interfaceData.GetLatestTabularDataResponseOrBuilder
- Returns:
- The payload.
-
setPayload
.google.protobuf.Struct payload = 3 [json_name = "payload"];
-
setPayload
public Data.GetLatestTabularDataResponse.Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct payload = 3 [json_name = "payload"];
-
mergePayload
.google.protobuf.Struct payload = 3 [json_name = "payload"];
-
clearPayload
.google.protobuf.Struct payload = 3 [json_name = "payload"];
-