// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ecmascript.proto
package com.opera.core.systems.scope.protos;
public final class EcmascriptProtos {
private EcmascriptProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface ListRuntimesArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated uint32 runtimeIDList = 1;
java.util.List<java.lang.Integer> getRuntimeIDListList();
int getRuntimeIDListCount();
int getRuntimeIDList(int index);
// optional bool create = 2;
boolean hasCreate();
boolean getCreate();
}
public static final class ListRuntimesArg extends
com.google.protobuf.GeneratedMessage
implements ListRuntimesArgOrBuilder {
// Use ListRuntimesArg.newBuilder() to construct.
private ListRuntimesArg(Builder builder) {
super(builder);
}
private ListRuntimesArg(boolean noInit) {}
private static final ListRuntimesArg defaultInstance;
public static ListRuntimesArg getDefaultInstance() {
return defaultInstance;
}
public ListRuntimesArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ListRuntimesArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ListRuntimesArg_fieldAccessorTable;
}
private int bitField0_;
// repeated uint32 runtimeIDList = 1;
public static final int RUNTIMEIDLIST_FIELD_NUMBER = 1;
private java.util.List<java.lang.Integer> runtimeIDList_;
public java.util.List<java.lang.Integer>
getRuntimeIDListList() {
return runtimeIDList_;
}
public int getRuntimeIDListCount() {
return runtimeIDList_.size();
}
public int getRuntimeIDList(int index) {
return runtimeIDList_.get(index);
}
// optional bool create = 2;
public static final int CREATE_FIELD_NUMBER = 2;
private boolean create_;
public boolean hasCreate() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public boolean getCreate() {
return create_;
}
private void initFields() {
runtimeIDList_ = java.util.Collections.emptyList();;
create_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < runtimeIDList_.size(); i++) {
output.writeUInt32(1, runtimeIDList_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(2, create_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < runtimeIDList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(runtimeIDList_.get(i));
}
size += dataSize;
size += 1 * getRuntimeIDListList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, create_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ListRuntimesArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ListRuntimesArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
runtimeIDList_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000001);
create_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg result = new com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
runtimeIDList_ = java.util.Collections.unmodifiableList(runtimeIDList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.runtimeIDList_ = runtimeIDList_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.create_ = create_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg.getDefaultInstance()) return this;
if (!other.runtimeIDList_.isEmpty()) {
if (runtimeIDList_.isEmpty()) {
runtimeIDList_ = other.runtimeIDList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRuntimeIDListIsMutable();
runtimeIDList_.addAll(other.runtimeIDList_);
}
onChanged();
}
if (other.hasCreate()) {
setCreate(other.getCreate());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
ensureRuntimeIDListIsMutable();
runtimeIDList_.add(input.readUInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
addRuntimeIDList(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 16: {
bitField0_ |= 0x00000002;
create_ = input.readBool();
break;
}
}
}
}
private int bitField0_;
// repeated uint32 runtimeIDList = 1;
private java.util.List<java.lang.Integer> runtimeIDList_ = java.util.Collections.emptyList();;
private void ensureRuntimeIDListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
runtimeIDList_ = new java.util.ArrayList<java.lang.Integer>(runtimeIDList_);
bitField0_ |= 0x00000001;
}
}
public java.util.List<java.lang.Integer>
getRuntimeIDListList() {
return java.util.Collections.unmodifiableList(runtimeIDList_);
}
public int getRuntimeIDListCount() {
return runtimeIDList_.size();
}
public int getRuntimeIDList(int index) {
return runtimeIDList_.get(index);
}
public Builder setRuntimeIDList(
int index, int value) {
ensureRuntimeIDListIsMutable();
runtimeIDList_.set(index, value);
onChanged();
return this;
}
public Builder addRuntimeIDList(int value) {
ensureRuntimeIDListIsMutable();
runtimeIDList_.add(value);
onChanged();
return this;
}
public Builder addAllRuntimeIDList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRuntimeIDListIsMutable();
super.addAll(values, runtimeIDList_);
onChanged();
return this;
}
public Builder clearRuntimeIDList() {
runtimeIDList_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// optional bool create = 2;
private boolean create_ ;
public boolean hasCreate() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public boolean getCreate() {
return create_;
}
public Builder setCreate(boolean value) {
bitField0_ |= 0x00000002;
create_ = value;
onChanged();
return this;
}
public Builder clearCreate() {
bitField0_ = (bitField0_ & ~0x00000002);
create_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ListRuntimesArg)
}
static {
defaultInstance = new ListRuntimesArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ListRuntimesArg)
}
public interface RuntimeListOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .scope.Runtime runtimeList = 1;
java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime>
getRuntimeListList();
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime getRuntimeList(int index);
int getRuntimeListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder>
getRuntimeListOrBuilderList();
com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder getRuntimeListOrBuilder(
int index);
}
public static final class RuntimeList extends
com.google.protobuf.GeneratedMessage
implements RuntimeListOrBuilder {
// Use RuntimeList.newBuilder() to construct.
private RuntimeList(Builder builder) {
super(builder);
}
private RuntimeList(boolean noInit) {}
private static final RuntimeList defaultInstance;
public static RuntimeList getDefaultInstance() {
return defaultInstance;
}
public RuntimeList getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_RuntimeList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_RuntimeList_fieldAccessorTable;
}
// repeated .scope.Runtime runtimeList = 1;
public static final int RUNTIMELIST_FIELD_NUMBER = 1;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime> runtimeList_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime> getRuntimeListList() {
return runtimeList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder>
getRuntimeListOrBuilderList() {
return runtimeList_;
}
public int getRuntimeListCount() {
return runtimeList_.size();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime getRuntimeList(int index) {
return runtimeList_.get(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder getRuntimeListOrBuilder(
int index) {
return runtimeList_.get(index);
}
private void initFields() {
runtimeList_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getRuntimeListCount(); i++) {
if (!getRuntimeList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < runtimeList_.size(); i++) {
output.writeMessage(1, runtimeList_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < runtimeList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, runtimeList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_RuntimeList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_RuntimeList_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getRuntimeListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (runtimeListBuilder_ == null) {
runtimeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
runtimeListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList result = new com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList(this);
int from_bitField0_ = bitField0_;
if (runtimeListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
runtimeList_ = java.util.Collections.unmodifiableList(runtimeList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.runtimeList_ = runtimeList_;
} else {
result.runtimeList_ = runtimeListBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList.getDefaultInstance()) return this;
if (runtimeListBuilder_ == null) {
if (!other.runtimeList_.isEmpty()) {
if (runtimeList_.isEmpty()) {
runtimeList_ = other.runtimeList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRuntimeListIsMutable();
runtimeList_.addAll(other.runtimeList_);
}
onChanged();
}
} else {
if (!other.runtimeList_.isEmpty()) {
if (runtimeListBuilder_.isEmpty()) {
runtimeListBuilder_.dispose();
runtimeListBuilder_ = null;
runtimeList_ = other.runtimeList_;
bitField0_ = (bitField0_ & ~0x00000001);
runtimeListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getRuntimeListFieldBuilder() : null;
} else {
runtimeListBuilder_.addAllMessages(other.runtimeList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getRuntimeListCount(); i++) {
if (!getRuntimeList(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addRuntimeList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .scope.Runtime runtimeList = 1;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime> runtimeList_ =
java.util.Collections.emptyList();
private void ensureRuntimeListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
runtimeList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime>(runtimeList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder> runtimeListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime> getRuntimeListList() {
if (runtimeListBuilder_ == null) {
return java.util.Collections.unmodifiableList(runtimeList_);
} else {
return runtimeListBuilder_.getMessageList();
}
}
public int getRuntimeListCount() {
if (runtimeListBuilder_ == null) {
return runtimeList_.size();
} else {
return runtimeListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime getRuntimeList(int index) {
if (runtimeListBuilder_ == null) {
return runtimeList_.get(index);
} else {
return runtimeListBuilder_.getMessage(index);
}
}
public Builder setRuntimeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime value) {
if (runtimeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRuntimeListIsMutable();
runtimeList_.set(index, value);
onChanged();
} else {
runtimeListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setRuntimeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder builderForValue) {
if (runtimeListBuilder_ == null) {
ensureRuntimeListIsMutable();
runtimeList_.set(index, builderForValue.build());
onChanged();
} else {
runtimeListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addRuntimeList(com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime value) {
if (runtimeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRuntimeListIsMutable();
runtimeList_.add(value);
onChanged();
} else {
runtimeListBuilder_.addMessage(value);
}
return this;
}
public Builder addRuntimeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime value) {
if (runtimeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRuntimeListIsMutable();
runtimeList_.add(index, value);
onChanged();
} else {
runtimeListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addRuntimeList(
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder builderForValue) {
if (runtimeListBuilder_ == null) {
ensureRuntimeListIsMutable();
runtimeList_.add(builderForValue.build());
onChanged();
} else {
runtimeListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addRuntimeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder builderForValue) {
if (runtimeListBuilder_ == null) {
ensureRuntimeListIsMutable();
runtimeList_.add(index, builderForValue.build());
onChanged();
} else {
runtimeListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllRuntimeList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime> values) {
if (runtimeListBuilder_ == null) {
ensureRuntimeListIsMutable();
super.addAll(values, runtimeList_);
onChanged();
} else {
runtimeListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearRuntimeList() {
if (runtimeListBuilder_ == null) {
runtimeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
runtimeListBuilder_.clear();
}
return this;
}
public Builder removeRuntimeList(int index) {
if (runtimeListBuilder_ == null) {
ensureRuntimeListIsMutable();
runtimeList_.remove(index);
onChanged();
} else {
runtimeListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder getRuntimeListBuilder(
int index) {
return getRuntimeListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder getRuntimeListOrBuilder(
int index) {
if (runtimeListBuilder_ == null) {
return runtimeList_.get(index); } else {
return runtimeListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder>
getRuntimeListOrBuilderList() {
if (runtimeListBuilder_ != null) {
return runtimeListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(runtimeList_);
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder addRuntimeListBuilder() {
return getRuntimeListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder addRuntimeListBuilder(
int index) {
return getRuntimeListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder>
getRuntimeListBuilderList() {
return getRuntimeListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder>
getRuntimeListFieldBuilder() {
if (runtimeListBuilder_ == null) {
runtimeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime, com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder>(
runtimeList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
runtimeList_ = null;
}
return runtimeListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.RuntimeList)
}
static {
defaultInstance = new RuntimeList(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.RuntimeList)
}
public interface RuntimeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 runtimeID = 1;
boolean hasRuntimeID();
int getRuntimeID();
// required string htmlFramePath = 2;
boolean hasHtmlFramePath();
String getHtmlFramePath();
// required uint32 windowID = 3;
boolean hasWindowID();
int getWindowID();
// required uint32 objectID = 4;
boolean hasObjectID();
int getObjectID();
// required string uri = 5;
boolean hasUri();
String getUri();
}
public static final class Runtime extends
com.google.protobuf.GeneratedMessage
implements RuntimeOrBuilder {
// Use Runtime.newBuilder() to construct.
private Runtime(Builder builder) {
super(builder);
}
private Runtime(boolean noInit) {}
private static final Runtime defaultInstance;
public static Runtime getDefaultInstance() {
return defaultInstance;
}
public Runtime getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Runtime_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Runtime_fieldAccessorTable;
}
private int bitField0_;
// required uint32 runtimeID = 1;
public static final int RUNTIMEID_FIELD_NUMBER = 1;
private int runtimeID_;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
// required string htmlFramePath = 2;
public static final int HTMLFRAMEPATH_FIELD_NUMBER = 2;
private java.lang.Object htmlFramePath_;
public boolean hasHtmlFramePath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getHtmlFramePath() {
java.lang.Object ref = htmlFramePath_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
htmlFramePath_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getHtmlFramePathBytes() {
java.lang.Object ref = htmlFramePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
htmlFramePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required uint32 windowID = 3;
public static final int WINDOWID_FIELD_NUMBER = 3;
private int windowID_;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getWindowID() {
return windowID_;
}
// required uint32 objectID = 4;
public static final int OBJECTID_FIELD_NUMBER = 4;
private int objectID_;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getObjectID() {
return objectID_;
}
// required string uri = 5;
public static final int URI_FIELD_NUMBER = 5;
private java.lang.Object uri_;
public boolean hasUri() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getUri() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
uri_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
runtimeID_ = 0;
htmlFramePath_ = "";
windowID_ = 0;
objectID_ = 0;
uri_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRuntimeID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasHtmlFramePath()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasWindowID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasObjectID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasUri()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, runtimeID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getHtmlFramePathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, windowID_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, objectID_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getUriBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, runtimeID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getHtmlFramePathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, windowID_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, objectID_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getUriBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Runtime_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Runtime_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
runtimeID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
htmlFramePath_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
windowID_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
objectID_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
uri_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime result = new com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.runtimeID_ = runtimeID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.htmlFramePath_ = htmlFramePath_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.windowID_ = windowID_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.objectID_ = objectID_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.uri_ = uri_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.getDefaultInstance()) return this;
if (other.hasRuntimeID()) {
setRuntimeID(other.getRuntimeID());
}
if (other.hasHtmlFramePath()) {
setHtmlFramePath(other.getHtmlFramePath());
}
if (other.hasWindowID()) {
setWindowID(other.getWindowID());
}
if (other.hasObjectID()) {
setObjectID(other.getObjectID());
}
if (other.hasUri()) {
setUri(other.getUri());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRuntimeID()) {
return false;
}
if (!hasHtmlFramePath()) {
return false;
}
if (!hasWindowID()) {
return false;
}
if (!hasObjectID()) {
return false;
}
if (!hasUri()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
runtimeID_ = input.readUInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
htmlFramePath_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
windowID_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
objectID_ = input.readUInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
uri_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required uint32 runtimeID = 1;
private int runtimeID_ ;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
public Builder setRuntimeID(int value) {
bitField0_ |= 0x00000001;
runtimeID_ = value;
onChanged();
return this;
}
public Builder clearRuntimeID() {
bitField0_ = (bitField0_ & ~0x00000001);
runtimeID_ = 0;
onChanged();
return this;
}
// required string htmlFramePath = 2;
private java.lang.Object htmlFramePath_ = "";
public boolean hasHtmlFramePath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getHtmlFramePath() {
java.lang.Object ref = htmlFramePath_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
htmlFramePath_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setHtmlFramePath(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
htmlFramePath_ = value;
onChanged();
return this;
}
public Builder clearHtmlFramePath() {
bitField0_ = (bitField0_ & ~0x00000002);
htmlFramePath_ = getDefaultInstance().getHtmlFramePath();
onChanged();
return this;
}
void setHtmlFramePath(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
htmlFramePath_ = value;
onChanged();
}
// required uint32 windowID = 3;
private int windowID_ ;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getWindowID() {
return windowID_;
}
public Builder setWindowID(int value) {
bitField0_ |= 0x00000004;
windowID_ = value;
onChanged();
return this;
}
public Builder clearWindowID() {
bitField0_ = (bitField0_ & ~0x00000004);
windowID_ = 0;
onChanged();
return this;
}
// required uint32 objectID = 4;
private int objectID_ ;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getObjectID() {
return objectID_;
}
public Builder setObjectID(int value) {
bitField0_ |= 0x00000008;
objectID_ = value;
onChanged();
return this;
}
public Builder clearObjectID() {
bitField0_ = (bitField0_ & ~0x00000008);
objectID_ = 0;
onChanged();
return this;
}
// required string uri = 5;
private java.lang.Object uri_ = "";
public boolean hasUri() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getUri() {
java.lang.Object ref = uri_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
uri_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setUri(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
uri_ = value;
onChanged();
return this;
}
public Builder clearUri() {
bitField0_ = (bitField0_ & ~0x00000010);
uri_ = getDefaultInstance().getUri();
onChanged();
return this;
}
void setUri(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
uri_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.Runtime)
}
static {
defaultInstance = new Runtime(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.Runtime)
}
public interface EvalArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 runtimeID = 1;
boolean hasRuntimeID();
int getRuntimeID();
// required string scriptData = 2;
boolean hasScriptData();
String getScriptData();
// repeated .scope.EvalArg.Variable variableList = 3;
java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable>
getVariableListList();
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable getVariableList(int index);
int getVariableListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder>
getVariableListOrBuilderList();
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder getVariableListOrBuilder(
int index);
}
public static final class EvalArg extends
com.google.protobuf.GeneratedMessage
implements EvalArgOrBuilder {
// Use EvalArg.newBuilder() to construct.
private EvalArg(Builder builder) {
super(builder);
}
private EvalArg(boolean noInit) {}
private static final EvalArg defaultInstance;
public static EvalArg getDefaultInstance() {
return defaultInstance;
}
public EvalArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_fieldAccessorTable;
}
public interface VariableOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
boolean hasName();
String getName();
// required uint32 objectID = 2;
boolean hasObjectID();
int getObjectID();
}
public static final class Variable extends
com.google.protobuf.GeneratedMessage
implements VariableOrBuilder {
// Use Variable.newBuilder() to construct.
private Variable(Builder builder) {
super(builder);
}
private Variable(boolean noInit) {}
private static final Variable defaultInstance;
public static Variable getDefaultInstance() {
return defaultInstance;
}
public Variable getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_Variable_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_Variable_fieldAccessorTable;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required uint32 objectID = 2;
public static final int OBJECTID_FIELD_NUMBER = 2;
private int objectID_;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getObjectID() {
return objectID_;
}
private void initFields() {
name_ = "";
objectID_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasObjectID()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, objectID_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, objectID_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_Variable_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_Variable_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
objectID_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable result = new com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.objectID_ = objectID_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (other.hasObjectID()) {
setObjectID(other.getObjectID());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
if (!hasObjectID()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
objectID_ = input.readUInt32();
break;
}
}
}
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
}
// required uint32 objectID = 2;
private int objectID_ ;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getObjectID() {
return objectID_;
}
public Builder setObjectID(int value) {
bitField0_ |= 0x00000002;
objectID_ = value;
onChanged();
return this;
}
public Builder clearObjectID() {
bitField0_ = (bitField0_ & ~0x00000002);
objectID_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.EvalArg.Variable)
}
static {
defaultInstance = new Variable(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.EvalArg.Variable)
}
private int bitField0_;
// required uint32 runtimeID = 1;
public static final int RUNTIMEID_FIELD_NUMBER = 1;
private int runtimeID_;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
// required string scriptData = 2;
public static final int SCRIPTDATA_FIELD_NUMBER = 2;
private java.lang.Object scriptData_;
public boolean hasScriptData() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getScriptData() {
java.lang.Object ref = scriptData_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
scriptData_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getScriptDataBytes() {
java.lang.Object ref = scriptData_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
scriptData_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .scope.EvalArg.Variable variableList = 3;
public static final int VARIABLELIST_FIELD_NUMBER = 3;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable> variableList_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable> getVariableListList() {
return variableList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder>
getVariableListOrBuilderList() {
return variableList_;
}
public int getVariableListCount() {
return variableList_.size();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable getVariableList(int index) {
return variableList_.get(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder getVariableListOrBuilder(
int index) {
return variableList_.get(index);
}
private void initFields() {
runtimeID_ = 0;
scriptData_ = "";
variableList_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRuntimeID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasScriptData()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getVariableListCount(); i++) {
if (!getVariableList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, runtimeID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getScriptDataBytes());
}
for (int i = 0; i < variableList_.size(); i++) {
output.writeMessage(3, variableList_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, runtimeID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getScriptDataBytes());
}
for (int i = 0; i < variableList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, variableList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getVariableListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
runtimeID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
scriptData_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (variableListBuilder_ == null) {
variableList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
variableListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg result = new com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.runtimeID_ = runtimeID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.scriptData_ = scriptData_;
if (variableListBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
variableList_ = java.util.Collections.unmodifiableList(variableList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.variableList_ = variableList_;
} else {
result.variableList_ = variableListBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.getDefaultInstance()) return this;
if (other.hasRuntimeID()) {
setRuntimeID(other.getRuntimeID());
}
if (other.hasScriptData()) {
setScriptData(other.getScriptData());
}
if (variableListBuilder_ == null) {
if (!other.variableList_.isEmpty()) {
if (variableList_.isEmpty()) {
variableList_ = other.variableList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureVariableListIsMutable();
variableList_.addAll(other.variableList_);
}
onChanged();
}
} else {
if (!other.variableList_.isEmpty()) {
if (variableListBuilder_.isEmpty()) {
variableListBuilder_.dispose();
variableListBuilder_ = null;
variableList_ = other.variableList_;
bitField0_ = (bitField0_ & ~0x00000004);
variableListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getVariableListFieldBuilder() : null;
} else {
variableListBuilder_.addAllMessages(other.variableList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRuntimeID()) {
return false;
}
if (!hasScriptData()) {
return false;
}
for (int i = 0; i < getVariableListCount(); i++) {
if (!getVariableList(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
runtimeID_ = input.readUInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
scriptData_ = input.readBytes();
break;
}
case 26: {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addVariableList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// required uint32 runtimeID = 1;
private int runtimeID_ ;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
public Builder setRuntimeID(int value) {
bitField0_ |= 0x00000001;
runtimeID_ = value;
onChanged();
return this;
}
public Builder clearRuntimeID() {
bitField0_ = (bitField0_ & ~0x00000001);
runtimeID_ = 0;
onChanged();
return this;
}
// required string scriptData = 2;
private java.lang.Object scriptData_ = "";
public boolean hasScriptData() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getScriptData() {
java.lang.Object ref = scriptData_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
scriptData_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setScriptData(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
scriptData_ = value;
onChanged();
return this;
}
public Builder clearScriptData() {
bitField0_ = (bitField0_ & ~0x00000002);
scriptData_ = getDefaultInstance().getScriptData();
onChanged();
return this;
}
void setScriptData(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
scriptData_ = value;
onChanged();
}
// repeated .scope.EvalArg.Variable variableList = 3;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable> variableList_ =
java.util.Collections.emptyList();
private void ensureVariableListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
variableList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable>(variableList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder> variableListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable> getVariableListList() {
if (variableListBuilder_ == null) {
return java.util.Collections.unmodifiableList(variableList_);
} else {
return variableListBuilder_.getMessageList();
}
}
public int getVariableListCount() {
if (variableListBuilder_ == null) {
return variableList_.size();
} else {
return variableListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable getVariableList(int index) {
if (variableListBuilder_ == null) {
return variableList_.get(index);
} else {
return variableListBuilder_.getMessage(index);
}
}
public Builder setVariableList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable value) {
if (variableListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariableListIsMutable();
variableList_.set(index, value);
onChanged();
} else {
variableListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setVariableList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder builderForValue) {
if (variableListBuilder_ == null) {
ensureVariableListIsMutable();
variableList_.set(index, builderForValue.build());
onChanged();
} else {
variableListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addVariableList(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable value) {
if (variableListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariableListIsMutable();
variableList_.add(value);
onChanged();
} else {
variableListBuilder_.addMessage(value);
}
return this;
}
public Builder addVariableList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable value) {
if (variableListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariableListIsMutable();
variableList_.add(index, value);
onChanged();
} else {
variableListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addVariableList(
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder builderForValue) {
if (variableListBuilder_ == null) {
ensureVariableListIsMutable();
variableList_.add(builderForValue.build());
onChanged();
} else {
variableListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addVariableList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder builderForValue) {
if (variableListBuilder_ == null) {
ensureVariableListIsMutable();
variableList_.add(index, builderForValue.build());
onChanged();
} else {
variableListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllVariableList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable> values) {
if (variableListBuilder_ == null) {
ensureVariableListIsMutable();
super.addAll(values, variableList_);
onChanged();
} else {
variableListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearVariableList() {
if (variableListBuilder_ == null) {
variableList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
variableListBuilder_.clear();
}
return this;
}
public Builder removeVariableList(int index) {
if (variableListBuilder_ == null) {
ensureVariableListIsMutable();
variableList_.remove(index);
onChanged();
} else {
variableListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder getVariableListBuilder(
int index) {
return getVariableListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder getVariableListOrBuilder(
int index) {
if (variableListBuilder_ == null) {
return variableList_.get(index); } else {
return variableListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder>
getVariableListOrBuilderList() {
if (variableListBuilder_ != null) {
return variableListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(variableList_);
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder addVariableListBuilder() {
return getVariableListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder addVariableListBuilder(
int index) {
return getVariableListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder>
getVariableListBuilderList() {
return getVariableListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder>
getVariableListFieldBuilder() {
if (variableListBuilder_ == null) {
variableListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.VariableOrBuilder>(
variableList_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
variableList_ = null;
}
return variableListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.EvalArg)
}
static {
defaultInstance = new EvalArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.EvalArg)
}
public interface EvalResultOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .scope.EvalResult.Status status = 1;
boolean hasStatus();
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status getStatus();
// required .scope.Value value = 2;
boolean hasValue();
com.opera.core.systems.scope.protos.EcmascriptProtos.Value getValue();
com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder getValueOrBuilder();
}
public static final class EvalResult extends
com.google.protobuf.GeneratedMessage
implements EvalResultOrBuilder {
// Use EvalResult.newBuilder() to construct.
private EvalResult(Builder builder) {
super(builder);
}
private EvalResult(boolean noInit) {}
private static final EvalResult defaultInstance;
public static EvalResult getDefaultInstance() {
return defaultInstance;
}
public EvalResult getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalResult_fieldAccessorTable;
}
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
SUCCESS(0, 1),
FAILURE(1, 2),
EXCEPTION(2, 3),
NO_MEMORY(3, 4),
CANCELLED(4, 5),
;
public static final int SUCCESS_VALUE = 1;
public static final int FAILURE_VALUE = 2;
public static final int EXCEPTION_VALUE = 3;
public static final int NO_MEMORY_VALUE = 4;
public static final int CANCELLED_VALUE = 5;
public final int getNumber() { return value; }
public static Status valueOf(int value) {
switch (value) {
case 1: return SUCCESS;
case 2: return FAILURE;
case 3: return EXCEPTION;
case 4: return NO_MEMORY;
case 5: return CANCELLED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Status>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<Status>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Status>() {
public Status findValueByNumber(int number) {
return Status.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.getDescriptor().getEnumTypes().get(0);
}
private static final Status[] VALUES = {
SUCCESS, FAILURE, EXCEPTION, NO_MEMORY, CANCELLED,
};
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Status(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:scope.EvalResult.Status)
}
private int bitField0_;
// required .scope.EvalResult.Status status = 1;
public static final int STATUS_FIELD_NUMBER = 1;
private com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status status_;
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status getStatus() {
return status_;
}
// required .scope.Value value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value value_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value getValue() {
return value_;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder getValueOrBuilder() {
return value_;
}
private void initFields() {
status_ = com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status.SUCCESS;
value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasStatus()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
if (!getValue().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, status_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, value_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, status_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_EvalResult_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getValueFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
status_ = com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status.SUCCESS;
bitField0_ = (bitField0_ & ~0x00000001);
if (valueBuilder_ == null) {
value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
} else {
valueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult result = new com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (valueBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = valueBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.getDefaultInstance()) return this;
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasStatus()) {
return false;
}
if (!hasValue()) {
return false;
}
if (!getValue().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
int rawValue = input.readEnum();
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status value = com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
status_ = value;
}
break;
}
case 18: {
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.newBuilder();
if (hasValue()) {
subBuilder.mergeFrom(getValue());
}
input.readMessage(subBuilder, extensionRegistry);
setValue(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// required .scope.EvalResult.Status status = 1;
private com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status status_ = com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status.SUCCESS;
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status getStatus() {
return status_;
}
public Builder setStatus(com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
status_ = value;
onChanged();
return this;
}
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Status.SUCCESS;
onChanged();
return this;
}
// required .scope.Value value = 2;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Value, com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder> valueBuilder_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value getValue() {
if (valueBuilder_ == null) {
return value_;
} else {
return valueBuilder_.getMessage();
}
}
public Builder setValue(com.opera.core.systems.scope.protos.EcmascriptProtos.Value value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
valueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder setValue(
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder builderForValue) {
if (valueBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
public Builder mergeValue(com.opera.core.systems.scope.protos.EcmascriptProtos.Value value) {
if (valueBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
value_ != com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance()) {
value_ =
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
valueBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
onChanged();
} else {
valueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder getValueBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getValueFieldBuilder().getBuilder();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder getValueOrBuilder() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilder();
} else {
return value_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Value, com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Value, com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder>(
value_,
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.EvalResult)
}
static {
defaultInstance = new EvalResult(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.EvalResult)
}
public interface ExamineObjectsArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 runtimeID = 1;
boolean hasRuntimeID();
int getRuntimeID();
// repeated uint32 objectIDList = 2;
java.util.List<java.lang.Integer> getObjectIDListList();
int getObjectIDListCount();
int getObjectIDList(int index);
// optional bool examinePrototypes = 3 [default = false];
boolean hasExaminePrototypes();
boolean getExaminePrototypes();
}
public static final class ExamineObjectsArg extends
com.google.protobuf.GeneratedMessage
implements ExamineObjectsArgOrBuilder {
// Use ExamineObjectsArg.newBuilder() to construct.
private ExamineObjectsArg(Builder builder) {
super(builder);
}
private ExamineObjectsArg(boolean noInit) {}
private static final ExamineObjectsArg defaultInstance;
public static ExamineObjectsArg getDefaultInstance() {
return defaultInstance;
}
public ExamineObjectsArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ExamineObjectsArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ExamineObjectsArg_fieldAccessorTable;
}
private int bitField0_;
// required uint32 runtimeID = 1;
public static final int RUNTIMEID_FIELD_NUMBER = 1;
private int runtimeID_;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
// repeated uint32 objectIDList = 2;
public static final int OBJECTIDLIST_FIELD_NUMBER = 2;
private java.util.List<java.lang.Integer> objectIDList_;
public java.util.List<java.lang.Integer>
getObjectIDListList() {
return objectIDList_;
}
public int getObjectIDListCount() {
return objectIDList_.size();
}
public int getObjectIDList(int index) {
return objectIDList_.get(index);
}
// optional bool examinePrototypes = 3 [default = false];
public static final int EXAMINEPROTOTYPES_FIELD_NUMBER = 3;
private boolean examinePrototypes_;
public boolean hasExaminePrototypes() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public boolean getExaminePrototypes() {
return examinePrototypes_;
}
private void initFields() {
runtimeID_ = 0;
objectIDList_ = java.util.Collections.emptyList();;
examinePrototypes_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRuntimeID()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, runtimeID_);
}
for (int i = 0; i < objectIDList_.size(); i++) {
output.writeUInt32(2, objectIDList_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(3, examinePrototypes_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, runtimeID_);
}
{
int dataSize = 0;
for (int i = 0; i < objectIDList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(objectIDList_.get(i));
}
size += dataSize;
size += 1 * getObjectIDListList().size();
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, examinePrototypes_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ExamineObjectsArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ExamineObjectsArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
runtimeID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
objectIDList_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000002);
examinePrototypes_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg result = new com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.runtimeID_ = runtimeID_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
objectIDList_ = java.util.Collections.unmodifiableList(objectIDList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.objectIDList_ = objectIDList_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.examinePrototypes_ = examinePrototypes_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg.getDefaultInstance()) return this;
if (other.hasRuntimeID()) {
setRuntimeID(other.getRuntimeID());
}
if (!other.objectIDList_.isEmpty()) {
if (objectIDList_.isEmpty()) {
objectIDList_ = other.objectIDList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureObjectIDListIsMutable();
objectIDList_.addAll(other.objectIDList_);
}
onChanged();
}
if (other.hasExaminePrototypes()) {
setExaminePrototypes(other.getExaminePrototypes());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRuntimeID()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
runtimeID_ = input.readUInt32();
break;
}
case 16: {
ensureObjectIDListIsMutable();
objectIDList_.add(input.readUInt32());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
addObjectIDList(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 24: {
bitField0_ |= 0x00000004;
examinePrototypes_ = input.readBool();
break;
}
}
}
}
private int bitField0_;
// required uint32 runtimeID = 1;
private int runtimeID_ ;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
public Builder setRuntimeID(int value) {
bitField0_ |= 0x00000001;
runtimeID_ = value;
onChanged();
return this;
}
public Builder clearRuntimeID() {
bitField0_ = (bitField0_ & ~0x00000001);
runtimeID_ = 0;
onChanged();
return this;
}
// repeated uint32 objectIDList = 2;
private java.util.List<java.lang.Integer> objectIDList_ = java.util.Collections.emptyList();;
private void ensureObjectIDListIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
objectIDList_ = new java.util.ArrayList<java.lang.Integer>(objectIDList_);
bitField0_ |= 0x00000002;
}
}
public java.util.List<java.lang.Integer>
getObjectIDListList() {
return java.util.Collections.unmodifiableList(objectIDList_);
}
public int getObjectIDListCount() {
return objectIDList_.size();
}
public int getObjectIDList(int index) {
return objectIDList_.get(index);
}
public Builder setObjectIDList(
int index, int value) {
ensureObjectIDListIsMutable();
objectIDList_.set(index, value);
onChanged();
return this;
}
public Builder addObjectIDList(int value) {
ensureObjectIDListIsMutable();
objectIDList_.add(value);
onChanged();
return this;
}
public Builder addAllObjectIDList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureObjectIDListIsMutable();
super.addAll(values, objectIDList_);
onChanged();
return this;
}
public Builder clearObjectIDList() {
objectIDList_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
// optional bool examinePrototypes = 3 [default = false];
private boolean examinePrototypes_ ;
public boolean hasExaminePrototypes() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public boolean getExaminePrototypes() {
return examinePrototypes_;
}
public Builder setExaminePrototypes(boolean value) {
bitField0_ |= 0x00000004;
examinePrototypes_ = value;
onChanged();
return this;
}
public Builder clearExaminePrototypes() {
bitField0_ = (bitField0_ & ~0x00000004);
examinePrototypes_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ExamineObjectsArg)
}
static {
defaultInstance = new ExamineObjectsArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ExamineObjectsArg)
}
public interface ObjectListOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .scope.PrototypeChain prototypeList = 1;
java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain>
getPrototypeListList();
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain getPrototypeList(int index);
int getPrototypeListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder>
getPrototypeListOrBuilderList();
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder getPrototypeListOrBuilder(
int index);
}
public static final class ObjectList extends
com.google.protobuf.GeneratedMessage
implements ObjectListOrBuilder {
// Use ObjectList.newBuilder() to construct.
private ObjectList(Builder builder) {
super(builder);
}
private ObjectList(boolean noInit) {}
private static final ObjectList defaultInstance;
public static ObjectList getDefaultInstance() {
return defaultInstance;
}
public ObjectList getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ObjectList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ObjectList_fieldAccessorTable;
}
// repeated .scope.PrototypeChain prototypeList = 1;
public static final int PROTOTYPELIST_FIELD_NUMBER = 1;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain> prototypeList_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain> getPrototypeListList() {
return prototypeList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder>
getPrototypeListOrBuilderList() {
return prototypeList_;
}
public int getPrototypeListCount() {
return prototypeList_.size();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain getPrototypeList(int index) {
return prototypeList_.get(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder getPrototypeListOrBuilder(
int index) {
return prototypeList_.get(index);
}
private void initFields() {
prototypeList_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getPrototypeListCount(); i++) {
if (!getPrototypeList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < prototypeList_.size(); i++) {
output.writeMessage(1, prototypeList_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < prototypeList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, prototypeList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ObjectList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ObjectList_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPrototypeListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (prototypeListBuilder_ == null) {
prototypeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
prototypeListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList result = new com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList(this);
int from_bitField0_ = bitField0_;
if (prototypeListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
prototypeList_ = java.util.Collections.unmodifiableList(prototypeList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.prototypeList_ = prototypeList_;
} else {
result.prototypeList_ = prototypeListBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList.getDefaultInstance()) return this;
if (prototypeListBuilder_ == null) {
if (!other.prototypeList_.isEmpty()) {
if (prototypeList_.isEmpty()) {
prototypeList_ = other.prototypeList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePrototypeListIsMutable();
prototypeList_.addAll(other.prototypeList_);
}
onChanged();
}
} else {
if (!other.prototypeList_.isEmpty()) {
if (prototypeListBuilder_.isEmpty()) {
prototypeListBuilder_.dispose();
prototypeListBuilder_ = null;
prototypeList_ = other.prototypeList_;
bitField0_ = (bitField0_ & ~0x00000001);
prototypeListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPrototypeListFieldBuilder() : null;
} else {
prototypeListBuilder_.addAllMessages(other.prototypeList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getPrototypeListCount(); i++) {
if (!getPrototypeList(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addPrototypeList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .scope.PrototypeChain prototypeList = 1;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain> prototypeList_ =
java.util.Collections.emptyList();
private void ensurePrototypeListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
prototypeList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain>(prototypeList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder> prototypeListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain> getPrototypeListList() {
if (prototypeListBuilder_ == null) {
return java.util.Collections.unmodifiableList(prototypeList_);
} else {
return prototypeListBuilder_.getMessageList();
}
}
public int getPrototypeListCount() {
if (prototypeListBuilder_ == null) {
return prototypeList_.size();
} else {
return prototypeListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain getPrototypeList(int index) {
if (prototypeListBuilder_ == null) {
return prototypeList_.get(index);
} else {
return prototypeListBuilder_.getMessage(index);
}
}
public Builder setPrototypeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain value) {
if (prototypeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePrototypeListIsMutable();
prototypeList_.set(index, value);
onChanged();
} else {
prototypeListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setPrototypeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder builderForValue) {
if (prototypeListBuilder_ == null) {
ensurePrototypeListIsMutable();
prototypeList_.set(index, builderForValue.build());
onChanged();
} else {
prototypeListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addPrototypeList(com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain value) {
if (prototypeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePrototypeListIsMutable();
prototypeList_.add(value);
onChanged();
} else {
prototypeListBuilder_.addMessage(value);
}
return this;
}
public Builder addPrototypeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain value) {
if (prototypeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePrototypeListIsMutable();
prototypeList_.add(index, value);
onChanged();
} else {
prototypeListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addPrototypeList(
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder builderForValue) {
if (prototypeListBuilder_ == null) {
ensurePrototypeListIsMutable();
prototypeList_.add(builderForValue.build());
onChanged();
} else {
prototypeListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addPrototypeList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder builderForValue) {
if (prototypeListBuilder_ == null) {
ensurePrototypeListIsMutable();
prototypeList_.add(index, builderForValue.build());
onChanged();
} else {
prototypeListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllPrototypeList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain> values) {
if (prototypeListBuilder_ == null) {
ensurePrototypeListIsMutable();
super.addAll(values, prototypeList_);
onChanged();
} else {
prototypeListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearPrototypeList() {
if (prototypeListBuilder_ == null) {
prototypeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
prototypeListBuilder_.clear();
}
return this;
}
public Builder removePrototypeList(int index) {
if (prototypeListBuilder_ == null) {
ensurePrototypeListIsMutable();
prototypeList_.remove(index);
onChanged();
} else {
prototypeListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder getPrototypeListBuilder(
int index) {
return getPrototypeListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder getPrototypeListOrBuilder(
int index) {
if (prototypeListBuilder_ == null) {
return prototypeList_.get(index); } else {
return prototypeListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder>
getPrototypeListOrBuilderList() {
if (prototypeListBuilder_ != null) {
return prototypeListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(prototypeList_);
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder addPrototypeListBuilder() {
return getPrototypeListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder addPrototypeListBuilder(
int index) {
return getPrototypeListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder>
getPrototypeListBuilderList() {
return getPrototypeListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder>
getPrototypeListFieldBuilder() {
if (prototypeListBuilder_ == null) {
prototypeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder>(
prototypeList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
prototypeList_ = null;
}
return prototypeListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.ObjectList)
}
static {
defaultInstance = new ObjectList(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ObjectList)
}
public interface PrototypeChainOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .scope.Object objectList = 1;
java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object>
getObjectListList();
com.opera.core.systems.scope.protos.EcmascriptProtos.Object getObjectList(int index);
int getObjectListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>
getObjectListOrBuilderList();
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder getObjectListOrBuilder(
int index);
}
public static final class PrototypeChain extends
com.google.protobuf.GeneratedMessage
implements PrototypeChainOrBuilder {
// Use PrototypeChain.newBuilder() to construct.
private PrototypeChain(Builder builder) {
super(builder);
}
private PrototypeChain(boolean noInit) {}
private static final PrototypeChain defaultInstance;
public static PrototypeChain getDefaultInstance() {
return defaultInstance;
}
public PrototypeChain getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_PrototypeChain_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_PrototypeChain_fieldAccessorTable;
}
// repeated .scope.Object objectList = 1;
public static final int OBJECTLIST_FIELD_NUMBER = 1;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object> objectList_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object> getObjectListList() {
return objectList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>
getObjectListOrBuilderList() {
return objectList_;
}
public int getObjectListCount() {
return objectList_.size();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object getObjectList(int index) {
return objectList_.get(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder getObjectListOrBuilder(
int index) {
return objectList_.get(index);
}
private void initFields() {
objectList_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getObjectListCount(); i++) {
if (!getObjectList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < objectList_.size(); i++) {
output.writeMessage(1, objectList_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < objectList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, objectList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChainOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_PrototypeChain_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_PrototypeChain_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getObjectListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (objectListBuilder_ == null) {
objectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
objectListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain result = new com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain(this);
int from_bitField0_ = bitField0_;
if (objectListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
objectList_ = java.util.Collections.unmodifiableList(objectList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.objectList_ = objectList_;
} else {
result.objectList_ = objectListBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.getDefaultInstance()) return this;
if (objectListBuilder_ == null) {
if (!other.objectList_.isEmpty()) {
if (objectList_.isEmpty()) {
objectList_ = other.objectList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureObjectListIsMutable();
objectList_.addAll(other.objectList_);
}
onChanged();
}
} else {
if (!other.objectList_.isEmpty()) {
if (objectListBuilder_.isEmpty()) {
objectListBuilder_.dispose();
objectListBuilder_ = null;
objectList_ = other.objectList_;
bitField0_ = (bitField0_ & ~0x00000001);
objectListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getObjectListFieldBuilder() : null;
} else {
objectListBuilder_.addAllMessages(other.objectList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getObjectListCount(); i++) {
if (!getObjectList(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addObjectList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .scope.Object objectList = 1;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object> objectList_ =
java.util.Collections.emptyList();
private void ensureObjectListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
objectList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.EcmascriptProtos.Object>(objectList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder> objectListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object> getObjectListList() {
if (objectListBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectList_);
} else {
return objectListBuilder_.getMessageList();
}
}
public int getObjectListCount() {
if (objectListBuilder_ == null) {
return objectList_.size();
} else {
return objectListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object getObjectList(int index) {
if (objectListBuilder_ == null) {
return objectList_.get(index);
} else {
return objectListBuilder_.getMessage(index);
}
}
public Builder setObjectList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.set(index, value);
onChanged();
} else {
objectListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setObjectList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.set(index, builderForValue.build());
onChanged();
} else {
objectListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addObjectList(com.opera.core.systems.scope.protos.EcmascriptProtos.Object value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.add(value);
onChanged();
} else {
objectListBuilder_.addMessage(value);
}
return this;
}
public Builder addObjectList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.add(index, value);
onChanged();
} else {
objectListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addObjectList(
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.add(builderForValue.build());
onChanged();
} else {
objectListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addObjectList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.add(index, builderForValue.build());
onChanged();
} else {
objectListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllObjectList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.Object> values) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
super.addAll(values, objectList_);
onChanged();
} else {
objectListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearObjectList() {
if (objectListBuilder_ == null) {
objectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
objectListBuilder_.clear();
}
return this;
}
public Builder removeObjectList(int index) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.remove(index);
onChanged();
} else {
objectListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder getObjectListBuilder(
int index) {
return getObjectListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder getObjectListOrBuilder(
int index) {
if (objectListBuilder_ == null) {
return objectList_.get(index); } else {
return objectListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>
getObjectListOrBuilderList() {
if (objectListBuilder_ != null) {
return objectListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectList_);
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder addObjectListBuilder() {
return getObjectListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder addObjectListBuilder(
int index) {
return getObjectListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder>
getObjectListBuilderList() {
return getObjectListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>
getObjectListFieldBuilder() {
if (objectListBuilder_ == null) {
objectListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>(
objectList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
objectList_ = null;
}
return objectListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.PrototypeChain)
}
static {
defaultInstance = new PrototypeChain(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.PrototypeChain)
}
public interface ObjectOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 objectID = 1;
boolean hasObjectID();
int getObjectID();
// required bool isCallable = 2;
boolean hasIsCallable();
boolean getIsCallable();
// required .scope.Object.ObjectType type = 3;
boolean hasType();
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType getType();
// optional uint32 prototypeID = 4;
boolean hasPrototypeID();
int getPrototypeID();
// optional string className = 5;
boolean hasClassName();
String getClassName();
// optional string functionName = 6;
boolean hasFunctionName();
String getFunctionName();
// repeated .scope.Object.Property propertyList = 7;
java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property>
getPropertyListList();
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property getPropertyList(int index);
int getPropertyListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder>
getPropertyListOrBuilderList();
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder getPropertyListOrBuilder(
int index);
}
public static final class Object extends
com.google.protobuf.GeneratedMessage
implements ObjectOrBuilder {
// Use Object.newBuilder() to construct.
private Object(Builder builder) {
super(builder);
}
private Object(boolean noInit) {}
private static final Object defaultInstance;
public static Object getDefaultInstance() {
return defaultInstance;
}
public Object getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_fieldAccessorTable;
}
public enum ObjectType
implements com.google.protobuf.ProtocolMessageEnum {
OBJECT(0, 1),
FUNCTION(1, 2),
;
public static final int OBJECT_VALUE = 1;
public static final int FUNCTION_VALUE = 2;
public final int getNumber() { return value; }
public static ObjectType valueOf(int value) {
switch (value) {
case 1: return OBJECT;
case 2: return FUNCTION;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ObjectType>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<ObjectType>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ObjectType>() {
public ObjectType findValueByNumber(int number) {
return ObjectType.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDescriptor().getEnumTypes().get(0);
}
private static final ObjectType[] VALUES = {
OBJECT, FUNCTION,
};
public static ObjectType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private ObjectType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:scope.Object.ObjectType)
}
public interface PropertyOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
boolean hasName();
String getName();
// required .scope.Value value = 2;
boolean hasValue();
com.opera.core.systems.scope.protos.EcmascriptProtos.Value getValue();
com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder getValueOrBuilder();
}
public static final class Property extends
com.google.protobuf.GeneratedMessage
implements PropertyOrBuilder {
// Use Property.newBuilder() to construct.
private Property(Builder builder) {
super(builder);
}
private Property(boolean noInit) {}
private static final Property defaultInstance;
public static Property getDefaultInstance() {
return defaultInstance;
}
public Property getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_Property_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_Property_fieldAccessorTable;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required .scope.Value value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value value_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value getValue() {
return value_;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder getValueOrBuilder() {
return value_;
}
private void initFields() {
name_ = "";
value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
if (!getValue().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, value_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_Property_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_Property_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getValueFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (valueBuilder_ == null) {
value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
} else {
valueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property result = new com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (valueBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = valueBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
if (!hasValue()) {
return false;
}
if (!getValue().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.newBuilder();
if (hasValue()) {
subBuilder.mergeFrom(getValue());
}
input.readMessage(subBuilder, extensionRegistry);
setValue(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
}
// required .scope.Value value = 2;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Value, com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder> valueBuilder_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value getValue() {
if (valueBuilder_ == null) {
return value_;
} else {
return valueBuilder_.getMessage();
}
}
public Builder setValue(com.opera.core.systems.scope.protos.EcmascriptProtos.Value value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
valueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder setValue(
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder builderForValue) {
if (valueBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
public Builder mergeValue(com.opera.core.systems.scope.protos.EcmascriptProtos.Value value) {
if (valueBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
value_ != com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance()) {
value_ =
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
valueBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
onChanged();
} else {
valueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder getValueBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getValueFieldBuilder().getBuilder();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder getValueOrBuilder() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilder();
} else {
return value_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Value, com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Value, com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder>(
value_,
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.Object.Property)
}
static {
defaultInstance = new Property(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.Object.Property)
}
private int bitField0_;
// required uint32 objectID = 1;
public static final int OBJECTID_FIELD_NUMBER = 1;
private int objectID_;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getObjectID() {
return objectID_;
}
// required bool isCallable = 2;
public static final int ISCALLABLE_FIELD_NUMBER = 2;
private boolean isCallable_;
public boolean hasIsCallable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public boolean getIsCallable() {
return isCallable_;
}
// required .scope.Object.ObjectType type = 3;
public static final int TYPE_FIELD_NUMBER = 3;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType type_;
public boolean hasType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType getType() {
return type_;
}
// optional uint32 prototypeID = 4;
public static final int PROTOTYPEID_FIELD_NUMBER = 4;
private int prototypeID_;
public boolean hasPrototypeID() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getPrototypeID() {
return prototypeID_;
}
// optional string className = 5;
public static final int CLASSNAME_FIELD_NUMBER = 5;
private java.lang.Object className_;
public boolean hasClassName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getClassName() {
java.lang.Object ref = className_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
className_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
className_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string functionName = 6;
public static final int FUNCTIONNAME_FIELD_NUMBER = 6;
private java.lang.Object functionName_;
public boolean hasFunctionName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getFunctionName() {
java.lang.Object ref = functionName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
functionName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getFunctionNameBytes() {
java.lang.Object ref = functionName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
functionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .scope.Object.Property propertyList = 7;
public static final int PROPERTYLIST_FIELD_NUMBER = 7;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property> propertyList_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property> getPropertyListList() {
return propertyList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder>
getPropertyListOrBuilderList() {
return propertyList_;
}
public int getPropertyListCount() {
return propertyList_.size();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property getPropertyList(int index) {
return propertyList_.get(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder getPropertyListOrBuilder(
int index) {
return propertyList_.get(index);
}
private void initFields() {
objectID_ = 0;
isCallable_ = false;
type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType.OBJECT;
prototypeID_ = 0;
className_ = "";
functionName_ = "";
propertyList_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasObjectID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIsCallable()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasType()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getPropertyListCount(); i++) {
if (!getPropertyList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, objectID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, isCallable_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeEnum(3, type_.getNumber());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, prototypeID_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getClassNameBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getFunctionNameBytes());
}
for (int i = 0; i < propertyList_.size(); i++) {
output.writeMessage(7, propertyList_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, objectID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, isCallable_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, type_.getNumber());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, prototypeID_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getClassNameBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getFunctionNameBytes());
}
for (int i = 0; i < propertyList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, propertyList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Object parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.Object prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Object_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.Object.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPropertyListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
objectID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
isCallable_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType.OBJECT;
bitField0_ = (bitField0_ & ~0x00000004);
prototypeID_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
className_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
functionName_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
if (propertyListBuilder_ == null) {
propertyList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
propertyListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.Object buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object result = new com.opera.core.systems.scope.protos.EcmascriptProtos.Object(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.objectID_ = objectID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.isCallable_ = isCallable_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.prototypeID_ = prototypeID_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.className_ = className_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.functionName_ = functionName_;
if (propertyListBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
propertyList_ = java.util.Collections.unmodifiableList(propertyList_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.propertyList_ = propertyList_;
} else {
result.propertyList_ = propertyListBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.Object) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.Object)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.Object other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance()) return this;
if (other.hasObjectID()) {
setObjectID(other.getObjectID());
}
if (other.hasIsCallable()) {
setIsCallable(other.getIsCallable());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasPrototypeID()) {
setPrototypeID(other.getPrototypeID());
}
if (other.hasClassName()) {
setClassName(other.getClassName());
}
if (other.hasFunctionName()) {
setFunctionName(other.getFunctionName());
}
if (propertyListBuilder_ == null) {
if (!other.propertyList_.isEmpty()) {
if (propertyList_.isEmpty()) {
propertyList_ = other.propertyList_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensurePropertyListIsMutable();
propertyList_.addAll(other.propertyList_);
}
onChanged();
}
} else {
if (!other.propertyList_.isEmpty()) {
if (propertyListBuilder_.isEmpty()) {
propertyListBuilder_.dispose();
propertyListBuilder_ = null;
propertyList_ = other.propertyList_;
bitField0_ = (bitField0_ & ~0x00000040);
propertyListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPropertyListFieldBuilder() : null;
} else {
propertyListBuilder_.addAllMessages(other.propertyList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasObjectID()) {
return false;
}
if (!hasIsCallable()) {
return false;
}
if (!hasType()) {
return false;
}
for (int i = 0; i < getPropertyListCount(); i++) {
if (!getPropertyList(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
objectID_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
isCallable_ = input.readBool();
break;
}
case 24: {
int rawValue = input.readEnum();
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType value = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(3, rawValue);
} else {
bitField0_ |= 0x00000004;
type_ = value;
}
break;
}
case 32: {
bitField0_ |= 0x00000008;
prototypeID_ = input.readUInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
className_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
functionName_ = input.readBytes();
break;
}
case 58: {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addPropertyList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// required uint32 objectID = 1;
private int objectID_ ;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getObjectID() {
return objectID_;
}
public Builder setObjectID(int value) {
bitField0_ |= 0x00000001;
objectID_ = value;
onChanged();
return this;
}
public Builder clearObjectID() {
bitField0_ = (bitField0_ & ~0x00000001);
objectID_ = 0;
onChanged();
return this;
}
// required bool isCallable = 2;
private boolean isCallable_ ;
public boolean hasIsCallable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public boolean getIsCallable() {
return isCallable_;
}
public Builder setIsCallable(boolean value) {
bitField0_ |= 0x00000002;
isCallable_ = value;
onChanged();
return this;
}
public Builder clearIsCallable() {
bitField0_ = (bitField0_ & ~0x00000002);
isCallable_ = false;
onChanged();
return this;
}
// required .scope.Object.ObjectType type = 3;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType.OBJECT;
public boolean hasType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType getType() {
return type_;
}
public Builder setType(com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value;
onChanged();
return this;
}
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.ObjectType.OBJECT;
onChanged();
return this;
}
// optional uint32 prototypeID = 4;
private int prototypeID_ ;
public boolean hasPrototypeID() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getPrototypeID() {
return prototypeID_;
}
public Builder setPrototypeID(int value) {
bitField0_ |= 0x00000008;
prototypeID_ = value;
onChanged();
return this;
}
public Builder clearPrototypeID() {
bitField0_ = (bitField0_ & ~0x00000008);
prototypeID_ = 0;
onChanged();
return this;
}
// optional string className = 5;
private java.lang.Object className_ = "";
public boolean hasClassName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
className_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setClassName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
className_ = value;
onChanged();
return this;
}
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000010);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
void setClassName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
className_ = value;
onChanged();
}
// optional string functionName = 6;
private java.lang.Object functionName_ = "";
public boolean hasFunctionName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getFunctionName() {
java.lang.Object ref = functionName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
functionName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setFunctionName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
functionName_ = value;
onChanged();
return this;
}
public Builder clearFunctionName() {
bitField0_ = (bitField0_ & ~0x00000020);
functionName_ = getDefaultInstance().getFunctionName();
onChanged();
return this;
}
void setFunctionName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000020;
functionName_ = value;
onChanged();
}
// repeated .scope.Object.Property propertyList = 7;
private java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property> propertyList_ =
java.util.Collections.emptyList();
private void ensurePropertyListIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
propertyList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property>(propertyList_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder> propertyListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property> getPropertyListList() {
if (propertyListBuilder_ == null) {
return java.util.Collections.unmodifiableList(propertyList_);
} else {
return propertyListBuilder_.getMessageList();
}
}
public int getPropertyListCount() {
if (propertyListBuilder_ == null) {
return propertyList_.size();
} else {
return propertyListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property getPropertyList(int index) {
if (propertyListBuilder_ == null) {
return propertyList_.get(index);
} else {
return propertyListBuilder_.getMessage(index);
}
}
public Builder setPropertyList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property value) {
if (propertyListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyListIsMutable();
propertyList_.set(index, value);
onChanged();
} else {
propertyListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setPropertyList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder builderForValue) {
if (propertyListBuilder_ == null) {
ensurePropertyListIsMutable();
propertyList_.set(index, builderForValue.build());
onChanged();
} else {
propertyListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addPropertyList(com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property value) {
if (propertyListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyListIsMutable();
propertyList_.add(value);
onChanged();
} else {
propertyListBuilder_.addMessage(value);
}
return this;
}
public Builder addPropertyList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property value) {
if (propertyListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyListIsMutable();
propertyList_.add(index, value);
onChanged();
} else {
propertyListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addPropertyList(
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder builderForValue) {
if (propertyListBuilder_ == null) {
ensurePropertyListIsMutable();
propertyList_.add(builderForValue.build());
onChanged();
} else {
propertyListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addPropertyList(
int index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder builderForValue) {
if (propertyListBuilder_ == null) {
ensurePropertyListIsMutable();
propertyList_.add(index, builderForValue.build());
onChanged();
} else {
propertyListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllPropertyList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property> values) {
if (propertyListBuilder_ == null) {
ensurePropertyListIsMutable();
super.addAll(values, propertyList_);
onChanged();
} else {
propertyListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearPropertyList() {
if (propertyListBuilder_ == null) {
propertyList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
propertyListBuilder_.clear();
}
return this;
}
public Builder removePropertyList(int index) {
if (propertyListBuilder_ == null) {
ensurePropertyListIsMutable();
propertyList_.remove(index);
onChanged();
} else {
propertyListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder getPropertyListBuilder(
int index) {
return getPropertyListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder getPropertyListOrBuilder(
int index) {
if (propertyListBuilder_ == null) {
return propertyList_.get(index); } else {
return propertyListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder>
getPropertyListOrBuilderList() {
if (propertyListBuilder_ != null) {
return propertyListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(propertyList_);
}
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder addPropertyListBuilder() {
return getPropertyListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder addPropertyListBuilder(
int index) {
return getPropertyListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder>
getPropertyListBuilderList() {
return getPropertyListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder>
getPropertyListFieldBuilder() {
if (propertyListBuilder_ == null) {
propertyListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.PropertyOrBuilder>(
propertyList_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
propertyList_ = null;
}
return propertyListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.Object)
}
static {
defaultInstance = new Object(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.Object)
}
public interface ValueOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .scope.Value.Type type = 1;
boolean hasType();
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type getType();
// optional double number = 2;
boolean hasNumber();
double getNumber();
// optional string str = 3;
boolean hasStr();
String getStr();
// optional .scope.Object object = 4;
boolean hasObject();
com.opera.core.systems.scope.protos.EcmascriptProtos.Object getObject();
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder getObjectOrBuilder();
}
public static final class Value extends
com.google.protobuf.GeneratedMessage
implements ValueOrBuilder {
// Use Value.newBuilder() to construct.
private Value(Builder builder) {
super(builder);
}
private Value(boolean noInit) {}
private static final Value defaultInstance;
public static Value getDefaultInstance() {
return defaultInstance;
}
public Value getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Value_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Value_fieldAccessorTable;
}
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
UNDEFINED(0, 0),
NULL(1, 1),
TRUE(2, 2),
FALSE(3, 3),
NAN(4, 4),
PLUS_INFINITY(5, 5),
MINUS_INFINITY(6, 6),
NUMBER(7, 7),
STRING(8, 8),
OBJECT(9, 9),
;
public static final int UNDEFINED_VALUE = 0;
public static final int NULL_VALUE = 1;
public static final int TRUE_VALUE = 2;
public static final int FALSE_VALUE = 3;
public static final int NAN_VALUE = 4;
public static final int PLUS_INFINITY_VALUE = 5;
public static final int MINUS_INFINITY_VALUE = 6;
public static final int NUMBER_VALUE = 7;
public static final int STRING_VALUE = 8;
public static final int OBJECT_VALUE = 9;
public final int getNumber() { return value; }
public static Type valueOf(int value) {
switch (value) {
case 0: return UNDEFINED;
case 1: return NULL;
case 2: return TRUE;
case 3: return FALSE;
case 4: return NAN;
case 5: return PLUS_INFINITY;
case 6: return MINUS_INFINITY;
case 7: return NUMBER;
case 8: return STRING;
case 9: return OBJECT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Type>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<Type>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Type>() {
public Type findValueByNumber(int number) {
return Type.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = {
UNDEFINED, NULL, TRUE, FALSE, NAN, PLUS_INFINITY, MINUS_INFINITY, NUMBER, STRING, OBJECT,
};
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Type(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:scope.Value.Type)
}
private int bitField0_;
// optional .scope.Value.Type type = 1;
public static final int TYPE_FIELD_NUMBER = 1;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type type_;
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type getType() {
return type_;
}
// optional double number = 2;
public static final int NUMBER_FIELD_NUMBER = 2;
private double number_;
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public double getNumber() {
return number_;
}
// optional string str = 3;
public static final int STR_FIELD_NUMBER = 3;
private java.lang.Object str_;
public boolean hasStr() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getStr() {
java.lang.Object ref = str_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
str_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getStrBytes() {
java.lang.Object ref = str_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
str_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional .scope.Object object = 4;
public static final int OBJECT_FIELD_NUMBER = 4;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Object object_;
public boolean hasObject() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object getObject() {
return object_;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder getObjectOrBuilder() {
return object_;
}
private void initFields() {
type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type.UNDEFINED;
number_ = 0D;
str_ = "";
object_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasObject()) {
if (!getObject().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeDouble(2, number_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getStrBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, object_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(2, number_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getStrBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, object_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.Value parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.Value prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Value_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_Value_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.Value.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getObjectFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type.UNDEFINED;
bitField0_ = (bitField0_ & ~0x00000001);
number_ = 0D;
bitField0_ = (bitField0_ & ~0x00000002);
str_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
if (objectBuilder_ == null) {
object_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance();
} else {
objectBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Value result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.Value result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.Value result = new com.opera.core.systems.scope.protos.EcmascriptProtos.Value(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.number_ = number_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.str_ = str_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (objectBuilder_ == null) {
result.object_ = object_;
} else {
result.object_ = objectBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.Value) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.Value)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.Value other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.Value.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasNumber()) {
setNumber(other.getNumber());
}
if (other.hasStr()) {
setStr(other.getStr());
}
if (other.hasObject()) {
mergeObject(other.getObject());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (hasObject()) {
if (!getObject().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
int rawValue = input.readEnum();
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type value = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
type_ = value;
}
break;
}
case 17: {
bitField0_ |= 0x00000002;
number_ = input.readDouble();
break;
}
case 26: {
bitField0_ |= 0x00000004;
str_ = input.readBytes();
break;
}
case 34: {
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder subBuilder = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.newBuilder();
if (hasObject()) {
subBuilder.mergeFrom(getObject());
}
input.readMessage(subBuilder, extensionRegistry);
setObject(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// optional .scope.Value.Type type = 1;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type.UNDEFINED;
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type getType() {
return type_;
}
public Builder setType(com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value;
onChanged();
return this;
}
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Type.UNDEFINED;
onChanged();
return this;
}
// optional double number = 2;
private double number_ ;
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public double getNumber() {
return number_;
}
public Builder setNumber(double value) {
bitField0_ |= 0x00000002;
number_ = value;
onChanged();
return this;
}
public Builder clearNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
number_ = 0D;
onChanged();
return this;
}
// optional string str = 3;
private java.lang.Object str_ = "";
public boolean hasStr() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getStr() {
java.lang.Object ref = str_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
str_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setStr(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
str_ = value;
onChanged();
return this;
}
public Builder clearStr() {
bitField0_ = (bitField0_ & ~0x00000004);
str_ = getDefaultInstance().getStr();
onChanged();
return this;
}
void setStr(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000004;
str_ = value;
onChanged();
}
// optional .scope.Object object = 4;
private com.opera.core.systems.scope.protos.EcmascriptProtos.Object object_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder> objectBuilder_;
public boolean hasObject() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object getObject() {
if (objectBuilder_ == null) {
return object_;
} else {
return objectBuilder_.getMessage();
}
}
public Builder setObject(com.opera.core.systems.scope.protos.EcmascriptProtos.Object value) {
if (objectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
object_ = value;
onChanged();
} else {
objectBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
public Builder setObject(
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder builderForValue) {
if (objectBuilder_ == null) {
object_ = builderForValue.build();
onChanged();
} else {
objectBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
public Builder mergeObject(com.opera.core.systems.scope.protos.EcmascriptProtos.Object value) {
if (objectBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
object_ != com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance()) {
object_ =
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.newBuilder(object_).mergeFrom(value).buildPartial();
} else {
object_ = value;
}
onChanged();
} else {
objectBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
public Builder clearObject() {
if (objectBuilder_ == null) {
object_ = com.opera.core.systems.scope.protos.EcmascriptProtos.Object.getDefaultInstance();
onChanged();
} else {
objectBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder getObjectBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getObjectFieldBuilder().getBuilder();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder getObjectOrBuilder() {
if (objectBuilder_ != null) {
return objectBuilder_.getMessageOrBuilder();
} else {
return object_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>
getObjectFieldBuilder() {
if (objectBuilder_ == null) {
objectBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.EcmascriptProtos.Object, com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder, com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectOrBuilder>(
object_,
getParentForChildren(),
isClean());
object_ = null;
}
return objectBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.Value)
}
static {
defaultInstance = new Value(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.Value)
}
public interface ReleaseObjectsArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated uint32 objectIDList = 1;
java.util.List<java.lang.Integer> getObjectIDListList();
int getObjectIDListCount();
int getObjectIDList(int index);
}
public static final class ReleaseObjectsArg extends
com.google.protobuf.GeneratedMessage
implements ReleaseObjectsArgOrBuilder {
// Use ReleaseObjectsArg.newBuilder() to construct.
private ReleaseObjectsArg(Builder builder) {
super(builder);
}
private ReleaseObjectsArg(boolean noInit) {}
private static final ReleaseObjectsArg defaultInstance;
public static ReleaseObjectsArg getDefaultInstance() {
return defaultInstance;
}
public ReleaseObjectsArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReleaseObjectsArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReleaseObjectsArg_fieldAccessorTable;
}
// repeated uint32 objectIDList = 1;
public static final int OBJECTIDLIST_FIELD_NUMBER = 1;
private java.util.List<java.lang.Integer> objectIDList_;
public java.util.List<java.lang.Integer>
getObjectIDListList() {
return objectIDList_;
}
public int getObjectIDListCount() {
return objectIDList_.size();
}
public int getObjectIDList(int index) {
return objectIDList_.get(index);
}
private void initFields() {
objectIDList_ = java.util.Collections.emptyList();;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < objectIDList_.size(); i++) {
output.writeUInt32(1, objectIDList_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < objectIDList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(objectIDList_.get(i));
}
size += dataSize;
size += 1 * getObjectIDListList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReleaseObjectsArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReleaseObjectsArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
objectIDList_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg result = new com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
objectIDList_ = java.util.Collections.unmodifiableList(objectIDList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.objectIDList_ = objectIDList_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg.getDefaultInstance()) return this;
if (!other.objectIDList_.isEmpty()) {
if (objectIDList_.isEmpty()) {
objectIDList_ = other.objectIDList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureObjectIDListIsMutable();
objectIDList_.addAll(other.objectIDList_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
ensureObjectIDListIsMutable();
objectIDList_.add(input.readUInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
addObjectIDList(input.readUInt32());
}
input.popLimit(limit);
break;
}
}
}
}
private int bitField0_;
// repeated uint32 objectIDList = 1;
private java.util.List<java.lang.Integer> objectIDList_ = java.util.Collections.emptyList();;
private void ensureObjectIDListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
objectIDList_ = new java.util.ArrayList<java.lang.Integer>(objectIDList_);
bitField0_ |= 0x00000001;
}
}
public java.util.List<java.lang.Integer>
getObjectIDListList() {
return java.util.Collections.unmodifiableList(objectIDList_);
}
public int getObjectIDListCount() {
return objectIDList_.size();
}
public int getObjectIDList(int index) {
return objectIDList_.get(index);
}
public Builder setObjectIDList(
int index, int value) {
ensureObjectIDListIsMutable();
objectIDList_.set(index, value);
onChanged();
return this;
}
public Builder addObjectIDList(int value) {
ensureObjectIDListIsMutable();
objectIDList_.add(value);
onChanged();
return this;
}
public Builder addAllObjectIDList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureObjectIDListIsMutable();
super.addAll(values, objectIDList_);
onChanged();
return this;
}
public Builder clearObjectIDList() {
objectIDList_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ReleaseObjectsArg)
}
static {
defaultInstance = new ReleaseObjectsArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ReleaseObjectsArg)
}
public interface ReadyStateChangeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 runtimeID = 1;
boolean hasRuntimeID();
int getRuntimeID();
// required .scope.ReadyStateChange.State state = 2;
boolean hasState();
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State getState();
}
public static final class ReadyStateChange extends
com.google.protobuf.GeneratedMessage
implements ReadyStateChangeOrBuilder {
// Use ReadyStateChange.newBuilder() to construct.
private ReadyStateChange(Builder builder) {
super(builder);
}
private ReadyStateChange(boolean noInit) {}
private static final ReadyStateChange defaultInstance;
public static ReadyStateChange getDefaultInstance() {
return defaultInstance;
}
public ReadyStateChange getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReadyStateChange_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReadyStateChange_fieldAccessorTable;
}
public enum State
implements com.google.protobuf.ProtocolMessageEnum {
DOM_ENVIRONMENT_CREATED(0, 1),
DOM_CONTENT_LOADED(1, 2),
AFTER_ONLOAD(2, 3),
;
public static final int DOM_ENVIRONMENT_CREATED_VALUE = 1;
public static final int DOM_CONTENT_LOADED_VALUE = 2;
public static final int AFTER_ONLOAD_VALUE = 3;
public final int getNumber() { return value; }
public static State valueOf(int value) {
switch (value) {
case 1: return DOM_ENVIRONMENT_CREATED;
case 2: return DOM_CONTENT_LOADED;
case 3: return AFTER_ONLOAD;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<State>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<State>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<State>() {
public State findValueByNumber(int number) {
return State.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.getDescriptor().getEnumTypes().get(0);
}
private static final State[] VALUES = {
DOM_ENVIRONMENT_CREATED, DOM_CONTENT_LOADED, AFTER_ONLOAD,
};
public static State valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private State(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:scope.ReadyStateChange.State)
}
private int bitField0_;
// required uint32 runtimeID = 1;
public static final int RUNTIMEID_FIELD_NUMBER = 1;
private int runtimeID_;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
// required .scope.ReadyStateChange.State state = 2;
public static final int STATE_FIELD_NUMBER = 2;
private com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State state_;
public boolean hasState() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State getState() {
return state_;
}
private void initFields() {
runtimeID_ = 0;
state_ = com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State.DOM_ENVIRONMENT_CREATED;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRuntimeID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasState()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, runtimeID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, state_.getNumber());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, runtimeID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, state_.getNumber());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReadyStateChange_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_ReadyStateChange_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
runtimeID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
state_ = com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State.DOM_ENVIRONMENT_CREATED;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange result = new com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.runtimeID_ = runtimeID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.state_ = state_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.getDefaultInstance()) return this;
if (other.hasRuntimeID()) {
setRuntimeID(other.getRuntimeID());
}
if (other.hasState()) {
setState(other.getState());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRuntimeID()) {
return false;
}
if (!hasState()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
runtimeID_ = input.readUInt32();
break;
}
case 16: {
int rawValue = input.readEnum();
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State value = com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
state_ = value;
}
break;
}
}
}
}
private int bitField0_;
// required uint32 runtimeID = 1;
private int runtimeID_ ;
public boolean hasRuntimeID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getRuntimeID() {
return runtimeID_;
}
public Builder setRuntimeID(int value) {
bitField0_ |= 0x00000001;
runtimeID_ = value;
onChanged();
return this;
}
public Builder clearRuntimeID() {
bitField0_ = (bitField0_ & ~0x00000001);
runtimeID_ = 0;
onChanged();
return this;
}
// required .scope.ReadyStateChange.State state = 2;
private com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State state_ = com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State.DOM_ENVIRONMENT_CREATED;
public boolean hasState() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State getState() {
return state_;
}
public Builder setState(com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
state_ = value;
onChanged();
return this;
}
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000002);
state_ = com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.State.DOM_ENVIRONMENT_CREATED;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ReadyStateChange)
}
static {
defaultInstance = new ReadyStateChange(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ReadyStateChange)
}
public interface SetFormElementValueArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 objectID = 1;
boolean hasObjectID();
int getObjectID();
// required string value = 2;
boolean hasValue();
String getValue();
}
public static final class SetFormElementValueArg extends
com.google.protobuf.GeneratedMessage
implements SetFormElementValueArgOrBuilder {
// Use SetFormElementValueArg.newBuilder() to construct.
private SetFormElementValueArg(Builder builder) {
super(builder);
}
private SetFormElementValueArg(boolean noInit) {}
private static final SetFormElementValueArg defaultInstance;
public static SetFormElementValueArg getDefaultInstance() {
return defaultInstance;
}
public SetFormElementValueArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_SetFormElementValueArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_SetFormElementValueArg_fieldAccessorTable;
}
private int bitField0_;
// required uint32 objectID = 1;
public static final int OBJECTID_FIELD_NUMBER = 1;
private int objectID_;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getObjectID() {
return objectID_;
}
// required string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getValue() {
java.lang.Object ref = value_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
value_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
objectID_ = 0;
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasObjectID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, objectID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, objectID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_SetFormElementValueArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.internal_static_scope_SetFormElementValueArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
objectID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg build() {
com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg buildPartial() {
com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg result = new com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.objectID_ = objectID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg) {
return mergeFrom((com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg other) {
if (other == com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg.getDefaultInstance()) return this;
if (other.hasObjectID()) {
setObjectID(other.getObjectID());
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasObjectID()) {
return false;
}
if (!hasValue()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
objectID_ = input.readUInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required uint32 objectID = 1;
private int objectID_ ;
public boolean hasObjectID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getObjectID() {
return objectID_;
}
public Builder setObjectID(int value) {
bitField0_ |= 0x00000001;
objectID_ = value;
onChanged();
return this;
}
public Builder clearObjectID() {
bitField0_ = (bitField0_ & ~0x00000001);
objectID_ = 0;
onChanged();
return this;
}
// required string value = 2;
private java.lang.Object value_ = "";
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
value_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setValue(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
void setValue(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.SetFormElementValueArg)
}
static {
defaultInstance = new SetFormElementValueArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.SetFormElementValueArg)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ListRuntimesArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ListRuntimesArg_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_RuntimeList_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_RuntimeList_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_Runtime_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_Runtime_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_EvalArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_EvalArg_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_EvalArg_Variable_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_EvalArg_Variable_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_EvalResult_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_EvalResult_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ExamineObjectsArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ExamineObjectsArg_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ObjectList_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ObjectList_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_PrototypeChain_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_PrototypeChain_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_Object_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_Object_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_Object_Property_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_Object_Property_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_Value_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_Value_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ReleaseObjectsArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ReleaseObjectsArg_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ReadyStateChange_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ReadyStateChange_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_SetFormElementValueArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_SetFormElementValueArg_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\020ecmascript.proto\022\005scope\032\"opera/scope/s" +
"cope_descriptor.proto\"8\n\017ListRuntimesArg" +
"\022\025\n\rruntimeIDList\030\001 \003(\r\022\016\n\006create\030\002 \001(\010\"" +
"2\n\013RuntimeList\022#\n\013runtimeList\030\001 \003(\0132\016.sc" +
"ope.Runtime\"d\n\007Runtime\022\021\n\truntimeID\030\001 \002(" +
"\r\022\025\n\rhtmlFramePath\030\002 \002(\t\022\020\n\010windowID\030\003 \002" +
"(\r\022\020\n\010objectID\030\004 \002(\r\022\013\n\003uri\030\005 \002(\t\"\213\001\n\007Ev" +
"alArg\022\021\n\truntimeID\030\001 \002(\r\022\022\n\nscriptData\030\002" +
" \002(\t\022-\n\014variableList\030\003 \003(\0132\027.scope.EvalA" +
"rg.Variable\032*\n\010Variable\022\014\n\004name\030\001 \002(\t\022\020\n",
"\010objectID\030\002 \002(\r\"\244\001\n\nEvalResult\022(\n\006status" +
"\030\001 \002(\0162\030.scope.EvalResult.Status\022\033\n\005valu" +
"e\030\002 \002(\0132\014.scope.Value\"O\n\006Status\022\013\n\007SUCCE" +
"SS\020\001\022\013\n\007FAILURE\020\002\022\r\n\tEXCEPTION\020\003\022\r\n\tNO_M" +
"EMORY\020\004\022\r\n\tCANCELLED\020\005\"^\n\021ExamineObjects" +
"Arg\022\021\n\truntimeID\030\001 \002(\r\022\024\n\014objectIDList\030\002" +
" \003(\r\022 \n\021examinePrototypes\030\003 \001(\010:\005false\":" +
"\n\nObjectList\022,\n\rprototypeList\030\001 \003(\0132\025.sc" +
"ope.PrototypeChain\"3\n\016PrototypeChain\022!\n\n" +
"objectList\030\001 \003(\0132\r.scope.Object\"\241\002\n\006Obje",
"ct\022\020\n\010objectID\030\001 \002(\r\022\022\n\nisCallable\030\002 \002(\010" +
"\022&\n\004type\030\003 \002(\0162\030.scope.Object.ObjectType" +
"\022\023\n\013prototypeID\030\004 \001(\r\022\021\n\tclassName\030\005 \001(\t" +
"\022\024\n\014functionName\030\006 \001(\t\022,\n\014propertyList\030\007" +
" \003(\0132\026.scope.Object.Property\0325\n\010Property" +
"\022\014\n\004name\030\001 \002(\t\022\033\n\005value\030\002 \002(\0132\014.scope.Va" +
"lue\"&\n\nObjectType\022\n\n\006OBJECT\020\001\022\014\n\010FUNCTIO" +
"N\020\002\"\357\001\n\005Value\022\037\n\004type\030\001 \001(\0162\021.scope.Valu" +
"e.Type\022\016\n\006number\030\002 \001(\001\022\013\n\003str\030\003 \001(\t\022\035\n\006o" +
"bject\030\004 \001(\0132\r.scope.Object\"\210\001\n\004Type\022\r\n\tU",
"NDEFINED\020\000\022\010\n\004NULL\020\001\022\010\n\004TRUE\020\002\022\t\n\005FALSE\020" +
"\003\022\007\n\003NAN\020\004\022\021\n\rPLUS_INFINITY\020\005\022\022\n\016MINUS_I" +
"NFINITY\020\006\022\n\n\006NUMBER\020\007\022\n\n\006STRING\020\010\022\n\n\006OBJ" +
"ECT\020\t\")\n\021ReleaseObjectsArg\022\024\n\014objectIDLi" +
"st\030\001 \003(\r\"\243\001\n\020ReadyStateChange\022\021\n\truntime" +
"ID\030\001 \002(\r\022,\n\005state\030\002 \002(\0162\035.scope.ReadySta" +
"teChange.State\"N\n\005State\022\033\n\027DOM_ENVIRONME" +
"NT_CREATED\020\001\022\026\n\022DOM_CONTENT_LOADED\020\002\022\020\n\014" +
"AFTER_ONLOAD\020\003\"9\n\026SetFormElementValueArg" +
"\022\020\n\010objectID\030\001 \002(\r\022\r\n\005value\030\002 \002(\tB9\n#com",
".opera.core.systems.scope.protosB\020Ecmasc" +
"riptProtosH\001"
};
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;
internal_static_scope_ListRuntimesArg_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_scope_ListRuntimesArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ListRuntimesArg_descriptor,
new java.lang.String[] { "RuntimeIDList", "Create", },
com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.ListRuntimesArg.Builder.class);
internal_static_scope_RuntimeList_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_scope_RuntimeList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_RuntimeList_descriptor,
new java.lang.String[] { "RuntimeList", },
com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.RuntimeList.Builder.class);
internal_static_scope_Runtime_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_scope_Runtime_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_Runtime_descriptor,
new java.lang.String[] { "RuntimeID", "HtmlFramePath", "WindowID", "ObjectID", "Uri", },
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.Runtime.Builder.class);
internal_static_scope_EvalArg_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_scope_EvalArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_EvalArg_descriptor,
new java.lang.String[] { "RuntimeID", "ScriptData", "VariableList", },
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Builder.class);
internal_static_scope_EvalArg_Variable_descriptor =
internal_static_scope_EvalArg_descriptor.getNestedTypes().get(0);
internal_static_scope_EvalArg_Variable_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_EvalArg_Variable_descriptor,
new java.lang.String[] { "Name", "ObjectID", },
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalArg.Variable.Builder.class);
internal_static_scope_EvalResult_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_scope_EvalResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_EvalResult_descriptor,
new java.lang.String[] { "Status", "Value", },
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.EvalResult.Builder.class);
internal_static_scope_ExamineObjectsArg_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_scope_ExamineObjectsArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ExamineObjectsArg_descriptor,
new java.lang.String[] { "RuntimeID", "ObjectIDList", "ExaminePrototypes", },
com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.ExamineObjectsArg.Builder.class);
internal_static_scope_ObjectList_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_scope_ObjectList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ObjectList_descriptor,
new java.lang.String[] { "PrototypeList", },
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList.Builder.class);
internal_static_scope_PrototypeChain_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_scope_PrototypeChain_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_PrototypeChain_descriptor,
new java.lang.String[] { "ObjectList", },
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.PrototypeChain.Builder.class);
internal_static_scope_Object_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_scope_Object_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_Object_descriptor,
new java.lang.String[] { "ObjectID", "IsCallable", "Type", "PrototypeID", "ClassName", "FunctionName", "PropertyList", },
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Builder.class);
internal_static_scope_Object_Property_descriptor =
internal_static_scope_Object_descriptor.getNestedTypes().get(0);
internal_static_scope_Object_Property_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_Object_Property_descriptor,
new java.lang.String[] { "Name", "Value", },
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.Object.Property.Builder.class);
internal_static_scope_Value_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_scope_Value_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_Value_descriptor,
new java.lang.String[] { "Type", "Number", "Str", "Object", },
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder.class);
internal_static_scope_ReleaseObjectsArg_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_scope_ReleaseObjectsArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ReleaseObjectsArg_descriptor,
new java.lang.String[] { "ObjectIDList", },
com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.ReleaseObjectsArg.Builder.class);
internal_static_scope_ReadyStateChange_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_scope_ReadyStateChange_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ReadyStateChange_descriptor,
new java.lang.String[] { "RuntimeID", "State", },
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.ReadyStateChange.Builder.class);
internal_static_scope_SetFormElementValueArg_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_scope_SetFormElementValueArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_SetFormElementValueArg_descriptor,
new java.lang.String[] { "ObjectID", "Value", },
com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg.class,
com.opera.core.systems.scope.protos.EcmascriptProtos.SetFormElementValueArg.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
ScopeDescriptor.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}