Home
last modified time | relevance | path

Searched refs:BytesValue (Results 1 - 17 of 17) sorted by relevance

/third_party/protobuf/php/tests/
H A DWrapperTypeSettersTest.php8 use Google\Protobuf\BytesValue;
120 [TestWrapperSetters::class, BytesValue::class, "setBytesValue", "setBytesValueUnwrapped", "getBytesValue", "getBytesValueUnwrapped", [
121 ["asdf", new BytesValue(["value" => "asdf"])],
122 ["", new BytesValue(["value" => ""])],
124 ["", new BytesValue()],
125 [5, new BytesValue(["value" => "5"])], // Test conversion from number to bytes
126 [5.5, new BytesValue(["value" => "5.5"])], // Test conversion from number to bytes
127 [-7, new BytesValue(["value" => "-7"])], // Test conversion from number to bytes
128 [-7.5, new BytesValue(["value" => "-7.5"])], // Test conversion from number to bytes
201 [TestWrapperSetters::class, "setBytesValueUnwrapped", new BytesValue()],
[all...]
H A DWellKnownTest.php11 use Google\Protobuf\BytesValue;
393 $m = new BytesValue();
H A DEncodeDecodeTest.php32 use Google\Protobuf\BytesValue;
200 $m = new BytesValue();
207 $m = new BytesValue();
222 $m = new BytesValue();
/third_party/protobuf/src/google/protobuf/
H A Dwrappers.pb.cc52 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<BytesValue> _instance;
74 new (ptr) PROTOBUF_NAMESPACE_ID::BytesValue(); in InitDefaultsscc_info_BytesValue_google_2fprotobuf_2fwrappers_2eproto()
77 PROTOBUF_NAMESPACE_ID::BytesValue::InitAsDefaultInstance(); in InitDefaultsscc_info_BytesValue_google_2fprotobuf_2fwrappers_2eproto()
235 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, _internal_metadata_),
239 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, value_),
250 { 48, -1, sizeof(PROTOBUF_NAMESPACE_ID::BytesValue)},
1888 void BytesValue::InitAsDefaultInstance() { in InitAsDefaultInstance()
1890 class BytesValue::_Internal {
1894 BytesValue::BytesValue( function in BytesValue
1900 BytesValue::BytesValue(const BytesValue& from) BytesValue() function in BytesValue
[all...]
H A Dwrappers.pb.h61 class BytesValue;
88 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::BytesValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::BytesValue>(Arena*);
1204 class PROTOBUF_EXPORT BytesValue PROTOBUF_FINAL :
1205 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BytesValue) */ {
1207 inline BytesValue() : BytesValue(nullptr) {} in BytesValue() function in PROTOBUF_FINAL
1208 virtual ~BytesValue();
1210 BytesValue(const BytesValue
1212 : BytesValue() { BytesValue() function in PROTOBUF_FINAL
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DWrappers.cs48 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.BytesValue), global::Google.Protobuf.WellKnownTypes.BytesValue.Parser, new[]{ "Value" }, null, null, null, null) in WrappersReflection()
1498 /// The JSON representation for `BytesValue` is JSON string.
1500 public sealed partial class BytesValue : pb::IMessage<BytesValue> class
1505 private static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<BytesValue>(() => new BytesValue());
1508 public static pb::MessageParser<BytesValue> Parser { get { return _parser; } }
1521 public BytesValue() { in BytesValue() method in Google.Protobuf.WellKnownTypes.BytesValue
1528 public BytesValue(BytesValue other) : this() { BytesValue() method in Google.Protobuf.WellKnownTypes.BytesValue
[all...]
/third_party/protobuf/php/src/Google/Protobuf/
H A DBytesValue.php13 * The JSON representation for `BytesValue` is JSON string.
15 * Generated from protobuf message <code>google.protobuf.BytesValue</code>
17 class BytesValue extends \Google\Protobuf\Internal\Message class
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DWrappersLiteOfMethodTest.java48 builder.setFieldBytes(BytesValue.of(ByteString.wrap("233".getBytes(Internal.UTF_8)))); in testOf()
H A DWrappersOfMethodTest.java48 builder.setFieldBytes(BytesValue.of(ByteString.wrap("233".getBytes(Internal.UTF_8)))); in testOf()
/third_party/protobuf/ruby/tests/
H A Dbasic.rb277 map_bytes: {0 => Google::Protobuf::BytesValue.new(value: 'fun')},
319 map_bytes: {0 => Google::Protobuf::BytesValue.new(value: '')},
361 map_bytes: {0 => Google::Protobuf::BytesValue.new()},
H A Dcommon_tests.rb1290 bytes: Google::Protobuf::BytesValue.new(value: ''),
1347 bytes: Google::Protobuf::BytesValue.new(value: 'fun'),
1394 repeated_bytes: [Google::Protobuf::BytesValue.new(value: 'fun')],
1486 run_test.call(Google::Protobuf::BytesValue, 'fun')
1517 assert_equal Google::Protobuf::BytesValue.new(value: '123'), m.bytes
1559 bytes: Google::Protobuf::BytesValue.new(value: 'fun'),
1596 m.bytes = Google::Protobuf::BytesValue.new(value: '123')
1598 assert_equal Google::Protobuf::BytesValue.new(value: '123'), m.bytes
1641 bytes: Google::Protobuf::BytesValue.new(value: 'fun'),
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc52 using google::protobuf::BytesValue;
224 value->PackFrom(WrapValue<BytesValue>(val)); in ConvertOptionField()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DJsonParserTest.cs171 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
172 var expected = new BytesValue { Value = data }; in BytesWrapper_Standalone()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DJsonParserTest.cs173 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
174 var expected = new BytesValue { Value = data }; in BytesWrapper_Standalone()
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DJsonFormat.java49 import com.google.protobuf.BytesValue;
804 printers.put(BytesValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
1386 parsers.put(BytesValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypeParsers()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DJsonFormatTest.java37 import com.google.protobuf.BytesValue;
1019 Any.pack(BytesValue.newBuilder().setValue(ByteString.copyFrom(new byte[] {1, 2})).build()); in testAnyFields()
1022 + " \"@type\": \"type.googleapis.com/google.protobuf.BytesValue\",\n" in testAnyFields()
/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.c3765 } else if (!strcmp(name, "google.protobuf.BytesValue")) { in assign_msg_wellknowntype()

Completed in 36 milliseconds