Class DynamicParameterConstraints
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.service.discovery.v3.DynamicParameterConstraints
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DynamicParameterConstraintsOrBuilder,Serializable
public final class DynamicParameterConstraints extends com.google.protobuf.GeneratedMessageV3 implements DynamicParameterConstraintsOrBuilder
A set of dynamic parameter constraints associated with a variant of an individual xDS resource. These constraints determine whether the resource matches a subscription based on the set of dynamic parameters in the subscription, as specified in the :ref:`ResourceLocator.dynamic_parameters<envoy_v3_api_field_service.discovery.v3.ResourceLocator.dynamic_parameters>` field. This allows xDS implementations (clients, servers, and caching proxies) to determine which variant of a resource is appropriate for a given client.
Protobuf typeenvoy.service.discovery.v3.DynamicParameterConstraints- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDynamicParameterConstraints.BuilderA set of dynamic parameter constraints associated with a variant of an individual xDS resource.static classDynamicParameterConstraints.ConstraintListProtobuf typeenvoy.service.discovery.v3.DynamicParameterConstraints.ConstraintListstatic interfaceDynamicParameterConstraints.ConstraintListOrBuilderstatic classDynamicParameterConstraints.SingleConstraintA single constraint for a given key.static interfaceDynamicParameterConstraints.SingleConstraintOrBuilderstatic classDynamicParameterConstraints.TypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAND_CONSTRAINTS_FIELD_NUMBERstatic intCONSTRAINT_FIELD_NUMBERstatic intNOT_CONSTRAINTS_FIELD_NUMBERstatic intOR_CONSTRAINTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DynamicParameterConstraints.ConstraintListgetAndConstraints()A list of constraints that must all match.DynamicParameterConstraints.ConstraintListOrBuildergetAndConstraintsOrBuilder()A list of constraints that must all match.DynamicParameterConstraints.SingleConstraintgetConstraint()A single constraint to evaluate.DynamicParameterConstraints.SingleConstraintOrBuildergetConstraintOrBuilder()A single constraint to evaluate.static DynamicParameterConstraintsgetDefaultInstance()DynamicParameterConstraintsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DynamicParameterConstraintsgetNotConstraints()The inverse (NOT) of a set of constraints.DynamicParameterConstraintsOrBuildergetNotConstraintsOrBuilder()The inverse (NOT) of a set of constraints.DynamicParameterConstraints.ConstraintListgetOrConstraints()A list of constraints that match if any one constraint in the list matches.DynamicParameterConstraints.ConstraintListOrBuildergetOrConstraintsOrBuilder()A list of constraints that match if any one constraint in the list matches.com.google.protobuf.Parser<DynamicParameterConstraints>getParserForType()intgetSerializedSize()DynamicParameterConstraints.TypeCasegetTypeCase()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAndConstraints()A list of constraints that must all match.booleanhasConstraint()A single constraint to evaluate.inthashCode()booleanhasNotConstraints()The inverse (NOT) of a set of constraints.booleanhasOrConstraints()A list of constraints that match if any one constraint in the list matches.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DynamicParameterConstraints.BuildernewBuilder()static DynamicParameterConstraints.BuildernewBuilder(DynamicParameterConstraints prototype)DynamicParameterConstraints.BuildernewBuilderForType()protected DynamicParameterConstraints.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DynamicParameterConstraintsparseDelimitedFrom(InputStream input)static DynamicParameterConstraintsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DynamicParameterConstraintsparseFrom(byte[] data)static DynamicParameterConstraintsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DynamicParameterConstraintsparseFrom(com.google.protobuf.ByteString data)static DynamicParameterConstraintsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DynamicParameterConstraintsparseFrom(com.google.protobuf.CodedInputStream input)static DynamicParameterConstraintsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DynamicParameterConstraintsparseFrom(InputStream input)static DynamicParameterConstraintsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DynamicParameterConstraintsparseFrom(ByteBuffer data)static DynamicParameterConstraintsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DynamicParameterConstraints>parser()DynamicParameterConstraints.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONSTRAINT_FIELD_NUMBER
public static final int CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OR_CONSTRAINTS_FIELD_NUMBER
public static final int OR_CONSTRAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AND_CONSTRAINTS_FIELD_NUMBER
public static final int AND_CONSTRAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_CONSTRAINTS_FIELD_NUMBER
public static final int NOT_CONSTRAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeCase
public DynamicParameterConstraints.TypeCase getTypeCase()
- Specified by:
getTypeCasein interfaceDynamicParameterConstraintsOrBuilder
-
hasConstraint
public boolean hasConstraint()
A single constraint to evaluate.
.envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint constraint = 1;- Specified by:
hasConstraintin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- Whether the constraint field is set.
-
getConstraint
public DynamicParameterConstraints.SingleConstraint getConstraint()
A single constraint to evaluate.
.envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint constraint = 1;- Specified by:
getConstraintin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- The constraint.
-
getConstraintOrBuilder
public DynamicParameterConstraints.SingleConstraintOrBuilder getConstraintOrBuilder()
A single constraint to evaluate.
.envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint constraint = 1;- Specified by:
getConstraintOrBuilderin interfaceDynamicParameterConstraintsOrBuilder
-
hasOrConstraints
public boolean hasOrConstraints()
A list of constraints that match if any one constraint in the list matches.
.envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList or_constraints = 2;- Specified by:
hasOrConstraintsin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- Whether the orConstraints field is set.
-
getOrConstraints
public DynamicParameterConstraints.ConstraintList getOrConstraints()
A list of constraints that match if any one constraint in the list matches.
.envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList or_constraints = 2;- Specified by:
getOrConstraintsin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- The orConstraints.
-
getOrConstraintsOrBuilder
public DynamicParameterConstraints.ConstraintListOrBuilder getOrConstraintsOrBuilder()
A list of constraints that match if any one constraint in the list matches.
.envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList or_constraints = 2;- Specified by:
getOrConstraintsOrBuilderin interfaceDynamicParameterConstraintsOrBuilder
-
hasAndConstraints
public boolean hasAndConstraints()
A list of constraints that must all match.
.envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList and_constraints = 3;- Specified by:
hasAndConstraintsin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- Whether the andConstraints field is set.
-
getAndConstraints
public DynamicParameterConstraints.ConstraintList getAndConstraints()
A list of constraints that must all match.
.envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList and_constraints = 3;- Specified by:
getAndConstraintsin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- The andConstraints.
-
getAndConstraintsOrBuilder
public DynamicParameterConstraints.ConstraintListOrBuilder getAndConstraintsOrBuilder()
A list of constraints that must all match.
.envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList and_constraints = 3;- Specified by:
getAndConstraintsOrBuilderin interfaceDynamicParameterConstraintsOrBuilder
-
hasNotConstraints
public boolean hasNotConstraints()
The inverse (NOT) of a set of constraints.
.envoy.service.discovery.v3.DynamicParameterConstraints not_constraints = 4;- Specified by:
hasNotConstraintsin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- Whether the notConstraints field is set.
-
getNotConstraints
public DynamicParameterConstraints getNotConstraints()
The inverse (NOT) of a set of constraints.
.envoy.service.discovery.v3.DynamicParameterConstraints not_constraints = 4;- Specified by:
getNotConstraintsin interfaceDynamicParameterConstraintsOrBuilder- Returns:
- The notConstraints.
-
getNotConstraintsOrBuilder
public DynamicParameterConstraintsOrBuilder getNotConstraintsOrBuilder()
The inverse (NOT) of a set of constraints.
.envoy.service.discovery.v3.DynamicParameterConstraints not_constraints = 4;- Specified by:
getNotConstraintsOrBuilderin interfaceDynamicParameterConstraintsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DynamicParameterConstraints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DynamicParameterConstraints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DynamicParameterConstraints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DynamicParameterConstraints parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DynamicParameterConstraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DynamicParameterConstraints parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DynamicParameterConstraints parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DynamicParameterConstraints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DynamicParameterConstraints parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DynamicParameterConstraints parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DynamicParameterConstraints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DynamicParameterConstraints parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DynamicParameterConstraints.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DynamicParameterConstraints.Builder newBuilder()
-
newBuilder
public static DynamicParameterConstraints.Builder newBuilder(DynamicParameterConstraints prototype)
-
toBuilder
public DynamicParameterConstraints.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DynamicParameterConstraints.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DynamicParameterConstraints getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DynamicParameterConstraints> parser()
-
getParserForType
public com.google.protobuf.Parser<DynamicParameterConstraints> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DynamicParameterConstraints getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-