Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/google/protobuf/wrappers.proto is written in an unsupported language. File is not indexed.

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2008 Google Inc.  All rights reserved.
0003 // https://developers.google.com/protocol-buffers/
0004 //
0005 // Redistribution and use in source and binary forms, with or without
0006 // modification, are permitted provided that the following conditions are
0007 // met:
0008 //
0009 //     * Redistributions of source code must retain the above copyright
0010 // notice, this list of conditions and the following disclaimer.
0011 //     * Redistributions in binary form must reproduce the above
0012 // copyright notice, this list of conditions and the following disclaimer
0013 // in the documentation and/or other materials provided with the
0014 // distribution.
0015 //     * Neither the name of Google Inc. nor the names of its
0016 // contributors may be used to endorse or promote products derived from
0017 // this software without specific prior written permission.
0018 //
0019 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
0020 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
0021 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
0022 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
0023 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
0024 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
0025 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
0026 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
0027 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0028 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
0029 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0030 //
0031 // Wrappers for primitive (non-message) types. These types are useful
0032 // for embedding primitives in the `google.protobuf.Any` type and for places
0033 // where we need to distinguish between the absence of a primitive
0034 // typed field and its default value.
0035 //
0036 // These wrappers have no meaningful use within repeated fields as they lack
0037 // the ability to detect presence on individual elements.
0038 // These wrappers have no meaningful use within a map or a oneof since
0039 // individual entries of a map or fields of a oneof can already detect presence.
0040 
0041 syntax = "proto3";
0042 
0043 package google.protobuf;
0044 
0045 option cc_enable_arenas = true;
0046 option go_package = "google.golang.org/protobuf/types/known/wrapperspb";
0047 option java_package = "com.google.protobuf";
0048 option java_outer_classname = "WrappersProto";
0049 option java_multiple_files = true;
0050 option objc_class_prefix = "GPB";
0051 option csharp_namespace = "Google.Protobuf.WellKnownTypes";
0052 
0053 // Wrapper message for `double`.
0054 //
0055 // The JSON representation for `DoubleValue` is JSON number.
0056 message DoubleValue {
0057   // The double value.
0058   double value = 1;
0059 }
0060 
0061 // Wrapper message for `float`.
0062 //
0063 // The JSON representation for `FloatValue` is JSON number.
0064 message FloatValue {
0065   // The float value.
0066   float value = 1;
0067 }
0068 
0069 // Wrapper message for `int64`.
0070 //
0071 // The JSON representation for `Int64Value` is JSON string.
0072 message Int64Value {
0073   // The int64 value.
0074   int64 value = 1;
0075 }
0076 
0077 // Wrapper message for `uint64`.
0078 //
0079 // The JSON representation for `UInt64Value` is JSON string.
0080 message UInt64Value {
0081   // The uint64 value.
0082   uint64 value = 1;
0083 }
0084 
0085 // Wrapper message for `int32`.
0086 //
0087 // The JSON representation for `Int32Value` is JSON number.
0088 message Int32Value {
0089   // The int32 value.
0090   int32 value = 1;
0091 }
0092 
0093 // Wrapper message for `uint32`.
0094 //
0095 // The JSON representation for `UInt32Value` is JSON number.
0096 message UInt32Value {
0097   // The uint32 value.
0098   uint32 value = 1;
0099 }
0100 
0101 // Wrapper message for `bool`.
0102 //
0103 // The JSON representation for `BoolValue` is JSON `true` and `false`.
0104 message BoolValue {
0105   // The bool value.
0106   bool value = 1;
0107 }
0108 
0109 // Wrapper message for `string`.
0110 //
0111 // The JSON representation for `StringValue` is JSON string.
0112 message StringValue {
0113   // The string value.
0114   string value = 1;
0115 }
0116 
0117 // Wrapper message for `bytes`.
0118 //
0119 // The JSON representation for `BytesValue` is JSON string.
0120 message BytesValue {
0121   // The bytes value.
0122   bytes value = 1;
0123 }