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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.v1.FragmentError error = 3 [json_name = "error"];
string fragment_id = 1 [json_name = "fragmentId"];
.google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
getError()
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
string fragment_id = 1 [json_name = "fragmentId"];
com.google.protobuf.ByteString
string fragment_id = 1 [json_name = "fragmentId"];
com.google.protobuf.Struct
.google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
boolean
hasError()
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
boolean
.google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
mergeError
(App.FragmentError value) .viam.app.v1.FragmentError error = 3 [json_name = "error"];
mergeResolvedConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
setError
(App.FragmentError value) .viam.app.v1.FragmentError error = 3 [json_name = "error"];
setError
(App.FragmentError.Builder builderForValue) .viam.app.v1.FragmentError error = 3 [json_name = "error"];
setFragmentId
(String value) string fragment_id = 1 [json_name = "fragmentId"];
setFragmentIdBytes
(com.google.protobuf.ByteString value) string fragment_id = 1 [json_name = "fragmentId"];
setResolvedConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
setResolvedConfig
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
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
-
getFragmentId
string fragment_id = 1 [json_name = "fragmentId"];
- Specified by:
getFragmentId
in interfaceApp.ResolvedFragmentOrBuilder
- Returns:
- The fragmentId.
-
getFragmentIdBytes
public com.google.protobuf.ByteString getFragmentIdBytes()string fragment_id = 1 [json_name = "fragmentId"];
- Specified by:
getFragmentIdBytes
in interfaceApp.ResolvedFragmentOrBuilder
- Returns:
- The bytes for fragmentId.
-
setFragmentId
string fragment_id = 1 [json_name = "fragmentId"];
- Parameters:
value
- The fragmentId to set.- Returns:
- This builder for chaining.
-
clearFragmentId
string fragment_id = 1 [json_name = "fragmentId"];
- Returns:
- This builder for chaining.
-
setFragmentIdBytes
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 interfaceApp.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 interfaceApp.ResolvedFragmentOrBuilder
- Returns:
- The resolvedConfig.
-
setResolvedConfig
.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
.google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
-
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 interfaceApp.ResolvedFragmentOrBuilder
- Returns:
- Whether the error field is set.
-
getError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
- Specified by:
getError
in interfaceApp.ResolvedFragmentOrBuilder
- Returns:
- The error.
-
setError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
-
setError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
-
mergeError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
-
clearError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
-