Interface Validate.AnyRulesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Validate.AnyRules, Validate.AnyRules.Builder
Enclosing class:
Validate

public static interface Validate.AnyRulesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getIn(int index)
    In specifies that this field's `type_url` must be equal to one of the specified values.
    com.google.protobuf.ByteString
    getInBytes(int index)
    In specifies that this field's `type_url` must be equal to one of the specified values.
    int
    In specifies that this field's `type_url` must be equal to one of the specified values.
    In specifies that this field's `type_url` must be equal to one of the specified values.
    getNotIn(int index)
    NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
    com.google.protobuf.ByteString
    getNotInBytes(int index)
    NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
    int
    NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
    NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
    boolean
    Required specifies that this field must be set
    boolean
    Required specifies that this field must be set

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasRequired

      boolean hasRequired()
       Required specifies that this field must be set
       
      optional bool required = 1;
      Returns:
      Whether the required field is set.
    • getRequired

      boolean getRequired()
       Required specifies that this field must be set
       
      optional bool required = 1;
      Returns:
      The required.
    • getInList

      List<String> getInList()
       In specifies that this field's `type_url` must be equal to one of the
       specified values.
       
      repeated string in = 2;
      Returns:
      A list containing the in.
    • getInCount

      int getInCount()
       In specifies that this field's `type_url` must be equal to one of the
       specified values.
       
      repeated string in = 2;
      Returns:
      The count of in.
    • getIn

      String getIn(int index)
       In specifies that this field's `type_url` must be equal to one of the
       specified values.
       
      repeated string in = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The in at the given index.
    • getInBytes

      com.google.protobuf.ByteString getInBytes(int index)
       In specifies that this field's `type_url` must be equal to one of the
       specified values.
       
      repeated string in = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the in at the given index.
    • getNotInList

      List<String> getNotInList()
       NotIn specifies that this field's `type_url` must not be equal to any of
       the specified values.
       
      repeated string not_in = 3;
      Returns:
      A list containing the notIn.
    • getNotInCount

      int getNotInCount()
       NotIn specifies that this field's `type_url` must not be equal to any of
       the specified values.
       
      repeated string not_in = 3;
      Returns:
      The count of notIn.
    • getNotIn

      String getNotIn(int index)
       NotIn specifies that this field's `type_url` must not be equal to any of
       the specified values.
       
      repeated string not_in = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The notIn at the given index.
    • getNotInBytes

      com.google.protobuf.ByteString getNotInBytes(int index)
       NotIn specifies that this field's `type_url` must not be equal to any of
       the specified values.
       
      repeated string not_in = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the notIn at the given index.