Package viam.app.data.v1
Class Data.AddBinaryDataToDatasetByIDsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.AddBinaryDataToDatasetByIDsRequest,Data.AddBinaryDataToDatasetByIDsRequest.Builder>
viam.app.data.v1.Data.AddBinaryDataToDatasetByIDsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Enclosing class:
- Data.AddBinaryDataToDatasetByIDsRequest
public static final class Data.AddBinaryDataToDatasetByIDsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.AddBinaryDataToDatasetByIDsRequest,Data.AddBinaryDataToDatasetByIDsRequest.Builder>
implements Data.AddBinaryDataToDatasetByIDsRequestOrBuilder
AddBinaryDataToDatasetByIDsRequest adds the binary data with the given binary IDs to a dataset with dataset_id.Protobuf type
viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllBinaryDataIds
(Iterable<String> values) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
addAllBinaryIds
(Iterable<? extends Data.BinaryID> values) Deprecated.addBinaryDataIds
(String value) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
addBinaryDataIdsBytes
(com.google.protobuf.ByteString value) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
addBinaryIds
(int index, Data.BinaryID value) Deprecated.addBinaryIds
(int index, Data.BinaryID.Builder builderForValue) Deprecated.addBinaryIds
(Data.BinaryID value) Deprecated.addBinaryIds
(Data.BinaryID.Builder builderForValue) Deprecated.repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
Deprecated.string dataset_id = 2 [json_name = "datasetId"];
getBinaryDataIds
(int index) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
com.google.protobuf.ByteString
getBinaryDataIdsBytes
(int index) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
int
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
getBinaryIds
(int index) Deprecated.int
Deprecated.Deprecated.string dataset_id = 2 [json_name = "datasetId"];
com.google.protobuf.ByteString
string dataset_id = 2 [json_name = "datasetId"];
removeBinaryIds
(int index) Deprecated.setBinaryDataIds
(int index, String value) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
setBinaryIds
(int index, Data.BinaryID value) Deprecated.setBinaryIds
(int index, Data.BinaryID.Builder builderForValue) Deprecated.setDatasetId
(String value) string dataset_id = 2 [json_name = "datasetId"];
setDatasetIdBytes
(com.google.protobuf.ByteString value) string dataset_id = 2 [json_name = "datasetId"];
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
-
getBinaryIdsList
Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
- Specified by:
getBinaryIdsList
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
-
getBinaryIdsCount
Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
- Specified by:
getBinaryIdsCount
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
-
getBinaryIds
Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
- Specified by:
getBinaryIds
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
-
setBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder setBinaryIds(int index, Data.BinaryID value) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
setBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder setBinaryIds(int index, Data.BinaryID.Builder builderForValue) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
addBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder addBinaryIds(Data.BinaryID value) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
addBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder addBinaryIds(int index, Data.BinaryID value) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
addBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder addBinaryIds(Data.BinaryID.Builder builderForValue) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
addBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder addBinaryIds(int index, Data.BinaryID.Builder builderForValue) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
addAllBinaryIds
@Deprecated public Data.AddBinaryDataToDatasetByIDsRequest.Builder addAllBinaryIds(Iterable<? extends Data.BinaryID> values) Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
clearBinaryIds
Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
removeBinaryIds
Deprecated.repeated .viam.app.data.v1.BinaryID binary_ids = 1 [json_name = "binaryIds", deprecated = true];
-
getBinaryDataIdsList
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Specified by:
getBinaryDataIdsList
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Returns:
- A list containing the binaryDataIds.
-
getBinaryDataIdsCount
public int getBinaryDataIdsCount()repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Specified by:
getBinaryDataIdsCount
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Returns:
- The count of binaryDataIds.
-
getBinaryDataIds
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Specified by:
getBinaryDataIds
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The binaryDataIds at the given index.
-
getBinaryDataIdsBytes
public com.google.protobuf.ByteString getBinaryDataIdsBytes(int index) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Specified by:
getBinaryDataIdsBytes
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the binaryDataIds at the given index.
-
setBinaryDataIds
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Parameters:
index
- The index to set the value at.value
- The binaryDataIds to set.- Returns:
- This builder for chaining.
-
addBinaryDataIds
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Parameters:
value
- The binaryDataIds to add.- Returns:
- This builder for chaining.
-
addAllBinaryDataIds
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Parameters:
values
- The binaryDataIds to add.- Returns:
- This builder for chaining.
-
clearBinaryDataIds
repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Returns:
- This builder for chaining.
-
addBinaryDataIdsBytes
public Data.AddBinaryDataToDatasetByIDsRequest.Builder addBinaryDataIdsBytes(com.google.protobuf.ByteString value) repeated string binary_data_ids = 3 [json_name = "binaryDataIds"];
- Parameters:
value
- The bytes of the binaryDataIds to add.- Returns:
- This builder for chaining.
-
getDatasetId
string dataset_id = 2 [json_name = "datasetId"];
- Specified by:
getDatasetId
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()string dataset_id = 2 [json_name = "datasetId"];
- Specified by:
getDatasetIdBytes
in interfaceData.AddBinaryDataToDatasetByIDsRequestOrBuilder
- Returns:
- The bytes for datasetId.
-
setDatasetId
string dataset_id = 2 [json_name = "datasetId"];
- Parameters:
value
- The datasetId to set.- Returns:
- This builder for chaining.
-
clearDatasetId
string dataset_id = 2 [json_name = "datasetId"];
- Returns:
- This builder for chaining.
-
setDatasetIdBytes
public Data.AddBinaryDataToDatasetByIDsRequest.Builder setDatasetIdBytes(com.google.protobuf.ByteString value) string dataset_id = 2 [json_name = "datasetId"];
- Parameters:
value
- The bytes for datasetId to set.- Returns:
- This builder for chaining.
-