EnvironmentsServiceBase constructor

EnvironmentsServiceBase()

Implementation

EnvironmentsServiceBase() {
  $addMethod($grpc.ServiceMethod<$11.ListEnvironmentsRequest,
          $11.ListEnvironmentsResponse>(
      'ListEnvironments',
      listEnvironments_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $11.ListEnvironmentsRequest.fromBuffer(value),
      ($11.ListEnvironmentsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$11.GetEnvironmentRequest, $11.Environment>(
      'GetEnvironment',
      getEnvironment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $11.GetEnvironmentRequest.fromBuffer(value),
      ($11.Environment value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$11.CreateEnvironmentRequest, $2.Operation>(
      'CreateEnvironment',
      createEnvironment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $11.CreateEnvironmentRequest.fromBuffer(value),
      ($2.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$11.UpdateEnvironmentRequest, $2.Operation>(
      'UpdateEnvironment',
      updateEnvironment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $11.UpdateEnvironmentRequest.fromBuffer(value),
      ($2.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$11.DeleteEnvironmentRequest, $1.Empty>(
      'DeleteEnvironment',
      deleteEnvironment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $11.DeleteEnvironmentRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$11.LookupEnvironmentHistoryRequest,
          $11.LookupEnvironmentHistoryResponse>(
      'LookupEnvironmentHistory',
      lookupEnvironmentHistory_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $11.LookupEnvironmentHistoryRequest.fromBuffer(value),
      ($11.LookupEnvironmentHistoryResponse value) => value.writeToBuffer()));
}