Showing 17 of 17 total issues
File error-details.pb.ts
has 1481 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* tslint:disable *//* eslint-disable */// @ts-nocheck//// THIS IS A GENERATED FILE
Similar blocks of code found in 3 locations. Consider refactoring. Open
export module QuotaFailure { /** * Standard JavaScript object representation for QuotaFailure */ export interface AsObject {
- Read upRead up
Similar blocks of code found in 3 locations. Consider refactoring. Open
export module BadRequest { /** * Standard JavaScript object representation for BadRequest */ export interface AsObject {
- Read upRead up
Similar blocks of code found in 3 locations. Consider refactoring. Open
export module Help { /** * Standard JavaScript object representation for Help */ export interface AsObject {
- Read upRead up
Similar blocks of code found in 4 locations. Consider refactoring. Open
export class PreconditionFailure implements GrpcMessage { static id = 'google.rpc.PreconditionFailure'; /** * Deserialize binary data to message
- Read upRead up
Similar blocks of code found in 4 locations. Consider refactoring. Open
export class BadRequest implements GrpcMessage { static id = 'google.rpc.BadRequest'; /** * Deserialize binary data to message
- Read upRead up
Similar blocks of code found in 4 locations. Consider refactoring. Open
export class QuotaFailure implements GrpcMessage { static id = 'google.rpc.QuotaFailure'; /** * Deserialize binary data to message
- Read upRead up
Similar blocks of code found in 4 locations. Consider refactoring. Open
export class Help implements GrpcMessage { static id = 'google.rpc.Help'; /** * Deserialize binary data to message
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
static deserializeBinaryFromReader( _instance: Violation, _reader: BinaryReader ) { while (_reader.nextField()) {
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
static serializeBinaryToWriter( _instance: Violation, _writer: BinaryWriter ) { if (_instance.type) {
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
constructor(_value?: RecursivePartial<Violation.AsObject>) { _value = _value || {}; this.type = _value.type; this.subject = _value.subject; this.description = _value.description;
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
toProtobufJSON( // @ts-ignore options?: ToProtobufJSONOptions ): ErrorInfo.AsProtobufJSON { return {
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
toObject(): ErrorInfo.AsObject { return { reason: this.reason, domain: this.domain, metadata: this.metadata
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
toProtobufJSON( // @ts-ignore options?: ToProtobufJSONOptions ): Violation.AsProtobufJSON { return {
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
toObject(): Violation.AsObject { return { type: this.type, subject: this.subject, description: this.description
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
export interface AsObject { reason: string; domain: string; metadata: { [prop: string]: string }; }
- Read upRead up
Similar blocks of code found in 2 locations. Consider refactoring. Open
export interface AsProtobufJSON { reason: string; domain: string; metadata: { [prop: string]: string }; }
- Read upRead up