//------------------------------------------------------------------------------
// <copyright file="SR.java" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
// <summary>
//      Implement SR Text.
// </summary>
//------------------------------------------------------------------------------

package com.microsoft.hpc.exceptions;

/**
 * Autogenerated Java class with SR Text
 */
public class SR
{
    /**
     * All tasks have finished
     */
    final public static String AllTasksFinished = "All tasks have finished";

    /**
     * Failed to get a valid endpoint reference
     */
    final public static String EndpointAddressNotValid = "Failed to get a valid endpoint reference";

    /**
     * The job has been running for a long time, yet the endpoint address is not ready
     */
    final public static String EndpointTimeout = "The job has been running for a long time, yet the endpoint address is not ready";

    /**
     * An exception occurred when submitting the job, see inner exception
     */
    final public static String ExceptionInCreatingSession = "An exception occurred when submitting the job, see inner exception";

    /**
     * The headnode can not be null or empty
     */
    final public static String HeadnodeCantBeNull = "The headnode can not be null or empty";

    /**
     * Not the correct async result object
     */
    final public static String NotCorrectAsyncResultObj = "Not the correct async result object";

    /**
     * The required schema is not valid  
     */
    final public static String SchemaNotValid = "The required schema is not valid  ";

    /**
     * The service name can not be null or empty, and can only contain "0-9", "a-z", "A-Z", ".", "-" and "_", and less than 255 characters.
     */
    final public static String ServiceNameCantBeNull = "The service name can not be null or empty, and can only contain \"0-9\", \"a-z\", \"A-Z\", \".\", \"-\" and \"_\", and less than 255 characters.";

    /**
     * The UnitType property requires a value defined in enumeration JobUnitType  
     */
    final public static String UnitTypeNotDefined = "The UnitType property requires a value defined in enumeration JobUnitType  ";

    /**
     * The jobs are in Configuring or Validating state, hence cannot be canceled now. Please try again later.
     */
    final public static String SessionCannotBeCanceled = "The jobs are in Configuring or Validating state, hence cannot be canceled now. Please try again later.";

    /**
     * LoadSamplingInterval has to be a positive number.
     */
    final public static String LoadSamplingIntervalPositive = "LoadSamplingInterval has to be a positive number.";

    /**
     * AllocationAdjustInterval has to be a positive number.
     */
    final public static String AllocationAdjustIntervalPositive = "AllocationAdjustInterval has to be a positive number.";

    /**
     * AllocationGrowLoadRatioThreshold has to be greater than AllocationShrinkLoadRatioThreshold.
     */
    final public static String LoadRatioGrowGreaterThanShrink = "AllocationGrowLoadRatioThreshold has to be greater than AllocationShrinkLoadRatioThreshold.";

    /**
     * AllocationShrinkLoadRatioThreshold can not be smaller than 0.
     */
    final public static String AllocationShrinkLoadRatioThresholdNonNegative = "AllocationShrinkLoadRatioThreshold can not be smaller than 0.";

    /**
     * ClientIdleTimeout has to be a positive number.
     */
    final public static String ClientIdleTimeoutNotNegative = "ClientIdleTimeout has to be a positive number.";

    /**
     * ClientConnectionTimeout has to be a positive number.
     */
    final public static String ClientConnectionTimeoutPositive = "ClientConnectionTimeout has to be a positive number.";

    /**
     * SessionIdleTimeout has to be a non-negative number.
     */
    final public static String SessionIdleTimeoutNotNegative = "SessionIdleTimeout has to be a non-negative number.";

    /**
     * ServiceOperationTimeout has to be a positive number.
     */
    final public static String InvalidServiceOperationTimeout = "ServiceOperationTimeout has to be a positive number.";

    /**
     * StatusUpdateInterval has to be a positive number.
     */
    final public static String StatusUpdateIntervalPositive = "StatusUpdateInterval has to be a positive number.";

    /**
     * MessageThrottleStartThreshold has to be greater than MessageThrottleStopThreshold.
     */
    final public static String MessageThrottleStartGreaterStop = "MessageThrottleStartThreshold has to be greater than MessageThrottleStopThreshold.";

    /**
     * MessageThrottleStopThreshold can not be smaller than 0.
     */
    final public static String MessageThrottleStopThresholdPositive = "MessageThrottleStopThreshold can not be smaller than 0.";

    /**
     * Cannot find broker monitor configuration section.
     */
    final public static String MonitorConfigurationMissing = "Cannot find broker monitor configuration section.";

    /**
     * Cannot find broker services configuration section.
     */
    final public static String ServicesConfigurationMissing = "Cannot find broker services configuration section.";

    /**
     * MessageRetryLimit has to be a non-negative number.
     */
    final public static String MessageRetryLimitNotNegative = "MessageRetryLimit has to be a non-negative number.";

    /**
     * Cannot find broker load balancing configuration section.
     */
    final public static String LoadBalancingConfigurationMissing = "Cannot find broker load balancing configuration section.";

    /**
     * Cannot find a broker node in the cluster. Please check the manual on how to configure a broker node.
     */
    final public static String NoBrokerNodeFound = "Cannot find a broker node in the cluster. Please check the manual on how to configure a broker node.";

    /**
     * EndpointNotFoundRetryCountLimit has to be a non-negative number.
     */
    final public static String EndpointNotFoundRetryCountLimitNotNegative = "EndpointNotFoundRetryCountLimit has to be a non-negative number.";

    /**
     * EndpointNotFoundRetryPeriod has to be a positive number.
     */
    final public static String InvalidEndpointNotFoundRetryPeriod = "EndpointNotFoundRetryPeriod has to be a positive number.";

    /**
     * A type of service contract is expected to pass in.
     */
    final public static String RequireServiceContractType = "A type of service contract is expected to pass in.";

    /**
     * Http is not supported by Durable Session.
     */
    final public static String NotAllowHttpTransport = "Http is not supported by Durable Session.";

    /**
     * Authentication Failed due to wrong username and/or password.
     */
    final public static String AuthenticationFailed = "Authentication Failed due to wrong username and/or password.";

    /**
     * Invalid session type.
     */
    final public static String InvalidSessionType = "Invalid session type.";

    /**
     * Timeout value should not be negative except -1 which mean infinite.
     */
    final public static String InvalidTimeout = "Timeout value should not be negative except -1 which mean infinite.";

    /**
     * A secure session is specified while the binding is not secure enabled.
     */
    final public static String BidningSecurityModeMismatched = "A secure session is specified while the binding is not secure enabled.";

    /**
     * Invalid client id, client id could only have these characters: 0-9, a-z, A-Z, _, -, {, } and space.
     */
    final public static String InvalidClientId = "Invalid client id, client id could only have these characters: 0-9, a-z, A-Z, _, -, {, } and space.";

    /**
     * Client id is too long.
     */
    final public static String ClientIdTooLong = "Client id is too long.";

    /**
     * Create session timeout. Scheduler doesn't reponse in {0} milliseconds. Make sure HPC Session Service is running on head node.
     */
    final public static String ConnectSessionLauncherTimeout = "Create session timeout. Scheduler doesn't reponse in %d milliseconds. Make sure HPC Session Service is running on head node.";

    /**
     * Operation timeout.
     */
    final public static String OperationTimeout = "Operation timeout.";

    /**
     * UserData SOAP header can only be {0} chars. Specified userData length is {1} chars.
     */
    final public static String UserDataTooLong = "UserData SOAP header can only be %d chars. Specified userData length is %d chars.";

    /**
     * Message type returned from more than one operation. Action must be specified by caller.
     */
    final public static String AmbiguousOperation = "Message type returned from more than one operation. Action must be specified by caller.";

    /**
     * The selected transport scheme is not supported in durable session.
     */
    final public static String TransportSchemeNotSupport = "The selected transport scheme is not supported in durable session.";

    /**
     * Can not get the session information for the session id ({0}).
     */
    final public static String CannotGetSessionInfo = "Can not get the session information for the session id (%d).";

    /**
     * Can not find the related broker node for the session (session id={0}), Maybe the session is still in the configuring stage, Please retry later.
     */
    final public static String AttachConfiguringSession = "Can not find the related broker node for the session (session id=%d), Maybe the session is still in the configuring stage, Please retry later.";

    /**
     * Can not find the related broker node for the session (session id={0}), The related job is not a session job.
     */
    final public static String AttachNoBrokerSession = "Can not find the related broker node for the session (session id=%d), The related job is not a session job.";

    /**
     * Broker storage hits quota limit. If you are using MSMQ, contact your administrator to increase MSMQ storage quota on broker node or clean up session storages manually.
     */
    final public static String StorageSpaceNotSufficient = "Broker storage hits quota limit. If you are using MSMQ, contact your administrator to increase MSMQ storage quota on broker node or clean up session storages manually.";

    /**
     * Local Broker Mode only supports NetTcp binding.
     */
    final public static String LocalBrokerOnlySupportNetTcp = "Local Broker Mode only supports NetTcp binding.";

    /**
     * Local Broker Mode only supports non-shared session.
     */
    final public static String LocalBrokerOnlySupportNonShared = "Local Broker Mode only supports non-shared session.";

    /**
     * No Broker Answered the request.
     */
    final public static String NoBrokerNodeAnswered = "No Broker Answered the request.";

    /**
     * Cannot find CCP_HOME env.
     */
    final public static String NoCCPHOMEENV = "Cannot find CCP_HOME env.";

    /**
     * Create session timeout. Specified broker {0} doesn't response in {1} milliseconds. Make sure HPC Broker Service is running correctly on broker node.
     */
    final public static String ConectBrokerLauncherTimeout = "Create session timeout. Specified broker %d doesn't response in %d milliseconds. Make sure HPC Broker Service is running correctly on broker node.";

    /**
     * User authentication failure. User {0} is not authorized to use this session.
     */
    final public static String AuthenticationFailure = "User authentication failure. User %d is not authorized to use this session.";

    /**
     * Failed to read response message from broker queue
     */
    final public static String Broker_BrokerQueueFailure = "Failed to read response message from broker queue";

    /**
     * Session failed or Cancelled
     */
    final public static String Broker_SessionFailure = "Session failed or Cancelled";

    /**
     * GetResponses handler disposed
     */
    final public static String Broker_GetResponsesHandlerDisposed = "GetResponses handler disposed";

    /**
     * Invalid client id: Client Id does not match the former messages on this channel
     */
    final public static String Broker_ClientIdNotMatch = "Invalid client id: Client Id does not match the former messages on this channel";

    /**
     * Invalid client id: Client id could only have these characters: 0-9, a-z, A-Z, _, -, {, } and space and should not contains more than 128 characters.
     */
    final public static String Broker_InvalidClientIdOrTooLong = "Invalid client id: Client id could only have these characters: 0-9, a-z, A-Z, _, -, {, } and space and should not contains more than 128 characters.";

    /**
     * Failed to load network prefix.
     */
    final public static String Broker_LoadNetworkPrefixFailed = "Failed to load network prefix.";

    /**
     * EOM is not allowed for this client, the client is now in the {0} state.
     */
    final public static String Broker_EOMRejected = "EOM is not allowed for this client, the client is now in the %d state.";

    /**
     * Failed to get user SID.
     */
    final public static String Broker_CannotGetUserSID = "Failed to get user SID.";

    /**
     * Failed to get security descriptor from the job template.
     */
    final public static String Broker_FailedToGetSecurityDescriptor = "Failed to get security descriptor from the job template.";

    /**
     * Service job is failed or canceled.
     */
    final public static String Broker_ServiceFailed = "Service job is failed or canceled.";

    /**
     * Failed to connect to the scheduler.
     */
    final public static String Broker_ConnectionToSchedulerIsNotReadyCcpWSLB = "Failed to connect to the scheduler.";

    /**
     * Failed to get job property ids.
     */
    final public static String Broker_FailedToGetJobPropertyId = "Failed to get job property ids.";

    /**
     * Failed to get job state.
     */
    final public static String Broker_FailedToGetJobState = "Failed to get job state.";

    /**
     * Transport scheme {0} is not supported.
     */
    final public static String Broker_NotSupportedTransportScheme = "Transport scheme %d is not supported.";

    /**
     * Binding {0} is not supported.
     */
    final public static String Broker_BindingNotSupported = "Binding %d is not supported.";

    /**
     * No default uri for scheme {0} could be found.
     */
    final public static String Broker_NoDefaultUriForScheme = "No default uri for scheme %d could be found.";

    /**
     * Failed to open frontend: {0}.
     */
    final public static String Broker_OpenFrontEndFailed = "Failed to open frontend: %d.";

    /**
     * Failed to send back the response.
     */
    final public static String Broker_SendBackResponseFailed = "Failed to send back the response.";

    /**
     * Broker Node is offline and not accept create/attach session requests.
     */
    final public static String Broker_BrokerIsOffline = "Broker Node is offline and not accept create/attach session requests.";

    /**
     * Connection to the scheduler is not ready, it might because the scheduler service is not started or is starting.
     */
    final public static String Broker_ConnectionToSchedulerIsNotReadyBrokerLauncher = "Connection to the scheduler is not ready, it might because the scheduler service is not started or is starting.";

    /**
     * The session  with Id = {0} has already been created.
     */
    final public static String Broker_SessionIdAlreadyExists = "The session  with Id = %d has already been created.";

    /**
     * The session id {0} is invalid. Could not find related service job with this id.
     */
    final public static String Broker_InvalidSessionId = "The session id %d is invalid. Could not find related service job with this id.";

    /**
     * Failed to pull data from job properties to build session start info.
     */
    final public static String Broker_PullDataFromCustomJobPropertyFailed = "Failed to pull data from job properties to build session start info.";

    /**
     * The broker {0} is in the Finishing state thus cannot attach to the broker.
     */
    final public static String Broker_BrokerFinishing = "The broker %d is in the Finishing state thus cannot attach to the broker.";

}
