Class DynamicParameterConstraints

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class DynamicParameterConstraints extends com.google.protobuf.GeneratedMessage 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 type envoy.service.discovery.v3.DynamicParameterConstraints
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • typeCase_

      private int typeCase_
    • type_

      private Object type_
    • CONSTRAINT_FIELD_NUMBER

      public static final int CONSTRAINT_FIELD_NUMBER
      See Also:
    • OR_CONSTRAINTS_FIELD_NUMBER

      public static final int OR_CONSTRAINTS_FIELD_NUMBER
      See Also:
    • AND_CONSTRAINTS_FIELD_NUMBER

      public static final int AND_CONSTRAINTS_FIELD_NUMBER
      See Also:
    • NOT_CONSTRAINTS_FIELD_NUMBER

      public static final int NOT_CONSTRAINTS_FIELD_NUMBER
      See Also:
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final DynamicParameterConstraints DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<DynamicParameterConstraints> PARSER
  • Constructor Details

    • DynamicParameterConstraints

      private DynamicParameterConstraints(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • DynamicParameterConstraints

      private DynamicParameterConstraints()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTypeCase

      Specified by:
      getTypeCase in interface DynamicParameterConstraintsOrBuilder
    • hasConstraint

      public boolean hasConstraint()
       A single constraint to evaluate.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint constraint = 1;
      Specified by:
      hasConstraint in interface DynamicParameterConstraintsOrBuilder
      Returns:
      Whether the constraint field is set.
    • getConstraint

       A single constraint to evaluate.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint constraint = 1;
      Specified by:
      getConstraint in interface DynamicParameterConstraintsOrBuilder
      Returns:
      The constraint.
    • getConstraintOrBuilder

       A single constraint to evaluate.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint constraint = 1;
      Specified by:
      getConstraintOrBuilder in interface DynamicParameterConstraintsOrBuilder
    • 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:
      hasOrConstraints in interface DynamicParameterConstraintsOrBuilder
      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:
      getOrConstraints in interface DynamicParameterConstraintsOrBuilder
      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:
      getOrConstraintsOrBuilder in interface DynamicParameterConstraintsOrBuilder
    • hasAndConstraints

      public boolean hasAndConstraints()
       A list of constraints that must all match.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList and_constraints = 3;
      Specified by:
      hasAndConstraints in interface DynamicParameterConstraintsOrBuilder
      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:
      getAndConstraints in interface DynamicParameterConstraintsOrBuilder
      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:
      getAndConstraintsOrBuilder in interface DynamicParameterConstraintsOrBuilder
    • hasNotConstraints

      public boolean hasNotConstraints()
       The inverse (NOT) of a set of constraints.
       
      .envoy.service.discovery.v3.DynamicParameterConstraints not_constraints = 4;
      Specified by:
      hasNotConstraints in interface DynamicParameterConstraintsOrBuilder
      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:
      getNotConstraints in interface DynamicParameterConstraintsOrBuilder
      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:
      getNotConstraintsOrBuilder in interface DynamicParameterConstraintsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DynamicParameterConstraints.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DynamicParameterConstraints.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DynamicParameterConstraints getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DynamicParameterConstraints> parser()
    • getParserForType

      public com.google.protobuf.Parser<DynamicParameterConstraints> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DynamicParameterConstraints getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder