Home
last modified time | relevance | path

Searched refs:OneofDescriptor (Results 1 - 25 of 70) sorted by relevance

123

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DOneofAccessor.cs47 private OneofAccessor(OneofDescriptor descriptor, Func<IMessage, int> caseDelegate, Action<IMessage> clearDelegate) in OneofAccessor()
55 OneofDescriptor descriptor, in ForRegularOneof()
63 internal static OneofAccessor ForSyntheticOneof(OneofDescriptor descriptor) in ForSyntheticOneof()
79 public OneofDescriptor Descriptor { get; }
H A DMessageDescriptor.cs81 new OneofDescriptor(oneof, file, this, index, generatedCodeInfo?.OneofNames[index])); in MessageDescriptor()
251 /// All "real" oneofs (where <see cref="OneofDescriptor.IsSynthetic"/> returns false)
254 public IList<OneofDescriptor> Oneofs { get; }
258 /// with an index less than this will have a <see cref="OneofDescriptor.IsSynthetic"/> property value
260 /// <see cref="OneofDescriptor.IsSynthetic"/> property value of <c>true</c>.
335 foreach (OneofDescriptor oneof in Oneofs) in CrossLink()
H A DOneofDescriptor.cs46 public sealed class OneofDescriptor : DescriptorBase class
53 internal OneofDescriptor(OneofDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, string clrName) in OneofDescriptor() method in Google.Protobuf.Reflection.OneofDescriptor
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.h85 class OneofDescriptor;
347 const OneofDescriptor* oneof_decl(int index) const;
350 const OneofDescriptor* FindOneofByName(ConstStringParam name) const;
534 OneofDescriptor* oneof_decls_;
569 friend class OneofDescriptor;
763 const OneofDescriptor* containing_oneof() const;
767 const OneofDescriptor* real_containing_oneof() const;
887 const OneofDescriptor* containing_oneof_;
924 friend class OneofDescriptor;
930 class PROTOBUF_EXPORT OneofDescriptor { class
1000 OneofDescriptor() {} OneofDescriptor() function in google::protobuf::OneofDescriptor
[all...]
H A Dmessage.h453 const OneofDescriptor* oneof_descriptor) const;
456 const OneofDescriptor* oneof_descriptor) const;
460 const Message& message, const OneofDescriptor* oneof_descriptor) const;
1026 const OneofDescriptor* oneof_descriptor) const;
1028 Message* message, const OneofDescriptor* oneof_descriptor) const;
1056 const OneofDescriptor* oneof_descriptor) const;
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DOneofDescriptor.php35 class OneofDescriptor class
44 $this->public_desc = new \Google\Protobuf\OneofDescriptor($this);
69 $oneof = new OneofDescriptor();
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDynamicMessage.java38 import com.google.protobuf.Descriptors.OneofDescriptor;
171 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
181 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
310 private void verifyOneofContainingType(OneofDescriptor oneof) { in verifyOneofContainingType()
312 throw new IllegalArgumentException("OneofDescriptor does not match message type."); in verifyOneofContainingType()
475 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
485 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
491 public Builder clearOneof(OneofDescriptor oneof) { in clearOneof()
534 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in setField()
559 OneofDescriptor oneofDescripto in clearField()
[all...]
H A DMessageOrBuilder.java90 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof()
93 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor()
H A DAbstractMessage.java35 import com.google.protobuf.Descriptors.OneofDescriptor;
99 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
105 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
330 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
336 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
342 public BuilderType clearOneof(OneofDescriptor oneof) { in clearOneof()
H A DMessageReflection.java281 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof()
287 MergeTarget clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof()
290 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor()
398 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof()
403 public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) { in clearOneof()
409 public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) { in getOneofFieldDescriptor()
600 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof()
605 public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) { in clearOneof()
611 public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) { in getOneofFieldDescriptor()
H A DDescriptors.java701 public List<OneofDescriptor> getOneofs() { in getOneofs()
706 public List<OneofDescriptor> getRealOneofs() { in getRealOneofs()
828 private final OneofDescriptor[] oneofs;
854 this.oneofs = new OneofDescriptor[0]; in Descriptor()
873 oneofs = new OneofDescriptor[proto.getOneofDeclCount()]; in Descriptor()
875 oneofs[i] = new OneofDescriptor(proto.getOneofDecl(i), file, this, i); in Descriptor()
903 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor()
910 for (OneofDescriptor oneof : this.oneofs) { in Descriptor()
1143 public OneofDescriptor getContainingOneof() { in getContainingOneof()
1148 public OneofDescriptor getRealContainingOneo
2653 public static final class OneofDescriptor extends GenericDescriptor { global() class in Descriptors
2708 private OneofDescriptor( OneofDescriptor() method in Descriptors.OneofDescriptor
[all...]
/third_party/protobuf/php/ext/google/protobuf/
H A Ddef.c240 } OneofDescriptor; typedef
252 OneofDescriptor* ret = emalloc(sizeof(OneofDescriptor)); in OneofDescriptor_FromOneofDef()
266 * OneofDescriptor::getName()
270 PHP_METHOD(OneofDescriptor, getName) { in PHP_METHOD()
271 OneofDescriptor *intern = (OneofDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD()
276 * OneofDescriptor::getField()
281 PHP_METHOD(OneofDescriptor, getField) { in PHP_METHOD()
282 OneofDescriptor *inter in PHP_METHOD()
[all...]
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_context.h45 class OneofDescriptor;
80 const OneofDescriptor* oneof) const;
102 std::map<const OneofDescriptor*, OneofGeneratorInfo>
H A Djava_context.cc117 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
181 const OneofDescriptor* oneof) const { in GetOneofGeneratorInfo()
H A Djava_message_builder.h79 std::set<const OneofDescriptor*> oneofs_;
H A Djava_message_builder_lite.h76 std::set<const OneofDescriptor*> oneofs_;
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A Dobjectivec_oneof.h47 explicit OneofGenerator(const OneofDescriptor* descriptor);
67 const OneofDescriptor* descriptor_;
H A Dobjectivec_helpers.h118 string PROTOC_EXPORT OneofEnumName(const OneofDescriptor* descriptor);
119 string PROTOC_EXPORT OneofName(const OneofDescriptor* descriptor);
120 string PROTOC_EXPORT OneofNameCapitalized(const OneofDescriptor* descriptor);
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_containers.h45 class OneofDescriptor;
83 PyObject* NewOneofFieldsSeq(const OneofDescriptor* descriptor);
H A Ddescriptor.h65 PyObject* PyOneofDescriptor_FromDescriptor(const OneofDescriptor* descriptor);
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs208 public void OneofDescriptor() in OneofDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest
210 OneofDescriptor descriptor = TestAllTypes.Descriptor.FindDescriptor<OneofDescriptor>("oneof_field"); in OneofDescriptor()
/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.h52 class OneofDescriptor;
157 void FixOptionsForOneof(const OneofDescriptor& oneof) const;
/third_party/protobuf/php/src/Google/Protobuf/
H A DOneofDescriptor.php37 class OneofDescriptor class
H A DDescriptor.php86 * @return OneofDescriptor
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs324 public void OneofDescriptor() in OneofDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest
326 OneofDescriptor descriptor = TestAllTypes.Descriptor.FindDescriptor<OneofDescriptor>("oneof_field"); in OneofDescriptor()

Completed in 18 milliseconds

123