public sealed class PreconditionFailure.Types.Violation : IMessage<PreconditionFailure.Types.Violation>, IEquatable<PreconditionFailure.Types.Violation>, IDeepCloneable<PreconditionFailure.Types.Violation>, IBufferMessage, IMessage
A message type used to describe a single precondition failure.
The subject, relative to the type, that failed.
For example, "google.com/cloud" relative to the "TOS" type would indicate
which terms of service is being referenced.
The type of PreconditionFailure. We recommend using a service-specific
enum type to define the supported precondition violation subjects. For
example, "TOS" for "Terms of Service violation".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-02 UTC."],[[["The latest version of `PreconditionFailure.Types.Violation` is 2.15.0, with older versions 2.10.0 and 2.2.0 also available."],["`PreconditionFailure.Types.Violation` is a message type utilized for describing a single precondition failure, and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `PreconditionFailure.Types.Violation` class includes fields such as `DescriptionFieldNumber`, `SubjectFieldNumber`, and `TypeFieldNumber`, which denote the field numbers for description, subject, and type respectively."],["The class features properties like `Description`, `Subject`, and `Type`, which represent the details of the precondition failure, and static properties like `Descriptor` and `Parser` for message metadata and parsing."],["The class provides methods for calculations and operations such as `CalculateSize()`, `Clone()`, `Equals()`, `GetHashCode()`, `MergeFrom()`, `ToString()`, and `WriteTo()`, which are essential for managing and working with message data."]]],[]]