OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:oneofDescriptor
(Results
1 - 6
of
6
) sorted by null
/external/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java
36
import com.google.protobuf.Descriptors.
OneofDescriptor
;
171
public boolean hasOneof(
OneofDescriptor
oneof) {
180
public FieldDescriptor getOneofFieldDescriptor(
OneofDescriptor
oneof) {
304
private void verifyOneofContainingType(
OneofDescriptor
oneof) {
307
"
OneofDescriptor
does not match message type.");
441
public boolean hasOneof(
OneofDescriptor
oneof) {
450
public FieldDescriptor getOneofFieldDescriptor(
OneofDescriptor
oneof) {
455
public Builder clearOneof(
OneofDescriptor
oneof) {
495
OneofDescriptor
oneofDescriptor
= field.getContainingOneof()
[
all
...]
Descriptors.java
597
public List<
OneofDescriptor
> getOneofs() {
699
private final
OneofDescriptor
[] oneofs;
721
this.oneofs = new
OneofDescriptor
[0];
738
oneofs = new
OneofDescriptor
[proto.getOneofDeclCount()];
740
oneofs[i] = new
OneofDescriptor
(
773
OneofDescriptor
oneofDescriptor
= fields[i].getContainingOneof();
774
if (
oneofDescriptor
!= null) {
775
oneofDescriptor
.fields[
oneofDescriptor
.fieldCount++] = fields[i]
[
all
...]
/external/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java
42
import com.google.protobuf.Descriptors.
OneofDescriptor
;
687
OneofDescriptor
oneofDescriptor
= field.getContainingOneof();
688
assertNotNull(
oneofDescriptor
);
689
assertSame(
oneofDescriptor
, messageType.getOneofs().get(0));
690
assertEquals("oneof_field",
oneofDescriptor
.getName());
692
assertEquals(4,
oneofDescriptor
.getFieldCount());
693
assertSame(
oneofDescriptor
.getField(1), field);
/prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/2.6.1/
protobuf-java-2.6.1.jar
/prebuilts/tools/common/offline-m2/com/google/protobuf/protobuf-java/2.6.1/
protobuf-java-2.6.1.jar
/prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/3.0.0-beta-2/
protobuf-java-3.0.0-beta-2.jar
Completed in 112 milliseconds