Package viam.app.v1
Class AppOuterClass.AdditionalFragment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.AdditionalFragment,AppOuterClass.AdditionalFragment.Builder>
viam.app.v1.AppOuterClass.AdditionalFragment.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.AdditionalFragmentOrBuilder
- Enclosing class:
- AppOuterClass.AdditionalFragment
public static final class AppOuterClass.AdditionalFragment.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.AdditionalFragment,AppOuterClass.AdditionalFragment.Builder>
implements AppOuterClass.AdditionalFragmentOrBuilder
Protobuf type
viam.app.v1.AdditionalFragment
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring fragment_id = 1 [json_name = "fragmentId"];
optional string version = 2 [json_name = "version"];
string fragment_id = 1 [json_name = "fragmentId"];
com.google.protobuf.ByteString
string fragment_id = 1 [json_name = "fragmentId"];
optional string version = 2 [json_name = "version"];
com.google.protobuf.ByteString
optional string version = 2 [json_name = "version"];
boolean
optional string version = 2 [json_name = "version"];
setFragmentId
(String value) string fragment_id = 1 [json_name = "fragmentId"];
setFragmentIdBytes
(com.google.protobuf.ByteString value) string fragment_id = 1 [json_name = "fragmentId"];
setVersion
(String value) optional string version = 2 [json_name = "version"];
setVersionBytes
(com.google.protobuf.ByteString value) optional string version = 2 [json_name = "version"];
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.AdditionalFragmentOrBuilder
- Returns:
- The fragmentId.
-
getFragmentIdBytes
public com.google.protobuf.ByteString getFragmentIdBytes()string fragment_id = 1 [json_name = "fragmentId"];
- Specified by:
getFragmentIdBytes
in interfaceAppOuterClass.AdditionalFragmentOrBuilder
- 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.AdditionalFragment.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.
-
hasVersion
public boolean hasVersion()optional string version = 2 [json_name = "version"];
- Specified by:
hasVersion
in interfaceAppOuterClass.AdditionalFragmentOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
optional string version = 2 [json_name = "version"];
- Specified by:
getVersion
in interfaceAppOuterClass.AdditionalFragmentOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()optional string version = 2 [json_name = "version"];
- Specified by:
getVersionBytes
in interfaceAppOuterClass.AdditionalFragmentOrBuilder
- Returns:
- The bytes for version.
-
setVersion
optional string version = 2 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
optional string version = 2 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
public AppOuterClass.AdditionalFragment.Builder setVersionBytes(com.google.protobuf.ByteString value) optional string version = 2 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-