// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: exec.proto
package com.opera.core.systems.scope.protos;
public final class ExecProtos {
private ExecProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface ActionInfoListOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .scope.ActionInfoList.ActionInfo actionInfoList = 1;
java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo>
getActionInfoListList();
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo getActionInfoList(int index);
int getActionInfoListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder>
getActionInfoListOrBuilderList();
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder getActionInfoListOrBuilder(
int index);
}
public static final class ActionInfoList extends
com.google.protobuf.GeneratedMessage
implements ActionInfoListOrBuilder {
// Use ActionInfoList.newBuilder() to construct.
private ActionInfoList(Builder builder) {
super(builder);
}
private ActionInfoList(boolean noInit) {}
private static final ActionInfoList defaultInstance;
public static ActionInfoList getDefaultInstance() {
return defaultInstance;
}
public ActionInfoList getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_fieldAccessorTable;
}
public interface ActionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
boolean hasName();
String getName();
}
public static final class ActionInfo extends
com.google.protobuf.GeneratedMessage
implements ActionInfoOrBuilder {
// Use ActionInfo.newBuilder() to construct.
private ActionInfo(Builder builder) {
super(builder);
}
private ActionInfo(boolean noInit) {}
private static final ActionInfo defaultInstance;
public static ActionInfo getDefaultInstance() {
return defaultInstance;
}
public ActionInfo getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_ActionInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_ActionInfo_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;
}
}
private void initFields() {
name_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
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());
}
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());
}
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.ExecProtos.ActionInfoList.ActionInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfo 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.ExecProtos.ActionInfoList.ActionInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_ActionInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_ActionInfo_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo build() {
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo result = new com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
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;
}
}
}
}
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();
}
// @@protoc_insertion_point(builder_scope:scope.ActionInfoList.ActionInfo)
}
static {
defaultInstance = new ActionInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ActionInfoList.ActionInfo)
}
// repeated .scope.ActionInfoList.ActionInfo actionInfoList = 1;
public static final int ACTIONINFOLIST_FIELD_NUMBER = 1;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo> actionInfoList_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo> getActionInfoListList() {
return actionInfoList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder>
getActionInfoListOrBuilderList() {
return actionInfoList_;
}
public int getActionInfoListCount() {
return actionInfoList_.size();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo getActionInfoList(int index) {
return actionInfoList_.get(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder getActionInfoListOrBuilder(
int index) {
return actionInfoList_.get(index);
}
private void initFields() {
actionInfoList_ = 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 < getActionInfoListCount(); i++) {
if (!getActionInfoList(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 < actionInfoList_.size(); i++) {
output.writeMessage(1, actionInfoList_.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 < actionInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, actionInfoList_.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.ExecProtos.ActionInfoList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoList 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.ExecProtos.ActionInfoListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionInfoList_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getActionInfoListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (actionInfoListBuilder_ == null) {
actionInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
actionInfoListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList build() {
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList result = new com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList(this);
int from_bitField0_ = bitField0_;
if (actionInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
actionInfoList_ = java.util.Collections.unmodifiableList(actionInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.actionInfoList_ = actionInfoList_;
} else {
result.actionInfoList_ = actionInfoListBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.getDefaultInstance()) return this;
if (actionInfoListBuilder_ == null) {
if (!other.actionInfoList_.isEmpty()) {
if (actionInfoList_.isEmpty()) {
actionInfoList_ = other.actionInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureActionInfoListIsMutable();
actionInfoList_.addAll(other.actionInfoList_);
}
onChanged();
}
} else {
if (!other.actionInfoList_.isEmpty()) {
if (actionInfoListBuilder_.isEmpty()) {
actionInfoListBuilder_.dispose();
actionInfoListBuilder_ = null;
actionInfoList_ = other.actionInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
actionInfoListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getActionInfoListFieldBuilder() : null;
} else {
actionInfoListBuilder_.addAllMessages(other.actionInfoList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getActionInfoListCount(); i++) {
if (!getActionInfoList(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.ExecProtos.ActionInfoList.ActionInfo.Builder subBuilder = com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addActionInfoList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .scope.ActionInfoList.ActionInfo actionInfoList = 1;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo> actionInfoList_ =
java.util.Collections.emptyList();
private void ensureActionInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
actionInfoList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo>(actionInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder> actionInfoListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo> getActionInfoListList() {
if (actionInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(actionInfoList_);
} else {
return actionInfoListBuilder_.getMessageList();
}
}
public int getActionInfoListCount() {
if (actionInfoListBuilder_ == null) {
return actionInfoList_.size();
} else {
return actionInfoListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo getActionInfoList(int index) {
if (actionInfoListBuilder_ == null) {
return actionInfoList_.get(index);
} else {
return actionInfoListBuilder_.getMessage(index);
}
}
public Builder setActionInfoList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo value) {
if (actionInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionInfoListIsMutable();
actionInfoList_.set(index, value);
onChanged();
} else {
actionInfoListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setActionInfoList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder builderForValue) {
if (actionInfoListBuilder_ == null) {
ensureActionInfoListIsMutable();
actionInfoList_.set(index, builderForValue.build());
onChanged();
} else {
actionInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addActionInfoList(com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo value) {
if (actionInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionInfoListIsMutable();
actionInfoList_.add(value);
onChanged();
} else {
actionInfoListBuilder_.addMessage(value);
}
return this;
}
public Builder addActionInfoList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo value) {
if (actionInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionInfoListIsMutable();
actionInfoList_.add(index, value);
onChanged();
} else {
actionInfoListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addActionInfoList(
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder builderForValue) {
if (actionInfoListBuilder_ == null) {
ensureActionInfoListIsMutable();
actionInfoList_.add(builderForValue.build());
onChanged();
} else {
actionInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addActionInfoList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder builderForValue) {
if (actionInfoListBuilder_ == null) {
ensureActionInfoListIsMutable();
actionInfoList_.add(index, builderForValue.build());
onChanged();
} else {
actionInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllActionInfoList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo> values) {
if (actionInfoListBuilder_ == null) {
ensureActionInfoListIsMutable();
super.addAll(values, actionInfoList_);
onChanged();
} else {
actionInfoListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearActionInfoList() {
if (actionInfoListBuilder_ == null) {
actionInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
actionInfoListBuilder_.clear();
}
return this;
}
public Builder removeActionInfoList(int index) {
if (actionInfoListBuilder_ == null) {
ensureActionInfoListIsMutable();
actionInfoList_.remove(index);
onChanged();
} else {
actionInfoListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder getActionInfoListBuilder(
int index) {
return getActionInfoListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder getActionInfoListOrBuilder(
int index) {
if (actionInfoListBuilder_ == null) {
return actionInfoList_.get(index); } else {
return actionInfoListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder>
getActionInfoListOrBuilderList() {
if (actionInfoListBuilder_ != null) {
return actionInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(actionInfoList_);
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder addActionInfoListBuilder() {
return getActionInfoListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder addActionInfoListBuilder(
int index) {
return getActionInfoListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder>
getActionInfoListBuilderList() {
return getActionInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder>
getActionInfoListFieldBuilder() {
if (actionInfoListBuilder_ == null) {
actionInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder, com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfoOrBuilder>(
actionInfoList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
actionInfoList_ = null;
}
return actionInfoListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.ActionInfoList)
}
static {
defaultInstance = new ActionInfoList(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ActionInfoList)
}
public interface AreaOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 x = 1;
boolean hasX();
int getX();
// required int32 y = 2;
boolean hasY();
int getY();
// required int32 w = 3;
boolean hasW();
int getW();
// required int32 h = 4;
boolean hasH();
int getH();
}
public static final class Area extends
com.google.protobuf.GeneratedMessage
implements AreaOrBuilder {
// Use Area.newBuilder() to construct.
private Area(Builder builder) {
super(builder);
}
private Area(boolean noInit) {}
private static final Area defaultInstance;
public static Area getDefaultInstance() {
return defaultInstance;
}
public Area getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_Area_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_Area_fieldAccessorTable;
}
private int bitField0_;
// required int32 x = 1;
public static final int X_FIELD_NUMBER = 1;
private int x_;
public boolean hasX() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getX() {
return x_;
}
// required int32 y = 2;
public static final int Y_FIELD_NUMBER = 2;
private int y_;
public boolean hasY() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getY() {
return y_;
}
// required int32 w = 3;
public static final int W_FIELD_NUMBER = 3;
private int w_;
public boolean hasW() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getW() {
return w_;
}
// required int32 h = 4;
public static final int H_FIELD_NUMBER = 4;
private int h_;
public boolean hasH() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getH() {
return h_;
}
private void initFields() {
x_ = 0;
y_ = 0;
w_ = 0;
h_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasX()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasY()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasW()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasH()) {
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.writeInt32(1, x_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, y_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, w_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, h_);
}
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
.computeInt32Size(1, x_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, y_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, w_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, h_);
}
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.ExecProtos.Area parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.Area 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.ExecProtos.Area parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.Area 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.ExecProtos.Area parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.Area 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.ExecProtos.Area 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.ExecProtos.Area 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.ExecProtos.Area parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.Area 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.ExecProtos.Area 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.ExecProtos.AreaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_Area_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_Area_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.Area.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();
x_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
y_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
w_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
h_ = 0;
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.ExecProtos.Area.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.Area getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.Area build() {
com.opera.core.systems.scope.protos.ExecProtos.Area result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.Area buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.Area result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.Area buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.Area result = new com.opera.core.systems.scope.protos.ExecProtos.Area(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.x_ = x_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.y_ = y_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.w_ = w_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.h_ = h_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.Area) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.Area)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.Area other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance()) return this;
if (other.hasX()) {
setX(other.getX());
}
if (other.hasY()) {
setY(other.getY());
}
if (other.hasW()) {
setW(other.getW());
}
if (other.hasH()) {
setH(other.getH());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasX()) {
return false;
}
if (!hasY()) {
return false;
}
if (!hasW()) {
return false;
}
if (!hasH()) {
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;
x_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
y_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
w_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
h_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// required int32 x = 1;
private int x_ ;
public boolean hasX() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getX() {
return x_;
}
public Builder setX(int value) {
bitField0_ |= 0x00000001;
x_ = value;
onChanged();
return this;
}
public Builder clearX() {
bitField0_ = (bitField0_ & ~0x00000001);
x_ = 0;
onChanged();
return this;
}
// required int32 y = 2;
private int y_ ;
public boolean hasY() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getY() {
return y_;
}
public Builder setY(int value) {
bitField0_ |= 0x00000002;
y_ = value;
onChanged();
return this;
}
public Builder clearY() {
bitField0_ = (bitField0_ & ~0x00000002);
y_ = 0;
onChanged();
return this;
}
// required int32 w = 3;
private int w_ ;
public boolean hasW() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getW() {
return w_;
}
public Builder setW(int value) {
bitField0_ |= 0x00000004;
w_ = value;
onChanged();
return this;
}
public Builder clearW() {
bitField0_ = (bitField0_ & ~0x00000004);
w_ = 0;
onChanged();
return this;
}
// required int32 h = 4;
private int h_ ;
public boolean hasH() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getH() {
return h_;
}
public Builder setH(int value) {
bitField0_ |= 0x00000008;
h_ = value;
onChanged();
return this;
}
public Builder clearH() {
bitField0_ = (bitField0_ & ~0x00000008);
h_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.Area)
}
static {
defaultInstance = new Area(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.Area)
}
public interface ScreenWatcherResultOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 windowID = 1;
boolean hasWindowID();
int getWindowID();
// required string md5 = 2;
boolean hasMd5();
String getMd5();
// optional bytes png = 3;
boolean hasPng();
com.google.protobuf.ByteString getPng();
// repeated .scope.ScreenWatcherResult.ColorMatch colorMatchList = 4;
java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch>
getColorMatchListList();
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch getColorMatchList(int index);
int getColorMatchListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder>
getColorMatchListOrBuilderList();
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder getColorMatchListOrBuilder(
int index);
}
public static final class ScreenWatcherResult extends
com.google.protobuf.GeneratedMessage
implements ScreenWatcherResultOrBuilder {
// Use ScreenWatcherResult.newBuilder() to construct.
private ScreenWatcherResult(Builder builder) {
super(builder);
}
private ScreenWatcherResult(boolean noInit) {}
private static final ScreenWatcherResult defaultInstance;
public static ScreenWatcherResult getDefaultInstance() {
return defaultInstance;
}
public ScreenWatcherResult getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_fieldAccessorTable;
}
public interface ColorMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 id = 1;
boolean hasId();
int getId();
// required uint32 count = 2;
boolean hasCount();
int getCount();
}
public static final class ColorMatch extends
com.google.protobuf.GeneratedMessage
implements ColorMatchOrBuilder {
// Use ColorMatch.newBuilder() to construct.
private ColorMatch(Builder builder) {
super(builder);
}
private ColorMatch(boolean noInit) {}
private static final ColorMatch defaultInstance;
public static ColorMatch getDefaultInstance() {
return defaultInstance;
}
public ColorMatch getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_ColorMatch_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_ColorMatch_fieldAccessorTable;
}
private int bitField0_;
// required uint32 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getId() {
return id_;
}
// required uint32 count = 2;
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
public boolean hasCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getCount() {
return count_;
}
private void initFields() {
id_ = 0;
count_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCount()) {
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, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, count_);
}
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, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, count_);
}
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.ExecProtos.ScreenWatcherResult.ColorMatch parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatch parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatch parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatch parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatch 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.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_ColorMatch_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_ColorMatch_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.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();
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 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.ExecProtos.ScreenWatcherResult.ColorMatch.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch build() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch result = new com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.count_ = count_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasCount()) {
setCount(other.getCount());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
if (!hasCount()) {
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;
id_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
count_ = input.readUInt32();
break;
}
}
}
}
private int bitField0_;
// required uint32 id = 1;
private int id_ ;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getId() {
return id_;
}
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
onChanged();
return this;
}
// required uint32 count = 2;
private int count_ ;
public boolean hasCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getCount() {
return count_;
}
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ScreenWatcherResult.ColorMatch)
}
static {
defaultInstance = new ColorMatch(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ScreenWatcherResult.ColorMatch)
}
private int bitField0_;
// required uint32 windowID = 1;
public static final int WINDOWID_FIELD_NUMBER = 1;
private int windowID_;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getWindowID() {
return windowID_;
}
// required string md5 = 2;
public static final int MD5_FIELD_NUMBER = 2;
private java.lang.Object md5_;
public boolean hasMd5() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMd5() {
java.lang.Object ref = md5_;
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)) {
md5_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getMd5Bytes() {
java.lang.Object ref = md5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
md5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bytes png = 3;
public static final int PNG_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString png_;
public boolean hasPng() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getPng() {
return png_;
}
// repeated .scope.ScreenWatcherResult.ColorMatch colorMatchList = 4;
public static final int COLORMATCHLIST_FIELD_NUMBER = 4;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch> colorMatchList_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch> getColorMatchListList() {
return colorMatchList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder>
getColorMatchListOrBuilderList() {
return colorMatchList_;
}
public int getColorMatchListCount() {
return colorMatchList_.size();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch getColorMatchList(int index) {
return colorMatchList_.get(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder getColorMatchListOrBuilder(
int index) {
return colorMatchList_.get(index);
}
private void initFields() {
windowID_ = 0;
md5_ = "";
png_ = com.google.protobuf.ByteString.EMPTY;
colorMatchList_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasWindowID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasMd5()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getColorMatchListCount(); i++) {
if (!getColorMatchList(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, windowID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getMd5Bytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, png_);
}
for (int i = 0; i < colorMatchList_.size(); i++) {
output.writeMessage(4, colorMatchList_.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, windowID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getMd5Bytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, png_);
}
for (int i = 0; i < colorMatchList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, colorMatchList_.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.ExecProtos.ScreenWatcherResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResult 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.ExecProtos.ScreenWatcherResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcherResult_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getColorMatchListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
windowID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
md5_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
png_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
if (colorMatchListBuilder_ == null) {
colorMatchList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
colorMatchListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult build() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult result = new com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.windowID_ = windowID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.md5_ = md5_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.png_ = png_;
if (colorMatchListBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
colorMatchList_ = java.util.Collections.unmodifiableList(colorMatchList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.colorMatchList_ = colorMatchList_;
} else {
result.colorMatchList_ = colorMatchListBuilder_.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.ExecProtos.ScreenWatcherResult) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.getDefaultInstance()) return this;
if (other.hasWindowID()) {
setWindowID(other.getWindowID());
}
if (other.hasMd5()) {
setMd5(other.getMd5());
}
if (other.hasPng()) {
setPng(other.getPng());
}
if (colorMatchListBuilder_ == null) {
if (!other.colorMatchList_.isEmpty()) {
if (colorMatchList_.isEmpty()) {
colorMatchList_ = other.colorMatchList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureColorMatchListIsMutable();
colorMatchList_.addAll(other.colorMatchList_);
}
onChanged();
}
} else {
if (!other.colorMatchList_.isEmpty()) {
if (colorMatchListBuilder_.isEmpty()) {
colorMatchListBuilder_.dispose();
colorMatchListBuilder_ = null;
colorMatchList_ = other.colorMatchList_;
bitField0_ = (bitField0_ & ~0x00000008);
colorMatchListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getColorMatchListFieldBuilder() : null;
} else {
colorMatchListBuilder_.addAllMessages(other.colorMatchList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasWindowID()) {
return false;
}
if (!hasMd5()) {
return false;
}
for (int i = 0; i < getColorMatchListCount(); i++) {
if (!getColorMatchList(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;
windowID_ = input.readUInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
md5_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
png_ = input.readBytes();
break;
}
case 34: {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder subBuilder = com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addColorMatchList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// required uint32 windowID = 1;
private int windowID_ ;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getWindowID() {
return windowID_;
}
public Builder setWindowID(int value) {
bitField0_ |= 0x00000001;
windowID_ = value;
onChanged();
return this;
}
public Builder clearWindowID() {
bitField0_ = (bitField0_ & ~0x00000001);
windowID_ = 0;
onChanged();
return this;
}
// required string md5 = 2;
private java.lang.Object md5_ = "";
public boolean hasMd5() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMd5() {
java.lang.Object ref = md5_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
md5_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setMd5(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
md5_ = value;
onChanged();
return this;
}
public Builder clearMd5() {
bitField0_ = (bitField0_ & ~0x00000002);
md5_ = getDefaultInstance().getMd5();
onChanged();
return this;
}
void setMd5(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
md5_ = value;
onChanged();
}
// optional bytes png = 3;
private com.google.protobuf.ByteString png_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasPng() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getPng() {
return png_;
}
public Builder setPng(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
png_ = value;
onChanged();
return this;
}
public Builder clearPng() {
bitField0_ = (bitField0_ & ~0x00000004);
png_ = getDefaultInstance().getPng();
onChanged();
return this;
}
// repeated .scope.ScreenWatcherResult.ColorMatch colorMatchList = 4;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch> colorMatchList_ =
java.util.Collections.emptyList();
private void ensureColorMatchListIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
colorMatchList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch>(colorMatchList_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder> colorMatchListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch> getColorMatchListList() {
if (colorMatchListBuilder_ == null) {
return java.util.Collections.unmodifiableList(colorMatchList_);
} else {
return colorMatchListBuilder_.getMessageList();
}
}
public int getColorMatchListCount() {
if (colorMatchListBuilder_ == null) {
return colorMatchList_.size();
} else {
return colorMatchListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch getColorMatchList(int index) {
if (colorMatchListBuilder_ == null) {
return colorMatchList_.get(index);
} else {
return colorMatchListBuilder_.getMessage(index);
}
}
public Builder setColorMatchList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch value) {
if (colorMatchListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColorMatchListIsMutable();
colorMatchList_.set(index, value);
onChanged();
} else {
colorMatchListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setColorMatchList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder builderForValue) {
if (colorMatchListBuilder_ == null) {
ensureColorMatchListIsMutable();
colorMatchList_.set(index, builderForValue.build());
onChanged();
} else {
colorMatchListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addColorMatchList(com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch value) {
if (colorMatchListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColorMatchListIsMutable();
colorMatchList_.add(value);
onChanged();
} else {
colorMatchListBuilder_.addMessage(value);
}
return this;
}
public Builder addColorMatchList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch value) {
if (colorMatchListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColorMatchListIsMutable();
colorMatchList_.add(index, value);
onChanged();
} else {
colorMatchListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addColorMatchList(
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder builderForValue) {
if (colorMatchListBuilder_ == null) {
ensureColorMatchListIsMutable();
colorMatchList_.add(builderForValue.build());
onChanged();
} else {
colorMatchListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addColorMatchList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder builderForValue) {
if (colorMatchListBuilder_ == null) {
ensureColorMatchListIsMutable();
colorMatchList_.add(index, builderForValue.build());
onChanged();
} else {
colorMatchListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllColorMatchList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch> values) {
if (colorMatchListBuilder_ == null) {
ensureColorMatchListIsMutable();
super.addAll(values, colorMatchList_);
onChanged();
} else {
colorMatchListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearColorMatchList() {
if (colorMatchListBuilder_ == null) {
colorMatchList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
colorMatchListBuilder_.clear();
}
return this;
}
public Builder removeColorMatchList(int index) {
if (colorMatchListBuilder_ == null) {
ensureColorMatchListIsMutable();
colorMatchList_.remove(index);
onChanged();
} else {
colorMatchListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder getColorMatchListBuilder(
int index) {
return getColorMatchListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder getColorMatchListOrBuilder(
int index) {
if (colorMatchListBuilder_ == null) {
return colorMatchList_.get(index); } else {
return colorMatchListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder>
getColorMatchListOrBuilderList() {
if (colorMatchListBuilder_ != null) {
return colorMatchListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(colorMatchList_);
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder addColorMatchListBuilder() {
return getColorMatchListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder addColorMatchListBuilder(
int index) {
return getColorMatchListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder>
getColorMatchListBuilderList() {
return getColorMatchListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder>
getColorMatchListFieldBuilder() {
if (colorMatchListBuilder_ == null) {
colorMatchListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatchOrBuilder>(
colorMatchList_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
colorMatchList_ = null;
}
return colorMatchListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.ScreenWatcherResult)
}
static {
defaultInstance = new ScreenWatcherResult(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ScreenWatcherResult)
}
public interface MouseActionOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 windowID = 1;
boolean hasWindowID();
int getWindowID();
// required int32 x = 2;
boolean hasX();
int getX();
// required int32 y = 3;
boolean hasY();
int getY();
// required uint32 buttonAction = 4;
boolean hasButtonAction();
int getButtonAction();
// optional uint32 repeatCount = 5 [default = 1];
boolean hasRepeatCount();
int getRepeatCount();
}
public static final class MouseAction extends
com.google.protobuf.GeneratedMessage
implements MouseActionOrBuilder {
// Use MouseAction.newBuilder() to construct.
private MouseAction(Builder builder) {
super(builder);
}
private MouseAction(boolean noInit) {}
private static final MouseAction defaultInstance;
public static MouseAction getDefaultInstance() {
return defaultInstance;
}
public MouseAction getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_MouseAction_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_MouseAction_fieldAccessorTable;
}
private int bitField0_;
// required uint32 windowID = 1;
public static final int WINDOWID_FIELD_NUMBER = 1;
private int windowID_;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getWindowID() {
return windowID_;
}
// required int32 x = 2;
public static final int X_FIELD_NUMBER = 2;
private int x_;
public boolean hasX() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getX() {
return x_;
}
// required int32 y = 3;
public static final int Y_FIELD_NUMBER = 3;
private int y_;
public boolean hasY() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getY() {
return y_;
}
// required uint32 buttonAction = 4;
public static final int BUTTONACTION_FIELD_NUMBER = 4;
private int buttonAction_;
public boolean hasButtonAction() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getButtonAction() {
return buttonAction_;
}
// optional uint32 repeatCount = 5 [default = 1];
public static final int REPEATCOUNT_FIELD_NUMBER = 5;
private int repeatCount_;
public boolean hasRepeatCount() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getRepeatCount() {
return repeatCount_;
}
private void initFields() {
windowID_ = 0;
x_ = 0;
y_ = 0;
buttonAction_ = 0;
repeatCount_ = 1;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasWindowID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasX()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasY()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasButtonAction()) {
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, windowID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, x_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, y_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, buttonAction_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, repeatCount_);
}
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, windowID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, x_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, y_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, buttonAction_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, repeatCount_);
}
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.ExecProtos.MouseAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.MouseAction 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.ExecProtos.MouseAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.MouseAction 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.ExecProtos.MouseAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.MouseAction 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.ExecProtos.MouseAction 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.ExecProtos.MouseAction 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.ExecProtos.MouseAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.MouseAction 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.ExecProtos.MouseAction 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.ExecProtos.MouseActionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_MouseAction_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_MouseAction_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.MouseAction.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();
windowID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
x_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
y_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
buttonAction_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
repeatCount_ = 1;
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.ExecProtos.MouseAction.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.MouseAction getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.MouseAction.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.MouseAction build() {
com.opera.core.systems.scope.protos.ExecProtos.MouseAction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.MouseAction buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.MouseAction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.MouseAction buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.MouseAction result = new com.opera.core.systems.scope.protos.ExecProtos.MouseAction(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.windowID_ = windowID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.x_ = x_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.y_ = y_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.buttonAction_ = buttonAction_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.repeatCount_ = repeatCount_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.MouseAction) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.MouseAction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.MouseAction other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.MouseAction.getDefaultInstance()) return this;
if (other.hasWindowID()) {
setWindowID(other.getWindowID());
}
if (other.hasX()) {
setX(other.getX());
}
if (other.hasY()) {
setY(other.getY());
}
if (other.hasButtonAction()) {
setButtonAction(other.getButtonAction());
}
if (other.hasRepeatCount()) {
setRepeatCount(other.getRepeatCount());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasWindowID()) {
return false;
}
if (!hasX()) {
return false;
}
if (!hasY()) {
return false;
}
if (!hasButtonAction()) {
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;
windowID_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
x_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
y_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
buttonAction_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
repeatCount_ = input.readUInt32();
break;
}
}
}
}
private int bitField0_;
// required uint32 windowID = 1;
private int windowID_ ;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getWindowID() {
return windowID_;
}
public Builder setWindowID(int value) {
bitField0_ |= 0x00000001;
windowID_ = value;
onChanged();
return this;
}
public Builder clearWindowID() {
bitField0_ = (bitField0_ & ~0x00000001);
windowID_ = 0;
onChanged();
return this;
}
// required int32 x = 2;
private int x_ ;
public boolean hasX() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getX() {
return x_;
}
public Builder setX(int value) {
bitField0_ |= 0x00000002;
x_ = value;
onChanged();
return this;
}
public Builder clearX() {
bitField0_ = (bitField0_ & ~0x00000002);
x_ = 0;
onChanged();
return this;
}
// required int32 y = 3;
private int y_ ;
public boolean hasY() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getY() {
return y_;
}
public Builder setY(int value) {
bitField0_ |= 0x00000004;
y_ = value;
onChanged();
return this;
}
public Builder clearY() {
bitField0_ = (bitField0_ & ~0x00000004);
y_ = 0;
onChanged();
return this;
}
// required uint32 buttonAction = 4;
private int buttonAction_ ;
public boolean hasButtonAction() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getButtonAction() {
return buttonAction_;
}
public Builder setButtonAction(int value) {
bitField0_ |= 0x00000008;
buttonAction_ = value;
onChanged();
return this;
}
public Builder clearButtonAction() {
bitField0_ = (bitField0_ & ~0x00000008);
buttonAction_ = 0;
onChanged();
return this;
}
// optional uint32 repeatCount = 5 [default = 1];
private int repeatCount_ = 1;
public boolean hasRepeatCount() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getRepeatCount() {
return repeatCount_;
}
public Builder setRepeatCount(int value) {
bitField0_ |= 0x00000010;
repeatCount_ = value;
onChanged();
return this;
}
public Builder clearRepeatCount() {
bitField0_ = (bitField0_ & ~0x00000010);
repeatCount_ = 1;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.MouseAction)
}
static {
defaultInstance = new MouseAction(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.MouseAction)
}
public interface ScreenWatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 timeOut = 1 [default = 10000];
boolean hasTimeOut();
int getTimeOut();
// required .scope.Area area = 2;
boolean hasArea();
com.opera.core.systems.scope.protos.ExecProtos.Area getArea();
com.opera.core.systems.scope.protos.ExecProtos.AreaOrBuilder getAreaOrBuilder();
// repeated string md5List = 3;
java.util.List<String> getMd5ListList();
int getMd5ListCount();
String getMd5List(int index);
// optional uint32 windowID = 4 [default = 0];
boolean hasWindowID();
int getWindowID();
// repeated .scope.ScreenWatcher.ColorSpec colorSpecList = 5;
java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec>
getColorSpecListList();
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec getColorSpecList(int index);
int getColorSpecListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder>
getColorSpecListOrBuilderList();
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder getColorSpecListOrBuilder(
int index);
// optional bool includeImage = 6 [default = true];
boolean hasIncludeImage();
boolean getIncludeImage();
}
public static final class ScreenWatcher extends
com.google.protobuf.GeneratedMessage
implements ScreenWatcherOrBuilder {
// Use ScreenWatcher.newBuilder() to construct.
private ScreenWatcher(Builder builder) {
super(builder);
}
private ScreenWatcher(boolean noInit) {}
private static final ScreenWatcher defaultInstance;
public static ScreenWatcher getDefaultInstance() {
return defaultInstance;
}
public ScreenWatcher getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_fieldAccessorTable;
}
public interface ColorSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 id = 1;
boolean hasId();
int getId();
// optional uint32 redLow = 2 [default = 0];
boolean hasRedLow();
int getRedLow();
// optional uint32 redHigh = 3 [default = 255];
boolean hasRedHigh();
int getRedHigh();
// optional uint32 greenLow = 4 [default = 0];
boolean hasGreenLow();
int getGreenLow();
// optional uint32 greenHigh = 5 [default = 255];
boolean hasGreenHigh();
int getGreenHigh();
// optional uint32 blueLow = 6 [default = 0];
boolean hasBlueLow();
int getBlueLow();
// optional uint32 blueHigh = 7 [default = 255];
boolean hasBlueHigh();
int getBlueHigh();
}
public static final class ColorSpec extends
com.google.protobuf.GeneratedMessage
implements ColorSpecOrBuilder {
// Use ColorSpec.newBuilder() to construct.
private ColorSpec(Builder builder) {
super(builder);
}
private ColorSpec(boolean noInit) {}
private static final ColorSpec defaultInstance;
public static ColorSpec getDefaultInstance() {
return defaultInstance;
}
public ColorSpec getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_ColorSpec_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_ColorSpec_fieldAccessorTable;
}
private int bitField0_;
// required uint32 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getId() {
return id_;
}
// optional uint32 redLow = 2 [default = 0];
public static final int REDLOW_FIELD_NUMBER = 2;
private int redLow_;
public boolean hasRedLow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getRedLow() {
return redLow_;
}
// optional uint32 redHigh = 3 [default = 255];
public static final int REDHIGH_FIELD_NUMBER = 3;
private int redHigh_;
public boolean hasRedHigh() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getRedHigh() {
return redHigh_;
}
// optional uint32 greenLow = 4 [default = 0];
public static final int GREENLOW_FIELD_NUMBER = 4;
private int greenLow_;
public boolean hasGreenLow() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getGreenLow() {
return greenLow_;
}
// optional uint32 greenHigh = 5 [default = 255];
public static final int GREENHIGH_FIELD_NUMBER = 5;
private int greenHigh_;
public boolean hasGreenHigh() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getGreenHigh() {
return greenHigh_;
}
// optional uint32 blueLow = 6 [default = 0];
public static final int BLUELOW_FIELD_NUMBER = 6;
private int blueLow_;
public boolean hasBlueLow() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getBlueLow() {
return blueLow_;
}
// optional uint32 blueHigh = 7 [default = 255];
public static final int BLUEHIGH_FIELD_NUMBER = 7;
private int blueHigh_;
public boolean hasBlueHigh() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public int getBlueHigh() {
return blueHigh_;
}
private void initFields() {
id_ = 0;
redLow_ = 0;
redHigh_ = 255;
greenLow_ = 0;
greenHigh_ = 255;
blueLow_ = 0;
blueHigh_ = 255;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
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, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, redLow_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, redHigh_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, greenLow_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, greenHigh_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(6, blueLow_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt32(7, blueHigh_);
}
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, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, redLow_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, redHigh_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, greenLow_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, greenHigh_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, blueLow_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, blueHigh_);
}
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.ExecProtos.ScreenWatcher.ColorSpec parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpec parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpec parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpec parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpec 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.ExecProtos.ScreenWatcher.ColorSpecOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_ColorSpec_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_ColorSpec_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.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();
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
redLow_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
redHigh_ = 255;
bitField0_ = (bitField0_ & ~0x00000004);
greenLow_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
greenHigh_ = 255;
bitField0_ = (bitField0_ & ~0x00000010);
blueLow_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
blueHigh_ = 255;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec build() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec result = new com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.redLow_ = redLow_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.redHigh_ = redHigh_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.greenLow_ = greenLow_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.greenHigh_ = greenHigh_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.blueLow_ = blueLow_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.blueHigh_ = blueHigh_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasRedLow()) {
setRedLow(other.getRedLow());
}
if (other.hasRedHigh()) {
setRedHigh(other.getRedHigh());
}
if (other.hasGreenLow()) {
setGreenLow(other.getGreenLow());
}
if (other.hasGreenHigh()) {
setGreenHigh(other.getGreenHigh());
}
if (other.hasBlueLow()) {
setBlueLow(other.getBlueLow());
}
if (other.hasBlueHigh()) {
setBlueHigh(other.getBlueHigh());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
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;
id_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
redLow_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
redHigh_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
greenLow_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
greenHigh_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
blueLow_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
blueHigh_ = input.readUInt32();
break;
}
}
}
}
private int bitField0_;
// required uint32 id = 1;
private int id_ ;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getId() {
return id_;
}
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
onChanged();
return this;
}
// optional uint32 redLow = 2 [default = 0];
private int redLow_ ;
public boolean hasRedLow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getRedLow() {
return redLow_;
}
public Builder setRedLow(int value) {
bitField0_ |= 0x00000002;
redLow_ = value;
onChanged();
return this;
}
public Builder clearRedLow() {
bitField0_ = (bitField0_ & ~0x00000002);
redLow_ = 0;
onChanged();
return this;
}
// optional uint32 redHigh = 3 [default = 255];
private int redHigh_ = 255;
public boolean hasRedHigh() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getRedHigh() {
return redHigh_;
}
public Builder setRedHigh(int value) {
bitField0_ |= 0x00000004;
redHigh_ = value;
onChanged();
return this;
}
public Builder clearRedHigh() {
bitField0_ = (bitField0_ & ~0x00000004);
redHigh_ = 255;
onChanged();
return this;
}
// optional uint32 greenLow = 4 [default = 0];
private int greenLow_ ;
public boolean hasGreenLow() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getGreenLow() {
return greenLow_;
}
public Builder setGreenLow(int value) {
bitField0_ |= 0x00000008;
greenLow_ = value;
onChanged();
return this;
}
public Builder clearGreenLow() {
bitField0_ = (bitField0_ & ~0x00000008);
greenLow_ = 0;
onChanged();
return this;
}
// optional uint32 greenHigh = 5 [default = 255];
private int greenHigh_ = 255;
public boolean hasGreenHigh() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getGreenHigh() {
return greenHigh_;
}
public Builder setGreenHigh(int value) {
bitField0_ |= 0x00000010;
greenHigh_ = value;
onChanged();
return this;
}
public Builder clearGreenHigh() {
bitField0_ = (bitField0_ & ~0x00000010);
greenHigh_ = 255;
onChanged();
return this;
}
// optional uint32 blueLow = 6 [default = 0];
private int blueLow_ ;
public boolean hasBlueLow() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getBlueLow() {
return blueLow_;
}
public Builder setBlueLow(int value) {
bitField0_ |= 0x00000020;
blueLow_ = value;
onChanged();
return this;
}
public Builder clearBlueLow() {
bitField0_ = (bitField0_ & ~0x00000020);
blueLow_ = 0;
onChanged();
return this;
}
// optional uint32 blueHigh = 7 [default = 255];
private int blueHigh_ = 255;
public boolean hasBlueHigh() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public int getBlueHigh() {
return blueHigh_;
}
public Builder setBlueHigh(int value) {
bitField0_ |= 0x00000040;
blueHigh_ = value;
onChanged();
return this;
}
public Builder clearBlueHigh() {
bitField0_ = (bitField0_ & ~0x00000040);
blueHigh_ = 255;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ScreenWatcher.ColorSpec)
}
static {
defaultInstance = new ColorSpec(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ScreenWatcher.ColorSpec)
}
private int bitField0_;
// required uint32 timeOut = 1 [default = 10000];
public static final int TIMEOUT_FIELD_NUMBER = 1;
private int timeOut_;
public boolean hasTimeOut() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getTimeOut() {
return timeOut_;
}
// required .scope.Area area = 2;
public static final int AREA_FIELD_NUMBER = 2;
private com.opera.core.systems.scope.protos.ExecProtos.Area area_;
public boolean hasArea() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.ExecProtos.Area getArea() {
return area_;
}
public com.opera.core.systems.scope.protos.ExecProtos.AreaOrBuilder getAreaOrBuilder() {
return area_;
}
// repeated string md5List = 3;
public static final int MD5LIST_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList md5List_;
public java.util.List<String>
getMd5ListList() {
return md5List_;
}
public int getMd5ListCount() {
return md5List_.size();
}
public String getMd5List(int index) {
return md5List_.get(index);
}
// optional uint32 windowID = 4 [default = 0];
public static final int WINDOWID_FIELD_NUMBER = 4;
private int windowID_;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getWindowID() {
return windowID_;
}
// repeated .scope.ScreenWatcher.ColorSpec colorSpecList = 5;
public static final int COLORSPECLIST_FIELD_NUMBER = 5;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec> colorSpecList_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec> getColorSpecListList() {
return colorSpecList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder>
getColorSpecListOrBuilderList() {
return colorSpecList_;
}
public int getColorSpecListCount() {
return colorSpecList_.size();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec getColorSpecList(int index) {
return colorSpecList_.get(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder getColorSpecListOrBuilder(
int index) {
return colorSpecList_.get(index);
}
// optional bool includeImage = 6 [default = true];
public static final int INCLUDEIMAGE_FIELD_NUMBER = 6;
private boolean includeImage_;
public boolean hasIncludeImage() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public boolean getIncludeImage() {
return includeImage_;
}
private void initFields() {
timeOut_ = 10000;
area_ = com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance();
md5List_ = com.google.protobuf.LazyStringArrayList.EMPTY;
windowID_ = 0;
colorSpecList_ = java.util.Collections.emptyList();
includeImage_ = true;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasTimeOut()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasArea()) {
memoizedIsInitialized = 0;
return false;
}
if (!getArea().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getColorSpecListCount(); i++) {
if (!getColorSpecList(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, timeOut_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, area_);
}
for (int i = 0; i < md5List_.size(); i++) {
output.writeBytes(3, md5List_.getByteString(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(4, windowID_);
}
for (int i = 0; i < colorSpecList_.size(); i++) {
output.writeMessage(5, colorSpecList_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(6, includeImage_);
}
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, timeOut_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, area_);
}
{
int dataSize = 0;
for (int i = 0; i < md5List_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(md5List_.getByteString(i));
}
size += dataSize;
size += 1 * getMd5ListList().size();
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, windowID_);
}
for (int i = 0; i < colorSpecList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, colorSpecList_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, includeImage_);
}
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.ExecProtos.ScreenWatcher parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcher parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcher parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcher parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcher 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.ExecProtos.ScreenWatcherOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ScreenWatcher_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAreaFieldBuilder();
getColorSpecListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
timeOut_ = 10000;
bitField0_ = (bitField0_ & ~0x00000001);
if (areaBuilder_ == null) {
area_ = com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance();
} else {
areaBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
md5List_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
windowID_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
if (colorSpecListBuilder_ == null) {
colorSpecList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
colorSpecListBuilder_.clear();
}
includeImage_ = true;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher build() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher result = new com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.timeOut_ = timeOut_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (areaBuilder_ == null) {
result.area_ = area_;
} else {
result.area_ = areaBuilder_.build();
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
md5List_ = new com.google.protobuf.UnmodifiableLazyStringList(
md5List_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.md5List_ = md5List_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.windowID_ = windowID_;
if (colorSpecListBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
colorSpecList_ = java.util.Collections.unmodifiableList(colorSpecList_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.colorSpecList_ = colorSpecList_;
} else {
result.colorSpecList_ = colorSpecListBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000008;
}
result.includeImage_ = includeImage_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.getDefaultInstance()) return this;
if (other.hasTimeOut()) {
setTimeOut(other.getTimeOut());
}
if (other.hasArea()) {
mergeArea(other.getArea());
}
if (!other.md5List_.isEmpty()) {
if (md5List_.isEmpty()) {
md5List_ = other.md5List_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureMd5ListIsMutable();
md5List_.addAll(other.md5List_);
}
onChanged();
}
if (other.hasWindowID()) {
setWindowID(other.getWindowID());
}
if (colorSpecListBuilder_ == null) {
if (!other.colorSpecList_.isEmpty()) {
if (colorSpecList_.isEmpty()) {
colorSpecList_ = other.colorSpecList_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureColorSpecListIsMutable();
colorSpecList_.addAll(other.colorSpecList_);
}
onChanged();
}
} else {
if (!other.colorSpecList_.isEmpty()) {
if (colorSpecListBuilder_.isEmpty()) {
colorSpecListBuilder_.dispose();
colorSpecListBuilder_ = null;
colorSpecList_ = other.colorSpecList_;
bitField0_ = (bitField0_ & ~0x00000010);
colorSpecListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getColorSpecListFieldBuilder() : null;
} else {
colorSpecListBuilder_.addAllMessages(other.colorSpecList_);
}
}
}
if (other.hasIncludeImage()) {
setIncludeImage(other.getIncludeImage());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasTimeOut()) {
return false;
}
if (!hasArea()) {
return false;
}
if (!getArea().isInitialized()) {
return false;
}
for (int i = 0; i < getColorSpecListCount(); i++) {
if (!getColorSpecList(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;
timeOut_ = input.readUInt32();
break;
}
case 18: {
com.opera.core.systems.scope.protos.ExecProtos.Area.Builder subBuilder = com.opera.core.systems.scope.protos.ExecProtos.Area.newBuilder();
if (hasArea()) {
subBuilder.mergeFrom(getArea());
}
input.readMessage(subBuilder, extensionRegistry);
setArea(subBuilder.buildPartial());
break;
}
case 26: {
ensureMd5ListIsMutable();
md5List_.add(input.readBytes());
break;
}
case 32: {
bitField0_ |= 0x00000008;
windowID_ = input.readUInt32();
break;
}
case 42: {
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder subBuilder = com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addColorSpecList(subBuilder.buildPartial());
break;
}
case 48: {
bitField0_ |= 0x00000020;
includeImage_ = input.readBool();
break;
}
}
}
}
private int bitField0_;
// required uint32 timeOut = 1 [default = 10000];
private int timeOut_ = 10000;
public boolean hasTimeOut() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getTimeOut() {
return timeOut_;
}
public Builder setTimeOut(int value) {
bitField0_ |= 0x00000001;
timeOut_ = value;
onChanged();
return this;
}
public Builder clearTimeOut() {
bitField0_ = (bitField0_ & ~0x00000001);
timeOut_ = 10000;
onChanged();
return this;
}
// required .scope.Area area = 2;
private com.opera.core.systems.scope.protos.ExecProtos.Area area_ = com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.Area, com.opera.core.systems.scope.protos.ExecProtos.Area.Builder, com.opera.core.systems.scope.protos.ExecProtos.AreaOrBuilder> areaBuilder_;
public boolean hasArea() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.opera.core.systems.scope.protos.ExecProtos.Area getArea() {
if (areaBuilder_ == null) {
return area_;
} else {
return areaBuilder_.getMessage();
}
}
public Builder setArea(com.opera.core.systems.scope.protos.ExecProtos.Area value) {
if (areaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
area_ = value;
onChanged();
} else {
areaBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder setArea(
com.opera.core.systems.scope.protos.ExecProtos.Area.Builder builderForValue) {
if (areaBuilder_ == null) {
area_ = builderForValue.build();
onChanged();
} else {
areaBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
public Builder mergeArea(com.opera.core.systems.scope.protos.ExecProtos.Area value) {
if (areaBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
area_ != com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance()) {
area_ =
com.opera.core.systems.scope.protos.ExecProtos.Area.newBuilder(area_).mergeFrom(value).buildPartial();
} else {
area_ = value;
}
onChanged();
} else {
areaBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder clearArea() {
if (areaBuilder_ == null) {
area_ = com.opera.core.systems.scope.protos.ExecProtos.Area.getDefaultInstance();
onChanged();
} else {
areaBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.opera.core.systems.scope.protos.ExecProtos.Area.Builder getAreaBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getAreaFieldBuilder().getBuilder();
}
public com.opera.core.systems.scope.protos.ExecProtos.AreaOrBuilder getAreaOrBuilder() {
if (areaBuilder_ != null) {
return areaBuilder_.getMessageOrBuilder();
} else {
return area_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.Area, com.opera.core.systems.scope.protos.ExecProtos.Area.Builder, com.opera.core.systems.scope.protos.ExecProtos.AreaOrBuilder>
getAreaFieldBuilder() {
if (areaBuilder_ == null) {
areaBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.Area, com.opera.core.systems.scope.protos.ExecProtos.Area.Builder, com.opera.core.systems.scope.protos.ExecProtos.AreaOrBuilder>(
area_,
getParentForChildren(),
isClean());
area_ = null;
}
return areaBuilder_;
}
// repeated string md5List = 3;
private com.google.protobuf.LazyStringList md5List_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMd5ListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
md5List_ = new com.google.protobuf.LazyStringArrayList(md5List_);
bitField0_ |= 0x00000004;
}
}
public java.util.List<String>
getMd5ListList() {
return java.util.Collections.unmodifiableList(md5List_);
}
public int getMd5ListCount() {
return md5List_.size();
}
public String getMd5List(int index) {
return md5List_.get(index);
}
public Builder setMd5List(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMd5ListIsMutable();
md5List_.set(index, value);
onChanged();
return this;
}
public Builder addMd5List(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMd5ListIsMutable();
md5List_.add(value);
onChanged();
return this;
}
public Builder addAllMd5List(
java.lang.Iterable<String> values) {
ensureMd5ListIsMutable();
super.addAll(values, md5List_);
onChanged();
return this;
}
public Builder clearMd5List() {
md5List_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
void addMd5List(com.google.protobuf.ByteString value) {
ensureMd5ListIsMutable();
md5List_.add(value);
onChanged();
}
// optional uint32 windowID = 4 [default = 0];
private int windowID_ ;
public boolean hasWindowID() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getWindowID() {
return windowID_;
}
public Builder setWindowID(int value) {
bitField0_ |= 0x00000008;
windowID_ = value;
onChanged();
return this;
}
public Builder clearWindowID() {
bitField0_ = (bitField0_ & ~0x00000008);
windowID_ = 0;
onChanged();
return this;
}
// repeated .scope.ScreenWatcher.ColorSpec colorSpecList = 5;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec> colorSpecList_ =
java.util.Collections.emptyList();
private void ensureColorSpecListIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
colorSpecList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec>(colorSpecList_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder> colorSpecListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec> getColorSpecListList() {
if (colorSpecListBuilder_ == null) {
return java.util.Collections.unmodifiableList(colorSpecList_);
} else {
return colorSpecListBuilder_.getMessageList();
}
}
public int getColorSpecListCount() {
if (colorSpecListBuilder_ == null) {
return colorSpecList_.size();
} else {
return colorSpecListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec getColorSpecList(int index) {
if (colorSpecListBuilder_ == null) {
return colorSpecList_.get(index);
} else {
return colorSpecListBuilder_.getMessage(index);
}
}
public Builder setColorSpecList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec value) {
if (colorSpecListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColorSpecListIsMutable();
colorSpecList_.set(index, value);
onChanged();
} else {
colorSpecListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setColorSpecList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder builderForValue) {
if (colorSpecListBuilder_ == null) {
ensureColorSpecListIsMutable();
colorSpecList_.set(index, builderForValue.build());
onChanged();
} else {
colorSpecListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addColorSpecList(com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec value) {
if (colorSpecListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColorSpecListIsMutable();
colorSpecList_.add(value);
onChanged();
} else {
colorSpecListBuilder_.addMessage(value);
}
return this;
}
public Builder addColorSpecList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec value) {
if (colorSpecListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColorSpecListIsMutable();
colorSpecList_.add(index, value);
onChanged();
} else {
colorSpecListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addColorSpecList(
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder builderForValue) {
if (colorSpecListBuilder_ == null) {
ensureColorSpecListIsMutable();
colorSpecList_.add(builderForValue.build());
onChanged();
} else {
colorSpecListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addColorSpecList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder builderForValue) {
if (colorSpecListBuilder_ == null) {
ensureColorSpecListIsMutable();
colorSpecList_.add(index, builderForValue.build());
onChanged();
} else {
colorSpecListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllColorSpecList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec> values) {
if (colorSpecListBuilder_ == null) {
ensureColorSpecListIsMutable();
super.addAll(values, colorSpecList_);
onChanged();
} else {
colorSpecListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearColorSpecList() {
if (colorSpecListBuilder_ == null) {
colorSpecList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
colorSpecListBuilder_.clear();
}
return this;
}
public Builder removeColorSpecList(int index) {
if (colorSpecListBuilder_ == null) {
ensureColorSpecListIsMutable();
colorSpecList_.remove(index);
onChanged();
} else {
colorSpecListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder getColorSpecListBuilder(
int index) {
return getColorSpecListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder getColorSpecListOrBuilder(
int index) {
if (colorSpecListBuilder_ == null) {
return colorSpecList_.get(index); } else {
return colorSpecListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder>
getColorSpecListOrBuilderList() {
if (colorSpecListBuilder_ != null) {
return colorSpecListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(colorSpecList_);
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder addColorSpecListBuilder() {
return getColorSpecListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder addColorSpecListBuilder(
int index) {
return getColorSpecListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder>
getColorSpecListBuilderList() {
return getColorSpecListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder>
getColorSpecListFieldBuilder() {
if (colorSpecListBuilder_ == null) {
colorSpecListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder, com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpecOrBuilder>(
colorSpecList_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
colorSpecList_ = null;
}
return colorSpecListBuilder_;
}
// optional bool includeImage = 6 [default = true];
private boolean includeImage_ = true;
public boolean hasIncludeImage() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getIncludeImage() {
return includeImage_;
}
public Builder setIncludeImage(boolean value) {
bitField0_ |= 0x00000020;
includeImage_ = value;
onChanged();
return this;
}
public Builder clearIncludeImage() {
bitField0_ = (bitField0_ & ~0x00000020);
includeImage_ = true;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.ScreenWatcher)
}
static {
defaultInstance = new ScreenWatcher(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ScreenWatcher)
}
public interface ActionListOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .scope.ActionList.Action actionList = 1;
java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action>
getActionListList();
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action getActionList(int index);
int getActionListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder>
getActionListOrBuilderList();
com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder getActionListOrBuilder(
int index);
}
public static final class ActionList extends
com.google.protobuf.GeneratedMessage
implements ActionListOrBuilder {
// Use ActionList.newBuilder() to construct.
private ActionList(Builder builder) {
super(builder);
}
private ActionList(boolean noInit) {}
private static final ActionList defaultInstance;
public static ActionList getDefaultInstance() {
return defaultInstance;
}
public ActionList getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_fieldAccessorTable;
}
public interface ActionOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
boolean hasName();
String getName();
// optional string value = 2;
boolean hasValue();
String getValue();
// optional uint32 windowID = 3;
boolean hasWindowID();
int getWindowID();
// optional int32 data = 4;
boolean hasData();
int getData();
// optional string stringParam = 5;
boolean hasStringParam();
String getStringParam();
}
public static final class Action extends
com.google.protobuf.GeneratedMessage
implements ActionOrBuilder {
// Use Action.newBuilder() to construct.
private Action(Builder builder) {
super(builder);
}
private Action(boolean noInit) {}
private static final Action defaultInstance;
public static Action getDefaultInstance() {
return defaultInstance;
}
public Action getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_Action_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_Action_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;
}
}
// optional 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;
}
}
// optional 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_;
}
// optional int32 data = 4;
public static final int DATA_FIELD_NUMBER = 4;
private int data_;
public boolean hasData() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getData() {
return data_;
}
// optional string stringParam = 5;
public static final int STRINGPARAM_FIELD_NUMBER = 5;
private java.lang.Object stringParam_;
public boolean hasStringParam() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getStringParam() {
java.lang.Object ref = stringParam_;
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)) {
stringParam_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getStringParamBytes() {
java.lang.Object ref = stringParam_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
stringParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
value_ = "";
windowID_ = 0;
data_ = 0;
stringParam_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
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.writeBytes(2, getValueBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, windowID_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, data_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getStringParamBytes());
}
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
.computeBytesSize(2, getValueBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, windowID_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, data_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getStringParamBytes());
}
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.ExecProtos.ActionList.Action parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.Action parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.Action parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.Action parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.Action 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.ExecProtos.ActionList.ActionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_Action_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_Action_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.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);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
windowID_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
data_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
stringParam_ = "";
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.ExecProtos.ActionList.Action.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action build() {
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action result = new com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action(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.value_ = value_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.windowID_ = windowID_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.data_ = data_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.stringParam_ = stringParam_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (other.hasValue()) {
setValue(other.getValue());
}
if (other.hasWindowID()) {
setWindowID(other.getWindowID());
}
if (other.hasData()) {
setData(other.getData());
}
if (other.hasStringParam()) {
setStringParam(other.getStringParam());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
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: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
windowID_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
data_ = input.readInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
stringParam_ = input.readBytes();
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();
}
// optional 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();
}
// optional 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;
}
// optional int32 data = 4;
private int data_ ;
public boolean hasData() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getData() {
return data_;
}
public Builder setData(int value) {
bitField0_ |= 0x00000008;
data_ = value;
onChanged();
return this;
}
public Builder clearData() {
bitField0_ = (bitField0_ & ~0x00000008);
data_ = 0;
onChanged();
return this;
}
// optional string stringParam = 5;
private java.lang.Object stringParam_ = "";
public boolean hasStringParam() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getStringParam() {
java.lang.Object ref = stringParam_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
stringParam_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setStringParam(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
stringParam_ = value;
onChanged();
return this;
}
public Builder clearStringParam() {
bitField0_ = (bitField0_ & ~0x00000010);
stringParam_ = getDefaultInstance().getStringParam();
onChanged();
return this;
}
void setStringParam(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
stringParam_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.ActionList.Action)
}
static {
defaultInstance = new Action(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ActionList.Action)
}
// repeated .scope.ActionList.Action actionList = 1;
public static final int ACTIONLIST_FIELD_NUMBER = 1;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action> actionList_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action> getActionListList() {
return actionList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder>
getActionListOrBuilderList() {
return actionList_;
}
public int getActionListCount() {
return actionList_.size();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action getActionList(int index) {
return actionList_.get(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder getActionListOrBuilder(
int index) {
return actionList_.get(index);
}
private void initFields() {
actionList_ = 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 < getActionListCount(); i++) {
if (!getActionList(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 < actionList_.size(); i++) {
output.writeMessage(1, actionList_.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 < actionList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, actionList_.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.ExecProtos.ActionList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList 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.ExecProtos.ActionList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList 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.ExecProtos.ActionList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList 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.ExecProtos.ActionList 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.ExecProtos.ActionList 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.ExecProtos.ActionList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.ExecProtos.ActionList 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.ExecProtos.ActionList 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.ExecProtos.ActionListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.ExecProtos.internal_static_scope_ActionList_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.ExecProtos.ActionList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getActionListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (actionListBuilder_ == null) {
actionList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
actionListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionList.getDescriptor();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.ExecProtos.ActionList.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList build() {
com.opera.core.systems.scope.protos.ExecProtos.ActionList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.ExecProtos.ActionList buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.ExecProtos.ActionList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList buildPartial() {
com.opera.core.systems.scope.protos.ExecProtos.ActionList result = new com.opera.core.systems.scope.protos.ExecProtos.ActionList(this);
int from_bitField0_ = bitField0_;
if (actionListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
actionList_ = java.util.Collections.unmodifiableList(actionList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.actionList_ = actionList_;
} else {
result.actionList_ = actionListBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.ExecProtos.ActionList) {
return mergeFrom((com.opera.core.systems.scope.protos.ExecProtos.ActionList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.ExecProtos.ActionList other) {
if (other == com.opera.core.systems.scope.protos.ExecProtos.ActionList.getDefaultInstance()) return this;
if (actionListBuilder_ == null) {
if (!other.actionList_.isEmpty()) {
if (actionList_.isEmpty()) {
actionList_ = other.actionList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureActionListIsMutable();
actionList_.addAll(other.actionList_);
}
onChanged();
}
} else {
if (!other.actionList_.isEmpty()) {
if (actionListBuilder_.isEmpty()) {
actionListBuilder_.dispose();
actionListBuilder_ = null;
actionList_ = other.actionList_;
bitField0_ = (bitField0_ & ~0x00000001);
actionListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getActionListFieldBuilder() : null;
} else {
actionListBuilder_.addAllMessages(other.actionList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getActionListCount(); i++) {
if (!getActionList(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.ExecProtos.ActionList.Action.Builder subBuilder = com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addActionList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .scope.ActionList.Action actionList = 1;
private java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action> actionList_ =
java.util.Collections.emptyList();
private void ensureActionListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
actionList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action>(actionList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder, com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder> actionListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action> getActionListList() {
if (actionListBuilder_ == null) {
return java.util.Collections.unmodifiableList(actionList_);
} else {
return actionListBuilder_.getMessageList();
}
}
public int getActionListCount() {
if (actionListBuilder_ == null) {
return actionList_.size();
} else {
return actionListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action getActionList(int index) {
if (actionListBuilder_ == null) {
return actionList_.get(index);
} else {
return actionListBuilder_.getMessage(index);
}
}
public Builder setActionList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action value) {
if (actionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionListIsMutable();
actionList_.set(index, value);
onChanged();
} else {
actionListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setActionList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder builderForValue) {
if (actionListBuilder_ == null) {
ensureActionListIsMutable();
actionList_.set(index, builderForValue.build());
onChanged();
} else {
actionListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addActionList(com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action value) {
if (actionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionListIsMutable();
actionList_.add(value);
onChanged();
} else {
actionListBuilder_.addMessage(value);
}
return this;
}
public Builder addActionList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action value) {
if (actionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionListIsMutable();
actionList_.add(index, value);
onChanged();
} else {
actionListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addActionList(
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder builderForValue) {
if (actionListBuilder_ == null) {
ensureActionListIsMutable();
actionList_.add(builderForValue.build());
onChanged();
} else {
actionListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addActionList(
int index, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder builderForValue) {
if (actionListBuilder_ == null) {
ensureActionListIsMutable();
actionList_.add(index, builderForValue.build());
onChanged();
} else {
actionListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllActionList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action> values) {
if (actionListBuilder_ == null) {
ensureActionListIsMutable();
super.addAll(values, actionList_);
onChanged();
} else {
actionListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearActionList() {
if (actionListBuilder_ == null) {
actionList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
actionListBuilder_.clear();
}
return this;
}
public Builder removeActionList(int index) {
if (actionListBuilder_ == null) {
ensureActionListIsMutable();
actionList_.remove(index);
onChanged();
} else {
actionListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder getActionListBuilder(
int index) {
return getActionListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder getActionListOrBuilder(
int index) {
if (actionListBuilder_ == null) {
return actionList_.get(index); } else {
return actionListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder>
getActionListOrBuilderList() {
if (actionListBuilder_ != null) {
return actionListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(actionList_);
}
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder addActionListBuilder() {
return getActionListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder addActionListBuilder(
int index) {
return getActionListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder>
getActionListBuilderList() {
return getActionListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder, com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder>
getActionListFieldBuilder() {
if (actionListBuilder_ == null) {
actionListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action, com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.Builder, com.opera.core.systems.scope.protos.ExecProtos.ActionList.ActionOrBuilder>(
actionList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
actionList_ = null;
}
return actionListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.ActionList)
}
static {
defaultInstance = new ActionList(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.ActionList)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ActionInfoList_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ActionInfoList_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ActionInfoList_ActionInfo_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ActionInfoList_ActionInfo_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_Area_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_Area_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ScreenWatcherResult_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ScreenWatcherResult_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ScreenWatcherResult_ColorMatch_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ScreenWatcherResult_ColorMatch_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_MouseAction_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_MouseAction_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ScreenWatcher_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ScreenWatcher_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ScreenWatcher_ColorSpec_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ScreenWatcher_ColorSpec_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ActionList_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ActionList_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_ActionList_Action_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_ActionList_Action_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\nexec.proto\022\005scope\032\"opera/scope/scope_d" +
"escriptor.proto\"f\n\016ActionInfoList\0228\n\016act" +
"ionInfoList\030\001 \003(\0132 .scope.ActionInfoList" +
".ActionInfo\032\032\n\nActionInfo\022\014\n\004name\030\001 \002(\t\"" +
"2\n\004Area\022\t\n\001x\030\001 \002(\005\022\t\n\001y\030\002 \002(\005\022\t\n\001w\030\003 \002(\005" +
"\022\t\n\001h\030\004 \002(\005\"\251\001\n\023ScreenWatcherResult\022\020\n\010w" +
"indowID\030\001 \002(\r\022\013\n\003md5\030\002 \002(\t\022\013\n\003png\030\003 \001(\014\022" +
"=\n\016colorMatchList\030\004 \003(\0132%.scope.ScreenWa" +
"tcherResult.ColorMatch\032\'\n\nColorMatch\022\n\n\002" +
"id\030\001 \002(\r\022\r\n\005count\030\002 \002(\r\"c\n\013MouseAction\022\020",
"\n\010windowID\030\001 \002(\r\022\t\n\001x\030\002 \002(\005\022\t\n\001y\030\003 \002(\005\022\024" +
"\n\014buttonAction\030\004 \002(\r\022\026\n\013repeatCount\030\005 \001(" +
"\r:\0011\"\326\002\n\rScreenWatcher\022\026\n\007timeOut\030\001 \002(\r:" +
"\00510000\022\031\n\004area\030\002 \002(\0132\013.scope.Area\022\017\n\007md5" +
"List\030\003 \003(\t\022\023\n\010windowID\030\004 \001(\r:\0010\0225\n\rcolor" +
"SpecList\030\005 \003(\0132\036.scope.ScreenWatcher.Col" +
"orSpec\022\032\n\014includeImage\030\006 \001(\010:\004true\032\230\001\n\tC" +
"olorSpec\022\n\n\002id\030\001 \002(\r\022\021\n\006redLow\030\002 \001(\r:\0010\022" +
"\024\n\007redHigh\030\003 \001(\r:\003255\022\023\n\010greenLow\030\004 \001(\r:" +
"\0010\022\026\n\tgreenHigh\030\005 \001(\r:\003255\022\022\n\007blueLow\030\006 ",
"\001(\r:\0010\022\025\n\010blueHigh\030\007 \001(\r:\003255\"\226\001\n\nAction" +
"List\022,\n\nactionList\030\001 \003(\0132\030.scope.ActionL" +
"ist.Action\032Z\n\006Action\022\014\n\004name\030\001 \002(\t\022\r\n\005va" +
"lue\030\002 \001(\t\022\020\n\010windowID\030\003 \001(\r\022\014\n\004data\030\004 \001(" +
"\005\022\023\n\013stringParam\030\005 \001(\tB3\n#com.opera.core" +
".systems.scope.protosB\nExecProtosH\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_ActionInfoList_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_scope_ActionInfoList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ActionInfoList_descriptor,
new java.lang.String[] { "ActionInfoList", },
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.class,
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.Builder.class);
internal_static_scope_ActionInfoList_ActionInfo_descriptor =
internal_static_scope_ActionInfoList_descriptor.getNestedTypes().get(0);
internal_static_scope_ActionInfoList_ActionInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ActionInfoList_ActionInfo_descriptor,
new java.lang.String[] { "Name", },
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.class,
com.opera.core.systems.scope.protos.ExecProtos.ActionInfoList.ActionInfo.Builder.class);
internal_static_scope_Area_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_scope_Area_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_Area_descriptor,
new java.lang.String[] { "X", "Y", "W", "H", },
com.opera.core.systems.scope.protos.ExecProtos.Area.class,
com.opera.core.systems.scope.protos.ExecProtos.Area.Builder.class);
internal_static_scope_ScreenWatcherResult_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_scope_ScreenWatcherResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ScreenWatcherResult_descriptor,
new java.lang.String[] { "WindowID", "Md5", "Png", "ColorMatchList", },
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.class,
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.Builder.class);
internal_static_scope_ScreenWatcherResult_ColorMatch_descriptor =
internal_static_scope_ScreenWatcherResult_descriptor.getNestedTypes().get(0);
internal_static_scope_ScreenWatcherResult_ColorMatch_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ScreenWatcherResult_ColorMatch_descriptor,
new java.lang.String[] { "Id", "Count", },
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.class,
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcherResult.ColorMatch.Builder.class);
internal_static_scope_MouseAction_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_scope_MouseAction_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_MouseAction_descriptor,
new java.lang.String[] { "WindowID", "X", "Y", "ButtonAction", "RepeatCount", },
com.opera.core.systems.scope.protos.ExecProtos.MouseAction.class,
com.opera.core.systems.scope.protos.ExecProtos.MouseAction.Builder.class);
internal_static_scope_ScreenWatcher_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_scope_ScreenWatcher_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ScreenWatcher_descriptor,
new java.lang.String[] { "TimeOut", "Area", "Md5List", "WindowID", "ColorSpecList", "IncludeImage", },
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.class,
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.Builder.class);
internal_static_scope_ScreenWatcher_ColorSpec_descriptor =
internal_static_scope_ScreenWatcher_descriptor.getNestedTypes().get(0);
internal_static_scope_ScreenWatcher_ColorSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ScreenWatcher_ColorSpec_descriptor,
new java.lang.String[] { "Id", "RedLow", "RedHigh", "GreenLow", "GreenHigh", "BlueLow", "BlueHigh", },
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.class,
com.opera.core.systems.scope.protos.ExecProtos.ScreenWatcher.ColorSpec.Builder.class);
internal_static_scope_ActionList_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_scope_ActionList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ActionList_descriptor,
new java.lang.String[] { "ActionList", },
com.opera.core.systems.scope.protos.ExecProtos.ActionList.class,
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Builder.class);
internal_static_scope_ActionList_Action_descriptor =
internal_static_scope_ActionList_descriptor.getNestedTypes().get(0);
internal_static_scope_ActionList_Action_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_ActionList_Action_descriptor,
new java.lang.String[] { "Name", "Value", "WindowID", "Data", "StringParam", },
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.class,
com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action.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)
}