Home
last modified time | relevance | path

Searched refs:wrappedBuilder (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractMessageTest.java110 private final Message.Builder wrappedBuilder; field in AbstractMessageTest.AbstractMessageWrapper.Builder
112 public Builder(Message.Builder wrappedBuilder) { in Builder() argument
113 this.wrappedBuilder = wrappedBuilder; in Builder()
118 return new AbstractMessageWrapper(wrappedBuilder.build()); in build()
122 return new AbstractMessageWrapper(wrappedBuilder.buildPartial()); in buildPartial()
126 return new Builder(wrappedBuilder.clone()); in clone()
134 return wrappedBuilder.getDescriptorForType(); in getDescriptorForType()
139 wrappedBuilder.getDefaultInstanceForType()); in getDefaultInstanceForType()
143 return wrappedBuilder.getAllFields(); in getAllFields()
147 return new Builder(wrappedBuilder.newBuilderForField(field)); in newBuilderForField()
[all …]
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/
DAndroidChannelBuilderTest.java98 OkHttpChannelBuilder wrappedBuilder = OkHttpChannelBuilder.forTarget("target"); in fromBuilderConstructor() local
99 AndroidChannelBuilder androidBuilder = AndroidChannelBuilder.fromBuilder(wrappedBuilder); in fromBuilderConstructor()
100 assertThat(androidBuilder.delegate()).isSameAs(wrappedBuilder); in fromBuilderConstructor()