Builder

public final class Builder extends GeneratedMessageV3.Builder<BuilderType> implements ValidatingBuilder<M>, ValueMismatchOrBuilder
Attributes for a command rejection because an entity contains a value different than
expected in the command which rejects the value change.
Protobuf type spine.change.ValueMismatch

Inherited properties

Link copied to clipboard
protected boolean isClean

Functions

Link copied to clipboard
public ValueMismatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public ValueMismatch.Builder clearField(Descriptors.FieldDescriptor field)
Link copied to clipboard
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
public ValueMismatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Link copied to clipboard
The version of the entity which generated the rejection.
int32 version = 4;
Link copied to clipboard
Link copied to clipboard
public Any getActual()
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
public Any.Builder getActualBuilder()
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
public AnyOrBuilder getActualOrBuilder()
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
public final static Descriptors.Descriptor getDescriptor()
Link copied to clipboard
public Descriptors.Descriptor getDescriptorForType()
Link copied to clipboard
public Any getExpected()
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public Any.Builder getExpectedBuilder()
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public AnyOrBuilder getExpectedOrBuilder()
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public Any getNewValue()
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
public Any.Builder getNewValueBuilder()
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
public AnyOrBuilder getNewValueOrBuilder()
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
public int getVersion()
The version of the entity which generated the rejection.
int32 version = 4;
Link copied to clipboard
public boolean hasActual()
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
public boolean hasExpected()
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public boolean hasNewValue()
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Link copied to clipboard
public final boolean isInitialized()
Link copied to clipboard
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public ValueMismatch.Builder mergeFrom(Message other)
public ValueMismatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
public final ValueMismatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Link copied to clipboard
public ValueMismatch.Builder setActual(Any.Builder builderForValue)
public ValueMismatch.Builder setActual(Any value)
The value discovered in the field (instead of the expected).
This field is not populated if the entity does not have the attribute set.
.google.protobuf.Any actual = 2;
Link copied to clipboard
public ValueMismatch.Builder setExpected(Any.Builder builderForValue)
The value which a command expected in an entity field.
This field is not populated if the command expects to initialize the attribute.
.google.protobuf.Any expected = 1;
Link copied to clipboard
public ValueMismatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Link copied to clipboard
public ValueMismatch.Builder setNewValue(Any.Builder builderForValue)
The value which a command could have set if expected value was discovered in the entity.
.google.protobuf.Any new_value = 3;
Link copied to clipboard
public ValueMismatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Link copied to clipboard
public final ValueMismatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Link copied to clipboard
public ValueMismatch.Builder setVersion(int value)
The version of the entity which generated the rejection.
int32 version = 4;

Inherited functions

Link copied to clipboard
protected static void addAll<T>(Iterable<T> values, Collection<? extends Object> list)
Link copied to clipboard
public abstract MessageLite build()
Link copied to clipboard
public abstract MessageLite buildPartial()
Link copied to clipboard
Link copied to clipboard
public Map<Descriptors.FieldDescriptor, Object> getAllFields()
Link copied to clipboard
public abstract MessageLite getDefaultInstanceForType()
Link copied to clipboard
public Object getField(Descriptors.FieldDescriptor field)
Link copied to clipboard
public Message.Builder getFieldBuilder(Descriptors.FieldDescriptor field)
Link copied to clipboard
public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof)
Link copied to clipboard
protected GeneratedMessageV3.BuilderParent getParentForChildren()
Link copied to clipboard
public Object getRepeatedField(Descriptors.FieldDescriptor field, int index)
Link copied to clipboard
public Message.Builder getRepeatedFieldBuilder(Descriptors.FieldDescriptor field, int index)
Link copied to clipboard
public int getRepeatedFieldCount(Descriptors.FieldDescriptor field)
Link copied to clipboard
public final UnknownFieldSet getUnknownFields()
Link copied to clipboard
protected UnknownFieldSet.Builder getUnknownFieldSetBuilder()
Link copied to clipboard
public boolean hasField(Descriptors.FieldDescriptor field)
Link copied to clipboard
public boolean hasOneof(Descriptors.OneofDescriptor oneof)
Link copied to clipboard
protected MapField internalGetMapField(int fieldNumber)
Link copied to clipboard
protected MapField internalGetMutableMapField(int fieldNumber)
Link copied to clipboard
protected BuilderType internalMergeFrom(AbstractMessageLite other)
Link copied to clipboard
protected boolean isClean()
Link copied to clipboard
protected void markClean()
Link copied to clipboard
public boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
protected final void mergeUnknownLengthDelimitedField(int number, ByteString bytes)
Link copied to clipboard
protected final void mergeUnknownVarintField(int number, int value)
Link copied to clipboard
public Message.Builder newBuilderForField(Descriptors.FieldDescriptor field)
Link copied to clipboard
protected static UninitializedMessageException newUninitializedMessageException(Message message)
Link copied to clipboard
protected void onBuilt()
Link copied to clipboard
protected final void onChanged()
Link copied to clipboard
protected boolean parseUnknownField(CodedInputStream input, ExtensionRegistryLite extensionRegistry, int tag)
Link copied to clipboard
protected void setUnknownFieldSetBuilder(UnknownFieldSet.Builder builder)
Link copied to clipboard
protected BuilderType setUnknownFieldsProto3(UnknownFieldSet unknownFields)
Link copied to clipboard
public String toString()
Link copied to clipboard
public @Validated() M vBuild()