Home
last modified time | relevance | path

Searched refs:BytesValue (Results 1 – 25 of 29) sorted by relevance

12

/third_party/protobuf/php/tests/
DWrapperTypeSettersTest.php8 use Google\Protobuf\BytesValue; alias
120 …[TestWrapperSetters::class, BytesValue::class, "setBytesValue", "setBytesValueUnwrapped", "getByte…
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 …]
DWellKnownTest.php11 use Google\Protobuf\BytesValue; alias
393 $m = new BytesValue();
DEncodeDecodeTest.php32 use Google\Protobuf\BytesValue; alias
200 $m = new BytesValue();
207 $m = new BytesValue();
222 $m = new BytesValue();
/third_party/protobuf/src/google/protobuf/
Dwrappers.pb.h61 class BytesValue; variable
88 …> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::BytesValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
1204 class PROTOBUF_EXPORT BytesValue PROTOBUF_FINAL :
1207 inline BytesValue() : BytesValue(nullptr) {} in BytesValue() function
1208 virtual ~BytesValue();
1210 BytesValue(const BytesValue& from);
1211 BytesValue(BytesValue&& from) noexcept in BytesValue() function
1212 : BytesValue() { in BytesValue()
1216 inline BytesValue& operator=(const BytesValue& from) {
1220 inline BytesValue& operator=(BytesValue&& from) noexcept {
[all …]
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(::PROTOBUF_NAMESPACE_ID::Arena* arena) in BytesValue() function in BytesValue
1900 BytesValue::BytesValue(const BytesValue& from) in BytesValue() function in BytesValue
[all …]
Dunittest_well_known_types.proto41 google.protobuf.BytesValue bytes_field = 18;
66 repeated google.protobuf.BytesValue bytes_field = 18;
88 google.protobuf.BytesValue bytes_field = 18;
113 map<int32,google.protobuf.BytesValue> bytes_field = 18;
Dwrappers.proto119 // The JSON representation for `BytesValue` is JSON string.
120 message BytesValue { message
Dtest_messages_proto3.proto217 google.protobuf.BytesValue optional_bytes_wrapper = 209;
227 repeated google.protobuf.BytesValue repeated_bytes_wrapper = 219;
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs48 …ypeof(global::Google.Protobuf.WellKnownTypes.BytesValue), global::Google.Protobuf.WellKnownTypes.B… in WrappersReflection()
1500 public sealed partial class BytesValue : pb::IMessage<BytesValue> class
1505 …ate static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<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() { in BytesValue() method in Google.Protobuf.WellKnownTypes.BytesValue
1534 public BytesValue Clone() { in Clone()
1535 return new BytesValue(this); in Clone()
1554 return Equals(other as BytesValue); in Equals()
1558 public bool Equals(BytesValue other) { in Equals()
[all …]
/third_party/protobuf/ruby/tests/
Dbasic_test.proto140 google.protobuf.BytesValue bytes = 9;
156 repeated google.protobuf.BytesValue repeated_bytes = 19;
168 map<int32, google.protobuf.BytesValue> map_bytes = 29;
181 google.protobuf.BytesValue oneof_bytes = 39;
Dbasic_test_proto2.proto133 optional google.protobuf.BytesValue bytes = 9;
149 repeated google.protobuf.BytesValue repeated_bytes = 19;
162 google.protobuf.BytesValue oneof_bytes = 39;
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/
Dunittest_well_known_types.proto41 google.protobuf.BytesValue bytes_field = 18;
66 repeated google.protobuf.BytesValue bytes_field = 18;
88 google.protobuf.BytesValue bytes_field = 18;
113 map<int32,google.protobuf.BytesValue> bytes_field = 18;
/third_party/protobuf/php/tests/proto/
Dtest.proto295 google.protobuf.BytesValue field = 1;
296 repeated google.protobuf.BytesValue repeated_field = 2;
298 google.protobuf.BytesValue oneof_field = 3;
Dtest_wrapper_type_setters.proto16 google.protobuf.BytesValue bytes_value = 9;
/third_party/protobuf/php/src/Google/Protobuf/
DBytesValue.php17 class BytesValue extends \Google\Protobuf\Internal\Message class
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DWrappersLiteOfMethodTest.java48 builder.setFieldBytes(BytesValue.of(ByteString.wrap("233".getBytes(Internal.UTF_8)))); in testOf()
DWrappersOfMethodTest.java48 builder.setFieldBytes(BytesValue.of(ByteString.wrap("233".getBytes(Internal.UTF_8)))); in testOf()
/third_party/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto129 google.protobuf.BytesValue bytes_value = 9;
139 repeated google.protobuf.BytesValue repeated_bytes_value = 19;
Dtype_resolver_util.cc52 using google::protobuf::BytesValue;
224 value->PackFrom(WrapValue<BytesValue>(val)); in ConvertOptionField()
/third_party/protobuf/java/core/src/test/proto/com/google/protobuf/
Dwrappers_test.proto50 .google.protobuf.BytesValue field_bytes = 10;
/third_party/protobuf/src/google/protobuf/util/internal/testdata/
Dwrappers.proto95 google.protobuf.BytesValue bytes = 1;
/third_party/protobuf/conformance/
DMakefile.am36 com/google/protobuf/BytesValue.java \
122 Google/Protobuf/BytesValue.php \
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
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/java/util/src/test/proto/com/google/protobuf/util/
Djson_test.proto157 google.protobuf.BytesValue bytes_value = 9;
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs173 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
174 var expected = new BytesValue { Value = data }; in BytesWrapper_Standalone()

12