程序包 com.google.rpc

接口 BadRequest.FieldViolationOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
BadRequest.FieldViolation, BadRequest.FieldViolation.Builder
封闭类:
BadRequest

public static interface BadRequest.FieldViolationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    A description of why the request element is bad.
    com.google.protobuf.ByteString
    A description of why the request element is bad.
    A path leading to a field in the request body.
    com.google.protobuf.ByteString
    A path leading to a field in the request body.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getField

      String getField()
       A path leading to a field in the request body. The value will be a
       sequence of dot-separated identifiers that identify a protocol buffer
       field. E.g., "field_violations.field" would identify this field.
       
      string field = 1;
      返回:
      The field.
    • getFieldBytes

      com.google.protobuf.ByteString getFieldBytes()
       A path leading to a field in the request body. The value will be a
       sequence of dot-separated identifiers that identify a protocol buffer
       field. E.g., "field_violations.field" would identify this field.
       
      string field = 1;
      返回:
      The bytes for field.
    • getDescription

      String getDescription()
       A description of why the request element is bad.
       
      string description = 2;
      返回:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       A description of why the request element is bad.
       
      string description = 2;
      返回:
      The bytes for description.