Package viam.app.v1
Class App.FragmentError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.FragmentError,App.FragmentError.Builder>
viam.app.v1.App.FragmentError.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.FragmentErrorOrBuilder
- Enclosing class:
- App.FragmentError
public static final class App.FragmentError.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.FragmentError,App.FragmentError.Builder>
implements App.FragmentErrorOrBuilder
Protobuf type
viam.app.v1.FragmentError
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring detail = 3 [json_name = "detail"];
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
string fragment_id = 2 [json_name = "fragmentId"];
string detail = 3 [json_name = "detail"];
com.google.protobuf.ByteString
string detail = 3 [json_name = "detail"];
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
int
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
string fragment_id = 2 [json_name = "fragmentId"];
com.google.protobuf.ByteString
string fragment_id = 2 [json_name = "fragmentId"];
string detail = 3 [json_name = "detail"];
setDetailBytes
(com.google.protobuf.ByteString value) string detail = 3 [json_name = "detail"];
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
setErrorTypeValue
(int value) .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
setFragmentId
(String value) string fragment_id = 2 [json_name = "fragmentId"];
setFragmentIdBytes
(com.google.protobuf.ByteString value) string fragment_id = 2 [json_name = "fragmentId"];
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
-
getErrorTypeValue
public int getErrorTypeValue().viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
- Specified by:
getErrorTypeValue
in interfaceApp.FragmentErrorOrBuilder
- Returns:
- The enum numeric value on the wire for errorType.
-
setErrorTypeValue
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
- Parameters:
value
- The errorType to set.- Returns:
- This builder for chaining.
-
getErrorType
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
- Specified by:
getErrorType
in interfaceApp.FragmentErrorOrBuilder
- Returns:
- The errorType.
-
setErrorType
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
- Parameters:
value
- The enum numeric value on the wire for errorType to set.- Returns:
- This builder for chaining.
-
clearErrorType
.viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
- Returns:
- This builder for chaining.
-
getFragmentId
string fragment_id = 2 [json_name = "fragmentId"];
- Specified by:
getFragmentId
in interfaceApp.FragmentErrorOrBuilder
- Returns:
- The fragmentId.
-
getFragmentIdBytes
public com.google.protobuf.ByteString getFragmentIdBytes()string fragment_id = 2 [json_name = "fragmentId"];
- Specified by:
getFragmentIdBytes
in interfaceApp.FragmentErrorOrBuilder
- Returns:
- The bytes for fragmentId.
-
setFragmentId
string fragment_id = 2 [json_name = "fragmentId"];
- Parameters:
value
- The fragmentId to set.- Returns:
- This builder for chaining.
-
clearFragmentId
string fragment_id = 2 [json_name = "fragmentId"];
- Returns:
- This builder for chaining.
-
setFragmentIdBytes
string fragment_id = 2 [json_name = "fragmentId"];
- Parameters:
value
- The bytes for fragmentId to set.- Returns:
- This builder for chaining.
-
getDetail
string detail = 3 [json_name = "detail"];
- Specified by:
getDetail
in interfaceApp.FragmentErrorOrBuilder
- Returns:
- The detail.
-
getDetailBytes
public com.google.protobuf.ByteString getDetailBytes()string detail = 3 [json_name = "detail"];
- Specified by:
getDetailBytes
in interfaceApp.FragmentErrorOrBuilder
- Returns:
- The bytes for detail.
-
setDetail
string detail = 3 [json_name = "detail"];
- Parameters:
value
- The detail to set.- Returns:
- This builder for chaining.
-
clearDetail
string detail = 3 [json_name = "detail"];
- Returns:
- This builder for chaining.
-
setDetailBytes
string detail = 3 [json_name = "detail"];
- Parameters:
value
- The bytes for detail to set.- Returns:
- This builder for chaining.
-