Merge pull request #6 from tbetbetbe/googleapis-sync-protos-with-v3.0.0.alpha-3.1

Syncs the google well-known protos with protobuf-3.0.0-alpha-3.1
pull/7/head
Hong Zhang 10 years ago
commit 8762cf43ae
  1. 39
      google/protobuf/any.proto
  2. 38
      google/protobuf/api.proto
  3. 41
      google/protobuf/duration.proto
  4. 39
      google/protobuf/empty.proto
  5. 46
      google/protobuf/field_mask.proto
  6. 38
      google/protobuf/source_context.proto
  7. 39
      google/protobuf/struct.proto
  8. 46
      google/protobuf/timestamp.proto
  9. 39
      google/protobuf/type.proto
  10. 43
      google/protobuf/wrappers.proto

@ -1,17 +1,32 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
@ -20,6 +35,8 @@ option java_generate_equals_and_hash = true;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "AnyProto"; option java_outer_classname = "AnyProto";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option csharp_namespace = "Google.ProtocolBuffers";
option objc_class_prefix = "GPB";
// `Any` contains an arbitrary serialized message along with a URL // `Any` contains an arbitrary serialized message along with a URL

@ -1,17 +1,32 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
@ -22,6 +37,7 @@ import "google/protobuf/type.proto";
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "ApiProto"; option java_outer_classname = "ApiProto";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option objc_class_prefix = "GPB";
// Api is a light-weight descriptor for a protocol buffer service. // Api is a light-weight descriptor for a protocol buffer service.

@ -1,27 +1,42 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
option javanano_use_deprecated_package = true;
package google.protobuf; package google.protobuf;
option java_generate_equals_and_hash = true; option java_generate_equals_and_hash = true;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "DurationProto"; option java_outer_classname = "DurationProto";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option csharp_namespace = "Google.ProtocolBuffers";
option objc_class_prefix = "GPB";
// A Duration represents a signed, fixed-length span of time represented // A Duration represents a signed, fixed-length span of time represented
// as a count of seconds and fractions of seconds at nanosecond // as a count of seconds and fractions of seconds at nanosecond

@ -1,25 +1,40 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "EmptyProto"; option java_outer_classname = "EmptyProto";
option javanano_use_deprecated_package = true;
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option objc_class_prefix = "GPB";
// A generic empty message that you can re-use to avoid defining duplicated // A generic empty message that you can re-use to avoid defining duplicated

@ -1,25 +1,41 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// // Copyright 2008 Google Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); // https://developers.google.com/protocol-buffers/
// you may not use this file except in compliance with the License. //
// You may obtain a copy of the License at // Redistribution and use in source and binary forms, with or without
// // modification, are permitted provided that the following conditions are
// http://www.apache.org/licenses/LICENSE-2.0 // met:
// //
// Unless required by applicable law or agreed to in writing, software // * Redistributions of source code must retain the above copyright
// distributed under the License is distributed on an "AS IS" BASIS, // notice, this list of conditions and the following disclaimer.
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // * Redistributions in binary form must reproduce the above
// See the License for the specific language governing permissions and // copyright notice, this list of conditions and the following disclaimer
// limitations under the License. // in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "FieldMaskProto"; option java_outer_classname = "FieldMaskProto";
option javanano_use_deprecated_package = true;
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option csharp_namespace = "Google.ProtocolBuffers";
option objc_class_prefix = "GPB";
// `FieldMask` represents a set of symbolic field paths, for example: // `FieldMask` represents a set of symbolic field paths, for example:

@ -1,17 +1,32 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
@ -19,6 +34,7 @@ package google.protobuf;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "SourceContextProto"; option java_outer_classname = "SourceContextProto";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option objc_class_prefix = "GPB";
// `SourceContext` represents information about the source of a // `SourceContext` represents information about the source of a

@ -1,17 +1,32 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
@ -20,6 +35,8 @@ option java_generate_equals_and_hash = true;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "StructProto"; option java_outer_classname = "StructProto";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option csharp_namespace = "Google.ProtocolBuffers";
option objc_class_prefix = "GPB";
// `Struct` represents a structured data value, consisting of fields // `Struct` represents a structured data value, consisting of fields

@ -1,17 +1,32 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// // Copyright 2008 Google Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); // https://developers.google.com/protocol-buffers/
// you may not use this file except in compliance with the License. //
// You may obtain a copy of the License at // Redistribution and use in source and binary forms, with or without
// // modification, are permitted provided that the following conditions are
// http://www.apache.org/licenses/LICENSE-2.0 // met:
// //
// Unless required by applicable law or agreed to in writing, software // * Redistributions of source code must retain the above copyright
// distributed under the License is distributed on an "AS IS" BASIS, // notice, this list of conditions and the following disclaimer.
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // * Redistributions in binary form must reproduce the above
// See the License for the specific language governing permissions and // copyright notice, this list of conditions and the following disclaimer
// limitations under the License. // in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
@ -19,8 +34,9 @@ package google.protobuf;
option java_generate_equals_and_hash = true; option java_generate_equals_and_hash = true;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "TimestampProto"; option java_outer_classname = "TimestampProto";
option javanano_use_deprecated_package = true;
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option csharp_namespace = "Google.ProtocolBuffers";
option objc_class_prefix = "GPB";
// A Timestamp represents a point in time independent of any time zone // A Timestamp represents a point in time independent of any time zone

@ -1,17 +1,32 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3"; syntax = "proto3";
package google.protobuf; package google.protobuf;
@ -21,8 +36,8 @@ import "google/protobuf/source_context.proto";
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "TypeProto"; option java_outer_classname = "TypeProto";
option javanano_use_deprecated_package = true;
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option objc_class_prefix = "GPB";
// A light-weight descriptor for a proto message type. // A light-weight descriptor for a proto message type.

@ -1,16 +1,37 @@
// Copyright (c) 2015, Google Inc. // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Redistribution and use in source and binary forms, with or without
// you may not use this file except in compliance with the License. // modification, are permitted provided that the following conditions are
// You may obtain a copy of the License at // met:
// //
// http://www.apache.org/licenses/LICENSE-2.0 // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
// //
// Unless required by applicable law or agreed to in writing, software // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// distributed under the License is distributed on an "AS IS" BASIS, // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// See the License for the specific language governing permissions and // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// limitations under the License. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Wrappers for primitive (non-message) types. These types are useful
// for embedding primitives in the `google.protobuf.Any` type and for places
// where we need to distinguish between the absence of a primitive
// typed field and its default value.
syntax = "proto3"; syntax = "proto3";
@ -19,6 +40,8 @@ package google.protobuf;
option java_multiple_files = true; option java_multiple_files = true;
option java_outer_classname = "WrappersProto"; option java_outer_classname = "WrappersProto";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option csharp_namespace = "Google.ProtocolBuffers";
option objc_class_prefix = "GPB";
// Wrapper message for double. // Wrapper message for double.

Loading…
Cancel
Save