Files
nearby/proto/setup_enums.proto
T
Alexey Polyudov 4baa1ce96a Roll forward to cl/314747126
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: Ie19e006429b138b3768e97dae971a43fdc5ef8bf
2020-06-04 13:50:45 -07:00

40 lines
1.3 KiB
Protocol Buffer

// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto2";
package location.nearby.proto.setup;
option optimize_for = LITE_RUNTIME;
option java_package = "com.google.location.nearby.proto";
option java_outer_classname = "SetupEnums";
option objc_class_prefix = "GNSP";
// The type of event being logged.
// Lightweight START_* and STOP_* events track instances of potential crashes
// that would result in a ClientSession not being logged.
enum EventType {
UNKNOWN_EVENT_TYPE = 0;
// A completed ClientSession, logged after a client disconnects.
CLIENT_SESSION = 1;
// Corresponds to googleApiClient.connect() and the beginning of a
// ClientSession.
START_CLIENT_SESSION = 2;
// Corresponds to googleApiClient.disconnect() and the end of a ClientSession.
STOP_CLIENT_SESSION = 3;
}