Package viam.app.v1

Class App.ResolvedFragment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ResolvedFragment,App.ResolvedFragment.Builder>
viam.app.v1.App.ResolvedFragment.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.ResolvedFragmentOrBuilder
Enclosing class:
App.ResolvedFragment

public static final class App.ResolvedFragment.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.ResolvedFragment,App.ResolvedFragment.Builder> implements App.ResolvedFragmentOrBuilder
Protobuf type viam.app.v1.ResolvedFragment
  • Method Details

    • getFragmentId

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

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

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

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

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

      public boolean hasResolvedConfig()
      .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
      Specified by:
      hasResolvedConfig in interface App.ResolvedFragmentOrBuilder
      Returns:
      Whether the resolvedConfig field is set.
    • getResolvedConfig

      public com.google.protobuf.Struct getResolvedConfig()
      .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
      Specified by:
      getResolvedConfig in interface App.ResolvedFragmentOrBuilder
      Returns:
      The resolvedConfig.
    • setResolvedConfig

      public App.ResolvedFragment.Builder setResolvedConfig(com.google.protobuf.Struct value)
      .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
    • setResolvedConfig

      public App.ResolvedFragment.Builder setResolvedConfig(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
    • mergeResolvedConfig

      public App.ResolvedFragment.Builder mergeResolvedConfig(com.google.protobuf.Struct value)
      .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
    • clearResolvedConfig

      public App.ResolvedFragment.Builder clearResolvedConfig()
      .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
    • hasError

      public boolean hasError()
      .viam.app.v1.FragmentError error = 3 [json_name = "error"];
      Specified by:
      hasError in interface App.ResolvedFragmentOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public App.FragmentError getError()
      .viam.app.v1.FragmentError error = 3 [json_name = "error"];
      Specified by:
      getError in interface App.ResolvedFragmentOrBuilder
      Returns:
      The error.
    • setError

      .viam.app.v1.FragmentError error = 3 [json_name = "error"];
    • setError

      public App.ResolvedFragment.Builder setError(App.FragmentError.Builder builderForValue)
      .viam.app.v1.FragmentError error = 3 [json_name = "error"];
    • mergeError

      .viam.app.v1.FragmentError error = 3 [json_name = "error"];
    • clearError

      public App.ResolvedFragment.Builder clearError()
      .viam.app.v1.FragmentError error = 3 [json_name = "error"];