Package com.google.protobuf
Class SingleFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
java.lang.Object
com.google.protobuf.SingleFieldBuilderV3<MType,BType,IType>
- All Implemented Interfaces:
AbstractMessage.BuilderParent
@Deprecated
public class SingleFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
extends Object
implements AbstractMessage.BuilderParent
Deprecated.
This class is deprecated, and slated for removal in the next breaking change. Users
should update gencode to >= 4.26.x which replaces SingleFieldBuilderV3 with
SingleFieldBuilder.
Stub for SingleFieldBuilderV3 matching SingleFieldBuilder for compatibility with older gencode.
This cannot wrap SingleFieldBuilder directly due to SingleFieldBuilder having more restrictive
extends GeneratedMessage for MType and BType.
-
Constructor Summary
ConstructorsConstructorDescriptionSingleFieldBuilderV3
(MType message, AbstractMessage.BuilderParent parent, boolean isClean) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.clear()
Deprecated.void
dispose()
Deprecated.Deprecated.Deprecated.Deprecated.void
Deprecated.Deprecated.setMessage
(MType message) Deprecated.
-
Constructor Details
-
SingleFieldBuilderV3
@Deprecated public SingleFieldBuilderV3(MType message, AbstractMessage.BuilderParent parent, boolean isClean) Deprecated.
-
-
Method Details
-
dispose
Deprecated. -
getMessage
Deprecated. -
build
Deprecated. -
getBuilder
Deprecated. -
getMessageOrBuilder
Deprecated. -
setMessage
@Deprecated @CanIgnoreReturnValue public SingleFieldBuilderV3<MType,BType, setMessageIType> (MType message) Deprecated. -
mergeFrom
@Deprecated @CanIgnoreReturnValue public SingleFieldBuilderV3<MType,BType, mergeFromIType> (MType value) Deprecated. -
clear
Deprecated. -
markDirty
Deprecated.Description copied from interface:AbstractMessage.BuilderParent
A builder becomes dirty whenever a field is modified -- including fields in nested builders -- and becomes clean when build() is called. Thus, when a builder becomes dirty, all its parents become dirty as well, and when it becomes clean, all its children become clean. The dirtiness state is used to invalidate certain cached values.To this end, a builder calls markDirty() on its parent whenever it transitions from clean to dirty. The parent must propagate this call to its own parent, unless it was already dirty, in which case the grandparent must necessarily already be dirty as well. The parent can only transition back to "clean" after calling build() on all children.
- Specified by:
markDirty
in interfaceAbstractMessage.BuilderParent
-