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

io.bloombox.schema.services.dash.v1beta1.DashError Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas, Co. All rights reserved.
 *
 * Source and object computer code contained herein is the private intellectual
 * property of Momentum Ideas Co., a Delaware Corporation. Use of this
 * code in source form requires permission in writing before use or the
 * assembly, distribution, or publishing of derivative works, for commercial
 * purposes or any other purpose, from a duly authorized officer of Momentum
 * Ideas Co.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: dash/v1beta1/DashService_Beta1.proto

package io.bloombox.schema.services.dash.v1beta1;

/**
 * 
 * Enumerates known error states that may surface when interacting with the Dashboard Service.
 * 
* * Protobuf enum {@code bloombox.services.dash.v1beta1.DashError} */ public enum DashError implements com.google.protobuf.ProtocolMessageEnum { /** *
   * No error was encountered.
   * 
* * NO_ERROR = 0; */ NO_ERROR(0), /** *
   * The specified partner key was found to be invalid.
   * 
* * PARTNER_INVALID = 1; */ PARTNER_INVALID(1), /** *
   * The specified partner key, while valid, could not be resolved.
   * 
* * PARTNER_NOT_FOUND = 2; */ PARTNER_NOT_FOUND(2), /** *
   * The speciied location key was found to be invalid.
   * 
* * LOCATION_INVALID = 3; */ LOCATION_INVALID(3), /** *
   * The specified location key, while valid, could not be resolved.
   * 
* * LOCATION_NOT_FOUND = 4; */ LOCATION_NOT_FOUND(4), /** *
   * The specified integration is not ready.
   * 
* * INTEGRATION_NOT_READY = 5; */ INTEGRATION_NOT_READY(5), /** *
   * The specified integration is not currently enabled.
   * 
* * INTEGRATION_DISABLED = 6; */ INTEGRATION_DISABLED(6), /** *
   * The specified integration is not currently enabled.
   * 
* * INTEGRATION_AUTHFAIL = 7; */ INTEGRATION_AUTHFAIL(7), /** *
   * The specified integration settings are not valid.
   * 
* * INTEGRATION_SETTINGS_INVALID = 9; */ INTEGRATION_SETTINGS_INVALID(9), /** *
   * An error occurred with an integration.
   * 
* * INTEGRATION_ERROR = 10; */ INTEGRATION_ERROR(10), /** *
   * Permission was denied for the current security context.
   * 
* * PERMISSION_DENIED = 90; */ PERMISSION_DENIED(90), /** *
   * A routine was found not be implemented.
   * 
* * NOT_IMPLEMENTED = 91; */ NOT_IMPLEMENTED(91), /** *
   * An unknown or unidentified internal error occurred.
   * 
* * INTERNAL_ERROR = 99; */ INTERNAL_ERROR(99), UNRECOGNIZED(-1), ; /** *
   * No error was encountered.
   * 
* * NO_ERROR = 0; */ public static final int NO_ERROR_VALUE = 0; /** *
   * The specified partner key was found to be invalid.
   * 
* * PARTNER_INVALID = 1; */ public static final int PARTNER_INVALID_VALUE = 1; /** *
   * The specified partner key, while valid, could not be resolved.
   * 
* * PARTNER_NOT_FOUND = 2; */ public static final int PARTNER_NOT_FOUND_VALUE = 2; /** *
   * The speciied location key was found to be invalid.
   * 
* * LOCATION_INVALID = 3; */ public static final int LOCATION_INVALID_VALUE = 3; /** *
   * The specified location key, while valid, could not be resolved.
   * 
* * LOCATION_NOT_FOUND = 4; */ public static final int LOCATION_NOT_FOUND_VALUE = 4; /** *
   * The specified integration is not ready.
   * 
* * INTEGRATION_NOT_READY = 5; */ public static final int INTEGRATION_NOT_READY_VALUE = 5; /** *
   * The specified integration is not currently enabled.
   * 
* * INTEGRATION_DISABLED = 6; */ public static final int INTEGRATION_DISABLED_VALUE = 6; /** *
   * The specified integration is not currently enabled.
   * 
* * INTEGRATION_AUTHFAIL = 7; */ public static final int INTEGRATION_AUTHFAIL_VALUE = 7; /** *
   * The specified integration settings are not valid.
   * 
* * INTEGRATION_SETTINGS_INVALID = 9; */ public static final int INTEGRATION_SETTINGS_INVALID_VALUE = 9; /** *
   * An error occurred with an integration.
   * 
* * INTEGRATION_ERROR = 10; */ public static final int INTEGRATION_ERROR_VALUE = 10; /** *
   * Permission was denied for the current security context.
   * 
* * PERMISSION_DENIED = 90; */ public static final int PERMISSION_DENIED_VALUE = 90; /** *
   * A routine was found not be implemented.
   * 
* * NOT_IMPLEMENTED = 91; */ public static final int NOT_IMPLEMENTED_VALUE = 91; /** *
   * An unknown or unidentified internal error occurred.
   * 
* * INTERNAL_ERROR = 99; */ public static final int INTERNAL_ERROR_VALUE = 99; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DashError valueOf(int value) { return forNumber(value); } public static DashError forNumber(int value) { switch (value) { case 0: return NO_ERROR; case 1: return PARTNER_INVALID; case 2: return PARTNER_NOT_FOUND; case 3: return LOCATION_INVALID; case 4: return LOCATION_NOT_FOUND; case 5: return INTEGRATION_NOT_READY; case 6: return INTEGRATION_DISABLED; case 7: return INTEGRATION_AUTHFAIL; case 9: return INTEGRATION_SETTINGS_INVALID; case 10: return INTEGRATION_ERROR; case 90: return PERMISSION_DENIED; case 91: return NOT_IMPLEMENTED; case 99: return INTERNAL_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< DashError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DashError findValueByNumber(int number) { return DashError.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.getDescriptor().getEnumTypes().get(0); } private static final DashError[] VALUES = values(); public static DashError valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private DashError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:bloombox.services.dash.v1beta1.DashError) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy