Home
last modified time | relevance | path

Searched refs:BytesField (Results 1 – 24 of 24) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs48 Assert.IsNull(message.BytesField); in NullIsDefault()
64 BytesField = ByteString.CopyFrom(1, 2, 3), in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
94 BytesField = ByteString.Empty, in NonNullDefaultIsPreservedThroughSerialization()
108 Assert.AreEqual(ByteString.Empty, parsed.BytesField); in NonNullDefaultIsPreservedThroughSerialization()
125 Assert.Throws<ArgumentNullException>(() => message.BytesField.Add((ByteString) null)); in RepeatedWrappersProhibitNullItems()
134BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappersSerializeDeserialize()
183 BytesField = { in MapWrappersSerializeDeserialize()
211 BytesField = ByteString.CopyFrom(1, 2, 3), in Reflection_SingleValues()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs218 BytesField = other.BytesField; in TestWellKnownTypes()
408 public pb::ByteString BytesField { property in Google.Protobuf.TestProtos.TestWellKnownTypes
456 if (BytesField != other.BytesField) return false; in Equals()
480 if (bytesField_ != null) hash ^= BytesField.GetHashCode(); in GetHashCode()
551 _single_bytesField_codec.WriteTagAndValue(output, BytesField); in WriteTo()
613 size += _single_bytesField_codec.CalculateSizeWithTag(BytesField); in CalculateSize()
720 if (bytesField_ == null || other.BytesField != pb::ByteString.Empty) { in MergeFrom()
721 BytesField = other.BytesField; in MergeFrom()
861 BytesField = value; in MergeFrom()
1086 public pbc::RepeatedField<pb::ByteString> BytesField { property in Google.Protobuf.TestProtos.RepeatedWellKnownTypes
[all …]
/external/python/apitools/samples/iam_sample/iam_v1/
Diam_v1_messages.py592 etag = _messages.BytesField(3)
740 etag = _messages.BytesField(4)
799 privateKeyData = _messages.BytesField(2)
801 publicKeyData = _messages.BytesField(4)
826 bytesToSign = _messages.BytesField(1)
838 signature = _messages.BytesField(2)
/external/golang-protobuf/proto/
Dclone_test.go289 src: &pb.Communique{Union: &pb.Communique_Msg{&pb.Strings{BytesField: []byte{1, 2, 3}}}},
291 want: &pb.Communique{Union: &pb.Communique_Msg{&pb.Strings{BytesField: []byte{1, 2, 3}}}},
300 dst: &pb.Communique{Union: &pb.Communique_Msg{&pb.Strings{BytesField: []byte{1, 2, 3}}}},
301 …nion: &pb.Communique_Msg{&pb.Strings{StringField: proto.String("123"), BytesField: []byte{1, 2, 3}…
/external/python/apitools/apitools/base/protorpclite/
Dprotojson.py161 if isinstance(field, messages.BytesField):
309 elif isinstance(field, messages.BytesField):
Ddescriptor.py136 messages.BytesField: lambda value: codecs.escape_encode(value)[0],
145 messages.BytesField: lambda value: codecs.escape_decode(value)[0],
Dtest_util.py298 bytes_value = messages.BytesField(8, variant=messages.Variant.BYTES)
331 bytes_value = messages.BytesField(8,
Dmessages_test.py526 messages.BytesField,
601 messages.BytesField: b'abc',
717 messages.BytesField: b'abc',
753 messages.BytesField: 10.20,
814 messages.BytesField: (b'abc',),
Ddescriptor_test.py139 (messages.BytesField,
Dmessages.py1506 class BytesField(Field): class
/external/python/apitools/apitools/base/py/
Dbase_api_test.py46 bytes_field = messages.BytesField(2)
74 nextPageToken = messages.BytesField(7) # pylint:disable=invalid-name
Dencoding_test.py37 field = messages.BytesField(1)
38 repfield = messages.BytesField(2, repeated=True)
Dencoding.py541 RegisterFieldTypeCodec(_SafeEncodeBytes, _SafeDecodeBytes)(messages.BytesField)
Dbase_api.py533 if isinstance(field, messages.BytesField) and value is not None:
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs94 BytesField = ByteString.Empty, in SingularWrappers_DefaultNonNullValues()
112 BytesField = ByteString.CopyFrom(1, 2, 3), in SingularWrappers_NonDefaultValues()
179BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappers()
DJsonFormatterTest.cs264 BytesField = ByteString.FromBase64("ABCD"), in WrapperFormatting_Single()
/external/python/apitools/apitools/gen/
Dextended_descriptor.py335 if field_type in [messages.BytesField, messages.StringField]:
531 if field_type in [messages.BytesField, messages.StringField]:
Dmessage_registry.py71 variant=messages.BytesField.DEFAULT_VARIANT),
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto145 repeated bytes BytesField = 24; // NO_PROTO3 field
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py399 fileContents = _messages.BytesField(2)
1931 value = _messages.BytesField(2)
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_messages.py783 etag = _messages.BytesField(2)
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py414 qualifierEncoded = _messages.BytesField(4)
/external/protobuf/conformance/
Dconformance_test.cc1182 "BytesField",
/external/golang-protobuf/proto/test_proto/
Dtest.pb.go2395BytesField []byte `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField" json:"bytes… member
2435 return m.BytesField