Package viam.app.data.v1
Class Data.BinaryDataByFilterResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryDataByFilterResponse,Data.BinaryDataByFilterResponse.Builder>
viam.app.data.v1.Data.BinaryDataByFilterResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.BinaryDataByFilterResponseOrBuilder
- Enclosing class:
- Data.BinaryDataByFilterResponse
public static final class Data.BinaryDataByFilterResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.BinaryDataByFilterResponse,Data.BinaryDataByFilterResponse.Builder>
implements Data.BinaryDataByFilterResponseOrBuilder
BinaryDataByFilterResponse provides the data and metadata of binary (image + file) data when a filter is provided.Protobuf type
viam.app.data.v1.BinaryDataByFilterResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData
(Iterable<? extends Data.BinaryData> values) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
addData
(int index, Data.BinaryData value) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
addData
(int index, Data.BinaryData.Builder builderForValue) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
addData
(Data.BinaryData value) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
addData
(Data.BinaryData.Builder builderForValue) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
uint64 count = 2 [json_name = "count"];
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
string last = 3 [json_name = "last"];
uint64 total_size_bytes = 4 [json_name = "totalSizeBytes"];
long
getCount()
uint64 count = 2 [json_name = "count"];
getData
(int index) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
int
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
getLast()
string last = 3 [json_name = "last"];
com.google.protobuf.ByteString
string last = 3 [json_name = "last"];
long
uint64 total_size_bytes = 4 [json_name = "totalSizeBytes"];
removeData
(int index) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
setCount
(long value) uint64 count = 2 [json_name = "count"];
setData
(int index, Data.BinaryData value) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
setData
(int index, Data.BinaryData.Builder builderForValue) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
string last = 3 [json_name = "last"];
setLastBytes
(com.google.protobuf.ByteString value) string last = 3 [json_name = "last"];
setTotalSizeBytes
(long value) uint64 total_size_bytes = 4 [json_name = "totalSizeBytes"];
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
-
getDataList
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
- Specified by:
getDataList
in interfaceData.BinaryDataByFilterResponseOrBuilder
-
getDataCount
public int getDataCount()repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
- Specified by:
getDataCount
in interfaceData.BinaryDataByFilterResponseOrBuilder
-
getData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
- Specified by:
getData
in interfaceData.BinaryDataByFilterResponseOrBuilder
-
setData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
setData
public Data.BinaryDataByFilterResponse.Builder setData(int index, Data.BinaryData.Builder builderForValue) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
addData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
addData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
addData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
addData
public Data.BinaryDataByFilterResponse.Builder addData(int index, Data.BinaryData.Builder builderForValue) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
addAllData
public Data.BinaryDataByFilterResponse.Builder addAllData(Iterable<? extends Data.BinaryData> values) repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
clearData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
removeData
repeated .viam.app.data.v1.BinaryData data = 1 [json_name = "data"];
-
getCount
public long getCount()uint64 count = 2 [json_name = "count"];
- Specified by:
getCount
in interfaceData.BinaryDataByFilterResponseOrBuilder
- Returns:
- The count.
-
setCount
uint64 count = 2 [json_name = "count"];
- Parameters:
value
- The count to set.- Returns:
- This builder for chaining.
-
clearCount
uint64 count = 2 [json_name = "count"];
- Returns:
- This builder for chaining.
-
getLast
string last = 3 [json_name = "last"];
- Specified by:
getLast
in interfaceData.BinaryDataByFilterResponseOrBuilder
- Returns:
- The last.
-
getLastBytes
public com.google.protobuf.ByteString getLastBytes()string last = 3 [json_name = "last"];
- Specified by:
getLastBytes
in interfaceData.BinaryDataByFilterResponseOrBuilder
- Returns:
- The bytes for last.
-
setLast
string last = 3 [json_name = "last"];
- Parameters:
value
- The last to set.- Returns:
- This builder for chaining.
-
clearLast
string last = 3 [json_name = "last"];
- Returns:
- This builder for chaining.
-
setLastBytes
string last = 3 [json_name = "last"];
- Parameters:
value
- The bytes for last to set.- Returns:
- This builder for chaining.
-
getTotalSizeBytes
public long getTotalSizeBytes()uint64 total_size_bytes = 4 [json_name = "totalSizeBytes"];
- Specified by:
getTotalSizeBytes
in interfaceData.BinaryDataByFilterResponseOrBuilder
- Returns:
- The totalSizeBytes.
-
setTotalSizeBytes
uint64 total_size_bytes = 4 [json_name = "totalSizeBytes"];
- Parameters:
value
- The totalSizeBytes to set.- Returns:
- This builder for chaining.
-
clearTotalSizeBytes
uint64 total_size_bytes = 4 [json_name = "totalSizeBytes"];
- Returns:
- This builder for chaining.
-