Interface DynamicParameterConstraints.SingleConstraintOrBuilder

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

public static interface DynamicParameterConstraints.SingleConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getKey

      String getKey()
       The key to match against.
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       The key to match against.
       
      string key = 1;
      Returns:
      The bytes for key.
    • hasValue

      boolean hasValue()
       Matches this exact value.
       
      string value = 2;
      Returns:
      Whether the value field is set.
    • getValue

      String getValue()
       Matches this exact value.
       
      string value = 2;
      Returns:
      The value.
    • getValueBytes

      com.google.protobuf.ByteString getValueBytes()
       Matches this exact value.
       
      string value = 2;
      Returns:
      The bytes for value.
    • hasExists

      boolean hasExists()
       Key is present (matches any value except for the key being absent).
       This allows setting a default constraint for clients that do
       not send a key at all, while there may be other clients that need
       special configuration based on that key.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint.Exists exists = 3;
      Returns:
      Whether the exists field is set.
    • getExists

       Key is present (matches any value except for the key being absent).
       This allows setting a default constraint for clients that do
       not send a key at all, while there may be other clients that need
       special configuration based on that key.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint.Exists exists = 3;
      Returns:
      The exists.
    • getExistsOrBuilder

       Key is present (matches any value except for the key being absent).
       This allows setting a default constraint for clients that do
       not send a key at all, while there may be other clients that need
       special configuration based on that key.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint.Exists exists = 3;
    • getConstraintTypeCase