Package viam.app.dataset.v1
Class DatasetOuterClass.ListDatasetsByIDsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DatasetOuterClass.ListDatasetsByIDsRequest,DatasetOuterClass.ListDatasetsByIDsRequest.Builder>
viam.app.dataset.v1.DatasetOuterClass.ListDatasetsByIDsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DatasetOuterClass.ListDatasetsByIDsRequestOrBuilder
- Enclosing class:
- DatasetOuterClass.ListDatasetsByIDsRequest
public static final class DatasetOuterClass.ListDatasetsByIDsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DatasetOuterClass.ListDatasetsByIDsRequest,DatasetOuterClass.ListDatasetsByIDsRequest.Builder>
implements DatasetOuterClass.ListDatasetsByIDsRequestOrBuilder
ListDatasetsByIDsRequest requests all of the datasets by their dataset IDs.Protobuf type
viam.app.dataset.v1.ListDatasetsByIDsRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionrepeated string ids = 1 [json_name = "ids"];
repeated string ids = 1 [json_name = "ids"];
addIdsBytes
(com.google.protobuf.ByteString value) repeated string ids = 1 [json_name = "ids"];
clearIds()
repeated string ids = 1 [json_name = "ids"];
getIds
(int index) repeated string ids = 1 [json_name = "ids"];
com.google.protobuf.ByteString
getIdsBytes
(int index) repeated string ids = 1 [json_name = "ids"];
int
repeated string ids = 1 [json_name = "ids"];
repeated string ids = 1 [json_name = "ids"];
repeated string ids = 1 [json_name = "ids"];
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
-
getIdsList
repeated string ids = 1 [json_name = "ids"];
- Specified by:
getIdsList
in interfaceDatasetOuterClass.ListDatasetsByIDsRequestOrBuilder
- Returns:
- A list containing the ids.
-
getIdsCount
public int getIdsCount()repeated string ids = 1 [json_name = "ids"];
- Specified by:
getIdsCount
in interfaceDatasetOuterClass.ListDatasetsByIDsRequestOrBuilder
- Returns:
- The count of ids.
-
getIds
repeated string ids = 1 [json_name = "ids"];
- Specified by:
getIds
in interfaceDatasetOuterClass.ListDatasetsByIDsRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ids at the given index.
-
getIdsBytes
public com.google.protobuf.ByteString getIdsBytes(int index) repeated string ids = 1 [json_name = "ids"];
- Specified by:
getIdsBytes
in interfaceDatasetOuterClass.ListDatasetsByIDsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ids at the given index.
-
setIds
repeated string ids = 1 [json_name = "ids"];
- Parameters:
index
- The index to set the value at.value
- The ids to set.- Returns:
- This builder for chaining.
-
addIds
repeated string ids = 1 [json_name = "ids"];
- Parameters:
value
- The ids to add.- Returns:
- This builder for chaining.
-
addAllIds
repeated string ids = 1 [json_name = "ids"];
- Parameters:
values
- The ids to add.- Returns:
- This builder for chaining.
-
clearIds
repeated string ids = 1 [json_name = "ids"];
- Returns:
- This builder for chaining.
-
addIdsBytes
public DatasetOuterClass.ListDatasetsByIDsRequest.Builder addIdsBytes(com.google.protobuf.ByteString value) repeated string ids = 1 [json_name = "ids"];
- Parameters:
value
- The bytes of the ids to add.- Returns:
- This builder for chaining.
-