com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mobility-rpc Show documentation
Show all versions of mobility-rpc Show documentation
A high performance and easy to use library for Code Mobility and RPC on the Java platform.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: component_request_identifier.proto
package com.googlecode.mobilityrpc.protocol.protobuf;
public final class ComponentRequestIdentifier {
private ComponentRequestIdentifier() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface RequestIdentifierOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier)
com.google.protobuf.MessageOrBuilder {
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
boolean hasSessionId();
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID getSessionId();
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder getSessionIdOrBuilder();
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
boolean hasRequestId();
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID getRequestId();
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder getRequestIdOrBuilder();
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
boolean hasRequestLabel();
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
java.lang.String getRequestLabel();
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
com.google.protobuf.ByteString
getRequestLabelBytes();
}
/**
* Protobuf type {@code com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier}
*/
public static final class RequestIdentifier extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier)
RequestIdentifierOrBuilder {
// Use RequestIdentifier.newBuilder() to construct.
private RequestIdentifier(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private RequestIdentifier() {
requestLabel_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RequestIdentifier(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = sessionId_.toBuilder();
}
sessionId_ = input.readMessage(com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sessionId_);
sessionId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = requestId_.toBuilder();
}
requestId_ = input.readMessage(com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(requestId_);
requestId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
requestLabel_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.class, com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.Builder.class);
}
private int bitField0_;
public static final int SESSION_ID_FIELD_NUMBER = 1;
private com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID sessionId_;
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public boolean hasSessionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID getSessionId() {
return sessionId_ == null ? com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : sessionId_;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder getSessionIdOrBuilder() {
return sessionId_ == null ? com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : sessionId_;
}
public static final int REQUEST_ID_FIELD_NUMBER = 2;
private com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID requestId_;
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public boolean hasRequestId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID getRequestId() {
return requestId_ == null ? com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : requestId_;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder getRequestIdOrBuilder() {
return requestId_ == null ? com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : requestId_;
}
public static final int REQUEST_LABEL_FIELD_NUMBER = 3;
private volatile java.lang.Object requestLabel_;
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public boolean hasRequestLabel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public java.lang.String getRequestLabel() {
java.lang.Object ref = requestLabel_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
requestLabel_ = s;
}
return s;
}
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public com.google.protobuf.ByteString
getRequestLabelBytes() {
java.lang.Object ref = requestLabel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasSessionId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasRequestId()) {
memoizedIsInitialized = 0;
return false;
}
if (!getSessionId().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getRequestId().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getSessionId());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getRequestId());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, requestLabel_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSessionId());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRequestId());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, requestLabel_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier)
com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifierOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.class, com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.Builder.class);
}
// Construct using com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getSessionIdFieldBuilder();
getRequestIdFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (sessionIdBuilder_ == null) {
sessionId_ = null;
} else {
sessionIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (requestIdBuilder_ == null) {
requestId_ = null;
} else {
requestIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
requestLabel_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_descriptor;
}
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier getDefaultInstanceForType() {
return com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.getDefaultInstance();
}
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier build() {
com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier buildPartial() {
com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier result = new com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (sessionIdBuilder_ == null) {
result.sessionId_ = sessionId_;
} else {
result.sessionId_ = sessionIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (requestIdBuilder_ == null) {
result.requestId_ = requestId_;
} else {
result.requestId_ = requestIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.requestLabel_ = requestLabel_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier) {
return mergeFrom((com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier other) {
if (other == com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier.getDefaultInstance()) return this;
if (other.hasSessionId()) {
mergeSessionId(other.getSessionId());
}
if (other.hasRequestId()) {
mergeRequestId(other.getRequestId());
}
if (other.hasRequestLabel()) {
bitField0_ |= 0x00000004;
requestLabel_ = other.requestLabel_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasSessionId()) {
return false;
}
if (!hasRequestId()) {
return false;
}
if (!getSessionId().isInitialized()) {
return false;
}
if (!getRequestId().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID sessionId_ = null;
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder> sessionIdBuilder_;
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public boolean hasSessionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID getSessionId() {
if (sessionIdBuilder_ == null) {
return sessionId_ == null ? com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : sessionId_;
} else {
return sessionIdBuilder_.getMessage();
}
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public Builder setSessionId(com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID value) {
if (sessionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sessionId_ = value;
onChanged();
} else {
sessionIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public Builder setSessionId(
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder builderForValue) {
if (sessionIdBuilder_ == null) {
sessionId_ = builderForValue.build();
onChanged();
} else {
sessionIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public Builder mergeSessionId(com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID value) {
if (sessionIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
sessionId_ != null &&
sessionId_ != com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance()) {
sessionId_ =
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.newBuilder(sessionId_).mergeFrom(value).buildPartial();
} else {
sessionId_ = value;
}
onChanged();
} else {
sessionIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public Builder clearSessionId() {
if (sessionIdBuilder_ == null) {
sessionId_ = null;
onChanged();
} else {
sessionIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder getSessionIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSessionIdFieldBuilder().getBuilder();
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder getSessionIdOrBuilder() {
if (sessionIdBuilder_ != null) {
return sessionIdBuilder_.getMessageOrBuilder();
} else {
return sessionId_ == null ?
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : sessionId_;
}
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID session_id = 1;
*
*
* A UUID which identifies the relevant class loader to use on remote machines
* for deserializing objects and caching classes
* This is usually generated as a UUID on the first/initiating client,
* but could be persistent/constant for some applications
*
*/
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder>
getSessionIdFieldBuilder() {
if (sessionIdBuilder_ == null) {
sessionIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder>(
getSessionId(),
getParentForChildren(),
isClean());
sessionId_ = null;
}
return sessionIdBuilder_;
}
private com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID requestId_ = null;
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder> requestIdBuilder_;
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public boolean hasRequestId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID getRequestId() {
if (requestIdBuilder_ == null) {
return requestId_ == null ? com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : requestId_;
} else {
return requestIdBuilder_.getMessage();
}
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public Builder setRequestId(com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID value) {
if (requestIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
requestId_ = value;
onChanged();
} else {
requestIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public Builder setRequestId(
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder builderForValue) {
if (requestIdBuilder_ == null) {
requestId_ = builderForValue.build();
onChanged();
} else {
requestIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public Builder mergeRequestId(com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID value) {
if (requestIdBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
requestId_ != null &&
requestId_ != com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance()) {
requestId_ =
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.newBuilder(requestId_).mergeFrom(value).buildPartial();
} else {
requestId_ = value;
}
onChanged();
} else {
requestIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public Builder clearRequestId() {
if (requestIdBuilder_ == null) {
requestId_ = null;
onChanged();
} else {
requestIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder getRequestIdBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getRequestIdFieldBuilder().getBuilder();
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder getRequestIdOrBuilder() {
if (requestIdBuilder_ != null) {
return requestIdBuilder_.getMessageOrBuilder();
} else {
return requestId_ == null ?
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.getDefaultInstance() : requestId_;
}
}
/**
* required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 2;
*
*
* A UUID generated by the client for each request it sends, which will allows it
* to identify the relevant request object when the UUID is echoed back to the client
* by a remote machine in an execution response message on completion of the request
*
*/
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder>
getRequestIdFieldBuilder() {
if (requestIdBuilder_ == null) {
requestIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUID.Builder, com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.UUIDOrBuilder>(
getRequestId(),
getParentForChildren(),
isClean());
requestId_ = null;
}
return requestIdBuilder_;
}
private java.lang.Object requestLabel_ = "";
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public boolean hasRequestLabel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public java.lang.String getRequestLabel() {
java.lang.Object ref = requestLabel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
requestLabel_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public com.google.protobuf.ByteString
getRequestLabelBytes() {
java.lang.Object ref = requestLabel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public Builder setRequestLabel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
requestLabel_ = value;
onChanged();
return this;
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public Builder clearRequestLabel() {
bitField0_ = (bitField0_ & ~0x00000004);
requestLabel_ = getDefaultInstance().getRequestLabel();
onChanged();
return this;
}
/**
* optional string request_label = 3 [default = "<no label>"];
*
*
* An optional arbitrary string generated by the client which describes the execution request,
* for debugging purposes on both client and remote machine
*
*/
public Builder setRequestLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
requestLabel_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier)
}
// @@protoc_insertion_point(class_scope:com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier)
private static final com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier();
}
public static com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public RequestIdentifier parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new RequestIdentifier(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.googlecode.mobilityrpc.protocol.protobuf.ComponentRequestIdentifier.RequestIdentifier getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\"component_request_identifier.proto\022,co" +
"m.googlecode.mobilityrpc.protocol.protob" +
"uf\032\024component_uuid.proto\"\306\001\n\021RequestIden" +
"tifier\022F\n\nsession_id\030\001 \002(\01322.com.googlec" +
"ode.mobilityrpc.protocol.protobuf.UUID\022F" +
"\n\nrequest_id\030\002 \002(\01322.com.googlecode.mobi" +
"lityrpc.protocol.protobuf.UUID\022!\n\rreques" +
"t_label\030\003 \001(\t:\n"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.getDescriptor(),
}, assigner);
internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_googlecode_mobilityrpc_protocol_protobuf_RequestIdentifier_descriptor,
new java.lang.String[] { "SessionId", "RequestId", "RequestLabel", });
com.googlecode.mobilityrpc.protocol.protobuf.ComponentUuid.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy