Package viam.app.v1
Class AppOuterClass.ResolvedFragment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ResolvedFragment,AppOuterClass.ResolvedFragment.Builder>
viam.app.v1.AppOuterClass.ResolvedFragment.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.ResolvedFragmentOrBuilder
- Enclosing class:
- AppOuterClass.ResolvedFragment
public static final class AppOuterClass.ResolvedFragment.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ResolvedFragment,AppOuterClass.ResolvedFragment.Builder>
implements AppOuterClass.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"];
string revision = 4 [json_name = "revision"];
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"];
string revision = 4 [json_name = "revision"];
com.google.protobuf.ByteString
string revision = 4 [json_name = "revision"];
boolean
hasError()
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
boolean
.google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
mergeResolvedConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
setError
(AppOuterClass.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"];
setRevision
(String value) string revision = 4 [json_name = "revision"];
setRevisionBytes
(com.google.protobuf.ByteString value) string revision = 4 [json_name = "revision"];
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 interfaceAppOuterClass.ResolvedFragmentOrBuilder
- Returns:
- The fragmentId.
-
getFragmentIdBytes
public com.google.protobuf.ByteString getFragmentIdBytes()string fragment_id = 1 [json_name = "fragmentId"];
- Specified by:
getFragmentIdBytes
in interfaceAppOuterClass.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
public AppOuterClass.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 interfaceAppOuterClass.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 interfaceAppOuterClass.ResolvedFragmentOrBuilder
- Returns:
- The resolvedConfig.
-
setResolvedConfig
.google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"];
-
setResolvedConfig
public AppOuterClass.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 interfaceAppOuterClass.ResolvedFragmentOrBuilder
- Returns:
- Whether the error field is set.
-
getError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
- Specified by:
getError
in interfaceAppOuterClass.ResolvedFragmentOrBuilder
- Returns:
- The error.
-
setError
.viam.app.v1.FragmentError error = 3 [json_name = "error"];
-
setError
public AppOuterClass.ResolvedFragment.Builder setError(AppOuterClass.FragmentError.Builder builderForValue) .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"];
-
getRevision
string revision = 4 [json_name = "revision"];
- Specified by:
getRevision
in interfaceAppOuterClass.ResolvedFragmentOrBuilder
- Returns:
- The revision.
-
getRevisionBytes
public com.google.protobuf.ByteString getRevisionBytes()string revision = 4 [json_name = "revision"];
- Specified by:
getRevisionBytes
in interfaceAppOuterClass.ResolvedFragmentOrBuilder
- Returns:
- The bytes for revision.
-
setRevision
string revision = 4 [json_name = "revision"];
- Parameters:
value
- The revision to set.- Returns:
- This builder for chaining.
-
clearRevision
string revision = 4 [json_name = "revision"];
- Returns:
- This builder for chaining.
-
setRevisionBytes
public AppOuterClass.ResolvedFragment.Builder setRevisionBytes(com.google.protobuf.ByteString value) string revision = 4 [json_name = "revision"];
- Parameters:
value
- The bytes for revision to set.- Returns:
- This builder for chaining.
-