Package viam.app.v1
Class App.ListMachineFragmentsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ListMachineFragmentsRequest,App.ListMachineFragmentsRequest.Builder>
viam.app.v1.App.ListMachineFragmentsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ListMachineFragmentsRequestOrBuilder
- Enclosing class:
- App.ListMachineFragmentsRequest
public static final class App.ListMachineFragmentsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.ListMachineFragmentsRequest,App.ListMachineFragmentsRequest.Builder>
implements App.ListMachineFragmentsRequestOrBuilder
Protobuf type
viam.app.v1.ListMachineFragmentsRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalFragmentIds
(String value) additional fragment_ids to append to the response.addAdditionalFragmentIdsBytes
(com.google.protobuf.ByteString value) additional fragment_ids to append to the response.addAllAdditionalFragmentIds
(Iterable<String> values) additional fragment_ids to append to the response.additional fragment_ids to append to the response.the machine_id used to filter fragments defined in a machine's parts.getAdditionalFragmentIds
(int index) additional fragment_ids to append to the response.com.google.protobuf.ByteString
getAdditionalFragmentIdsBytes
(int index) additional fragment_ids to append to the response.int
additional fragment_ids to append to the response.additional fragment_ids to append to the response.the machine_id used to filter fragments defined in a machine's parts.com.google.protobuf.ByteString
the machine_id used to filter fragments defined in a machine's parts.setAdditionalFragmentIds
(int index, String value) additional fragment_ids to append to the response.setMachineId
(String value) the machine_id used to filter fragments defined in a machine's parts.setMachineIdBytes
(com.google.protobuf.ByteString value) the machine_id used to filter fragments defined in a machine's parts.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
-
getMachineId
the machine_id used to filter fragments defined in a machine's parts. Also returns any fragments nested within the fragments defined in parts.
string machine_id = 1 [json_name = "machineId"];
- Specified by:
getMachineId
in interfaceApp.ListMachineFragmentsRequestOrBuilder
- Returns:
- The machineId.
-
getMachineIdBytes
public com.google.protobuf.ByteString getMachineIdBytes()the machine_id used to filter fragments defined in a machine's parts. Also returns any fragments nested within the fragments defined in parts.
string machine_id = 1 [json_name = "machineId"];
- Specified by:
getMachineIdBytes
in interfaceApp.ListMachineFragmentsRequestOrBuilder
- Returns:
- The bytes for machineId.
-
setMachineId
the machine_id used to filter fragments defined in a machine's parts. Also returns any fragments nested within the fragments defined in parts.
string machine_id = 1 [json_name = "machineId"];
- Parameters:
value
- The machineId to set.- Returns:
- This builder for chaining.
-
clearMachineId
the machine_id used to filter fragments defined in a machine's parts. Also returns any fragments nested within the fragments defined in parts.
string machine_id = 1 [json_name = "machineId"];
- Returns:
- This builder for chaining.
-
setMachineIdBytes
public App.ListMachineFragmentsRequest.Builder setMachineIdBytes(com.google.protobuf.ByteString value) the machine_id used to filter fragments defined in a machine's parts. Also returns any fragments nested within the fragments defined in parts.
string machine_id = 1 [json_name = "machineId"];
- Parameters:
value
- The bytes for machineId to set.- Returns:
- This builder for chaining.
-
getAdditionalFragmentIdsList
additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Specified by:
getAdditionalFragmentIdsList
in interfaceApp.ListMachineFragmentsRequestOrBuilder
- Returns:
- A list containing the additionalFragmentIds.
-
getAdditionalFragmentIdsCount
public int getAdditionalFragmentIdsCount()additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Specified by:
getAdditionalFragmentIdsCount
in interfaceApp.ListMachineFragmentsRequestOrBuilder
- Returns:
- The count of additionalFragmentIds.
-
getAdditionalFragmentIds
additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Specified by:
getAdditionalFragmentIds
in interfaceApp.ListMachineFragmentsRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The additionalFragmentIds at the given index.
-
getAdditionalFragmentIdsBytes
public com.google.protobuf.ByteString getAdditionalFragmentIdsBytes(int index) additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Specified by:
getAdditionalFragmentIdsBytes
in interfaceApp.ListMachineFragmentsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the additionalFragmentIds at the given index.
-
setAdditionalFragmentIds
additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Parameters:
index
- The index to set the value at.value
- The additionalFragmentIds to set.- Returns:
- This builder for chaining.
-
addAdditionalFragmentIds
additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Parameters:
value
- The additionalFragmentIds to add.- Returns:
- This builder for chaining.
-
addAllAdditionalFragmentIds
additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Parameters:
values
- The additionalFragmentIds to add.- Returns:
- This builder for chaining.
-
clearAdditionalFragmentIds
additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Returns:
- This builder for chaining.
-
addAdditionalFragmentIdsBytes
public App.ListMachineFragmentsRequest.Builder addAdditionalFragmentIdsBytes(com.google.protobuf.ByteString value) additional fragment_ids to append to the response. useful when needing to view fragments that will be provisionally added to the machine alongside existing fragments.
repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
- Parameters:
value
- The bytes of the additionalFragmentIds to add.- Returns:
- This builder for chaining.
-