Home
last modified time | relevance | path

Searched refs:getSyntax (Results 1 - 18 of 18) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessageInfo.java36 ProtoSyntax getSyntax(); in getSyntax() method
H A DRawMessageInfo.java212 public ProtoSyntax getSyntax() { in getSyntax() method in RawMessageInfo
H A DStructuralMessageInfo.java72 public ProtoSyntax getSyntax() { in getSyntax() method in StructuralMessageInfo
H A DManifestSchemaFactory.java114 return messageInfo.getSyntax() == ProtoSyntax.PROTO2; in isProto2()
H A DDescriptors.java169 public Syntax getSyntax() { in getSyntax() method in Descriptors.FileDescriptor
170 if (Syntax.PROTO3.name.equals(proto.getSyntax())) { in getSyntax()
622 return getSyntax() == Syntax.PROTO3; in supportsUnknownEnumValue()
1052 if (getFile().getSyntax() == Syntax.PROTO3) { in needsUtf8Check()
1094 if (getFile().getSyntax() == FileDescriptor.Syntax.PROTO2) { in isPacked()
1158 || (file.getSyntax() == Syntax.PROTO2 && isOptional() && getContainingOneof() == null); in hasOptionalKeyword()
1178 || file.getSyntax() == Syntax.PROTO2; in hasPresence()
H A DDescriptorMessageInfoFactory.java103 switch (messageDescriptor.getFile().getSyntax()) { in convert()
110 "Unsupported syntax: " + messageDescriptor.getFile().getSyntax()); in convert()
H A DDynamicMessage.java542 } else if (field.getFile().getSyntax() == Descriptors.FileDescriptor.Syntax.PROTO3) { in setField()
H A DGeneratedMessageV3.java2245 descriptor.getFile().getSyntax() == FileDescriptor.Syntax.PROTO2 in SingularFieldAccessor()
H A DGeneratedMessage.java2245 return file.getSyntax() == FileDescriptor.Syntax.PROTO2; in supportFieldPresence()
H A DMessageSchema.java253 final boolean isProto3 = messageInfo.getSyntax() == ProtoSyntax.PROTO3; in newSchemaForRawMessageInfo()
625 final boolean isProto3 = messageInfo.getSyntax() == ProtoSyntax.PROTO3; in newSchemaForMessageInfo()
/third_party/protobuf/php/tests/
H A DWellKnownTest.php143 $this->assertSame(Syntax::SYNTAX_PROTO2, $m->getSyntax());
191 $this->assertSame(Syntax::SYNTAX_PROTO2, $m->getSyntax());
346 $this->assertSame(Syntax::SYNTAX_PROTO2, $m->getSyntax());
H A DPhpImplementationTest.php326 $this->assertSame("proto3", $file_desc->getSyntax());
/third_party/protobuf/php/src/Google/Protobuf/
H A DApi.php329 public function getSyntax() function
H A DEnum.php182 public function getSyntax() function
H A DType.php216 public function getSyntax() function
H A DMethod.php250 public function getSyntax() function
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFileDescriptorProto.php453 public function getSyntax() function
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DJsonFormat.java1914 if (enumDescriptor.getFile().getSyntax() == FileDescriptor.Syntax.PROTO3) { in parseEnum()

Completed in 30 milliseconds