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

main.java.com.streamlayer.common.OrganizationScope 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.OrganizationScope}
 */
public enum OrganizationScope
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * ORGANIZATION_SCOPE_UNSET = 0;
   */
  ORGANIZATION_SCOPE_UNSET(0),
  /**
   * ORGANIZATION_SCOPE_SET = 1;
   */
  ORGANIZATION_SCOPE_SET(1),
  UNRECOGNIZED(-1),
  ;

  /**
   * ORGANIZATION_SCOPE_UNSET = 0;
   */
  public static final int ORGANIZATION_SCOPE_UNSET_VALUE = 0;
  /**
   * ORGANIZATION_SCOPE_SET = 1;
   */
  public static final int ORGANIZATION_SCOPE_SET_VALUE = 1;


  @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 OrganizationScope valueOf(int value) {
    return forNumber(value);
  }

  public static OrganizationScope forNumber(int value) {
    switch (value) {
      case 0: return ORGANIZATION_SCOPE_UNSET;
      case 1: return ORGANIZATION_SCOPE_SET;
      default: return null;
    }
  }

  public static com.google.protobuf.Internal.EnumLiteMap
      internalGetValueMap() {
    return internalValueMap;
  }
  private static final com.google.protobuf.Internal.EnumLiteMap<
      OrganizationScope> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap() {
          @java.lang.Override
          public OrganizationScope findValueByNumber(int number) {
            return OrganizationScope.forNumber(number);
          }
        };

  public static com.google.protobuf.Internal.EnumVerifier 
      internalGetVerifier() {
    return OrganizationScopeVerifier.INSTANCE;
  }

  private static final class OrganizationScopeVerifier implements 
       com.google.protobuf.Internal.EnumVerifier { 
          static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new OrganizationScopeVerifier();
          @java.lang.Override
          public boolean isInRange(int number) {
            return OrganizationScope.forNumber(number) != null;
          }
        };

  private final int value;

  private OrganizationScope(int value) {
    this.value = value;
  }

  // @@protoc_insertion_point(enum_scope:streamlayer.common.OrganizationScope)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy