Home
last modified time | relevance | path

Searched refs:OneofDescriptor (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DOneofAccessor.cs47 …private OneofAccessor(OneofDescriptor descriptor, Func<IMessage, int> caseDelegate, Action<IMessag… in OneofAccessor()
55 OneofDescriptor descriptor, in ForRegularOneof()
63 internal static OneofAccessor ForSyntheticOneof(OneofDescriptor descriptor) in ForSyntheticOneof()
79 public OneofDescriptor Descriptor { get; }
DOneofDescriptor.cs46 public sealed class OneofDescriptor : DescriptorBase class
53 …internal OneofDescriptor(OneofDescriptorProto proto, FileDescriptor file, MessageDescriptor parent… in OneofDescriptor() method in Google.Protobuf.Reflection.OneofDescriptor
DMessageDescriptor.cs81 … new OneofDescriptor(oneof, file, this, index, generatedCodeInfo?.OneofNames[index])); in MessageDescriptor()
254 public IList<OneofDescriptor> Oneofs { get; }
335 foreach (OneofDescriptor oneof in Oneofs) in CrossLink()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DOneofDescriptor.php35 class OneofDescriptor class
44 $this->public_desc = new \Google\Protobuf\OneofDescriptor($this);
69 $oneof = new OneofDescriptor();
/third_party/protobuf/src/google/protobuf/
Ddescriptor.h85 class OneofDescriptor; variable
347 const OneofDescriptor* oneof_decl(int index) const;
350 const OneofDescriptor* FindOneofByName(ConstStringParam name) const;
534 OneofDescriptor* oneof_decls_;
569 friend class OneofDescriptor; variable
763 const OneofDescriptor* containing_oneof() const;
767 const OneofDescriptor* real_containing_oneof() const;
887 const OneofDescriptor* containing_oneof_;
924 friend class OneofDescriptor; variable
930 class PROTOBUF_EXPORT OneofDescriptor {
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_context.h45 class OneofDescriptor; variable
80 const OneofDescriptor* oneof) const;
102 std::map<const OneofDescriptor*, OneofGeneratorInfo>
Djava_context.cc117 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
181 const OneofDescriptor* oneof) const { in GetOneofGeneratorInfo()
Djava_message_builder_lite.h76 std::set<const OneofDescriptor*> oneofs_;
Djava_message_builder.h79 std::set<const OneofDescriptor*> oneofs_;
/third_party/protobuf/php/ext/google/protobuf/
Ddef.c240 } OneofDescriptor; typedef
252 OneofDescriptor* ret = emalloc(sizeof(OneofDescriptor)); in OneofDescriptor_FromOneofDef()
270 PHP_METHOD(OneofDescriptor, getName) { in PHP_METHOD() argument
271 OneofDescriptor *intern = (OneofDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD()
281 PHP_METHOD(OneofDescriptor, getField) { in PHP_METHOD() argument
282 OneofDescriptor *intern = (OneofDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD()
313 PHP_METHOD(OneofDescriptor, getFieldCount) { in PHP_METHOD() argument
314 OneofDescriptor *intern = (OneofDescriptor*)Z_OBJ_P(getThis()); in PHP_METHOD()
319 PHP_ME(OneofDescriptor, getName, NULL, ZEND_ACC_PUBLIC)
320 PHP_ME(OneofDescriptor, getField, NULL, ZEND_ACC_PUBLIC)
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
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) {
475 public boolean hasOneof(OneofDescriptor oneof) {
485 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) {
491 public Builder clearOneof(OneofDescriptor oneof) {
534 OneofDescriptor oneofDescriptor = field.getContainingOneof();
559 OneofDescriptor oneofDescriptor = field.getContainingOneof();
624 private void verifyOneofContainingType(OneofDescriptor oneof) {
DMessageOrBuilder.java90 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof()
93 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor()
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()
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()
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 getRealContainingOneof() { in getRealContainingOneof()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_oneof.h47 explicit OneofGenerator(const OneofDescriptor* descriptor);
67 const OneofDescriptor* descriptor_;
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/
Ddescriptor_containers.h45 class OneofDescriptor; variable
83 PyObject* NewOneofFieldsSeq(const OneofDescriptor* descriptor);
Ddescriptor.h65 PyObject* PyOneofDescriptor_FromDescriptor(const OneofDescriptor* descriptor);
/third_party/grpc/third_party/upb/upbc/
Dmessage_layout.cc165 std::vector<const protobuf::OneofDescriptor*> oneof_order; in PlaceOneofFields()
170 [](const protobuf::OneofDescriptor* a, in PlaceOneofFields()
171 const protobuf::OneofDescriptor* b) { in PlaceOneofFields()
Dmessage_layout.h52 const google::protobuf::OneofDescriptor* oneof) const { in GetOneofCaseOffset()
99 absl::flat_hash_map<const google::protobuf::OneofDescriptor*, Size>
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.h52 class OneofDescriptor; variable
157 void FixOptionsForOneof(const OneofDescriptor& oneof) const;
/third_party/protobuf/php/src/Google/Protobuf/
DOneofDescriptor.php37 class OneofDescriptor class
DDescriptor.php86 * @return OneofDescriptor
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs208 public void OneofDescriptor() in OneofDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest
210OneofDescriptor descriptor = TestAllTypes.Descriptor.FindDescriptor<OneofDescriptor>("oneof_field"… in OneofDescriptor()

1234