Package com.viam.robot.v1
Class Robot.UploadDataFromPathResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Robot.UploadDataFromPathResponse,Robot.UploadDataFromPathResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.UploadDataFromPathResponse,Robot.UploadDataFromPathResponse.Builder>
com.viam.robot.v1.Robot.UploadDataFromPathResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Robot.UploadDataFromPathResponseOrBuilder,Cloneable
- Enclosing class:
Robot.UploadDataFromPathResponse
public static final class Robot.UploadDataFromPathResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.UploadDataFromPathResponse,Robot.UploadDataFromPathResponse.Builder>
implements Robot.UploadDataFromPathResponseOrBuilder
Protobuf type
viam.robot.v1.UploadDataFromPathResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionSuccessfully uploaded binary data ids.Successfully uploaded binary data ids.addIdsBytes(com.google.protobuf.ByteString value) Successfully uploaded binary data ids.Total bytes discovered in the directory.Total bytes successfully uploaded.Total number of files that failed to upload.Total number of files successfully uploaded.clearIds()Successfully uploaded binary data ids.longTotal bytes discovered in the directory.longTotal bytes successfully uploaded.longTotal number of files that failed to upload.longTotal number of files successfully uploaded.getIds(int index) Successfully uploaded binary data ids.com.google.protobuf.ByteStringgetIdsBytes(int index) Successfully uploaded binary data ids.intSuccessfully uploaded binary data ids.Successfully uploaded binary data ids.setBytesTotal(long value) Total bytes discovered in the directory.setBytesUploaded(long value) Total bytes successfully uploaded.setFilesFailed(long value) Total number of files that failed to upload.setFilesUploaded(long value) Total number of files successfully uploaded.Successfully uploaded binary data ids.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getFilesUploaded
public long getFilesUploaded()Total number of files successfully uploaded.
uint64 files_uploaded = 1 [json_name = "filesUploaded"];- Specified by:
getFilesUploadedin interfaceRobot.UploadDataFromPathResponseOrBuilder- Returns:
- The filesUploaded.
-
setFilesUploaded
Total number of files successfully uploaded.
uint64 files_uploaded = 1 [json_name = "filesUploaded"];- Parameters:
value- The filesUploaded to set.- Returns:
- This builder for chaining.
-
clearFilesUploaded
Total number of files successfully uploaded.
uint64 files_uploaded = 1 [json_name = "filesUploaded"];- Returns:
- This builder for chaining.
-
getFilesFailed
public long getFilesFailed()Total number of files that failed to upload.
uint64 files_failed = 2 [json_name = "filesFailed"];- Specified by:
getFilesFailedin interfaceRobot.UploadDataFromPathResponseOrBuilder- Returns:
- The filesFailed.
-
setFilesFailed
Total number of files that failed to upload.
uint64 files_failed = 2 [json_name = "filesFailed"];- Parameters:
value- The filesFailed to set.- Returns:
- This builder for chaining.
-
clearFilesFailed
Total number of files that failed to upload.
uint64 files_failed = 2 [json_name = "filesFailed"];- Returns:
- This builder for chaining.
-
getBytesUploaded
public long getBytesUploaded()Total bytes successfully uploaded.
uint64 bytes_uploaded = 3 [json_name = "bytesUploaded"];- Specified by:
getBytesUploadedin interfaceRobot.UploadDataFromPathResponseOrBuilder- Returns:
- The bytesUploaded.
-
setBytesUploaded
Total bytes successfully uploaded.
uint64 bytes_uploaded = 3 [json_name = "bytesUploaded"];- Parameters:
value- The bytesUploaded to set.- Returns:
- This builder for chaining.
-
clearBytesUploaded
Total bytes successfully uploaded.
uint64 bytes_uploaded = 3 [json_name = "bytesUploaded"];- Returns:
- This builder for chaining.
-
getBytesTotal
public long getBytesTotal()Total bytes discovered in the directory.
uint64 bytes_total = 4 [json_name = "bytesTotal"];- Specified by:
getBytesTotalin interfaceRobot.UploadDataFromPathResponseOrBuilder- Returns:
- The bytesTotal.
-
setBytesTotal
Total bytes discovered in the directory.
uint64 bytes_total = 4 [json_name = "bytesTotal"];- Parameters:
value- The bytesTotal to set.- Returns:
- This builder for chaining.
-
clearBytesTotal
Total bytes discovered in the directory.
uint64 bytes_total = 4 [json_name = "bytesTotal"];- Returns:
- This builder for chaining.
-
getIdsList
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Specified by:
getIdsListin interfaceRobot.UploadDataFromPathResponseOrBuilder- Returns:
- A list containing the ids.
-
getIdsCount
public int getIdsCount()Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Specified by:
getIdsCountin interfaceRobot.UploadDataFromPathResponseOrBuilder- Returns:
- The count of ids.
-
getIds
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Specified by:
getIdsin interfaceRobot.UploadDataFromPathResponseOrBuilder- 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) Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Specified by:
getIdsBytesin interfaceRobot.UploadDataFromPathResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ids at the given index.
-
setIds
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Parameters:
index- The index to set the value at.value- The ids to set.- Returns:
- This builder for chaining.
-
addIds
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Parameters:
value- The ids to add.- Returns:
- This builder for chaining.
-
addAllIds
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Parameters:
values- The ids to add.- Returns:
- This builder for chaining.
-
clearIds
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Returns:
- This builder for chaining.
-
addIdsBytes
Successfully uploaded binary data ids.
repeated string ids = 5 [json_name = "ids"];- Parameters:
value- The bytes of the ids to add.- Returns:
- This builder for chaining.
-