text:
using grpc = global::Grpc.Core;

namespace Google.Cloud.Dialogflow.V2 {
  ///
  /// Manages a collection of models for human agent assistant.
  ///
  public static partial class ConversationModels
  {
    static readonly string __ServiceName = "google.cloud.dialogflow.v2.ConversationModels";

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
    {
      #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
      if (message is global::Google.Protobuf.IBufferMessage)
      {
        context.SetPayloadLength(message.CalculateSize());
        global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
        context.Complete();
        return;
      }
      #endif
      context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
    }

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static class __Helper_MessageCache<T>
    {
      public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
    }

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
    {
      #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
      if (__Helper_MessageCache<T>.IsBufferMessage)
      {
        return parser.ParseFrom(context.PayloadAsReadOnlySequence());
      }
      #endif
      return parser.ParseFrom(context.PayloadAsNewBuffer());
    }

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest> __Marshaller_google_cloud_dialogflow_v2_CreateConversationModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.LongRunning.Operation> __Marshaller_google_longrunning_Operation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.LongRunning.Operation.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest> __Marshaller_google_cloud_dialogflow_v2_GetConversationModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.ConversationModel> __Marshaller_google_cloud_dialogflow_v2_ConversationModel = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.ConversationModel.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest> __Marshaller_google_cloud_dialogflow_v2_ListConversationModelsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse> __Marshaller_google_cloud_dialogflow_v2_ListConversationModelsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest> __Marshaller_google_cloud_dialogflow_v2_DeleteConversationModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest> __Marshaller_google_cloud_dialogflow_v2_DeployConversationModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest> __Marshaller_google_cloud_dialogflow_v2_UndeployConversationModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest> __Marshaller_google_cloud_dialogflow_v2_GetConversationModelEvaluationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation> __Marshaller_google_cloud_dialogflow_v2_ConversationModelEvaluation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest> __Marshaller_google_cloud_dialogflow_v2_ListConversationModelEvaluationsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse> __Marshaller_google_cloud_dialogflow_v2_ListConversationModelEvaluationsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest> __Marshaller_google_cloud_dialogflow_v2_CreateConversationModelEvaluationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest.Parser));

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest, global::Google.LongRunning.Operation> __Method_CreateConversationModel = new grpc::Method<global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest, global::Google.LongRunning.Operation>(
        grpc::MethodType.Unary,
        __ServiceName,
        "CreateConversationModel",
        __Marshaller_google_cloud_dialogflow_v2_CreateConversationModelRequest,
        __Marshaller_google_longrunning_Operation);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest, global::Google.Cloud.Dialogflow.V2.ConversationModel> __Method_GetConversationModel = new grpc::Method<global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest, global::Google.Cloud.Dialogflow.V2.ConversationModel>(
        grpc::MethodType.Unary,
        __ServiceName,
        "GetConversationModel",
        __Marshaller_google_cloud_dialogflow_v2_GetConversationModelRequest,
        __Marshaller_google_cloud_dialogflow_v2_ConversationModel);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest, global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse> __Method_ListConversationModels = new grpc::Method<global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest, global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse>(
        grpc::MethodType.Unary,
        __ServiceName,
        "ListConversationModels",
        __Marshaller_google_cloud_dialogflow_v2_ListConversationModelsRequest,
        __Marshaller_google_cloud_dialogflow_v2_ListConversationModelsResponse);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest, global::Google.LongRunning.Operation> __Method_DeleteConversationModel = new grpc::Method<global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest, global::Google.LongRunning.Operation>(
        grpc::MethodType.Unary,
        __ServiceName,
        "DeleteConversationModel",
        __Marshaller_google_cloud_dialogflow_v2_DeleteConversationModelRequest,
        __Marshaller_google_longrunning_Operation);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest, global::Google.LongRunning.Operation> __Method_DeployConversationModel = new grpc::Method<global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest, global::Google.LongRunning.Operation>(
        grpc::MethodType.Unary,
        __ServiceName,
        "DeployConversationModel",
        __Marshaller_google_cloud_dialogflow_v2_DeployConversationModelRequest,
        __Marshaller_google_longrunning_Operation);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest, global::Google.LongRunning.Operation> __Method_UndeployConversationModel = new grpc::Method<global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest, global::Google.LongRunning.Operation>(
        grpc::MethodType.Unary,
        __ServiceName,
        "UndeployConversationModel",
        __Marshaller_google_cloud_dialogflow_v2_UndeployConversationModelRequest,
        __Marshaller_google_longrunning_Operation);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest, global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation> __Method_GetConversationModelEvaluation = new grpc::Method<global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest, global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation>(
        grpc::MethodType.Unary,
        __ServiceName,
        "GetConversationModelEvaluation",
        __Marshaller_google_cloud_dialogflow_v2_GetConversationModelEvaluationRequest,
        __Marshaller_google_cloud_dialogflow_v2_ConversationModelEvaluation);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest, global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse> __Method_ListConversationModelEvaluations = new grpc::Method<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest, global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse>(
        grpc::MethodType.Unary,
        __ServiceName,
        "ListConversationModelEvaluations",
        __Marshaller_google_cloud_dialogflow_v2_ListConversationModelEvaluationsRequest,
        __Marshaller_google_cloud_dialogflow_v2_ListConversationModelEvaluationsResponse);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest, global::Google.LongRunning.Operation> __Method_CreateConversationModelEvaluation = new grpc::Method<global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest, global::Google.LongRunning.Operation>(
        grpc::MethodType.Unary,
        __ServiceName,
        "CreateConversationModelEvaluation",
        __Marshaller_google_cloud_dialogflow_v2_CreateConversationModelEvaluationRequest,
        __Marshaller_google_longrunning_Operation);

    /// Service descriptor
    public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
    {
      get { return global::Google.Cloud.Dialogflow.V2.ConversationModelReflection.Descriptor.Services[0]; }
    }

    /// Base class for server-side implementations of ConversationModels
    [grpc::BindServiceMethod(typeof(ConversationModels), "BindService")]
    public abstract partial class ConversationModelsBase
    {
      ///
      /// Creates a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
      /// - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> CreateConversationModel(global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Gets conversation model.
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.Cloud.Dialogflow.V2.ConversationModel> GetConversationModel(global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Lists conversation models.
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse> ListConversationModels(global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Deletes a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> DeleteConversationModel(global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Deploys a model. If a model is already deployed, deploying it
      /// has no effect. A model can only serve prediction requests after it gets
      /// deployed. For article suggestion, custom model will not be used unless
      /// it is deployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> DeployConversationModel(global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Undeploys a model. If the model is not deployed this method has no effect.
      /// If the model is currently being used:
      ///   - For article suggestion, article suggestion will fallback to the default
      ///     model if model is undeployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> UndeployConversationModel(global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Gets an evaluation of conversation model.
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation> GetConversationModelEvaluation(global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Lists evaluations of a conversation model.
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse> ListConversationModelEvaluations(global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      ///
      /// Creates evaluation of a conversation model.
      ///
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> CreateConversationModelEvaluation(global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

    }

    /// Client for ConversationModels
    public partial class ConversationModelsClient : grpc::ClientBase<ConversationModelsClient>
    {
      /// Creates a new client for ConversationModels
      /// <param name="channel">The channel to use to make remote calls.</param>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public ConversationModelsClient(grpc::ChannelBase channel) : base(channel)
      {
      }
      /// Creates a new client for ConversationModels that uses a custom <c>CallInvoker</c>.
      /// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public ConversationModelsClient(grpc::CallInvoker callInvoker) : base(callInvoker)
      {
      }
      /// Protected parameterless constructor to allow creation of test doubles.
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      protected ConversationModelsClient() : base()
      {
      }
      /// Protected constructor to allow creation of configured clients.
      /// <param name="configuration">The client configuration.</param>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      protected ConversationModelsClient(ClientBaseConfiguration configuration) : base(configuration)
      {
      }

      ///
      /// Creates a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
      /// - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation CreateConversationModel(global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return CreateConversationModel(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Creates a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
      /// - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation CreateConversationModel(global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_CreateConversationModel, null, options, request);
      }
      ///
      /// Creates a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
      /// - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> CreateConversationModelAsync(global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return CreateConversationModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Creates a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
      /// - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> CreateConversationModelAsync(global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_CreateConversationModel, null, options, request);
      }
      ///
      /// Gets conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ConversationModel GetConversationModel(global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return GetConversationModel(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Gets conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ConversationModel GetConversationModel(global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_GetConversationModel, null, options, request);
      }
      ///
      /// Gets conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ConversationModel> GetConversationModelAsync(global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return GetConversationModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Gets conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ConversationModel> GetConversationModelAsync(global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_GetConversationModel, null, options, request);
      }
      ///
      /// Lists conversation models.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse ListConversationModels(global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return ListConversationModels(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Lists conversation models.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse ListConversationModels(global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_ListConversationModels, null, options, request);
      }
      ///
      /// Lists conversation models.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse> ListConversationModelsAsync(global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return ListConversationModelsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Lists conversation models.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse> ListConversationModelsAsync(global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_ListConversationModels, null, options, request);
      }
      ///
      /// Deletes a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation DeleteConversationModel(global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return DeleteConversationModel(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Deletes a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation DeleteConversationModel(global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_DeleteConversationModel, null, options, request);
      }
      ///
      /// Deletes a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> DeleteConversationModelAsync(global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return DeleteConversationModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Deletes a model.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> DeleteConversationModelAsync(global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_DeleteConversationModel, null, options, request);
      }
      ///
      /// Deploys a model. If a model is already deployed, deploying it
      /// has no effect. A model can only serve prediction requests after it gets
      /// deployed. For article suggestion, custom model will not be used unless
      /// it is deployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation DeployConversationModel(global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return DeployConversationModel(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Deploys a model. If a model is already deployed, deploying it
      /// has no effect. A model can only serve prediction requests after it gets
      /// deployed. For article suggestion, custom model will not be used unless
      /// it is deployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation DeployConversationModel(global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_DeployConversationModel, null, options, request);
      }
      ///
      /// Deploys a model. If a model is already deployed, deploying it
      /// has no effect. A model can only serve prediction requests after it gets
      /// deployed. For article suggestion, custom model will not be used unless
      /// it is deployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> DeployConversationModelAsync(global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return DeployConversationModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Deploys a model. If a model is already deployed, deploying it
      /// has no effect. A model can only serve prediction requests after it gets
      /// deployed. For article suggestion, custom model will not be used unless
      /// it is deployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> DeployConversationModelAsync(global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_DeployConversationModel, null, options, request);
      }
      ///
      /// Undeploys a model. If the model is not deployed this method has no effect.
      /// If the model is currently being used:
      ///   - For article suggestion, article suggestion will fallback to the default
      ///     model if model is undeployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation UndeployConversationModel(global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return UndeployConversationModel(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Undeploys a model. If the model is not deployed this method has no effect.
      /// If the model is currently being used:
      ///   - For article suggestion, article suggestion will fallback to the default
      ///     model if model is undeployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation UndeployConversationModel(global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_UndeployConversationModel, null, options, request);
      }
      ///
      /// Undeploys a model. If the model is not deployed this method has no effect.
      /// If the model is currently being used:
      ///   - For article suggestion, article suggestion will fallback to the default
      ///     model if model is undeployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> UndeployConversationModelAsync(global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return UndeployConversationModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Undeploys a model. If the model is not deployed this method has no effect.
      /// If the model is currently being used:
      ///   - For article suggestion, article suggestion will fallback to the default
      ///     model if model is undeployed.
      ///
      /// This method is a [long-running
      /// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
      /// The returned `Operation` type has the following method-specific fields:
      ///
      /// - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
      /// - `response`: An [Empty
      ///   message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> UndeployConversationModelAsync(global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_UndeployConversationModel, null, options, request);
      }
      ///
      /// Gets an evaluation of conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation GetConversationModelEvaluation(global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return GetConversationModelEvaluation(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Gets an evaluation of conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation GetConversationModelEvaluation(global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_GetConversationModelEvaluation, null, options, request);
      }
      ///
      /// Gets an evaluation of conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation> GetConversationModelEvaluationAsync(global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return GetConversationModelEvaluationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Gets an evaluation of conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation> GetConversationModelEvaluationAsync(global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_GetConversationModelEvaluation, null, options, request);
      }
      ///
      /// Lists evaluations of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse ListConversationModelEvaluations(global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return ListConversationModelEvaluations(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Lists evaluations of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse ListConversationModelEvaluations(global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_ListConversationModelEvaluations, null, options, request);
      }
      ///
      /// Lists evaluations of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse> ListConversationModelEvaluationsAsync(global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return ListConversationModelEvaluationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Lists evaluations of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse> ListConversationModelEvaluationsAsync(global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_ListConversationModelEvaluations, null, options, request);
      }
      ///
      /// Creates evaluation of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation CreateConversationModelEvaluation(global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return CreateConversationModelEvaluation(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Creates evaluation of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Google.LongRunning.Operation CreateConversationModelEvaluation(global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_CreateConversationModelEvaluation, null, options, request);
      }
      ///
      /// Creates evaluation of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> CreateConversationModelEvaluationAsync(global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return CreateConversationModelEvaluationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      ///
      /// Creates evaluation of a conversation model.
      ///
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Google.LongRunning.Operation> CreateConversationModelEvaluationAsync(global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_CreateConversationModelEvaluation, null, options, request);
      }
      /// Creates a new instance of client from given <c>ClientBaseConfiguration</c>.
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      protected override ConversationModelsClient NewInstance(ClientBaseConfiguration configuration)
      {
        return new ConversationModelsClient(configuration);
      }
    }

    /// Creates service definition that can be registered with a server
    /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    public static grpc::ServerServiceDefinition BindService(ConversationModelsBase serviceImpl)
    {
      return grpc::ServerServiceDefinition.CreateBuilder()
          .AddMethod(__Method_CreateConversationModel, serviceImpl.CreateConversationModel)
          .AddMethod(__Method_GetConversationModel, serviceImpl.GetConversationModel)
          .AddMethod(__Method_ListConversationModels, serviceImpl.ListConversationModels)
          .AddMethod(__Method_DeleteConversationModel, serviceImpl.DeleteConversationModel)
          .AddMethod(__Method_DeployConversationModel, serviceImpl.DeployConversationModel)
          .AddMethod(__Method_UndeployConversationModel, serviceImpl.UndeployConversationModel)
          .AddMethod(__Method_GetConversationModelEvaluation, serviceImpl.GetConversationModelEvaluation)
          .AddMethod(__Method_ListConversationModelEvaluations, serviceImpl.ListConversationModelEvaluations)
          .AddMethod(__Method_CreateConversationModelEvaluation, serviceImpl.CreateConversationModelEvaluation).Build();
    }

    /// Register service method with a service binder with or without implementation. Useful when customizing the  service binding logic.
    /// Note: this method is part of an experimental API that can change or be removed without any prior notice.
    /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
    /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    public static void BindService(grpc::ServiceBinderBase serviceBinder, ConversationModelsBase serviceImpl)
    {
      serviceBinder.AddMethod(__Method_CreateConversationModel, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.CreateConversationModelRequest, global::Google.LongRunning.Operation>(serviceImpl.CreateConversationModel));
      serviceBinder.AddMethod(__Method_GetConversationModel, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.GetConversationModelRequest, global::Google.Cloud.Dialogflow.V2.ConversationModel>(serviceImpl.GetConversationModel));
      serviceBinder.AddMethod(__Method_ListConversationModels, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.ListConversationModelsRequest, global::Google.Cloud.Dialogflow.V2.ListConversationModelsResponse>(serviceImpl.ListConversationModels));
      serviceBinder.AddMethod(__Method_DeleteConversationModel, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.DeleteConversationModelRequest, global::Google.LongRunning.Operation>(serviceImpl.DeleteConversationModel));
      serviceBinder.AddMethod(__Method_DeployConversationModel, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.DeployConversationModelRequest, global::Google.LongRunning.Operation>(serviceImpl.DeployConversationModel));
      serviceBinder.AddMethod(__Method_UndeployConversationModel, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.UndeployConversationModelRequest, global::Google.LongRunning.Operation>(serviceImpl.UndeployConversationModel));
      serviceBinder.AddMethod(__Method_GetConversationModelEvaluation, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.GetConversationModelEvaluationRequest, global::Google.Cloud.Dialogflow.V2.ConversationModelEvaluation>(serviceImpl.GetConversationModelEvaluation));
      serviceBinder.AddMethod(__Method_ListConversationModelEvaluations, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsRequest, global::Google.Cloud.Dialogflow.V2.ListConversationModelEvaluationsResponse>(serviceImpl.ListConversationModelEvaluations));
      serviceBinder.AddMethod(__Method_CreateConversationModelEvaluation, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Cloud.Dialogflow.V2.CreateConversationModelEvaluationRequest, global::Google.LongRunning.Operation>(serviceImpl.CreateConversationModelEvaluation));
    }

  }
}
#endregion


text:
'use strict';

angular.module('administrador').config(['$routeProvider',
  function($routeProvider){
    $routeProvider.
    when('/', {
      templateUrl: 'app_Angular/Administrador/views/view-CajasPendientes.view.html',
      controller: 'view-CajasPendientes.controller'
    }).
    when('/reporteXLocales', {
      templateUrl: 'app_Angular/Administrador/views/reporte-sucursal.view.html',
      controller: 'reporte-sucursal.controller'
    }).
    when('/reporteXCategorias', {
      templateUrl: 'app_Angular/Administrador/views/reporte-categoria.view.html',
      controller: 'reporte-categoria.controller'
    }).
    when('/cajasPendientes', {
      templateUrl: 'app_Angular/Administrador/views/view-CajasPendientes.view.html',
      controller: 'view-CajasPendientes.controller'
    }).
    when('/cajasAprobadas', {
      templateUrl: 'app_Angular/Administrador/views/view-CajasAprobadas.view.html',
      controller: 'view-CajasAprobadas.controller'
    }).
    when('/cajasRechazadas', {
      templateUrl: 'app_Angular/Administrador/views/view-CajasRechazadas.view.html',
      controller: 'view-Cajas.controller'
    }).
    when('/caja/:cajaId', {
      templateUrl: 'app_Angular/Administrador/views/view-caja.view.html',
      controller: 'view-caja.controller'
    }).
    when('/caja/:cajaId/detalle/:detalleId', {
      templateUrl: 'app_Angular/Administrador/views/view-detalle.view.html',
      controller: 'view-detalle.controller'
    }).
    when('/reporteSucursal/:tipo/:anio/:mes/:nombre', {
      templateUrl: 'app_Angular/Administrador/views/detallesCeldaReporteSucursal.view.html',
      controller: 'detallesByCeldaSucursal.controller'
    }).
    when('/reporteCategoria/:tipo/:anio/:mes/:nombre', {
      templateUrl: 'app_Angular/Administrador/views/detallesCeldaReporteCategoria.view.html',
      controller: 'detallesByCeldaCategoria.controller'
    }).
    when('/CambiarContrasena', {
      templateUrl: 'app_Angular/Administrador/views/cambiarContrasena.view.html',
      controller: 'cambiarContrasena.controller'
    }).
    when('/detalles/:anio/:mes/:sucursal/:categoria', {
      templateUrl: 'app_Angular/Super/views/view_celda.view.html',
      controller: 'view_celda.controller'
    });
  }
]);

redpajama_set_name: RedPajamaGithub


text:
/**
 * Contains scene graph nodes and utilities.
 *
 * @namespace B.Graph
 */
B.Graph = {};

/**
 * Graph traverse order.
 *
 * @enum {number}
 * @readonly
 */
B.Graph.Order = {

    /**
     * Pre-order (depth-first) traversal.
     *
     * @constant
     */
    PRE: 1,

    /**
     * Post-order (depth-first) traversal.
     *
     * @constant
     */
    POST: 2//,

    /**
     * Level-order (breadth-first) traversal.
     *
     * @constant
     */
    //LEVEL: 3
};

/**
 * Makes a node.
 *
 * @returns {B.Graph.Node}
 */
B.Graph.makeNode = function () {

    return new B.Graph.Node();
};

/**
 * Makes a locator (transformed location in 3D-space).
 *
 * @returns {B.Graph.Locator}
 */
B.Graph.makeLocator = function () {

    return new B.Graph.Locator();
};

/**
 * Makes a visual (transformed mesh + material).
 *
 * @returns {B.Graph.Visual}
 */
B.Graph.makeVisual = function () {

    return new B.Graph.Visual();
};

/**
 * Makes a camera.
 *
 * @returns {B.Graph.Camera}
 */
B.Graph.makeCamera = function () {

    return new B.Graph.Camera();
};

/**
 * Makes a light.
 *
 * @returns {B.Graph.Light}
 */
B.Graph.makeLight = function () {

    return new B.Graph.Light();
};


text:
package br.com.objectos.jabuticava;

/**
 * @author marcio.endo@objectos.com.br (Marcio Endo)
 */
public class ExcecaoDeCepInvalido extends RuntimeException {

  private static final long serialVersionUID = 1L;

  public ExcecaoDeCepInvalido(String message) {
    super(message);
  }

}


text:
import React from 'react';
import { createElement, Component } from 'react';
import omit from 'omit.js';
import classNames from 'classnames';
function getNumberArray(num) {
    return num ?
        num.toString()
            .split('')
            .reverse()
            .map(i => Number(i)) : [];
}
export default class ScrollNumber extends Component {
    constructor(props) {
        super(props);
        this.state = {
            animateStarted: true,
            count: props.count,
        };
    }
    getPositionByNum(num, i) {
        if (this.state.animateStarted) {
            return 10 + num;
        }
        const currentDigit = getNumberArray(this.state.count)[i];
        const lastDigit = getNumberArray(this.lastCount)[i];
        // 同方向则在同一侧切换数字
        if (this.state.count > this.lastCount) {
            if (currentDigit >= lastDigit) {
                return 10 + num;
            }
            return 20 + num;
        }
        if (currentDigit <= lastDigit) {
            return 10 + num;
        }
        return num;
    }
    componentWillReceiveProps(nextProps) {
        if ('count' in nextProps) {
            if (this.state.count === nextProps.count) {
                return;
            }
            this.lastCount = this.state.count;
            // 复原数字初始位置
            this.setState({
                animateStarted: true,
            }, () => {
                // 等待数字位置复原完毕
                // 开始设置完整的数字
                setTimeout(() => {
                    this.setState({
                        animateStarted: false,
                        count: nextProps.count,
                    }, () => {
                        const onAnimated = this.props.onAnimated;
                        if (onAnimated) {
                            onAnimated();
                        }
                    });
                }, 5);
            });
        }
    }
    renderNumberList(position) {
        const childrenToReturn = [];
        for (let i = 0; i < 30; i++) {
            const currentClassName = (position === i) ? 'current' : '';
            childrenToReturn.push(React.createElement("p", { key: i.toString(), className: currentClassName }, i % 10));
        }
        return childrenToReturn;
    }
    renderCurrentNumber(num, i) {
        const position = this.getPositionByNum(num, i);
        const removeTransition = this.state.animateStarted ||
            (getNumberArray(this.lastCount)[i] === undefined);
        return createElement('span', {
            className: `${this.props.prefixCls}-only`,
            style: {
                transition: removeTransition && 'none',
                msTransform: `translateY(${-position * 100}%)`,
                WebkitTransform: `translateY(${-position * 100}%)`,
                transform: `translateY(${-position * 100}%)`,
            },
            key: i,
        }, this.renderNumberList(position));
    }
    renderNumberElement() {
        const state = this.state;
        if (!state.count || isNaN(state.count)) {
            return state.count;
        }
        return getNumberArray(state.count)
            .map((num, i) => this.renderCurrentNumber(num, i)).reverse();
    }
    render() {
        const { prefixCls, className, style, title, component = 'sup' } = this.props;
        // fix https://fb.me/react-unknown-prop
        const restProps = omit(this.props, [
            'count',
            'onAnimated',
            'component',
            'prefixCls',
        ]);
        const newProps = Object.assign({}, restProps, { className: classNames(prefixCls, className), title: title });
        // allow specify the border
        // mock border-color by box-shadow for compatible with old usage:
        // <Badge count={4} style={{ backgroundColor: '#fff', color: '#999', borderColor: '#d9d9d9' }} />
        if (style && style.borderColor) {
            newProps.style.boxShadow = `0 0 0 1px ${style.borderColor} inset`;
        }
        return createElement(component, newProps, this.renderNumberElement());
    }
}
ScrollNumber.defaultProps = {
    prefixCls: 'ant-scroll-number',
    count: null,
    onAnimated() {
    },
};


text:
package fibex.protocols.flexray;

import fibex.structures.FibexCluster;
import fibex.structures.FibexCluster2_0_1;

/**
 * This class represents the FlexRay specific functionality of a FIBEX cluster
 *
 * @author TUM CREATE - RP3 - Philipp Mundhenk
 */
public class FibexFlexRayCluster2_0_1 extends FibexCluster2_0_1 implements FlexRayCluster
{
	/**
	 * This constructor creates a new FlexRay cluster. Access via getInstance()
	 *
	 * @param clusterRepresentation
	 * reference to the FIBEX cluster node
	 * @param docReference
	 * reference to the FIBEX document
	 */
	protected FibexFlexRayCluster2_0_1(Object clusterRepresentation, Object docReference)
	{
		super(clusterRepresentation, docReference);
	}

	/**
	 * This method creates and returns a new instance of a FlexRay cluster
	 *
	 * @param clusterRepresentation
	 * reference to FIBEX cluster node
	 * @param docReference
	 * reference to FIBEX file
	 * @return
	 * newly created cluster, null if cluster is not of type FlexRay
	 */
	public static FibexCluster getInstance(Object clusterRepresentation, Object docReference)
	{
		if(((net.asam.xml.fbx.CLUSTERTYPE)clusterRepresentation).getPROTOCOL().equals("FlexRay"))
		{
			return new FibexFlexRayCluster2_0_1(clusterRepresentation, docReference);
		}
		else
		{
			return null;
		}
	}

	/**
	 * This method returns the number of static slots in the cluster
	 *
	 * @return
	 * number of static slots
	 */
	@Override
	public int getNumberOfStaticSlots()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getNUMBEROFSTATICSLOTS();
	}

	/**
	 * This method returns the number of minislots in the cluster
	 *
	 * @return
	 * number of minislots
	 */
	@Override
	public int getNumberOfMinislots()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getNUMBEROFMINISLOTS();
	}

	/**
	 * This method returns the duration of a minislot in microseconds
	 *
	 * @return
	 * duration of minislot in microseconds
	 */
	@Override
	public double getMinislotDuration_micros()
	{
		return getMinislotDuration_Macroticks()*getMacrotickDuration_micros();
	}

	/**
	 * This method returns the network idle time (NIT) in microseconds
	 *
	 * @return
	 * duration of NIT in microseconds
	 */
	@Override
	public double getNITDuration_micros()
	{
		return getNITDuration_Macroticks()*getMacrotickDuration_micros();
	}

	/**
	 * This method returns the duration of the symbol window in microseconds
	 *
	 * @return
	 * duration of symbol windows in microseconds
	 */
	@Override
	public double getSymbolWindowDuration_micros()
	{
		return getSymbolWindowDuration_Macroticks()*getMacrotickDuration_micros();
	}

	/**
	 * This method returns the duration of a static slot in microseconds
	 *
	 * @return
	 * duration of static slot in microseconds
	 */
	@Override
	public double getStaticSlotDuration_micros()
	{
		return getStaticSlotDuration_Macroticks()*getMacrotickDuration_micros();
	}

	/**
	 * This method returns the duration of a minislot in macroticks
	 *
	 * @return
	 * duration of minislot in macroticks
	 */
	@Override
	public int getMinislotDuration_Macroticks()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getMINISLOT();
	}

	/**
	 * This method returns the duration of the netowrk idle time (NIT) in macroticks
	 *
	 * @return
	 * duration of NIT in macroticks
	 */
	@Override
	public int getNITDuration_Macroticks()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getNIT();
	}

	/**
	 * This method returns the duration of the symbol window in macroticks
	 *
	 * @return
	 * duration of symbol window in macroticks
	 */
	@Override
	public int getSymbolWindowDuration_Macroticks()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getSYMBOLWINDOW();
	}

	/**
	 * This method returns the duration of a static slot in macroticks
	 *
	 * @return
	 * duration of static slot in macroticks
	 */
	@Override
	public int getStaticSlotDuration_Macroticks()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getSTATICSLOT();
	}

	/**
	 * This method returns the duration of a cycle in microseconds
	 *
	 * @return
	 * duration of cycle in microseconds
	 */
	@Override
	public double getCycleDuration_micros()
	{
		return getCycleDuration_Macroticks()*getMacrotickDuration_micros();
	}

	/**
	 * This method returns the duration of a cycle in macroticks
	 *
	 * @return
	 * duration of cycle in macroticks
	 */
	@Override
	public int getCycleDuration_Macroticks()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getCYCLE();
	}

	/**
	 * This method returns the duration of a macrotick in microseconds
	 *
	 * @return
	 * duration of macrotick in microseconds
	 */
	@Override
	public double getMacrotickDuration_micros()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getMACROTICK();
	}

	/**
	 * This method returns the duration of a bit in microseconds
	 *
	 * @return
	 * duration of bit in microseconds
	 */
	@Override
	public double getBitDuration_micros()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getBIT();
	}

	/**
	 * This method returns the length of the payload in each static slot in bytes
	 *
	 * @return
	 * length of static payload in bytes
	 */
	@Override
	public int getStaticSlotPayloadLength_Byte()
	{
		return ((net.asam.xml.fbx.flexray.CLUSTERTYPE)clusterRepresentation).getPAYLOADLENGTHSTATIC()*2;
	}
}


text:
(function() {
  'use strict';

  var Data = {
    registName: '准备中...',
    seed: [],
    publicKey: [],
    secretKey: [],
    fullName: null,
    email: null,
    password: null,
    nodes: [],
    classObj: {
      fullName: {
        'animated': true,
        'shake': false
      },
      email: {
        'animated': true,
        'shake': false
      },
      regist: {
        'disabled': true
      }
    },
    statusBoolean: {
      getKeyPairSuccess: false,
      registWaiting: false
    },
    fileData: 'data:text/txt;charset=utf-8,',
    fileName: 'KeyPair.json'
  };

  new Vue({
    el: '.js-regist',
    data: Data,
    mounted: function() {
      var self = this;

      self.seed = helper.strToIntArray(self.$el.getAttribute('data-seed'));
      self.publicKey = helper.strToIntArray(self.$el.getAttribute('data-publicKey'));
      self.secretKey = helper.strToIntArray(self.$el.getAttribute('data-secretKey'));

      setTimeout(function(){
        axios.get('/api/bittorrent-dht/dhtReady');
        axios.get('/api/bittorrent-dht/getNodes')
          .then(function(resp) {
            self.nodes = resp.data.nodes;
          });
      }, 0);
    },
    methods: {
      method_Regist: function(e) {
        var self = this;

        if (!self.fullName) {
          self.method_shake(self.classObj.fullName);
          return false;
        }
        if (!self.email) {
          self.method_shake(self.classObj.email);
          return false;
        }

        axios.post('/api/bittorrent-dht/regist', {
            text: 'Hello,我加入tweetsTorrent了! :)',
            publicKey: self.publicKey,
            secretKey: self.secretKey
          }).then(function(resp) {
            self.statusBoolean.registWaiting = true;
            self.classObj.regist.disabled = true;
            console.log(resp.data);
          }, function(err) {
            console.log(err);
          });
      },
      method_shake: function(it) {
        it.shake = true;
        setTimeout(function() {
          it.shake = false;
        }, 1*1000);
      }
    }
  });

  var socket = io(window.location.origin);

  socket.on('/api/bittorrent-dht/dhtReady', function(data) {
    if (data) {
      Data.classObj.regist.disabled = false;
      Data.registName = '注册';
    }
  });

  socket.on('/api/bittorrent-dht/regist', function(data) {
    // data.uid;
    // data.uidOrigin;
    // data.announce;
    data.publicKey = Data.publicKey;
    data.secretKey = Data.secretKey;
    data.fullName  = Data.fullName;
    data.email     = Data.email;
    data.nodes     = Data.nodes;

    var text;
    if (Data.password) {
      text = CryptoJS.AES
        .encrypt(JSON.stringify(data), Data.password)
        .toString();
      Data.fileName += '.aes';
    } else {
      text = JSON.stringify(data);
    }

    Data.fileData = Data.fileData + text;
    Data.statusBoolean.getKeyPairSuccess = true;
  });

  window.Data = Data;
})();


text:
<manifest package="veni.divi">

    <application />

</manifest>


text:
module ActiveModel
  class Errors
    def add(attribute, message = :invalid, options = {})
      message = normalize_message(attribute, message, options)
      if exception = options[:strict]
        exception = ActiveModel::StrictValidationFailed if exception == true
        raise exception, full_message(attribute, message)
      end

      # CUSTOM logging
      Rails.logger.info "USER MSG: ACTIVEMODEL: #{@base.try(:class)} [#{attribute}] #{message}" if message.present?
      # END of CUSTOM logging

      self[attribute] << message
    end
  end
end


text:
from flask import Blueprint
api = Blueprint('api', __name__)
from . import connect, hd, slow, wv, hk, adu5, mon, history, turf, hk_surf, sshk, g12, cmd


text:
package org.scalajs.core.compiler.test

import util._

import org.junit.Test
import org.junit.Assert._

import org.scalajs.core.ir.{Trees => js}

class JSExportASTTest extends JSASTTest {

  @Test
  def inheritExportMethods: Unit = {
    """
    import scala.scalajs.js.annotation.JSExport

    class A {
      @JSExport
      def foo = 1
    }

    class B extends A {
      @JSExport
      override def foo = 2
    }
    """.hasExactly(1, "definitions of property `foo`") {
      case js.PropertyDef(_, js.StringLiteral("foo"), _, _) =>
    }
  }

}