Package viam.app.v1
Class AppOuterClass.ListRobotsForLocationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ListRobotsForLocationsRequest,AppOuterClass.ListRobotsForLocationsRequest.Builder>
viam.app.v1.AppOuterClass.ListRobotsForLocationsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.ListRobotsForLocationsRequestOrBuilder
- Enclosing class:
- AppOuterClass.ListRobotsForLocationsRequest
public static final class AppOuterClass.ListRobotsForLocationsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ListRobotsForLocationsRequest,AppOuterClass.ListRobotsForLocationsRequest.Builder>
implements AppOuterClass.ListRobotsForLocationsRequestOrBuilder
Protobuf type
viam.app.v1.ListRobotsForLocationsRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocationIds
(Iterable<String> values) repeated string location_ids = 1 [json_name = "locationIds"];
addLocationIds
(String value) repeated string location_ids = 1 [json_name = "locationIds"];
addLocationIdsBytes
(com.google.protobuf.ByteString value) repeated string location_ids = 1 [json_name = "locationIds"];
repeated string location_ids = 1 [json_name = "locationIds"];
getLocationIds
(int index) repeated string location_ids = 1 [json_name = "locationIds"];
com.google.protobuf.ByteString
getLocationIdsBytes
(int index) repeated string location_ids = 1 [json_name = "locationIds"];
int
repeated string location_ids = 1 [json_name = "locationIds"];
repeated string location_ids = 1 [json_name = "locationIds"];
setLocationIds
(int index, String value) repeated string location_ids = 1 [json_name = "locationIds"];
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
-
getLocationIdsList
repeated string location_ids = 1 [json_name = "locationIds"];
- Specified by:
getLocationIdsList
in interfaceAppOuterClass.ListRobotsForLocationsRequestOrBuilder
- Returns:
- A list containing the locationIds.
-
getLocationIdsCount
public int getLocationIdsCount()repeated string location_ids = 1 [json_name = "locationIds"];
- Specified by:
getLocationIdsCount
in interfaceAppOuterClass.ListRobotsForLocationsRequestOrBuilder
- Returns:
- The count of locationIds.
-
getLocationIds
repeated string location_ids = 1 [json_name = "locationIds"];
- Specified by:
getLocationIds
in interfaceAppOuterClass.ListRobotsForLocationsRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The locationIds at the given index.
-
getLocationIdsBytes
public com.google.protobuf.ByteString getLocationIdsBytes(int index) repeated string location_ids = 1 [json_name = "locationIds"];
- Specified by:
getLocationIdsBytes
in interfaceAppOuterClass.ListRobotsForLocationsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the locationIds at the given index.
-
setLocationIds
repeated string location_ids = 1 [json_name = "locationIds"];
- Parameters:
index
- The index to set the value at.value
- The locationIds to set.- Returns:
- This builder for chaining.
-
addLocationIds
repeated string location_ids = 1 [json_name = "locationIds"];
- Parameters:
value
- The locationIds to add.- Returns:
- This builder for chaining.
-
addAllLocationIds
public AppOuterClass.ListRobotsForLocationsRequest.Builder addAllLocationIds(Iterable<String> values) repeated string location_ids = 1 [json_name = "locationIds"];
- Parameters:
values
- The locationIds to add.- Returns:
- This builder for chaining.
-
clearLocationIds
repeated string location_ids = 1 [json_name = "locationIds"];
- Returns:
- This builder for chaining.
-
addLocationIdsBytes
public AppOuterClass.ListRobotsForLocationsRequest.Builder addLocationIdsBytes(com.google.protobuf.ByteString value) repeated string location_ids = 1 [json_name = "locationIds"];
- Parameters:
value
- The bytes of the locationIds to add.- Returns:
- This builder for chaining.
-