• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14// Dummy protos for use in tests
15syntax = "proto2";
16
17package google.android.storage.common;
18
19import "google/protobuf/timestamp.proto";
20
21option java_package = "com.google.mobiledatadownload.testing";
22option java_outer_classname = "TestMessageProto";
23
24message FooProto {
25  optional string text = 1;
26  optional bool boolean = 2;
27  optional int32 integer = 3;
28  optional bytes bytes = 4;
29  optional google.protobuf.Timestamp timestamp = 5;
30}
31
32message BarProto {
33  optional int32 integer = 1;
34}
35
36message ExtendableProto {
37  extensions 1000 to max;
38}
39
40message ExtensionProto {
41  extend ExtendableProto {
42    optional ExtensionProto extension = 226219688;
43  }
44  optional FooProto foo = 1;
45}
46
47message MapProto {
48  map<string, BarProto> bar = 2;
49}
50