Searched refs:OneofBytes (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 112 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in DefaultValues() 123 Assert.Throws<ArgumentNullException>(() => message.OneofBytes = null); in NullStringAndBytesRejected() 560 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 567 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 572 message.OneofBytes = bytes; in OneofProperties() 575 Assert.AreEqual(bytes, message.OneofBytes); in OneofProperties() 577 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofBytes, message.OneofFieldCase); in OneofProperties() 582 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 590 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties() 597 Assert.AreEqual(ByteString.Empty, message.OneofBytes); in OneofProperties()
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 861 case OneofFieldOneofCase.OneofBytes: in TestAllTypes() 862 OneofBytes = other.OneofBytes; in TestAllTypes() 1493 public pb::ByteString OneofBytes { property in Conformance.TestAllTypes 1494 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb… 1497 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 1928 OneofBytes = 114, enumerator 2016 if (OneofBytes != other.OneofBytes) return false; in Equals() 2130 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode() 2322 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo() 2324 output.WriteBytes(OneofBytes); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 312 case OneofFieldOneofCase.OneofBytes: in TestAllTypes() 313 OneofBytes = other.OneofBytes; in TestAllTypes() 785 public pb::ByteString OneofBytes { property in Google.Protobuf.TestProtos.TestAllTypes 786 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb… 789 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 800 OneofBytes = 114, enumerator 870 if (OneofBytes != other.OneofBytes) return false; in Equals() 924 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode() 1056 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo() 1058 output.WriteBytes(OneofBytes); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 70 …Assert.AreEqual(message.OneofBytes, fields[TestAllTypes.OneofBytesFieldNumber].Accessor.GetValue(m… in GetValue()
|
/external/golang-protobuf/conformance/internal/conformance_proto/ |
D | conformance.pb.go | 957 OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"` member 998 return x.OneofBytes
|