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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamicParameterConstraints.SingleConstraint.ConstraintTypeCase
getConstraintTypeCase()
DynamicParameterConstraints.SingleConstraint.Exists
getExists()
Key is present (matches any value except for the key being absent).DynamicParameterConstraints.SingleConstraint.ExistsOrBuilder
getExistsOrBuilder()
Key is present (matches any value except for the key being absent).java.lang.String
getKey()
The key to match against.com.google.protobuf.ByteString
getKeyBytes()
The key to match against.java.lang.String
getValue()
Matches this exact value.com.google.protobuf.ByteString
getValueBytes()
Matches this exact value.boolean
hasExists()
Key is present (matches any value except for the key being absent).boolean
hasValue()
Matches this exact value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
java.lang.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
java.lang.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
DynamicParameterConstraints.SingleConstraint.Exists 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
DynamicParameterConstraints.SingleConstraint.ExistsOrBuilder 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
DynamicParameterConstraints.SingleConstraint.ConstraintTypeCase getConstraintTypeCase()
-
-