Lines Matching refs:OneofFieldOneofCase
303 case OneofFieldOneofCase.OneofUint32: in TestAllTypes()
306 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
309 case OneofFieldOneofCase.OneofString: in TestAllTypes()
312 case OneofFieldOneofCase.OneofBytes: in TestAllTypes()
756 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
759 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
766 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Google.Protobuf.…
769 …oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessag…
776 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
779 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
786 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb…
789 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes;
795 public enum OneofFieldOneofCase { enum in Google.Protobuf.TestProtos.TestAllTypes
802 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None;
803 public OneofFieldOneofCase OneofFieldCase {
808 oneofFieldCase_ = OneofFieldOneofCase.None; in ClearOneofField()
921 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode()
922 …if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashC… in GetHashCode()
923 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); in GetHashCode()
924 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); in GetHashCode()
1044 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo()
1048 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in WriteTo()
1052 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in WriteTo()
1056 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in WriteTo()
1152 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in CalculateSize()
1155 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in CalculateSize()
1158 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { in CalculateSize()
1161 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { in CalculateSize()
1272 case OneofFieldOneofCase.OneofUint32: in MergeFrom()
1275 case OneofFieldOneofCase.OneofNestedMessage: in MergeFrom()
1278 case OneofFieldOneofCase.OneofString: in MergeFrom()
1281 case OneofFieldOneofCase.OneofBytes: in MergeFrom()
1505 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { in MergeFrom()