Home
last modified time | relevance | path

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

12

/external/protobuf/php/tests/
Dwrapper_type_setters_test.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
200 [TestWrapperSetters::class, "setBytesValueUnwrapped", new BytesValue()],
[all …]
Dencode_decode_test.php25 use Google\Protobuf\BytesValue; alias
158 $m = new BytesValue();
165 $m = new BytesValue();
180 $m = new BytesValue();
Dwell_known_test.php10 use Google\Protobuf\BytesValue; alias
392 $m = new BytesValue();
/external/golang-protobuf/ptypes/wrappers/
Dwrappers.pb.go386 type BytesValue struct { struct
394 func (m *BytesValue) Reset() { *m = BytesValue{} } argument
395 func (m *BytesValue) String() string { return proto.CompactTextString(m) } argument
396 func (*BytesValue) ProtoMessage() {} argument
397 func (*BytesValue) Descriptor() ([]byte, []int) { argument
401 func (*BytesValue) XXX_WellKnownType() string { return "BytesValue" } argument
403 func (m *BytesValue) XXX_Unmarshal(b []byte) error { argument
406 func (m *BytesValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
409 func (m *BytesValue) XXX_Merge(src proto.Message) { argument
412 func (m *BytesValue) XXX_Size() int { argument
[all …]
Dwrappers.proto119 // The JSON representation for `BytesValue` is JSON string.
120 message BytesValue { message
/external/protobuf/src/google/protobuf/
Dwrappers.pb.h61 class BytesValue; variable
88 …> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::BytesValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
1348 class PROTOBUF_EXPORT BytesValue :
1351 BytesValue();
1352 virtual ~BytesValue();
1354 BytesValue(const BytesValue& from);
1355 BytesValue(BytesValue&& from) noexcept in BytesValue() function
1356 : BytesValue() { in BytesValue()
1360 inline BytesValue& operator=(const BytesValue& from) {
1364 inline BytesValue& operator=(BytesValue&& from) noexcept {
[all …]
Dwrappers.pb.cc53 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<BytesValue> _instance;
75 new (ptr) PROTOBUF_NAMESPACE_ID::BytesValue(); in InitDefaultsscc_info_BytesValue_google_2fprotobuf_2fwrappers_2eproto()
78 PROTOBUF_NAMESPACE_ID::BytesValue::InitAsDefaultInstance(); in InitDefaultsscc_info_BytesValue_google_2fprotobuf_2fwrappers_2eproto()
236 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, _internal_metadata_),
240 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, value_),
251 { 48, -1, sizeof(PROTOBUF_NAMESPACE_ID::BytesValue)},
2434 void BytesValue::InitAsDefaultInstance() { in InitAsDefaultInstance()
2436 class BytesValue::_Internal {
2440 BytesValue::BytesValue() in BytesValue() function in BytesValue
2445 BytesValue::BytesValue(::PROTOBUF_NAMESPACE_ID::Arena* arena) 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.proto184 google.protobuf.BytesValue optional_bytes_wrapper = 209;
194 repeated google.protobuf.BytesValue repeated_bytes_wrapper = 219;
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs48 …ypeof(global::Google.Protobuf.WellKnownTypes.BytesValue), global::Google.Protobuf.WellKnownTypes.B… in WrappersReflection()
1156 public sealed partial class BytesValue : pb::IMessage<BytesValue> { class
1157 …ate static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<BytesValue>(() =…
1160 public static pb::MessageParser<BytesValue> Parser { get { return _parser; } }
1173 public BytesValue() { in BytesValue() method in Google.Protobuf.WellKnownTypes.BytesValue
1180 public BytesValue(BytesValue other) : this() { in BytesValue() method in Google.Protobuf.WellKnownTypes.BytesValue
1186 public BytesValue Clone() { in Clone()
1187 return new BytesValue(this); in Clone()
1206 return Equals(other as BytesValue); in Equals()
1210 public bool Equals(BytesValue other) { in Equals()
[all …]
/external/rust/crates/protobuf/src/well_known_types/
Dwrappers.rs1271 pub struct BytesValue { struct
1281 impl<'a> ::std::default::Default for &'a BytesValue { argument
1282 fn default() -> &'a BytesValue { in default()
1283 <BytesValue as crate::Message>::default_instance() in default()
1287 impl BytesValue { implementation
1288 pub fn new() -> BytesValue { in new()
1319 impl crate::Message for BytesValue { implementation
1385 fn new() -> BytesValue { in new()
1386 BytesValue::new() in new()
1395 |m: &BytesValue| { &m.value }, in descriptor_static()
[all …]
/external/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;
/external/protobuf/php/src/Google/Protobuf/
DBytesValue.php17 class BytesValue extends \Google\Protobuf\Internal\Message class
/external/protobuf/php/tests/proto/
Dtest_wrapper_type_setters.proto16 google.protobuf.BytesValue bytes_value = 9;
/external/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()
/external/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto125 google.protobuf.BytesValue bytes_value = 9;
135 repeated google.protobuf.BytesValue repeated_bytes_value = 19;
Dtype_resolver_util.cc53 using google::protobuf::BytesValue;
225 value->PackFrom(WrapValue<BytesValue>(val)); in ConvertOptionField()
/external/protobuf/ruby/tests/
Dbasic_test.proto126 google.protobuf.BytesValue bytes = 9;
Dbasic_test_proto2.proto133 optional google.protobuf.BytesValue bytes = 9;
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dwrappers_test.proto50 .google.protobuf.BytesValue field_bytes = 10;
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h582 struct BytesValue;
627 typedef struct BytesValue BytesValue; typedef
1259 PHP_METHOD(BytesValue, __construct);
1260 PHP_METHOD(BytesValue, getValue);
1261 PHP_METHOD(BytesValue, setValue);
/external/protobuf/src/google/protobuf/util/internal/testdata/
Dwrappers.proto95 google.protobuf.BytesValue bytes = 1;
/external/protobuf/conformance/
DMakefile.am36 com/google/protobuf/BytesValue.java \
122 Google/Protobuf/BytesValue.php \

12