All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.common.PropagationStrategy Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/common/streamlayer_common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.common;

/**
 * Protobuf enum {@code streamlayer.common.PropagationStrategy}
 */
public enum PropagationStrategy
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * PROPAGATION_STRATEGY_INVALID = 0;
   */
  PROPAGATION_STRATEGY_INVALID(0),
  /**
   * PROPAGATION_STRATEGY_UNSET = 1;
   */
  PROPAGATION_STRATEGY_UNSET(1),
  /**
   * 
   * Initial call will be ignored
   * 
* * PROPAGATION_STRATEGY_IGNORE = 2; */ PROPAGATION_STRATEGY_IGNORE(2), /** *
   * Initial call will be forwarded to a specified RPC method handler and proxy will pause both streams until the response would be received
   * 
* * PROPAGATION_STRATEGY_AWAIT = 3; */ PROPAGATION_STRATEGY_AWAIT(3), /** *
   * Initial call will be forwarded to a specified RPC method handler, but proxy won't pause client/server streams
   * 
* * PROPAGATION_STRATEGY_PUBLISH = 4; */ PROPAGATION_STRATEGY_PUBLISH(4), UNRECOGNIZED(-1), ; /** * PROPAGATION_STRATEGY_INVALID = 0; */ public static final int PROPAGATION_STRATEGY_INVALID_VALUE = 0; /** * PROPAGATION_STRATEGY_UNSET = 1; */ public static final int PROPAGATION_STRATEGY_UNSET_VALUE = 1; /** *
   * Initial call will be ignored
   * 
* * PROPAGATION_STRATEGY_IGNORE = 2; */ public static final int PROPAGATION_STRATEGY_IGNORE_VALUE = 2; /** *
   * Initial call will be forwarded to a specified RPC method handler and proxy will pause both streams until the response would be received
   * 
* * PROPAGATION_STRATEGY_AWAIT = 3; */ public static final int PROPAGATION_STRATEGY_AWAIT_VALUE = 3; /** *
   * Initial call will be forwarded to a specified RPC method handler, but proxy won't pause client/server streams
   * 
* * PROPAGATION_STRATEGY_PUBLISH = 4; */ public static final int PROPAGATION_STRATEGY_PUBLISH_VALUE = 4; @java.lang.Override public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PropagationStrategy valueOf(int value) { return forNumber(value); } public static PropagationStrategy forNumber(int value) { switch (value) { case 0: return PROPAGATION_STRATEGY_INVALID; case 1: return PROPAGATION_STRATEGY_UNSET; case 2: return PROPAGATION_STRATEGY_IGNORE; case 3: return PROPAGATION_STRATEGY_AWAIT; case 4: return PROPAGATION_STRATEGY_PUBLISH; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PropagationStrategy> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { @java.lang.Override public PropagationStrategy findValueByNumber(int number) { return PropagationStrategy.forNumber(number); } }; public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier() { return PropagationStrategyVerifier.INSTANCE; } private static final class PropagationStrategyVerifier implements com.google.protobuf.Internal.EnumVerifier { static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PropagationStrategyVerifier(); @java.lang.Override public boolean isInRange(int number) { return PropagationStrategy.forNumber(number) != null; } }; private final int value; private PropagationStrategy(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:streamlayer.common.PropagationStrategy) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy