Created
January 14, 2010 18:22
-
-
Save takeru/277369 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?> pp java.lang.Class.forName("com.google.apphosting.utils.remoteapi.RemoteApiPb$Request").getMethods.to_a | |
[public int com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.hashCode(), | |
public void com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.clear(), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equals(java.lang.Object), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equals(com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equals(com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage,boolean), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equals(com.google.apphosting.utils.remoteapi.RemoteApiPb$Request), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equals(com.google.apphosting.utils.remoteapi.RemoteApiPb$Request,boolean), | |
public final java.lang.String com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getMethod(), | |
public final java.lang.String com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getMethod(java.nio.charset.Charset), | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.newInstance(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.newInstance(), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.merge(com.google.appengine.repackaged.com.google.io.protocol.ProtocolSource), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setMethod(java.lang.String), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setMethod(java.lang.String,java.nio.charset.Charset), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.isFrozen(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.freeze(), | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.freeze(), | |
public final boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.hasMethod(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.mergeFrom(com.google.apphosting.utils.remoteapi.RemoteApiPb$Request), | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.mergeFrom(com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equalsIgnoreUninterpreted(com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage), | |
public boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.equalsIgnoreUninterpreted(com.google.apphosting.utils.remoteapi.RemoteApiPb$Request), | |
public java.lang.String com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.findInitializationError(), | |
public int com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.encodingSize(), | |
public int com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.maxEncodingSize(), | |
public com.google.appengine.repackaged.com.google.io.protocol.MessageAppender com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getMessageAppender(), | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolType com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getProtocolType(), | |
public void com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.outputTo(com.google.appengine.repackaged.com.google.io.protocol.ProtocolSink), | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.unfreeze(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.unfreeze(), | |
public final byte[] com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getServiceNameAsBytes(), | |
public final boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.hasServiceName(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.clearServiceName(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setServiceNameAsBytes(byte[]), | |
public final java.lang.String com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getServiceName(java.nio.charset.Charset), | |
public final java.lang.String com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getServiceName(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setServiceName(java.lang.String), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setServiceName(java.lang.String,java.nio.charset.Charset), | |
public final byte[] com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getMethodAsBytes(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.clearMethod(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setMethodAsBytes(byte[]), | |
public final com.google.appengine.repackaged.com.google.io.protocol.RawMessage com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getRequest(), | |
public final boolean com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.hasRequest(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.clearRequest(), | |
public com.google.apphosting.utils.remoteapi.RemoteApiPb$Request com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.setRequest(com.google.appengine.repackaged.com.google.io.protocol.RawMessage), | |
public com.google.appengine.repackaged.com.google.io.protocol.RawMessage com.google.apphosting.utils.remoteapi.RemoteApiPb$Request.getMutableRequest(), | |
public java.lang.Object com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.clone() throws java.lang.CloneNotSupportedException, | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.clone(), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(int,com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage$PrintFlag[]), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(java.lang.String,java.util.Set), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(java.lang.String,boolean), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(boolean), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(java.util.Set), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toString(com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage$PrintFlag[]), | |
public final byte[] com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toByteArray(), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.mergeFrom(byte[],int,int), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.mergeFrom(java.io.InputStream), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.mergeFrom(com.google.appengine.repackaged.com.google.common.io.InputSupplier), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.mergeFrom(com.google.appengine.repackaged.com.google.io.protocol.ProtocolSource), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.mergeFrom(byte[]), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.mergeFrom(java.nio.ByteBuffer), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.parseFrom(byte[],int,int), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.parseFrom(com.google.appengine.repackaged.com.google.common.io.InputSupplier), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.parseFrom(java.io.InputStream), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.parseFrom(com.google.appengine.repackaged.com.google.io.protocol.ProtocolSource), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.parseFrom(byte[]), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.parseFrom(java.nio.ByteBuffer), | |
public final void com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.outputTo(java.io.OutputStream), | |
public final void com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.outputTo(java.nio.ByteBuffer), | |
public final void com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.outputTo(byte[],int), | |
public final boolean com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.isInitialized(), | |
public com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.copyFrom(com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage), | |
public final com.google.appengine.repackaged.com.google.io.protocol.ProtocolSink com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toProtocolSink(), | |
public final java.nio.ByteBuffer com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toByteBuffer(), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toFlatString(int), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toFlatString(boolean), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toFlatString(), | |
public java.lang.String com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.toXmlString(), | |
public java.beans.BeanDescriptor com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getBeanDescriptor(), | |
public java.beans.PropertyDescriptor[] com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getPropertyDescriptors(), | |
public int com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getDefaultPropertyIndex(), | |
public java.beans.EventSetDescriptor[] com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getEventSetDescriptors(), | |
public int com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getDefaultEventIndex(), | |
public java.beans.MethodDescriptor[] com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getMethodDescriptors(), | |
public java.beans.BeanInfo[] com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getAdditionalBeanInfo(), | |
public java.awt.Image com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.getIcon(int), | |
public com.google.appengine.repackaged.com.google.io.protocol.CategoryInformation com.google.appengine.repackaged.com.google.io.protocol.ProtocolMessage.messageCategoryInformation(), | |
public final native java.lang.Class java.lang.Object.getClass(), | |
public final native void java.lang.Object.wait(long) throws java.lang.InterruptedException, | |
public final void java.lang.Object.wait() throws java.lang.InterruptedException, | |
public final void java.lang.Object.wait(long,int) throws java.lang.InterruptedException, | |
public final native void java.lang.Object.notify(), | |
public final native void java.lang.Object.notifyAll()] | |
=> nil | |
>> rap = com.google.apphosting.utils.remoteapi.RemoteApiPb | |
=> Java::ComGoogleApphostingUtilsRemoteapi::RemoteApiPb | |
>> r = rap::Request.new | |
=> | |
>> r.setServiceName("datastore_v3") | |
=> service_name: "datastore_v3" | |
>> r.setMethod("get") | |
=> service_name: "datastore_v3" | |
method: "get" | |
>> r.toFlatString | |
=> "service_name: \"datastore_v3\",method: \"get\"" | |
>> r.toByteArray.to_a | |
=> [18, 12, 100, 97, 116, 97, 115, 116, 111, 114, 101, 95, 118, 51, 26, 3, 103, 101, 116, 34, 0] | |
>> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment