ConfigChange class final
Output generated from semantically comparing two versions of a service configuration.
Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.
- Inheritance
-
- Object
- ProtoMessage
- ConfigChange
Constructors
-
ConfigChange({String element = '', String oldValue = '', String newValue = '', ChangeType changeType = ChangeType.$default, List<
Advice> advices = const []}) -
ConfigChange.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
advices
→ List<
Advice> -
Collection of advice provided for this change, useful for determining the
possible impact of this change.
final
- changeType → ChangeType
-
The type for this change, either ADDED, REMOVED, or MODIFIED.
final
- element → String
-
Object hierarchy path to the change, with levels separated by a '.'
character. For repeated fields, an applicable unique identifier field is
used for the index (usually selector, name, or id). For maps, the term
'key' is used. If the field has no unique identifier, the numeric index
is used.
Examples:
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- newValue → String
-
Value of the changed object in the new Service configuration,
in JSON format. This field will not be populated if ChangeType == REMOVED.
final
- oldValue → String
-
Value of the changed object in the old Service configuration,
in JSON format. This field will not be populated if ChangeType == ADDED.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String