Package viam.app.v1
Class AppOuterClass.ListMachineSummariesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ListMachineSummariesRequest,AppOuterClass.ListMachineSummariesRequest.Builder>
viam.app.v1.AppOuterClass.ListMachineSummariesRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.ListMachineSummariesRequestOrBuilder
- Enclosing class:
- AppOuterClass.ListMachineSummariesRequest
public static final class AppOuterClass.ListMachineSummariesRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ListMachineSummariesRequest,AppOuterClass.ListMachineSummariesRequest.Builder>
implements AppOuterClass.ListMachineSummariesRequestOrBuilder
Protobuf type
viam.app.v1.ListMachineSummariesRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFragmentIds
(Iterable<String> values) Optional list of fragment IDs to filter machines that use any of these fragmentsaddAllLocationIds
(Iterable<String> values) Optional list of location IDs to filter machines that are in any of these locations.addFragmentIds
(String value) Optional list of fragment IDs to filter machines that use any of these fragmentsaddFragmentIdsBytes
(com.google.protobuf.ByteString value) Optional list of fragment IDs to filter machines that use any of these fragmentsaddLocationIds
(String value) Optional list of location IDs to filter machines that are in any of these locations.addLocationIdsBytes
(com.google.protobuf.ByteString value) Optional list of location IDs to filter machines that are in any of these locations.Optional list of fragment IDs to filter machines that use any of these fragmentsOptional max number of machines to return; default to 100 if unsetOptional list of location IDs to filter machines that are in any of these locations.Optional organization ID.getFragmentIds
(int index) Optional list of fragment IDs to filter machines that use any of these fragmentscom.google.protobuf.ByteString
getFragmentIdsBytes
(int index) Optional list of fragment IDs to filter machines that use any of these fragmentsint
Optional list of fragment IDs to filter machines that use any of these fragmentsOptional list of fragment IDs to filter machines that use any of these fragmentsint
getLimit()
Optional max number of machines to return; default to 100 if unsetgetLocationIds
(int index) Optional list of location IDs to filter machines that are in any of these locations.com.google.protobuf.ByteString
getLocationIdsBytes
(int index) Optional list of location IDs to filter machines that are in any of these locations.int
Optional list of location IDs to filter machines that are in any of these locations.Optional list of location IDs to filter machines that are in any of these locations.Optional organization ID.com.google.protobuf.ByteString
Optional organization ID.boolean
hasLimit()
Optional max number of machines to return; default to 100 if unsetsetFragmentIds
(int index, String value) Optional list of fragment IDs to filter machines that use any of these fragmentssetLimit
(int value) Optional max number of machines to return; default to 100 if unsetsetLocationIds
(int index, String value) Optional list of location IDs to filter machines that are in any of these locations.setOrganizationId
(String value) Optional organization ID.setOrganizationIdBytes
(com.google.protobuf.ByteString value) Optional organization ID.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
-
getOrganizationId
Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public AppOuterClass.ListMachineSummariesRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getFragmentIdsList
Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Specified by:
getFragmentIdsList
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- A list containing the fragmentIds.
-
getFragmentIdsCount
public int getFragmentIdsCount()Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Specified by:
getFragmentIdsCount
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- The count of fragmentIds.
-
getFragmentIds
Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Specified by:
getFragmentIds
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The fragmentIds at the given index.
-
getFragmentIdsBytes
public com.google.protobuf.ByteString getFragmentIdsBytes(int index) Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Specified by:
getFragmentIdsBytes
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the fragmentIds at the given index.
-
setFragmentIds
Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Parameters:
index
- The index to set the value at.value
- The fragmentIds to set.- Returns:
- This builder for chaining.
-
addFragmentIds
Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Parameters:
value
- The fragmentIds to add.- Returns:
- This builder for chaining.
-
addAllFragmentIds
Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Parameters:
values
- The fragmentIds to add.- Returns:
- This builder for chaining.
-
clearFragmentIds
Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Returns:
- This builder for chaining.
-
addFragmentIdsBytes
public AppOuterClass.ListMachineSummariesRequest.Builder addFragmentIdsBytes(com.google.protobuf.ByteString value) Optional list of fragment IDs to filter machines that use any of these fragments
repeated string fragment_ids = 2 [json_name = "fragmentIds"];
- Parameters:
value
- The bytes of the fragmentIds to add.- Returns:
- This builder for chaining.
-
getLocationIdsList
Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Specified by:
getLocationIdsList
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- A list containing the locationIds.
-
getLocationIdsCount
public int getLocationIdsCount()Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Specified by:
getLocationIdsCount
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- The count of locationIds.
-
getLocationIds
Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Specified by:
getLocationIds
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- 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) Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Specified by:
getLocationIdsBytes
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the locationIds at the given index.
-
setLocationIds
Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Parameters:
index
- The index to set the value at.value
- The locationIds to set.- Returns:
- This builder for chaining.
-
addLocationIds
Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Parameters:
value
- The locationIds to add.- Returns:
- This builder for chaining.
-
addAllLocationIds
Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Parameters:
values
- The locationIds to add.- Returns:
- This builder for chaining.
-
clearLocationIds
Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Returns:
- This builder for chaining.
-
addLocationIdsBytes
public AppOuterClass.ListMachineSummariesRequest.Builder addLocationIdsBytes(com.google.protobuf.ByteString value) Optional list of location IDs to filter machines that are in any of these locations.
repeated string location_ids = 3 [json_name = "locationIds"];
- Parameters:
value
- The bytes of the locationIds to add.- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()Optional max number of machines to return; default to 100 if unset
optional int32 limit = 4 [json_name = "limit"];
- Specified by:
hasLimit
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- Whether the limit field is set.
-
getLimit
public int getLimit()Optional max number of machines to return; default to 100 if unset
optional int32 limit = 4 [json_name = "limit"];
- Specified by:
getLimit
in interfaceAppOuterClass.ListMachineSummariesRequestOrBuilder
- Returns:
- The limit.
-
setLimit
Optional max number of machines to return; default to 100 if unset
optional int32 limit = 4 [json_name = "limit"];
- Parameters:
value
- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
Optional max number of machines to return; default to 100 if unset
optional int32 limit = 4 [json_name = "limit"];
- Returns:
- This builder for chaining.
-