Enum EventType

java.lang.Object
java.lang.Enum<EventType>
com.google.cloud.networkservices.v1.EventType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<EventType>

@Generated public enum EventType extends Enum<EventType> implements com.google.protobuf.ProtocolMessageEnum
 The part of the request or response for which the extension is called.
 
Protobuf enum google.cloud.networkservices.v1.EventType
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Unspecified value.
    If included in `supported_events`, the extension is called when the HTTP request body arrives.
    If included in `supported_events`, the extension is called when the HTTP request headers arrive.
    If included in `supported_events`, the extension is called when the HTTP request trailers arrives.
    If included in `supported_events`, the extension is called when the HTTP response body arrives.
    If included in `supported_events`, the extension is called when the HTTP response headers arrive.
    If included in `supported_events`, the extension is called when the HTTP response trailers arrives.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Unspecified value.
    static final int
    If included in `supported_events`, the extension is called when the HTTP request body arrives.
    static final int
    If included in `supported_events`, the extension is called when the HTTP request headers arrive.
    static final int
    If included in `supported_events`, the extension is called when the HTTP request trailers arrives.
    static final int
    If included in `supported_events`, the extension is called when the HTTP response body arrives.
    static final int
    If included in `supported_events`, the extension is called when the HTTP response headers arrive.
    static final int
    If included in `supported_events`, the extension is called when the HTTP response trailers arrives.
  • Method Summary

    Modifier and Type
    Method
    Description
    static EventType
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<EventType>
     
    static EventType
    valueOf(int value)
    Deprecated.
    static EventType
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    static EventType
    Returns the enum constant of this type with the specified name.
    static EventType[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • EVENT_TYPE_UNSPECIFIED

      public static final EventType EVENT_TYPE_UNSPECIFIED
       Unspecified value. Do not use.
       
      EVENT_TYPE_UNSPECIFIED = 0;
    • REQUEST_HEADERS

      public static final EventType REQUEST_HEADERS
       If included in `supported_events`,
       the extension is called when the HTTP request headers arrive.
       
      REQUEST_HEADERS = 1;
    • REQUEST_BODY

      public static final EventType REQUEST_BODY
       If included in `supported_events`,
       the extension is called when the HTTP request body arrives.
       
      REQUEST_BODY = 2;
    • RESPONSE_HEADERS

      public static final EventType RESPONSE_HEADERS
       If included in `supported_events`,
       the extension is called when the HTTP response headers arrive.
       
      RESPONSE_HEADERS = 3;
    • RESPONSE_BODY

      public static final EventType RESPONSE_BODY
       If included in `supported_events`,
       the extension is called when the HTTP response body arrives.
       
      RESPONSE_BODY = 4;
    • REQUEST_TRAILERS

      public static final EventType REQUEST_TRAILERS
       If included in `supported_events`,
       the extension is called when the HTTP request trailers arrives.
       
      REQUEST_TRAILERS = 5;
    • RESPONSE_TRAILERS

      public static final EventType RESPONSE_TRAILERS
       If included in `supported_events`,
       the extension is called when the HTTP response trailers arrives.
       
      RESPONSE_TRAILERS = 6;
    • UNRECOGNIZED

      public static final EventType UNRECOGNIZED
  • Field Details

    • EVENT_TYPE_UNSPECIFIED_VALUE

      public static final int EVENT_TYPE_UNSPECIFIED_VALUE
       Unspecified value. Do not use.
       
      EVENT_TYPE_UNSPECIFIED = 0;
      See Also:
    • REQUEST_HEADERS_VALUE

      public static final int REQUEST_HEADERS_VALUE
       If included in `supported_events`,
       the extension is called when the HTTP request headers arrive.
       
      REQUEST_HEADERS = 1;
      See Also:
    • REQUEST_BODY_VALUE

      public static final int REQUEST_BODY_VALUE
       If included in `supported_events`,
       the extension is called when the HTTP request body arrives.
       
      REQUEST_BODY = 2;
      See Also:
    • RESPONSE_HEADERS_VALUE

      public static final int RESPONSE_HEADERS_VALUE
       If included in `supported_events`,
       the extension is called when the HTTP response headers arrive.
       
      RESPONSE_HEADERS = 3;
      See Also:
    • RESPONSE_BODY_VALUE

      public static final int RESPONSE_BODY_VALUE
       If included in `supported_events`,
       the extension is called when the HTTP response body arrives.
       
      RESPONSE_BODY = 4;
      See Also:
    • REQUEST_TRAILERS_VALUE

      public static final int REQUEST_TRAILERS_VALUE
       If included in `supported_events`,
       the extension is called when the HTTP request trailers arrives.
       
      REQUEST_TRAILERS = 5;
      See Also:
    • RESPONSE_TRAILERS_VALUE

      public static final int RESPONSE_TRAILERS_VALUE
       If included in `supported_events`,
       the extension is called when the HTTP response trailers arrives.
       
      RESPONSE_TRAILERS = 6;
      See Also:
  • Method Details

    • values

      public static EventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EventType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static EventType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static EventType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<EventType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null