com.googlecode.mobilityrpc.protocol.protobuf
Class MessageResourceRequest.ResourceRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.googlecode.mobilityrpc.protocol.protobuf.MessageResourceRequest.ResourceRequest
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MessageResourceRequest.ResourceRequestOrBuilder, Serializable
- Enclosing class:
- MessageResourceRequest
public static final class MessageResourceRequest.ResourceRequest
- extends com.google.protobuf.GeneratedMessage
- implements MessageResourceRequest.ResourceRequestOrBuilder
Protobuf type com.googlecode.mobilityrpc.protocol.protobuf.ResourceRequest
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
| Fields inherited from class com.google.protobuf.GeneratedMessage |
alwaysUseFieldBuilders, unknownFields |
| Fields inherited from class com.google.protobuf.AbstractMessage |
memoizedSize |
| Fields inherited from class com.google.protobuf.AbstractMessageLite |
memoizedHashCode |
| Methods inherited from class com.google.protobuf.GeneratedMessage |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTag |
| Methods inherited from class com.google.protobuf.AbstractMessage |
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof |
| Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
REQUEST_IDENTIFIER_FIELD_NUMBER
public static final int REQUEST_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
PARSER
@Deprecated
public static final com.google.protobuf.Parser<MessageResourceRequest.ResourceRequest> PARSER
- Deprecated.
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
getResourceNameList
public com.google.protobuf.ProtocolStringList getResourceNameList()
repeated string resource_name = 1;
The name of the class or resource required from the class loader on the remote machine.
This name will be supplied to sessionClassLoader.getResourceAsStream(String name) on the remote machine.
In the case of requesting bytecode for a class, this name should be the binary name of the class
with '/'-separated path name and '.class' appended. E.g. class com.foo.Bar -> com/foo/Bar.class
- Specified by:
getResourceNameList in interface MessageResourceRequest.ResourceRequestOrBuilder
getResourceNameCount
public int getResourceNameCount()
repeated string resource_name = 1;
The name of the class or resource required from the class loader on the remote machine.
This name will be supplied to sessionClassLoader.getResourceAsStream(String name) on the remote machine.
In the case of requesting bytecode for a class, this name should be the binary name of the class
with '/'-separated path name and '.class' appended. E.g. class com.foo.Bar -> com/foo/Bar.class
- Specified by:
getResourceNameCount in interface MessageResourceRequest.ResourceRequestOrBuilder
getResourceName
public String getResourceName(int index)
repeated string resource_name = 1;
The name of the class or resource required from the class loader on the remote machine.
This name will be supplied to sessionClassLoader.getResourceAsStream(String name) on the remote machine.
In the case of requesting bytecode for a class, this name should be the binary name of the class
with '/'-separated path name and '.class' appended. E.g. class com.foo.Bar -> com/foo/Bar.class
- Specified by:
getResourceName in interface MessageResourceRequest.ResourceRequestOrBuilder
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes(int index)
repeated string resource_name = 1;
The name of the class or resource required from the class loader on the remote machine.
This name will be supplied to sessionClassLoader.getResourceAsStream(String name) on the remote machine.
In the case of requesting bytecode for a class, this name should be the binary name of the class
with '/'-separated path name and '.class' appended. E.g. class com.foo.Bar -> com/foo/Bar.class
- Specified by:
getResourceNameBytes in interface MessageResourceRequest.ResourceRequestOrBuilder
hasRequestIdentifier
public boolean hasRequestIdentifier()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 2;
Request identifier which will be echoed back to the client by the server, identifies the session and
request on the client to which the response will be addressed
- Specified by:
hasRequestIdentifier in interface MessageResourceRequest.ResourceRequestOrBuilder
getRequestIdentifier
public ComponentRequestIdentifier.RequestIdentifier getRequestIdentifier()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 2;
Request identifier which will be echoed back to the client by the server, identifies the session and
request on the client to which the response will be addressed
- Specified by:
getRequestIdentifier in interface MessageResourceRequest.ResourceRequestOrBuilder
getRequestIdentifierOrBuilder
public ComponentRequestIdentifier.RequestIdentifierOrBuilder getRequestIdentifierOrBuilder()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 2;
Request identifier which will be echoed back to the client by the server, identifies the session and
request on the client to which the response will be addressed
- Specified by:
getRequestIdentifierOrBuilder in interface MessageResourceRequest.ResourceRequestOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo in interface com.google.protobuf.MessageLite- Overrides:
writeTo in class com.google.protobuf.GeneratedMessage
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite- Overrides:
getSerializedSize in class com.google.protobuf.GeneratedMessage
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static MessageResourceRequest.ResourceRequest parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static MessageResourceRequest.ResourceRequest parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static MessageResourceRequest.ResourceRequest parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilderForType
public MessageResourceRequest.ResourceRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface com.google.protobuf.Message- Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite
newBuilder
public static MessageResourceRequest.ResourceRequest.Builder newBuilder()
newBuilder
public static MessageResourceRequest.ResourceRequest.Builder newBuilder(MessageResourceRequest.ResourceRequest prototype)
toBuilder
public MessageResourceRequest.ResourceRequest.Builder toBuilder()
- Specified by:
toBuilder in interface com.google.protobuf.Message- Specified by:
toBuilder in interface com.google.protobuf.MessageLite
newBuilderForType
protected MessageResourceRequest.ResourceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage
getDefaultInstance
public static MessageResourceRequest.ResourceRequest getDefaultInstance()
parser
public static com.google.protobuf.Parser<MessageResourceRequest.ResourceRequest> parser()
getParserForType
public com.google.protobuf.Parser<MessageResourceRequest.ResourceRequest> getParserForType()
- Specified by:
getParserForType in interface com.google.protobuf.Message- Specified by:
getParserForType in interface com.google.protobuf.MessageLite- Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage
getDefaultInstanceForType
public MessageResourceRequest.ResourceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
Copyright © 2016. All rights reserved.