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
Modifier and TypeMethodDescriptionKey is present (matches any value except for the key being absent).Key is present (matches any value except for the key being absent).getKey()
The key to match against.com.google.protobuf.ByteString
The key to match against.getValue()
Matches this exact value.com.google.protobuf.ByteString
Matches this exact value.boolean
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.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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()
-