2.17.0 (latest) 2.15.0 2.10.0 2.2.0

    public sealed class ConfigChange : IMessage<ConfigChange>, IEquatable<ConfigChange>, IDeepCloneable<ConfigChange>, IBufferMessage, IMessage

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](https://learn.microsoft.com/dotnet/api/system.object) \> ConfigChange

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ConfigChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ConfigChange.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConfigChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ConfigChange.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ConfigChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ConfigChange.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

## Namespace

[Google.Api](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.md.txt)

## Assembly

Google.Api.CommonProtos.dll

## Constructors

### ConfigChange()

    public ConfigChange()

### ConfigChange(ConfigChange)

    public ConfigChange(ConfigChange other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConfigChange` |

## Fields

### AdvicesFieldNumber

    public const int AdvicesFieldNumber = 5

Field number for the "advices" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### ChangeTypeFieldNumber

    public const int ChangeTypeFieldNumber = 4

Field number for the "change_type" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### ElementFieldNumber

    public const int ElementFieldNumber = 1

Field number for the "element" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### NewValueFieldNumber

    public const int NewValueFieldNumber = 3

Field number for the "new_value" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### OldValueFieldNumber

    public const int OldValueFieldNumber = 2

Field number for the "old_value" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

## Properties

### Advices

    public RepeatedField<Advice> Advices { get; }

Collection of advice provided for this change, useful for determining the
possible impact of this change.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldAdvice` |   |

### ChangeType

    public ChangeType ChangeType { get; set; }

The type for this change, either ADDED, REMOVED, or MODIFIED.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ChangeType` |   |

### Descriptor

    public static MessageDescriptor Descriptor { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageDescriptor` |   |

### Element

    public string Element { get; set; }

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\]

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NewValue

    public string NewValue { get; set; }

Value of the changed object in the new Service configuration,
in JSON format. This field will not be populated if ChangeType == REMOVED.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### OldValue

    public string OldValue { get; set; }

Value of the changed object in the old Service configuration,
in JSON format. This field will not be populated if ChangeType == ADDED.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Parser

    public static MessageParser<ConfigChange> Parser { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageParserConfigChange` |   |

## Methods

### CalculateSize()

    public int CalculateSize()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Clone()

    public ConfigChange Clone()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ConfigChange` |   |

### Equals(ConfigChange)

    public bool Equals(ConfigChange other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConfigChange` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Equals(object)

    public override bool Equals(object other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `object` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

**Overrides** [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))

### GetHashCode()

    public override int GetHashCode()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

**Overrides** [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

### MergeFrom(ConfigChange)

    public void MergeFrom(ConfigChange other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConfigChange` |

### MergeFrom(CodedInputStream)

    public void MergeFrom(CodedInputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `CodedInputStream` |

### ToString()

    public override string ToString()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

**Overrides** [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

### WriteTo(CodedOutputStream)

    public void WriteTo(CodedOutputStream output)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `output` | `CodedOutputStream` |