Пример #1
0
 public socialite.proto.QueryProtos.Nothing build() {
   socialite.proto.QueryProtos.Nothing result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
Пример #2
0
 public void run(
     com.google.protobuf.RpcController controller,
     socialite.proto.QueryProtos.QueryStr request,
     com.google.protobuf.RpcCallback<socialite.proto.QueryProtos.Nothing> done) {
   channel.callMethod(
       getDescriptor().getMethods().get(0),
       controller,
       request,
       socialite.proto.QueryProtos.Nothing.getDefaultInstance(),
       com.google.protobuf.RpcUtil.generalizeCallback(
           done,
           socialite.proto.QueryProtos.Nothing.class,
           socialite.proto.QueryProtos.Nothing.getDefaultInstance()));
 }
Пример #3
0
 public socialite.proto.QueryProtos.Nothing run(
     com.google.protobuf.RpcController controller,
     socialite.proto.QueryProtos.QueryStr request)
     throws com.google.protobuf.ServiceException {
   return (socialite.proto.QueryProtos.Nothing)
       channel.callBlockingMethod(
           getDescriptor().getMethods().get(0),
           controller,
           request,
           socialite.proto.QueryProtos.Nothing.getDefaultInstance());
 }
Пример #4
0
 public final com.google.protobuf.Message getResponsePrototype(
     com.google.protobuf.Descriptors.MethodDescriptor method) {
   if (method.getService() != getDescriptor()) {
     throw new java.lang.IllegalArgumentException(
         "Service.getResponsePrototype() given method " + "descriptor for wrong service type.");
   }
   switch (method.getIndex()) {
     case 0:
       return socialite.proto.QueryProtos.Nothing.getDefaultInstance();
     default:
       throw new java.lang.AssertionError("Can't get here.");
   }
 }
Пример #5
0
 public Builder mergeFrom(socialite.proto.QueryProtos.Nothing other) {
   if (other == socialite.proto.QueryProtos.Nothing.getDefaultInstance()) return this;
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Пример #6
0
 public socialite.proto.QueryProtos.Nothing getDefaultInstanceForType() {
   return socialite.proto.QueryProtos.Nothing.getDefaultInstance();
 }