Changes

public final class Changes

Utility class for working with field changes.

Functions

Link copied to clipboard
public static BooleanChange of(boolean previousValue, boolean newValue)
Creates BooleanChange object for the passed previous and new field values.
public static BytesChange of(ByteString previousValue, ByteString newValue)
Creates BytesChange object for the passed previous and new field values.
public static TimestampChange of(Timestamp previousValue, Timestamp newValue)
Creates TimestampChange object for the passed previous and new field values.
public static DoubleChange of(double previousValue, double newValue)
Creates DoubleChange object for the passed previous and new field values.
public static FloatChange of(float previousValue, float newValue)
Creates FloatChange object for the passed previous and new field values.
public static StringChange of(String previousValue, String newValue)
Creates StringChange object for the passed previous and new field values.
Link copied to clipboard
public static Fixed32Change ofFixed32(int previousValue, int newValue)
Creates Fixed32Change object for the passed previous and new field values.
Link copied to clipboard
public static Fixed64Change ofFixed64(long previousValue, long newValue)
Creates Fixed64Change object for the passed previous and new field values.
Link copied to clipboard
public static Int32Change ofInt32(int previousValue, int newValue)
Creates Int32Change object for the passed previous and new field values.
Link copied to clipboard
public static Int64Change ofInt64(long previousValue, long newValue)
Creates Int64Change object for the passed previous and new field values.
Link copied to clipboard
public static Sfixed32Change ofSfixed32(int previousValue, int newValue)
Creates Sfixed32Change object for the passed previous and new field values.
Link copied to clipboard
public static Sfixed64Change ofSfixed64(long previousValue, long newValue)
Creates Sfixed64Change object for the passed previous and new field values.
Link copied to clipboard
public static SInt32Change ofSInt32(int previousValue, int newValue)
Creates SInt32Change object for the passed previous and new field values.
Link copied to clipboard
public static SInt64Change ofSInt64(long previousValue, long newValue)
Creates SInt64Change object for the passed previous and new field values.
Link copied to clipboard
public static UInt32Change ofUInt32(int previousValue, int newValue)
Creates UInt32Change object for the passed previous and new field values.
Link copied to clipboard
public static UInt64Change ofUInt64(long previousValue, long newValue)
Creates UInt64Change object for the passed previous and new field values.