Class ConfigChange
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
System.Object
ConfigChange
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class ConfigChange : IMessage<ConfigChange>, IMessage, IEquatable<ConfigChange>, IDeepCloneable<ConfigChange>
Constructors
ConfigChange()
Declaration
ConfigChange(ConfigChange)
Declaration
public ConfigChange(ConfigChange other)
Parameters
Fields
AdvicesFieldNumber
Field number for the "advices" field.
Declaration
public const int AdvicesFieldNumber = 5
Field Value
Type |
Description |
System.Int32 |
|
ChangeTypeFieldNumber
Field number for the "change_type" field.
Declaration
public const int ChangeTypeFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
ElementFieldNumber
Field number for the "element" field.
Declaration
public const int ElementFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
NewValueFieldNumber
Field number for the "new_value" field.
Declaration
public const int NewValueFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
OldValueFieldNumber
Field number for the "old_value" field.
Declaration
public const int OldValueFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
Advices
Collection of advice provided for this change, useful for determining the
possible impact of this change.
Declaration
public RepeatedField<Advice> Advices { get; }
Property Value
ChangeType
The type for this change, either ADDED, REMOVED, or MODIFIED.
Declaration
public ChangeType ChangeType { get; set; }
Property Value
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Element
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:
- visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
- quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
- logging.producer_destinations[0]
Declaration
public string Element { get; set; }
Property Value
Type |
Description |
System.String |
|
NewValue
Value of the changed object in the new Service configuration,
in JSON format. This field will not be populated if ChangeType == REMOVED.
Declaration
public string NewValue { get; set; }
Property Value
Type |
Description |
System.String |
|
OldValue
Value of the changed object in the old Service configuration,
in JSON format. This field will not be populated if ChangeType == ADDED.
Declaration
public string OldValue { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static MessageParser<ConfigChange> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public ConfigChange Clone()
Returns
Implements
Equals(ConfigChange)
Declaration
public bool Equals(ConfigChange other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(ConfigChange)
Declaration
public void MergeFrom(ConfigChange other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements