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
  • Method Details

    • getErrorTypeValue

      public int getErrorTypeValue()
      .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
      Specified by:
      getErrorTypeValue in interface App.FragmentErrorOrBuilder
      Returns:
      The enum numeric value on the wire for errorType.
    • setErrorTypeValue

      public App.FragmentError.Builder setErrorTypeValue(int value)
      .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
      Parameters:
      value - The errorType to set.
      Returns:
      This builder for chaining.
    • getErrorType

      public App.FragmentErrorType getErrorType()
      .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
      Specified by:
      getErrorType in interface App.FragmentErrorOrBuilder
      Returns:
      The errorType.
    • setErrorType

      public App.FragmentError.Builder setErrorType(App.FragmentErrorType value)
      .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

      public App.FragmentError.Builder clearErrorType()
      .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"];
      Returns:
      This builder for chaining.
    • getFragmentId

      public String getFragmentId()
      string fragment_id = 2 [json_name = "fragmentId"];
      Specified by:
      getFragmentId in interface App.FragmentErrorOrBuilder
      Returns:
      The fragmentId.
    • getFragmentIdBytes

      public com.google.protobuf.ByteString getFragmentIdBytes()
      string fragment_id = 2 [json_name = "fragmentId"];
      Specified by:
      getFragmentIdBytes in interface App.FragmentErrorOrBuilder
      Returns:
      The bytes for fragmentId.
    • setFragmentId

      public App.FragmentError.Builder setFragmentId(String value)
      string fragment_id = 2 [json_name = "fragmentId"];
      Parameters:
      value - The fragmentId to set.
      Returns:
      This builder for chaining.
    • clearFragmentId

      public App.FragmentError.Builder clearFragmentId()
      string fragment_id = 2 [json_name = "fragmentId"];
      Returns:
      This builder for chaining.
    • setFragmentIdBytes

      public App.FragmentError.Builder setFragmentIdBytes(com.google.protobuf.ByteString value)
      string fragment_id = 2 [json_name = "fragmentId"];
      Parameters:
      value - The bytes for fragmentId to set.
      Returns:
      This builder for chaining.
    • getDetail

      public String getDetail()
      string detail = 3 [json_name = "detail"];
      Specified by:
      getDetail in interface App.FragmentErrorOrBuilder
      Returns:
      The detail.
    • getDetailBytes

      public com.google.protobuf.ByteString getDetailBytes()
      string detail = 3 [json_name = "detail"];
      Specified by:
      getDetailBytes in interface App.FragmentErrorOrBuilder
      Returns:
      The bytes for detail.
    • setDetail

      public App.FragmentError.Builder setDetail(String value)
      string detail = 3 [json_name = "detail"];
      Parameters:
      value - The detail to set.
      Returns:
      This builder for chaining.
    • clearDetail

      public App.FragmentError.Builder clearDetail()
      string detail = 3 [json_name = "detail"];
      Returns:
      This builder for chaining.
    • setDetailBytes

      public App.FragmentError.Builder setDetailBytes(com.google.protobuf.ByteString value)
      string detail = 3 [json_name = "detail"];
      Parameters:
      value - The bytes for detail to set.
      Returns:
      This builder for chaining.