Class BadRequest
Describes violations in a client request. This error type focuses on the
syntactic aspects of the request.
Inheritance
System.Object
BadRequest
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 BadRequest : IMessage<BadRequest>, IMessage, IEquatable<BadRequest>, IDeepCloneable<BadRequest>
Constructors
BadRequest()
Declaration
BadRequest(BadRequest)
Declaration
public BadRequest(BadRequest other)
Parameters
Fields
FieldViolationsFieldNumber
Field number for the "field_violations" field.
Declaration
public const int FieldViolationsFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
FieldViolations
Describes all violations in a client request.
Declaration
public RepeatedField<BadRequest.Types.FieldViolation> FieldViolations { get; }
Property Value
Parser
Declaration
public static MessageParser<BadRequest> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public BadRequest Clone()
Returns
Implements
Equals(BadRequest)
Declaration
public bool Equals(BadRequest 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()
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
MergeFrom(BadRequest)
Declaration
public void MergeFrom(BadRequest other)
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