Package viam.app.data.v1
Class Data.TabularData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularData,Data.TabularData.Builder>
viam.app.data.v1.Data.TabularData.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.TabularDataOrBuilder
- Enclosing class:
- Data.TabularData
public static final class Data.TabularData.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularData,Data.TabularData.Builder>
implements Data.TabularDataOrBuilder
TabularData contains data and metadata associated with tabular data.Protobuf type
viam.app.data.v1.TabularData
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct data = 1 [json_name = "data"];
uint32 metadata_index = 2 [json_name = "metadataIndex"];
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
com.google.protobuf.Struct
getData()
.google.protobuf.Struct data = 1 [json_name = "data"];
int
uint32 metadata_index = 2 [json_name = "metadataIndex"];
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"];
boolean
hasData()
.google.protobuf.Struct data = 1 [json_name = "data"];
boolean
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
boolean
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
mergeData
(com.google.protobuf.Struct value) .google.protobuf.Struct data = 1 [json_name = "data"];
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"];
setData
(com.google.protobuf.Struct value) .google.protobuf.Struct data = 1 [json_name = "data"];
setData
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct data = 1 [json_name = "data"];
setMetadataIndex
(int value) uint32 metadata_index = 2 [json_name = "metadataIndex"];
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"];
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
-
hasData
public boolean hasData().google.protobuf.Struct data = 1 [json_name = "data"];
- Specified by:
hasData
in interfaceData.TabularDataOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Struct getData().google.protobuf.Struct data = 1 [json_name = "data"];
- Specified by:
getData
in interfaceData.TabularDataOrBuilder
- Returns:
- The data.
-
setData
.google.protobuf.Struct data = 1 [json_name = "data"];
-
setData
.google.protobuf.Struct data = 1 [json_name = "data"];
-
mergeData
.google.protobuf.Struct data = 1 [json_name = "data"];
-
clearData
.google.protobuf.Struct data = 1 [json_name = "data"];
-
getMetadataIndex
public int getMetadataIndex()uint32 metadata_index = 2 [json_name = "metadataIndex"];
- Specified by:
getMetadataIndex
in interfaceData.TabularDataOrBuilder
- Returns:
- The metadataIndex.
-
setMetadataIndex
uint32 metadata_index = 2 [json_name = "metadataIndex"];
- Parameters:
value
- The metadataIndex to set.- Returns:
- This builder for chaining.
-
clearMetadataIndex
uint32 metadata_index = 2 [json_name = "metadataIndex"];
- Returns:
- This builder for chaining.
-
hasTimeRequested
public boolean hasTimeRequested().google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
- Specified by:
hasTimeRequested
in interfaceData.TabularDataOrBuilder
- 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.TabularDataOrBuilder
- Returns:
- The timeRequested.
-
setTimeRequested
.google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
-
setTimeRequested
public Data.TabularData.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.TabularDataOrBuilder
- 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.TabularDataOrBuilder
- Returns:
- The timeReceived.
-
setTimeReceived
.google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
-
setTimeReceived
public Data.TabularData.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"];
-