Class ErrorSet.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ErrorSet,ErrorSet.Builder>
com.google.api.expr.v1beta1.ErrorSet.Builder
All Implemented Interfaces:
ErrorSetOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
ErrorSet

public static final class ErrorSet.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ErrorSet,ErrorSet.Builder> implements ErrorSetOrBuilder
 A set of errors.

 The errors included depend on the context. See `ExprValue.error`.
 
Protobuf type google.api.expr.v1beta1.ErrorSet
  • Method Details

    • getErrorsList

      public List<Status> getErrorsList()
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
      Specified by:
      getErrorsList in interface ErrorSetOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
      Specified by:
      getErrorsCount in interface ErrorSetOrBuilder
    • getErrors

      public Status getErrors(int index)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
      Specified by:
      getErrors in interface ErrorSetOrBuilder
    • setErrors

      public ErrorSet.Builder setErrors(int index, Status value)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • setErrors

      public ErrorSet.Builder setErrors(int index, Status.Builder builderForValue)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • addErrors

      public ErrorSet.Builder addErrors(Status value)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • addErrors

      public ErrorSet.Builder addErrors(int index, Status value)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • addErrors

      public ErrorSet.Builder addErrors(Status.Builder builderForValue)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • addErrors

      public ErrorSet.Builder addErrors(int index, Status.Builder builderForValue)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • addAllErrors

      public ErrorSet.Builder addAllErrors(Iterable<? extends Status> values)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • clearErrors

      public ErrorSet.Builder clearErrors()
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];
    • removeErrors

      public ErrorSet.Builder removeErrors(int index)
       The errors in the set.
       
      repeated .google.rpc.Status errors = 1 [json_name = "errors"];