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.ConstraintTypeCasegetConstraintTypeCase()DynamicParameterConstraints.SingleConstraint.ExistsgetExists()Key is present (matches any value except for the key being absent).DynamicParameterConstraints.SingleConstraint.ExistsOrBuildergetExistsOrBuilder()Key is present (matches any value except for the key being absent).StringgetKey()The key to match against.com.google.protobuf.ByteStringgetKeyBytes()The key to match against.StringgetValue()Matches this exact value.com.google.protobuf.ByteStringgetValueBytes()Matches this exact value.booleanhasExists()Key is present (matches any value except for the key being absent).booleanhasValue()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
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
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()
-
-