Class BadRequest

public sealed class BadRequest : Protobuf.IMessage<BadRequest>, Protobuf.IBufferMessage

Describes violations in a client request. This error type focuses on the syntactic aspects of the request.

Inheritance

Object > BadRequest

Namespace

Google.Rpc

Assembly

Google.Api.CommonProtos.dll

Constructors

BadRequest()

public BadRequest()

BadRequest(BadRequest)

public BadRequest(BadRequest other)
Parameter
TypeNameDescription
BadRequestother

Fields

FieldViolationsFieldNumber

public const int FieldViolationsFieldNumber = 1

Field number for the "field_violations" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
Protobuf.Reflection.MessageDescriptor

FieldViolations

public Protobuf.Collections.RepeatedField<BadRequest.Types.FieldViolation> FieldViolations { get; }

Describes all violations in a client request.

Property Value
TypeDescription
Protobuf.Collections.RepeatedField<BadRequest.Types.FieldViolation>

Parser

public static Protobuf.MessageParser<BadRequest> Parser { get; }
Property Value
TypeDescription
Protobuf.MessageParser<BadRequest>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public BadRequest Clone()
Returns
TypeDescription
BadRequest

Equals(BadRequest)

public bool Equals(BadRequest other)
Parameter
TypeNameDescription
BadRequestother
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
TypeNameDescription
Objectother
Returns
TypeDescription
Boolean

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
TypeNameDescription
Protobuf.CodedInputStreaminput

MergeFrom(BadRequest)

public void MergeFrom(BadRequest other)
Parameter
TypeNameDescription
BadRequestother

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
TypeNameDescription
Protobuf.CodedOutputStreamoutput

Implements