Package com.google.api.gax.httpjson
Class ProtoMessageResponseParser.Builder<ResponseT extends com.google.protobuf.Message>
- java.lang.Object
-
- com.google.api.gax.httpjson.ProtoMessageResponseParser.Builder<ResponseT>
-
- Enclosing class:
- ProtoMessageResponseParser<ResponseT extends com.google.protobuf.Message>
public static class ProtoMessageResponseParser.Builder<ResponseT extends com.google.protobuf.Message> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtoMessageResponseParser<ResponseT>
build()
ProtoMessageResponseParser.Builder<ResponseT>
setDefaultInstance(ResponseT defaultInstance)
ProtoMessageResponseParser.Builder<ResponseT>
setDefaultTypeRegistry(com.google.protobuf.TypeRegistry defaultRegistry)
-
-
-
Method Detail
-
setDefaultInstance
public ProtoMessageResponseParser.Builder<ResponseT> setDefaultInstance(ResponseT defaultInstance)
-
setDefaultTypeRegistry
public ProtoMessageResponseParser.Builder<ResponseT> setDefaultTypeRegistry(com.google.protobuf.TypeRegistry defaultRegistry)
-
build
public ProtoMessageResponseParser<ResponseT> build()
-
-