// Generated by the protocol buffer compiler. DO NOT EDIT! // source: scope.proto package com.opera.core.systems.scope.protos; public final class ScopeProtos { private ScopeProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface ServiceListOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated string serviceList = 1; java.util.List<String> getServiceListList(); int getServiceListCount(); String getServiceList(int index); } public static final class ServiceList extends com.google.protobuf.GeneratedMessage implements ServiceListOrBuilder { // Use ServiceList.newBuilder() to construct. private ServiceList(Builder builder) { super(builder); } private ServiceList(boolean noInit) {} private static final ServiceList defaultInstance; public static ServiceList getDefaultInstance() { return defaultInstance; } public ServiceList getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceList_fieldAccessorTable; } // repeated string serviceList = 1; public static final int SERVICELIST_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList serviceList_; public java.util.List<String> getServiceListList() { return serviceList_; } public int getServiceListCount() { return serviceList_.size(); } public String getServiceList(int index) { return serviceList_.get(index); } private void initFields() { serviceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < serviceList_.size(); i++) { output.writeBytes(1, serviceList_.getByteString(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < serviceList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(serviceList_.getByteString(i)); } size += dataSize; size += 1 * getServiceListList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceList 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.ScopeProtos.ServiceList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceList 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.ScopeProtos.ServiceList parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceList 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.ScopeProtos.ServiceList 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.ScopeProtos.ServiceList 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.ScopeProtos.ServiceList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceList 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.ScopeProtos.ServiceList 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.ScopeProtos.ServiceListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceList_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.ServiceList.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(); serviceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; 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.ScopeProtos.ServiceList.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceList getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ServiceList.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceList build() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.ServiceList buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.ServiceList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceList buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceList result = new com.opera.core.systems.scope.protos.ScopeProtos.ServiceList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { serviceList_ = new com.google.protobuf.UnmodifiableLazyStringList( serviceList_); bitField0_ = (bitField0_ & ~0x00000001); } result.serviceList_ = serviceList_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.ServiceList) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.ServiceList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.ServiceList other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.ServiceList.getDefaultInstance()) return this; if (!other.serviceList_.isEmpty()) { if (serviceList_.isEmpty()) { serviceList_ = other.serviceList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureServiceListIsMutable(); serviceList_.addAll(other.serviceList_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder( this.getUnknownFields()); while (true) { int tag = input.readTag(); switch (tag) { case 0: this.setUnknownFields(unknownFields.build()); onChanged(); return this; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { this.setUnknownFields(unknownFields.build()); onChanged(); return this; } break; } case 10: { ensureServiceListIsMutable(); serviceList_.add(input.readBytes()); break; } } } } private int bitField0_; // repeated string serviceList = 1; private com.google.protobuf.LazyStringList serviceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServiceListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { serviceList_ = new com.google.protobuf.LazyStringArrayList(serviceList_); bitField0_ |= 0x00000001; } } public java.util.List<String> getServiceListList() { return java.util.Collections.unmodifiableList(serviceList_); } public int getServiceListCount() { return serviceList_.size(); } public String getServiceList(int index) { return serviceList_.get(index); } public Builder setServiceList( int index, String value) { if (value == null) { throw new NullPointerException(); } ensureServiceListIsMutable(); serviceList_.set(index, value); onChanged(); return this; } public Builder addServiceList(String value) { if (value == null) { throw new NullPointerException(); } ensureServiceListIsMutable(); serviceList_.add(value); onChanged(); return this; } public Builder addAllServiceList( java.lang.Iterable<String> values) { ensureServiceListIsMutable(); super.addAll(values, serviceList_); onChanged(); return this; } public Builder clearServiceList() { serviceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } void addServiceList(com.google.protobuf.ByteString value) { ensureServiceListIsMutable(); serviceList_.add(value); onChanged(); } // @@protoc_insertion_point(builder_scope:scope.ServiceList) } static { defaultInstance = new ServiceList(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ServiceList) } public interface MessageInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required uint32 id = 1; boolean hasId(); int getId(); // required string name = 2; boolean hasName(); String getName(); // repeated .scope.MessageInfo.FieldInfo fieldList = 3; java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo> getFieldListList(); com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo getFieldList(int index); int getFieldListCount(); java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder> getFieldListOrBuilderList(); com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder getFieldListOrBuilder( int index); // optional uint32 parentID = 4; boolean hasParentID(); int getParentID(); } public static final class MessageInfo extends com.google.protobuf.GeneratedMessage implements MessageInfoOrBuilder { // Use MessageInfo.newBuilder() to construct. private MessageInfo(Builder builder) { super(builder); } private MessageInfo(boolean noInit) {} private static final MessageInfo defaultInstance; public static MessageInfo getDefaultInstance() { return defaultInstance; } public MessageInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_fieldAccessorTable; } public interface FieldInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string name = 1; boolean hasName(); String getName(); // required uint32 type = 2; boolean hasType(); int getType(); // required uint32 number = 3; boolean hasNumber(); int getNumber(); // optional uint32 quantifier = 4 [default = 0]; boolean hasQuantifier(); int getQuantifier(); // optional uint32 messageID = 5; boolean hasMessageID(); int getMessageID(); } public static final class FieldInfo extends com.google.protobuf.GeneratedMessage implements FieldInfoOrBuilder { // Use FieldInfo.newBuilder() to construct. private FieldInfo(Builder builder) { super(builder); } private FieldInfo(boolean noInit) {} private static final FieldInfo defaultInstance; public static FieldInfo getDefaultInstance() { return defaultInstance; } public FieldInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_FieldInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_FieldInfo_fieldAccessorTable; } private int bitField0_; // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (com.google.protobuf.Internal.isValidUtf8(bs)) { name_ = s; } return s; } } private com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required uint32 type = 2; public static final int TYPE_FIELD_NUMBER = 2; private int type_; public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getType() { return type_; } // required uint32 number = 3; public static final int NUMBER_FIELD_NUMBER = 3; private int number_; public boolean hasNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getNumber() { return number_; } // optional uint32 quantifier = 4 [default = 0]; public static final int QUANTIFIER_FIELD_NUMBER = 4; private int quantifier_; public boolean hasQuantifier() { return ((bitField0_ & 0x00000008) == 0x00000008); } public int getQuantifier() { return quantifier_; } // optional uint32 messageID = 5; public static final int MESSAGEID_FIELD_NUMBER = 5; private int messageID_; public boolean hasMessageID() { return ((bitField0_ & 0x00000010) == 0x00000010); } public int getMessageID() { return messageID_; } private void initFields() { name_ = ""; type_ = 0; number_ = 0; quantifier_ = 0; messageID_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasNumber()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, type_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, number_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, quantifier_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, messageID_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, type_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, number_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, quantifier_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, messageID_); } 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.ScopeProtos.MessageInfo.FieldInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfo 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.ScopeProtos.MessageInfo.FieldInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_FieldInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_FieldInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.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); type_ = 0; bitField0_ = (bitField0_ & ~0x00000002); number_ = 0; bitField0_ = (bitField0_ & ~0x00000004); quantifier_ = 0; bitField0_ = (bitField0_ & ~0x00000008); messageID_ = 0; 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.ScopeProtos.MessageInfo.FieldInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo(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.type_ = type_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.number_ = number_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.quantifier_ = quantifier_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.messageID_ = messageID_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasType()) { setType(other.getType()); } if (other.hasNumber()) { setNumber(other.getNumber()); } if (other.hasQuantifier()) { setQuantifier(other.getQuantifier()); } if (other.hasMessageID()) { setMessageID(other.getMessageID()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasType()) { return false; } if (!hasNumber()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder( this.getUnknownFields()); while (true) { int tag = input.readTag(); switch (tag) { case 0: this.setUnknownFields(unknownFields.build()); onChanged(); return this; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { this.setUnknownFields(unknownFields.build()); onChanged(); return this; } break; } case 10: { bitField0_ |= 0x00000001; name_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; type_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; number_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; quantifier_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; messageID_ = input.readUInt32(); break; } } } } private int bitField0_; // required string name = 1; private java.lang.Object name_ = ""; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); name_ = s; return s; } else { return (String) ref; } } public Builder setName(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } void setName(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; name_ = value; onChanged(); } // required uint32 type = 2; private int type_ ; public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getType() { return type_; } public Builder setType(int value) { bitField0_ |= 0x00000002; type_ = value; onChanged(); return this; } public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = 0; onChanged(); return this; } // required uint32 number = 3; private int number_ ; public boolean hasNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getNumber() { return number_; } public Builder setNumber(int value) { bitField0_ |= 0x00000004; number_ = value; onChanged(); return this; } public Builder clearNumber() { bitField0_ = (bitField0_ & ~0x00000004); number_ = 0; onChanged(); return this; } // optional uint32 quantifier = 4 [default = 0]; private int quantifier_ ; public boolean hasQuantifier() { return ((bitField0_ & 0x00000008) == 0x00000008); } public int getQuantifier() { return quantifier_; } public Builder setQuantifier(int value) { bitField0_ |= 0x00000008; quantifier_ = value; onChanged(); return this; } public Builder clearQuantifier() { bitField0_ = (bitField0_ & ~0x00000008); quantifier_ = 0; onChanged(); return this; } // optional uint32 messageID = 5; private int messageID_ ; public boolean hasMessageID() { return ((bitField0_ & 0x00000010) == 0x00000010); } public int getMessageID() { return messageID_; } public Builder setMessageID(int value) { bitField0_ |= 0x00000010; messageID_ = value; onChanged(); return this; } public Builder clearMessageID() { bitField0_ = (bitField0_ & ~0x00000010); messageID_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.MessageInfo.FieldInfo) } static { defaultInstance = new FieldInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.MessageInfo.FieldInfo) } 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 string name = 2; public static final int NAME_FIELD_NUMBER = 2; private java.lang.Object name_; public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } 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; } } // repeated .scope.MessageInfo.FieldInfo fieldList = 3; public static final int FIELDLIST_FIELD_NUMBER = 3; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo> fieldList_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo> getFieldListList() { return fieldList_; } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder> getFieldListOrBuilderList() { return fieldList_; } public int getFieldListCount() { return fieldList_.size(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo getFieldList(int index) { return fieldList_.get(index); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder getFieldListOrBuilder( int index) { return fieldList_.get(index); } // optional uint32 parentID = 4; public static final int PARENTID_FIELD_NUMBER = 4; private int parentID_; public boolean hasParentID() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getParentID() { return parentID_; } private void initFields() { id_ = 0; name_ = ""; fieldList_ = java.util.Collections.emptyList(); parentID_ = 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 (!hasName()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getFieldListCount(); i++) { if (!getFieldList(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, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getNameBytes()); } for (int i = 0; i < fieldList_.size(); i++) { output.writeMessage(3, fieldList_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(4, parentID_); } 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 .computeBytesSize(2, getNameBytes()); } for (int i = 0; i < fieldList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, fieldList_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, parentID_); } 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.ScopeProtos.MessageInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfo 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.ScopeProtos.MessageInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getFieldListFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); id_ = 0; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (fieldListBuilder_ == null) { fieldList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { fieldListBuilder_.clear(); } parentID_ = 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.ScopeProtos.MessageInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo(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.name_ = name_; if (fieldListBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { fieldList_ = java.util.Collections.unmodifiableList(fieldList_); bitField0_ = (bitField0_ & ~0x00000004); } result.fieldList_ = fieldList_; } else { result.fieldList_ = fieldListBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.parentID_ = parentID_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasName()) { setName(other.getName()); } if (fieldListBuilder_ == null) { if (!other.fieldList_.isEmpty()) { if (fieldList_.isEmpty()) { fieldList_ = other.fieldList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFieldListIsMutable(); fieldList_.addAll(other.fieldList_); } onChanged(); } } else { if (!other.fieldList_.isEmpty()) { if (fieldListBuilder_.isEmpty()) { fieldListBuilder_.dispose(); fieldListBuilder_ = null; fieldList_ = other.fieldList_; bitField0_ = (bitField0_ & ~0x00000004); fieldListBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFieldListFieldBuilder() : null; } else { fieldListBuilder_.addAllMessages(other.fieldList_); } } } if (other.hasParentID()) { setParentID(other.getParentID()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasId()) { return false; } if (!hasName()) { return false; } for (int i = 0; i < getFieldListCount(); i++) { if (!getFieldList(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; id_ = input.readUInt32(); break; } case 18: { bitField0_ |= 0x00000002; name_ = input.readBytes(); break; } case 26: { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder subBuilder = com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.newBuilder(); input.readMessage(subBuilder, extensionRegistry); addFieldList(subBuilder.buildPartial()); break; } case 32: { bitField0_ |= 0x00000008; parentID_ = 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 string name = 2; private java.lang.Object name_ = ""; public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } 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_ |= 0x00000002; name_ = value; onChanged(); return this; } public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } void setName(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000002; name_ = value; onChanged(); } // repeated .scope.MessageInfo.FieldInfo fieldList = 3; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo> fieldList_ = java.util.Collections.emptyList(); private void ensureFieldListIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { fieldList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo>(fieldList_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder> fieldListBuilder_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo> getFieldListList() { if (fieldListBuilder_ == null) { return java.util.Collections.unmodifiableList(fieldList_); } else { return fieldListBuilder_.getMessageList(); } } public int getFieldListCount() { if (fieldListBuilder_ == null) { return fieldList_.size(); } else { return fieldListBuilder_.getCount(); } } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo getFieldList(int index) { if (fieldListBuilder_ == null) { return fieldList_.get(index); } else { return fieldListBuilder_.getMessage(index); } } public Builder setFieldList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo value) { if (fieldListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldListIsMutable(); fieldList_.set(index, value); onChanged(); } else { fieldListBuilder_.setMessage(index, value); } return this; } public Builder setFieldList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder builderForValue) { if (fieldListBuilder_ == null) { ensureFieldListIsMutable(); fieldList_.set(index, builderForValue.build()); onChanged(); } else { fieldListBuilder_.setMessage(index, builderForValue.build()); } return this; } public Builder addFieldList(com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo value) { if (fieldListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldListIsMutable(); fieldList_.add(value); onChanged(); } else { fieldListBuilder_.addMessage(value); } return this; } public Builder addFieldList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo value) { if (fieldListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldListIsMutable(); fieldList_.add(index, value); onChanged(); } else { fieldListBuilder_.addMessage(index, value); } return this; } public Builder addFieldList( com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder builderForValue) { if (fieldListBuilder_ == null) { ensureFieldListIsMutable(); fieldList_.add(builderForValue.build()); onChanged(); } else { fieldListBuilder_.addMessage(builderForValue.build()); } return this; } public Builder addFieldList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder builderForValue) { if (fieldListBuilder_ == null) { ensureFieldListIsMutable(); fieldList_.add(index, builderForValue.build()); onChanged(); } else { fieldListBuilder_.addMessage(index, builderForValue.build()); } return this; } public Builder addAllFieldList( java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo> values) { if (fieldListBuilder_ == null) { ensureFieldListIsMutable(); super.addAll(values, fieldList_); onChanged(); } else { fieldListBuilder_.addAllMessages(values); } return this; } public Builder clearFieldList() { if (fieldListBuilder_ == null) { fieldList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { fieldListBuilder_.clear(); } return this; } public Builder removeFieldList(int index) { if (fieldListBuilder_ == null) { ensureFieldListIsMutable(); fieldList_.remove(index); onChanged(); } else { fieldListBuilder_.remove(index); } return this; } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder getFieldListBuilder( int index) { return getFieldListFieldBuilder().getBuilder(index); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder getFieldListOrBuilder( int index) { if (fieldListBuilder_ == null) { return fieldList_.get(index); } else { return fieldListBuilder_.getMessageOrBuilder(index); } } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder> getFieldListOrBuilderList() { if (fieldListBuilder_ != null) { return fieldListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fieldList_); } } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder addFieldListBuilder() { return getFieldListFieldBuilder().addBuilder( com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.getDefaultInstance()); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder addFieldListBuilder( int index) { return getFieldListFieldBuilder().addBuilder( index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.getDefaultInstance()); } public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder> getFieldListBuilderList() { return getFieldListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder> getFieldListFieldBuilder() { if (fieldListBuilder_ == null) { fieldListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfoOrBuilder>( fieldList_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); fieldList_ = null; } return fieldListBuilder_; } // optional uint32 parentID = 4; private int parentID_ ; public boolean hasParentID() { return ((bitField0_ & 0x00000008) == 0x00000008); } public int getParentID() { return parentID_; } public Builder setParentID(int value) { bitField0_ |= 0x00000008; parentID_ = value; onChanged(); return this; } public Builder clearParentID() { bitField0_ = (bitField0_ & ~0x00000008); parentID_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.MessageInfo) } static { defaultInstance = new MessageInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.MessageInfo) } public interface EventInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string name = 1; boolean hasName(); String getName(); // required uint32 number = 2; boolean hasNumber(); int getNumber(); // required uint32 messageID = 3; boolean hasMessageID(); int getMessageID(); } public static final class EventInfo extends com.google.protobuf.GeneratedMessage implements EventInfoOrBuilder { // Use EventInfo.newBuilder() to construct. private EventInfo(Builder builder) { super(builder); } private EventInfo(boolean noInit) {} private static final EventInfo defaultInstance; public static EventInfo getDefaultInstance() { return defaultInstance; } public EventInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_EventInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_EventInfo_fieldAccessorTable; } private int bitField0_; // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (com.google.protobuf.Internal.isValidUtf8(bs)) { name_ = s; } return s; } } private com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required uint32 number = 2; public static final int NUMBER_FIELD_NUMBER = 2; private int number_; public boolean hasNumber() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getNumber() { return number_; } // required uint32 messageID = 3; public static final int MESSAGEID_FIELD_NUMBER = 3; private int messageID_; public boolean hasMessageID() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getMessageID() { return messageID_; } private void initFields() { name_ = ""; number_ = 0; messageID_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasNumber()) { memoizedIsInitialized = 0; return false; } if (!hasMessageID()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, number_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, messageID_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, number_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, messageID_); } 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.ScopeProtos.EventInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.EventInfo 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.ScopeProtos.EventInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.EventInfo 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.ScopeProtos.EventInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.EventInfo 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.ScopeProtos.EventInfo 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.ScopeProtos.EventInfo 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.ScopeProtos.EventInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.EventInfo 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.ScopeProtos.EventInfo 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.ScopeProtos.EventInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_EventInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_EventInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.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); number_ = 0; bitField0_ = (bitField0_ & ~0x00000002); messageID_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.EventInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.EventInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.EventInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.EventInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.EventInfo(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.number_ = number_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.messageID_ = messageID_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.EventInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.EventInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.EventInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasNumber()) { setNumber(other.getNumber()); } if (other.hasMessageID()) { setMessageID(other.getMessageID()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasNumber()) { return false; } if (!hasMessageID()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder( this.getUnknownFields()); while (true) { int tag = input.readTag(); switch (tag) { case 0: this.setUnknownFields(unknownFields.build()); onChanged(); return this; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { this.setUnknownFields(unknownFields.build()); onChanged(); return this; } break; } case 10: { bitField0_ |= 0x00000001; name_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; number_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; messageID_ = input.readUInt32(); break; } } } } private int bitField0_; // required string name = 1; private java.lang.Object name_ = ""; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); name_ = s; return s; } else { return (String) ref; } } public Builder setName(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } void setName(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; name_ = value; onChanged(); } // required uint32 number = 2; private int number_ ; public boolean hasNumber() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getNumber() { return number_; } public Builder setNumber(int value) { bitField0_ |= 0x00000002; number_ = value; onChanged(); return this; } public Builder clearNumber() { bitField0_ = (bitField0_ & ~0x00000002); number_ = 0; onChanged(); return this; } // required uint32 messageID = 3; private int messageID_ ; public boolean hasMessageID() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getMessageID() { return messageID_; } public Builder setMessageID(int value) { bitField0_ |= 0x00000004; messageID_ = value; onChanged(); return this; } public Builder clearMessageID() { bitField0_ = (bitField0_ & ~0x00000004); messageID_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.EventInfo) } static { defaultInstance = new EventInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.EventInfo) } public interface ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string name = 1; boolean hasName(); String getName(); // required string version = 2; boolean hasVersion(); String getVersion(); } public static final class Service extends com.google.protobuf.GeneratedMessage implements ServiceOrBuilder { // Use Service.newBuilder() to construct. private Service(Builder builder) { super(builder); } private Service(boolean noInit) {} private static final Service defaultInstance; public static Service getDefaultInstance() { return defaultInstance; } public Service getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_Service_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_Service_fieldAccessorTable; } private int bitField0_; // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (com.google.protobuf.Internal.isValidUtf8(bs)) { name_ = s; } return s; } } private com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string version = 2; public static final int VERSION_FIELD_NUMBER = 2; private java.lang.Object version_; public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } public String getVersion() { java.lang.Object ref = version_; 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)) { version_ = s; } return s; } } private com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { name_ = ""; version_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasVersion()) { 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, getVersionBytes()); } 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, getVersionBytes()); } 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.ScopeProtos.Service parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.Service 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.ScopeProtos.Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.Service 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.ScopeProtos.Service parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.Service 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.ScopeProtos.Service 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.ScopeProtos.Service 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.ScopeProtos.Service parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.Service 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.ScopeProtos.Service 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.ScopeProtos.ServiceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_Service_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_Service_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.Service.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); version_ = ""; 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.ScopeProtos.Service.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.Service getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.Service.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.Service build() { com.opera.core.systems.scope.protos.ScopeProtos.Service result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.Service buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.Service result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.Service buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.Service result = new com.opera.core.systems.scope.protos.ScopeProtos.Service(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.version_ = version_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.Service) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.Service)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.Service other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.Service.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasVersion()) { 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; version_ = 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(); } // required string version = 2; private java.lang.Object version_ = ""; public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } public String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); version_ = s; return s; } else { return (String) ref; } } public Builder setVersion(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } void setVersion(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000002; version_ = value; onChanged(); } // @@protoc_insertion_point(builder_scope:scope.Service) } static { defaultInstance = new Service(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.Service) } public interface HostInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required uint32 stpVersion = 1; boolean hasStpVersion(); int getStpVersion(); // required string coreVersion = 2; boolean hasCoreVersion(); String getCoreVersion(); // required string platform = 3; boolean hasPlatform(); String getPlatform(); // required string operatingSystem = 4; boolean hasOperatingSystem(); String getOperatingSystem(); // required string userAgent = 5; boolean hasUserAgent(); String getUserAgent(); // repeated .scope.Service serviceList = 6; java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.Service> getServiceListList(); com.opera.core.systems.scope.protos.ScopeProtos.Service getServiceList(int index); int getServiceListCount(); java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder> getServiceListOrBuilderList(); com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder getServiceListOrBuilder( int index); } public static final class HostInfo extends com.google.protobuf.GeneratedMessage implements HostInfoOrBuilder { // Use HostInfo.newBuilder() to construct. private HostInfo(Builder builder) { super(builder); } private HostInfo(boolean noInit) {} private static final HostInfo defaultInstance; public static HostInfo getDefaultInstance() { return defaultInstance; } public HostInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_HostInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_HostInfo_fieldAccessorTable; } private int bitField0_; // required uint32 stpVersion = 1; public static final int STPVERSION_FIELD_NUMBER = 1; private int stpVersion_; public boolean hasStpVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } public int getStpVersion() { return stpVersion_; } // required string coreVersion = 2; public static final int COREVERSION_FIELD_NUMBER = 2; private java.lang.Object coreVersion_; public boolean hasCoreVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } public String getCoreVersion() { java.lang.Object ref = coreVersion_; 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)) { coreVersion_ = s; } return s; } } private com.google.protobuf.ByteString getCoreVersionBytes() { java.lang.Object ref = coreVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); coreVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string platform = 3; public static final int PLATFORM_FIELD_NUMBER = 3; private java.lang.Object platform_; public boolean hasPlatform() { return ((bitField0_ & 0x00000004) == 0x00000004); } public String getPlatform() { java.lang.Object ref = platform_; 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)) { platform_ = s; } return s; } } private com.google.protobuf.ByteString getPlatformBytes() { java.lang.Object ref = platform_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); platform_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string operatingSystem = 4; public static final int OPERATINGSYSTEM_FIELD_NUMBER = 4; private java.lang.Object operatingSystem_; public boolean hasOperatingSystem() { return ((bitField0_ & 0x00000008) == 0x00000008); } public String getOperatingSystem() { java.lang.Object ref = operatingSystem_; 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)) { operatingSystem_ = s; } return s; } } private com.google.protobuf.ByteString getOperatingSystemBytes() { java.lang.Object ref = operatingSystem_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); operatingSystem_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string userAgent = 5; public static final int USERAGENT_FIELD_NUMBER = 5; private java.lang.Object userAgent_; public boolean hasUserAgent() { return ((bitField0_ & 0x00000010) == 0x00000010); } public String getUserAgent() { java.lang.Object ref = userAgent_; 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)) { userAgent_ = s; } return s; } } private com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // repeated .scope.Service serviceList = 6; public static final int SERVICELIST_FIELD_NUMBER = 6; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.Service> serviceList_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.Service> getServiceListList() { return serviceList_; } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder> getServiceListOrBuilderList() { return serviceList_; } public int getServiceListCount() { return serviceList_.size(); } public com.opera.core.systems.scope.protos.ScopeProtos.Service getServiceList(int index) { return serviceList_.get(index); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder getServiceListOrBuilder( int index) { return serviceList_.get(index); } private void initFields() { stpVersion_ = 0; coreVersion_ = ""; platform_ = ""; operatingSystem_ = ""; userAgent_ = ""; serviceList_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasStpVersion()) { memoizedIsInitialized = 0; return false; } if (!hasCoreVersion()) { memoizedIsInitialized = 0; return false; } if (!hasPlatform()) { memoizedIsInitialized = 0; return false; } if (!hasOperatingSystem()) { memoizedIsInitialized = 0; return false; } if (!hasUserAgent()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getServiceListCount(); i++) { if (!getServiceList(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, stpVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getCoreVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getPlatformBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getOperatingSystemBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getUserAgentBytes()); } for (int i = 0; i < serviceList_.size(); i++) { output.writeMessage(6, serviceList_.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, stpVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getCoreVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getPlatformBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getOperatingSystemBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getUserAgentBytes()); } for (int i = 0; i < serviceList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, serviceList_.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.ScopeProtos.HostInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.HostInfo 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.ScopeProtos.HostInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.HostInfo 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.ScopeProtos.HostInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.HostInfo 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.ScopeProtos.HostInfo 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.ScopeProtos.HostInfo 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.ScopeProtos.HostInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.HostInfo 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.ScopeProtos.HostInfo 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.ScopeProtos.HostInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_HostInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_HostInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.HostInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getServiceListFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); stpVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000001); coreVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); platform_ = ""; bitField0_ = (bitField0_ & ~0x00000004); operatingSystem_ = ""; bitField0_ = (bitField0_ & ~0x00000008); userAgent_ = ""; bitField0_ = (bitField0_ & ~0x00000010); if (serviceListBuilder_ == null) { serviceList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { serviceListBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.ScopeProtos.HostInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.HostInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.HostInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.HostInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.HostInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.HostInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.HostInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.HostInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.HostInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.HostInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.stpVersion_ = stpVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.coreVersion_ = coreVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.platform_ = platform_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.operatingSystem_ = operatingSystem_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.userAgent_ = userAgent_; if (serviceListBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { serviceList_ = java.util.Collections.unmodifiableList(serviceList_); bitField0_ = (bitField0_ & ~0x00000020); } result.serviceList_ = serviceList_; } else { result.serviceList_ = serviceListBuilder_.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.ScopeProtos.HostInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.HostInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.HostInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.HostInfo.getDefaultInstance()) return this; if (other.hasStpVersion()) { setStpVersion(other.getStpVersion()); } if (other.hasCoreVersion()) { setCoreVersion(other.getCoreVersion()); } if (other.hasPlatform()) { setPlatform(other.getPlatform()); } if (other.hasOperatingSystem()) { setOperatingSystem(other.getOperatingSystem()); } if (other.hasUserAgent()) { setUserAgent(other.getUserAgent()); } if (serviceListBuilder_ == null) { if (!other.serviceList_.isEmpty()) { if (serviceList_.isEmpty()) { serviceList_ = other.serviceList_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureServiceListIsMutable(); serviceList_.addAll(other.serviceList_); } onChanged(); } } else { if (!other.serviceList_.isEmpty()) { if (serviceListBuilder_.isEmpty()) { serviceListBuilder_.dispose(); serviceListBuilder_ = null; serviceList_ = other.serviceList_; bitField0_ = (bitField0_ & ~0x00000020); serviceListBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getServiceListFieldBuilder() : null; } else { serviceListBuilder_.addAllMessages(other.serviceList_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasStpVersion()) { return false; } if (!hasCoreVersion()) { return false; } if (!hasPlatform()) { return false; } if (!hasOperatingSystem()) { return false; } if (!hasUserAgent()) { return false; } for (int i = 0; i < getServiceListCount(); i++) { if (!getServiceList(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; stpVersion_ = input.readUInt32(); break; } case 18: { bitField0_ |= 0x00000002; coreVersion_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; platform_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; operatingSystem_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; userAgent_ = input.readBytes(); break; } case 50: { com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder subBuilder = com.opera.core.systems.scope.protos.ScopeProtos.Service.newBuilder(); input.readMessage(subBuilder, extensionRegistry); addServiceList(subBuilder.buildPartial()); break; } } } } private int bitField0_; // required uint32 stpVersion = 1; private int stpVersion_ ; public boolean hasStpVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } public int getStpVersion() { return stpVersion_; } public Builder setStpVersion(int value) { bitField0_ |= 0x00000001; stpVersion_ = value; onChanged(); return this; } public Builder clearStpVersion() { bitField0_ = (bitField0_ & ~0x00000001); stpVersion_ = 0; onChanged(); return this; } // required string coreVersion = 2; private java.lang.Object coreVersion_ = ""; public boolean hasCoreVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } public String getCoreVersion() { java.lang.Object ref = coreVersion_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); coreVersion_ = s; return s; } else { return (String) ref; } } public Builder setCoreVersion(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; coreVersion_ = value; onChanged(); return this; } public Builder clearCoreVersion() { bitField0_ = (bitField0_ & ~0x00000002); coreVersion_ = getDefaultInstance().getCoreVersion(); onChanged(); return this; } void setCoreVersion(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000002; coreVersion_ = value; onChanged(); } // required string platform = 3; private java.lang.Object platform_ = ""; public boolean hasPlatform() { return ((bitField0_ & 0x00000004) == 0x00000004); } public String getPlatform() { java.lang.Object ref = platform_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); platform_ = s; return s; } else { return (String) ref; } } public Builder setPlatform(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; platform_ = value; onChanged(); return this; } public Builder clearPlatform() { bitField0_ = (bitField0_ & ~0x00000004); platform_ = getDefaultInstance().getPlatform(); onChanged(); return this; } void setPlatform(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000004; platform_ = value; onChanged(); } // required string operatingSystem = 4; private java.lang.Object operatingSystem_ = ""; public boolean hasOperatingSystem() { return ((bitField0_ & 0x00000008) == 0x00000008); } public String getOperatingSystem() { java.lang.Object ref = operatingSystem_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); operatingSystem_ = s; return s; } else { return (String) ref; } } public Builder setOperatingSystem(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; operatingSystem_ = value; onChanged(); return this; } public Builder clearOperatingSystem() { bitField0_ = (bitField0_ & ~0x00000008); operatingSystem_ = getDefaultInstance().getOperatingSystem(); onChanged(); return this; } void setOperatingSystem(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000008; operatingSystem_ = value; onChanged(); } // required string userAgent = 5; private java.lang.Object userAgent_ = ""; public boolean hasUserAgent() { return ((bitField0_ & 0x00000010) == 0x00000010); } public String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); userAgent_ = s; return s; } else { return (String) ref; } } public Builder setUserAgent(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; userAgent_ = value; onChanged(); return this; } public Builder clearUserAgent() { bitField0_ = (bitField0_ & ~0x00000010); userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } void setUserAgent(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000010; userAgent_ = value; onChanged(); } // repeated .scope.Service serviceList = 6; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.Service> serviceList_ = java.util.Collections.emptyList(); private void ensureServiceListIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { serviceList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ScopeProtos.Service>(serviceList_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.Service, com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder, com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder> serviceListBuilder_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.Service> getServiceListList() { if (serviceListBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceList_); } else { return serviceListBuilder_.getMessageList(); } } public int getServiceListCount() { if (serviceListBuilder_ == null) { return serviceList_.size(); } else { return serviceListBuilder_.getCount(); } } public com.opera.core.systems.scope.protos.ScopeProtos.Service getServiceList(int index) { if (serviceListBuilder_ == null) { return serviceList_.get(index); } else { return serviceListBuilder_.getMessage(index); } } public Builder setServiceList( int index, com.opera.core.systems.scope.protos.ScopeProtos.Service value) { if (serviceListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceListIsMutable(); serviceList_.set(index, value); onChanged(); } else { serviceListBuilder_.setMessage(index, value); } return this; } public Builder setServiceList( int index, com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder builderForValue) { if (serviceListBuilder_ == null) { ensureServiceListIsMutable(); serviceList_.set(index, builderForValue.build()); onChanged(); } else { serviceListBuilder_.setMessage(index, builderForValue.build()); } return this; } public Builder addServiceList(com.opera.core.systems.scope.protos.ScopeProtos.Service value) { if (serviceListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceListIsMutable(); serviceList_.add(value); onChanged(); } else { serviceListBuilder_.addMessage(value); } return this; } public Builder addServiceList( int index, com.opera.core.systems.scope.protos.ScopeProtos.Service value) { if (serviceListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceListIsMutable(); serviceList_.add(index, value); onChanged(); } else { serviceListBuilder_.addMessage(index, value); } return this; } public Builder addServiceList( com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder builderForValue) { if (serviceListBuilder_ == null) { ensureServiceListIsMutable(); serviceList_.add(builderForValue.build()); onChanged(); } else { serviceListBuilder_.addMessage(builderForValue.build()); } return this; } public Builder addServiceList( int index, com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder builderForValue) { if (serviceListBuilder_ == null) { ensureServiceListIsMutable(); serviceList_.add(index, builderForValue.build()); onChanged(); } else { serviceListBuilder_.addMessage(index, builderForValue.build()); } return this; } public Builder addAllServiceList( java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ScopeProtos.Service> values) { if (serviceListBuilder_ == null) { ensureServiceListIsMutable(); super.addAll(values, serviceList_); onChanged(); } else { serviceListBuilder_.addAllMessages(values); } return this; } public Builder clearServiceList() { if (serviceListBuilder_ == null) { serviceList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { serviceListBuilder_.clear(); } return this; } public Builder removeServiceList(int index) { if (serviceListBuilder_ == null) { ensureServiceListIsMutable(); serviceList_.remove(index); onChanged(); } else { serviceListBuilder_.remove(index); } return this; } public com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder getServiceListBuilder( int index) { return getServiceListFieldBuilder().getBuilder(index); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder getServiceListOrBuilder( int index) { if (serviceListBuilder_ == null) { return serviceList_.get(index); } else { return serviceListBuilder_.getMessageOrBuilder(index); } } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder> getServiceListOrBuilderList() { if (serviceListBuilder_ != null) { return serviceListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(serviceList_); } } public com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder addServiceListBuilder() { return getServiceListFieldBuilder().addBuilder( com.opera.core.systems.scope.protos.ScopeProtos.Service.getDefaultInstance()); } public com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder addServiceListBuilder( int index) { return getServiceListFieldBuilder().addBuilder( index, com.opera.core.systems.scope.protos.ScopeProtos.Service.getDefaultInstance()); } public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder> getServiceListBuilderList() { return getServiceListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.Service, com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder, com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder> getServiceListFieldBuilder() { if (serviceListBuilder_ == null) { serviceListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.Service, com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder, com.opera.core.systems.scope.protos.ScopeProtos.ServiceOrBuilder>( serviceList_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); serviceList_ = null; } return serviceListBuilder_; } // @@protoc_insertion_point(builder_scope:scope.HostInfo) } static { defaultInstance = new HostInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.HostInfo) } public interface ClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string format = 1; boolean hasFormat(); String getFormat(); } public static final class ClientInfo extends com.google.protobuf.GeneratedMessage implements ClientInfoOrBuilder { // Use ClientInfo.newBuilder() to construct. private ClientInfo(Builder builder) { super(builder); } private ClientInfo(boolean noInit) {} private static final ClientInfo defaultInstance; public static ClientInfo getDefaultInstance() { return defaultInstance; } public ClientInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ClientInfo_fieldAccessorTable; } private int bitField0_; // required string format = 1; public static final int FORMAT_FIELD_NUMBER = 1; private java.lang.Object format_; public boolean hasFormat() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getFormat() { java.lang.Object ref = format_; 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)) { format_ = s; } return s; } } private com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { format_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFormat()) { 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, getFormatBytes()); } 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, getFormatBytes()); } 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.ScopeProtos.ClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfo 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.ScopeProtos.ClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ClientInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo.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(); format_ = ""; 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.ScopeProtos.ClientInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.format_ = format_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo.getDefaultInstance()) return this; if (other.hasFormat()) { setFormat(other.getFormat()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasFormat()) { 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; format_ = input.readBytes(); break; } } } } private int bitField0_; // required string format = 1; private java.lang.Object format_ = ""; public boolean hasFormat() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); format_ = s; return s; } else { return (String) ref; } } public Builder setFormat(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; format_ = value; onChanged(); return this; } public Builder clearFormat() { bitField0_ = (bitField0_ & ~0x00000001); format_ = getDefaultInstance().getFormat(); onChanged(); return this; } void setFormat(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; format_ = value; onChanged(); } // @@protoc_insertion_point(builder_scope:scope.ClientInfo) } static { defaultInstance = new ClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ClientInfo) } public interface MessageInfoListOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .scope.MessageInfo messageList = 1; java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo> getMessageListList(); com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo getMessageList(int index); int getMessageListCount(); java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder> getMessageListOrBuilderList(); com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder getMessageListOrBuilder( int index); } public static final class MessageInfoList extends com.google.protobuf.GeneratedMessage implements MessageInfoListOrBuilder { // Use MessageInfoList.newBuilder() to construct. private MessageInfoList(Builder builder) { super(builder); } private MessageInfoList(boolean noInit) {} private static final MessageInfoList defaultInstance; public static MessageInfoList getDefaultInstance() { return defaultInstance; } public MessageInfoList getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfoList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfoList_fieldAccessorTable; } // repeated .scope.MessageInfo messageList = 1; public static final int MESSAGELIST_FIELD_NUMBER = 1; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo> messageList_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo> getMessageListList() { return messageList_; } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder> getMessageListOrBuilderList() { return messageList_; } public int getMessageListCount() { return messageList_.size(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo getMessageList(int index) { return messageList_.get(index); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder getMessageListOrBuilder( int index) { return messageList_.get(index); } private void initFields() { messageList_ = 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 < getMessageListCount(); i++) { if (!getMessageList(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 < messageList_.size(); i++) { output.writeMessage(1, messageList_.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 < messageList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, messageList_.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.ScopeProtos.MessageInfoList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoList parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoList 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.ScopeProtos.MessageInfoListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfoList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageInfoList_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMessageListFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (messageListBuilder_ == null) { messageList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { messageListBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList build() { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList result = new com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList(this); int from_bitField0_ = bitField0_; if (messageListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { messageList_ = java.util.Collections.unmodifiableList(messageList_); bitField0_ = (bitField0_ & ~0x00000001); } result.messageList_ = messageList_; } else { result.messageList_ = messageListBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList.getDefaultInstance()) return this; if (messageListBuilder_ == null) { if (!other.messageList_.isEmpty()) { if (messageList_.isEmpty()) { messageList_ = other.messageList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMessageListIsMutable(); messageList_.addAll(other.messageList_); } onChanged(); } } else { if (!other.messageList_.isEmpty()) { if (messageListBuilder_.isEmpty()) { messageListBuilder_.dispose(); messageListBuilder_ = null; messageList_ = other.messageList_; bitField0_ = (bitField0_ & ~0x00000001); messageListBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMessageListFieldBuilder() : null; } else { messageListBuilder_.addAllMessages(other.messageList_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getMessageListCount(); i++) { if (!getMessageList(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.ScopeProtos.MessageInfo.Builder subBuilder = com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.newBuilder(); input.readMessage(subBuilder, extensionRegistry); addMessageList(subBuilder.buildPartial()); break; } } } } private int bitField0_; // repeated .scope.MessageInfo messageList = 1; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo> messageList_ = java.util.Collections.emptyList(); private void ensureMessageListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { messageList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo>(messageList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder> messageListBuilder_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo> getMessageListList() { if (messageListBuilder_ == null) { return java.util.Collections.unmodifiableList(messageList_); } else { return messageListBuilder_.getMessageList(); } } public int getMessageListCount() { if (messageListBuilder_ == null) { return messageList_.size(); } else { return messageListBuilder_.getCount(); } } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo getMessageList(int index) { if (messageListBuilder_ == null) { return messageList_.get(index); } else { return messageListBuilder_.getMessage(index); } } public Builder setMessageList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo value) { if (messageListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageListIsMutable(); messageList_.set(index, value); onChanged(); } else { messageListBuilder_.setMessage(index, value); } return this; } public Builder setMessageList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder builderForValue) { if (messageListBuilder_ == null) { ensureMessageListIsMutable(); messageList_.set(index, builderForValue.build()); onChanged(); } else { messageListBuilder_.setMessage(index, builderForValue.build()); } return this; } public Builder addMessageList(com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo value) { if (messageListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageListIsMutable(); messageList_.add(value); onChanged(); } else { messageListBuilder_.addMessage(value); } return this; } public Builder addMessageList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo value) { if (messageListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageListIsMutable(); messageList_.add(index, value); onChanged(); } else { messageListBuilder_.addMessage(index, value); } return this; } public Builder addMessageList( com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder builderForValue) { if (messageListBuilder_ == null) { ensureMessageListIsMutable(); messageList_.add(builderForValue.build()); onChanged(); } else { messageListBuilder_.addMessage(builderForValue.build()); } return this; } public Builder addMessageList( int index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder builderForValue) { if (messageListBuilder_ == null) { ensureMessageListIsMutable(); messageList_.add(index, builderForValue.build()); onChanged(); } else { messageListBuilder_.addMessage(index, builderForValue.build()); } return this; } public Builder addAllMessageList( java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo> values) { if (messageListBuilder_ == null) { ensureMessageListIsMutable(); super.addAll(values, messageList_); onChanged(); } else { messageListBuilder_.addAllMessages(values); } return this; } public Builder clearMessageList() { if (messageListBuilder_ == null) { messageList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { messageListBuilder_.clear(); } return this; } public Builder removeMessageList(int index) { if (messageListBuilder_ == null) { ensureMessageListIsMutable(); messageList_.remove(index); onChanged(); } else { messageListBuilder_.remove(index); } return this; } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder getMessageListBuilder( int index) { return getMessageListFieldBuilder().getBuilder(index); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder getMessageListOrBuilder( int index) { if (messageListBuilder_ == null) { return messageList_.get(index); } else { return messageListBuilder_.getMessageOrBuilder(index); } } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder> getMessageListOrBuilderList() { if (messageListBuilder_ != null) { return messageListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(messageList_); } } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder addMessageListBuilder() { return getMessageListFieldBuilder().addBuilder( com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.getDefaultInstance()); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder addMessageListBuilder( int index) { return getMessageListFieldBuilder().addBuilder( index, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.getDefaultInstance()); } public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder> getMessageListBuilderList() { return getMessageListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder> getMessageListFieldBuilder() { if (messageListBuilder_ == null) { messageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoOrBuilder>( messageList_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); messageList_ = null; } return messageListBuilder_; } // @@protoc_insertion_point(builder_scope:scope.MessageInfoList) } static { defaultInstance = new MessageInfoList(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.MessageInfoList) } public interface ServiceSelectionOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string name = 1; boolean hasName(); String getName(); } public static final class ServiceSelection extends com.google.protobuf.GeneratedMessage implements ServiceSelectionOrBuilder { // Use ServiceSelection.newBuilder() to construct. private ServiceSelection(Builder builder) { super(builder); } private ServiceSelection(boolean noInit) {} private static final ServiceSelection defaultInstance; public static ServiceSelection getDefaultInstance() { return defaultInstance; } public ServiceSelection getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceSelection_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceSelection_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.ScopeProtos.ServiceSelection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelection parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelection 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.ScopeProtos.ServiceSelectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceSelection_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceSelection_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection.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.ScopeProtos.ServiceSelection.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection build() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection result = new com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection(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.ScopeProtos.ServiceSelection) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection.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.ServiceSelection) } static { defaultInstance = new ServiceSelection(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ServiceSelection) } public interface ServiceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .scope.CommandInfo commandList = 1; java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo> getCommandListList(); com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo getCommandList(int index); int getCommandListCount(); java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder> getCommandListOrBuilderList(); com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder getCommandListOrBuilder( int index); // repeated .scope.EventInfo eventList = 2; java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo> getEventListList(); com.opera.core.systems.scope.protos.ScopeProtos.EventInfo getEventList(int index); int getEventListCount(); java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder> getEventListOrBuilderList(); com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder getEventListOrBuilder( int index); } public static final class ServiceInfo extends com.google.protobuf.GeneratedMessage implements ServiceInfoOrBuilder { // Use ServiceInfo.newBuilder() to construct. private ServiceInfo(Builder builder) { super(builder); } private ServiceInfo(boolean noInit) {} private static final ServiceInfo defaultInstance; public static ServiceInfo getDefaultInstance() { return defaultInstance; } public ServiceInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceInfo_fieldAccessorTable; } // repeated .scope.CommandInfo commandList = 1; public static final int COMMANDLIST_FIELD_NUMBER = 1; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo> commandList_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo> getCommandListList() { return commandList_; } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder> getCommandListOrBuilderList() { return commandList_; } public int getCommandListCount() { return commandList_.size(); } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo getCommandList(int index) { return commandList_.get(index); } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder getCommandListOrBuilder( int index) { return commandList_.get(index); } // repeated .scope.EventInfo eventList = 2; public static final int EVENTLIST_FIELD_NUMBER = 2; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo> eventList_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo> getEventListList() { return eventList_; } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder> getEventListOrBuilderList() { return eventList_; } public int getEventListCount() { return eventList_.size(); } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo getEventList(int index) { return eventList_.get(index); } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder getEventListOrBuilder( int index) { return eventList_.get(index); } private void initFields() { commandList_ = java.util.Collections.emptyList(); eventList_ = 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 < getCommandListCount(); i++) { if (!getCommandList(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getEventListCount(); i++) { if (!getEventList(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 < commandList_.size(); i++) { output.writeMessage(1, commandList_.get(i)); } for (int i = 0; i < eventList_.size(); i++) { output.writeMessage(2, eventList_.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 < commandList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, commandList_.get(i)); } for (int i = 0; i < eventList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, eventList_.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.ScopeProtos.ServiceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfo 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.ScopeProtos.ServiceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommandListFieldBuilder(); getEventListFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (commandListBuilder_ == null) { commandList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { commandListBuilder_.clear(); } if (eventListBuilder_ == null) { eventList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { eventListBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo(this); int from_bitField0_ = bitField0_; if (commandListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { commandList_ = java.util.Collections.unmodifiableList(commandList_); bitField0_ = (bitField0_ & ~0x00000001); } result.commandList_ = commandList_; } else { result.commandList_ = commandListBuilder_.build(); } if (eventListBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { eventList_ = java.util.Collections.unmodifiableList(eventList_); bitField0_ = (bitField0_ & ~0x00000002); } result.eventList_ = eventList_; } else { result.eventList_ = eventListBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo.getDefaultInstance()) return this; if (commandListBuilder_ == null) { if (!other.commandList_.isEmpty()) { if (commandList_.isEmpty()) { commandList_ = other.commandList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCommandListIsMutable(); commandList_.addAll(other.commandList_); } onChanged(); } } else { if (!other.commandList_.isEmpty()) { if (commandListBuilder_.isEmpty()) { commandListBuilder_.dispose(); commandListBuilder_ = null; commandList_ = other.commandList_; bitField0_ = (bitField0_ & ~0x00000001); commandListBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCommandListFieldBuilder() : null; } else { commandListBuilder_.addAllMessages(other.commandList_); } } } if (eventListBuilder_ == null) { if (!other.eventList_.isEmpty()) { if (eventList_.isEmpty()) { eventList_ = other.eventList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureEventListIsMutable(); eventList_.addAll(other.eventList_); } onChanged(); } } else { if (!other.eventList_.isEmpty()) { if (eventListBuilder_.isEmpty()) { eventListBuilder_.dispose(); eventListBuilder_ = null; eventList_ = other.eventList_; bitField0_ = (bitField0_ & ~0x00000002); eventListBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEventListFieldBuilder() : null; } else { eventListBuilder_.addAllMessages(other.eventList_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getCommandListCount(); i++) { if (!getCommandList(i).isInitialized()) { return false; } } for (int i = 0; i < getEventListCount(); i++) { if (!getEventList(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.ScopeProtos.CommandInfo.Builder subBuilder = com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.newBuilder(); input.readMessage(subBuilder, extensionRegistry); addCommandList(subBuilder.buildPartial()); break; } case 18: { com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder subBuilder = com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.newBuilder(); input.readMessage(subBuilder, extensionRegistry); addEventList(subBuilder.buildPartial()); break; } } } } private int bitField0_; // repeated .scope.CommandInfo commandList = 1; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo> commandList_ = java.util.Collections.emptyList(); private void ensureCommandListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { commandList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo>(commandList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder> commandListBuilder_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo> getCommandListList() { if (commandListBuilder_ == null) { return java.util.Collections.unmodifiableList(commandList_); } else { return commandListBuilder_.getMessageList(); } } public int getCommandListCount() { if (commandListBuilder_ == null) { return commandList_.size(); } else { return commandListBuilder_.getCount(); } } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo getCommandList(int index) { if (commandListBuilder_ == null) { return commandList_.get(index); } else { return commandListBuilder_.getMessage(index); } } public Builder setCommandList( int index, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo value) { if (commandListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandListIsMutable(); commandList_.set(index, value); onChanged(); } else { commandListBuilder_.setMessage(index, value); } return this; } public Builder setCommandList( int index, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder builderForValue) { if (commandListBuilder_ == null) { ensureCommandListIsMutable(); commandList_.set(index, builderForValue.build()); onChanged(); } else { commandListBuilder_.setMessage(index, builderForValue.build()); } return this; } public Builder addCommandList(com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo value) { if (commandListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandListIsMutable(); commandList_.add(value); onChanged(); } else { commandListBuilder_.addMessage(value); } return this; } public Builder addCommandList( int index, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo value) { if (commandListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandListIsMutable(); commandList_.add(index, value); onChanged(); } else { commandListBuilder_.addMessage(index, value); } return this; } public Builder addCommandList( com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder builderForValue) { if (commandListBuilder_ == null) { ensureCommandListIsMutable(); commandList_.add(builderForValue.build()); onChanged(); } else { commandListBuilder_.addMessage(builderForValue.build()); } return this; } public Builder addCommandList( int index, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder builderForValue) { if (commandListBuilder_ == null) { ensureCommandListIsMutable(); commandList_.add(index, builderForValue.build()); onChanged(); } else { commandListBuilder_.addMessage(index, builderForValue.build()); } return this; } public Builder addAllCommandList( java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo> values) { if (commandListBuilder_ == null) { ensureCommandListIsMutable(); super.addAll(values, commandList_); onChanged(); } else { commandListBuilder_.addAllMessages(values); } return this; } public Builder clearCommandList() { if (commandListBuilder_ == null) { commandList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { commandListBuilder_.clear(); } return this; } public Builder removeCommandList(int index) { if (commandListBuilder_ == null) { ensureCommandListIsMutable(); commandList_.remove(index); onChanged(); } else { commandListBuilder_.remove(index); } return this; } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder getCommandListBuilder( int index) { return getCommandListFieldBuilder().getBuilder(index); } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder getCommandListOrBuilder( int index) { if (commandListBuilder_ == null) { return commandList_.get(index); } else { return commandListBuilder_.getMessageOrBuilder(index); } } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder> getCommandListOrBuilderList() { if (commandListBuilder_ != null) { return commandListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(commandList_); } } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder addCommandListBuilder() { return getCommandListFieldBuilder().addBuilder( com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.getDefaultInstance()); } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder addCommandListBuilder( int index) { return getCommandListFieldBuilder().addBuilder( index, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.getDefaultInstance()); } public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder> getCommandListBuilderList() { return getCommandListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder> getCommandListFieldBuilder() { if (commandListBuilder_ == null) { commandListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfoOrBuilder>( commandList_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); commandList_ = null; } return commandListBuilder_; } // repeated .scope.EventInfo eventList = 2; private java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo> eventList_ = java.util.Collections.emptyList(); private void ensureEventListIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { eventList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo>(eventList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.EventInfo, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder> eventListBuilder_; public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo> getEventListList() { if (eventListBuilder_ == null) { return java.util.Collections.unmodifiableList(eventList_); } else { return eventListBuilder_.getMessageList(); } } public int getEventListCount() { if (eventListBuilder_ == null) { return eventList_.size(); } else { return eventListBuilder_.getCount(); } } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo getEventList(int index) { if (eventListBuilder_ == null) { return eventList_.get(index); } else { return eventListBuilder_.getMessage(index); } } public Builder setEventList( int index, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo value) { if (eventListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventListIsMutable(); eventList_.set(index, value); onChanged(); } else { eventListBuilder_.setMessage(index, value); } return this; } public Builder setEventList( int index, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder builderForValue) { if (eventListBuilder_ == null) { ensureEventListIsMutable(); eventList_.set(index, builderForValue.build()); onChanged(); } else { eventListBuilder_.setMessage(index, builderForValue.build()); } return this; } public Builder addEventList(com.opera.core.systems.scope.protos.ScopeProtos.EventInfo value) { if (eventListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventListIsMutable(); eventList_.add(value); onChanged(); } else { eventListBuilder_.addMessage(value); } return this; } public Builder addEventList( int index, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo value) { if (eventListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventListIsMutable(); eventList_.add(index, value); onChanged(); } else { eventListBuilder_.addMessage(index, value); } return this; } public Builder addEventList( com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder builderForValue) { if (eventListBuilder_ == null) { ensureEventListIsMutable(); eventList_.add(builderForValue.build()); onChanged(); } else { eventListBuilder_.addMessage(builderForValue.build()); } return this; } public Builder addEventList( int index, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder builderForValue) { if (eventListBuilder_ == null) { ensureEventListIsMutable(); eventList_.add(index, builderForValue.build()); onChanged(); } else { eventListBuilder_.addMessage(index, builderForValue.build()); } return this; } public Builder addAllEventList( java.lang.Iterable<? extends com.opera.core.systems.scope.protos.ScopeProtos.EventInfo> values) { if (eventListBuilder_ == null) { ensureEventListIsMutable(); super.addAll(values, eventList_); onChanged(); } else { eventListBuilder_.addAllMessages(values); } return this; } public Builder clearEventList() { if (eventListBuilder_ == null) { eventList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { eventListBuilder_.clear(); } return this; } public Builder removeEventList(int index) { if (eventListBuilder_ == null) { ensureEventListIsMutable(); eventList_.remove(index); onChanged(); } else { eventListBuilder_.remove(index); } return this; } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder getEventListBuilder( int index) { return getEventListFieldBuilder().getBuilder(index); } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder getEventListOrBuilder( int index) { if (eventListBuilder_ == null) { return eventList_.get(index); } else { return eventListBuilder_.getMessageOrBuilder(index); } } public java.util.List<? extends com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder> getEventListOrBuilderList() { if (eventListBuilder_ != null) { return eventListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(eventList_); } } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder addEventListBuilder() { return getEventListFieldBuilder().addBuilder( com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.getDefaultInstance()); } public com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder addEventListBuilder( int index) { return getEventListFieldBuilder().addBuilder( index, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.getDefaultInstance()); } public java.util.List<com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder> getEventListBuilderList() { return getEventListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.EventInfo, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder> getEventListFieldBuilder() { if (eventListBuilder_ == null) { eventListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.opera.core.systems.scope.protos.ScopeProtos.EventInfo, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder, com.opera.core.systems.scope.protos.ScopeProtos.EventInfoOrBuilder>( eventList_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); eventList_ = null; } return eventListBuilder_; } // @@protoc_insertion_point(builder_scope:scope.ServiceInfo) } static { defaultInstance = new ServiceInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ServiceInfo) } public interface ErrorInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string description = 1; boolean hasDescription(); String getDescription(); } public static final class ErrorInfo extends com.google.protobuf.GeneratedMessage implements ErrorInfoOrBuilder { // Use ErrorInfo.newBuilder() to construct. private ErrorInfo(Builder builder) { super(builder); } private ErrorInfo(boolean noInit) {} private static final ErrorInfo defaultInstance; public static ErrorInfo getDefaultInstance() { return defaultInstance; } public ErrorInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ErrorInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ErrorInfo_fieldAccessorTable; } private int bitField0_; // required string description = 1; public static final int DESCRIPTION_FIELD_NUMBER = 1; private java.lang.Object description_; public boolean hasDescription() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getDescription() { java.lang.Object ref = description_; 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)) { description_ = s; } return s; } } private com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { description_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasDescription()) { 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, getDescriptionBytes()); } 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, getDescriptionBytes()); } 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.ScopeProtos.ErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfo 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.ScopeProtos.ErrorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ErrorInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ErrorInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo.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(); description_ = ""; 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.ScopeProtos.ErrorInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.description_ = description_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo.getDefaultInstance()) return this; if (other.hasDescription()) { setDescription(other.getDescription()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasDescription()) { 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; description_ = input.readBytes(); break; } } } } private int bitField0_; // required string description = 1; private java.lang.Object description_ = ""; public boolean hasDescription() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); description_ = s; return s; } else { return (String) ref; } } public Builder setDescription(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; description_ = value; onChanged(); return this; } public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000001); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } void setDescription(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; description_ = value; onChanged(); } // @@protoc_insertion_point(builder_scope:scope.ErrorInfo) } static { defaultInstance = new ErrorInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ErrorInfo) } public interface MessageSelectionOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string serviceName = 1; boolean hasServiceName(); String getServiceName(); // repeated uint32 idList = 2; java.util.List<java.lang.Integer> getIdListList(); int getIdListCount(); int getIdList(int index); // optional bool includeRelated = 3; boolean hasIncludeRelated(); boolean getIncludeRelated(); // optional bool includeAll = 4; boolean hasIncludeAll(); boolean getIncludeAll(); } public static final class MessageSelection extends com.google.protobuf.GeneratedMessage implements MessageSelectionOrBuilder { // Use MessageSelection.newBuilder() to construct. private MessageSelection(Builder builder) { super(builder); } private MessageSelection(boolean noInit) {} private static final MessageSelection defaultInstance; public static MessageSelection getDefaultInstance() { return defaultInstance; } public MessageSelection getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageSelection_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageSelection_fieldAccessorTable; } private int bitField0_; // required string serviceName = 1; public static final int SERVICENAME_FIELD_NUMBER = 1; private java.lang.Object serviceName_; public boolean hasServiceName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getServiceName() { java.lang.Object ref = serviceName_; 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)) { serviceName_ = s; } return s; } } private com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // repeated uint32 idList = 2; public static final int IDLIST_FIELD_NUMBER = 2; private java.util.List<java.lang.Integer> idList_; public java.util.List<java.lang.Integer> getIdListList() { return idList_; } public int getIdListCount() { return idList_.size(); } public int getIdList(int index) { return idList_.get(index); } // optional bool includeRelated = 3; public static final int INCLUDERELATED_FIELD_NUMBER = 3; private boolean includeRelated_; public boolean hasIncludeRelated() { return ((bitField0_ & 0x00000002) == 0x00000002); } public boolean getIncludeRelated() { return includeRelated_; } // optional bool includeAll = 4; public static final int INCLUDEALL_FIELD_NUMBER = 4; private boolean includeAll_; public boolean hasIncludeAll() { return ((bitField0_ & 0x00000004) == 0x00000004); } public boolean getIncludeAll() { return includeAll_; } private void initFields() { serviceName_ = ""; idList_ = java.util.Collections.emptyList();; includeRelated_ = false; includeAll_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasServiceName()) { 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, getServiceNameBytes()); } for (int i = 0; i < idList_.size(); i++) { output.writeUInt32(2, idList_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(3, includeRelated_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(4, includeAll_); } 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, getServiceNameBytes()); } { int dataSize = 0; for (int i = 0; i < idList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(idList_.get(i)); } size += dataSize; size += 1 * getIdListList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, includeRelated_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, includeAll_); } 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.ScopeProtos.MessageSelection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelection parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelection 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.ScopeProtos.MessageSelectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageSelection_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_MessageSelection_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection.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(); serviceName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); idList_ = java.util.Collections.emptyList();; bitField0_ = (bitField0_ & ~0x00000002); includeRelated_ = false; bitField0_ = (bitField0_ & ~0x00000004); includeAll_ = false; 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.ScopeProtos.MessageSelection.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection build() { com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection result = new com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.serviceName_ = serviceName_; if (((bitField0_ & 0x00000002) == 0x00000002)) { idList_ = java.util.Collections.unmodifiableList(idList_); bitField0_ = (bitField0_ & ~0x00000002); } result.idList_ = idList_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.includeRelated_ = includeRelated_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.includeAll_ = includeAll_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection.getDefaultInstance()) return this; if (other.hasServiceName()) { setServiceName(other.getServiceName()); } if (!other.idList_.isEmpty()) { if (idList_.isEmpty()) { idList_ = other.idList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureIdListIsMutable(); idList_.addAll(other.idList_); } onChanged(); } if (other.hasIncludeRelated()) { setIncludeRelated(other.getIncludeRelated()); } if (other.hasIncludeAll()) { setIncludeAll(other.getIncludeAll()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasServiceName()) { 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; serviceName_ = input.readBytes(); break; } case 16: { ensureIdListIsMutable(); idList_.add(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { addIdList(input.readUInt32()); } input.popLimit(limit); break; } case 24: { bitField0_ |= 0x00000004; includeRelated_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; includeAll_ = input.readBool(); break; } } } } private int bitField0_; // required string serviceName = 1; private java.lang.Object serviceName_ = ""; public boolean hasServiceName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); serviceName_ = s; return s; } else { return (String) ref; } } public Builder setServiceName(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; serviceName_ = value; onChanged(); return this; } public Builder clearServiceName() { bitField0_ = (bitField0_ & ~0x00000001); serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } void setServiceName(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; serviceName_ = value; onChanged(); } // repeated uint32 idList = 2; private java.util.List<java.lang.Integer> idList_ = java.util.Collections.emptyList();; private void ensureIdListIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { idList_ = new java.util.ArrayList<java.lang.Integer>(idList_); bitField0_ |= 0x00000002; } } public java.util.List<java.lang.Integer> getIdListList() { return java.util.Collections.unmodifiableList(idList_); } public int getIdListCount() { return idList_.size(); } public int getIdList(int index) { return idList_.get(index); } public Builder setIdList( int index, int value) { ensureIdListIsMutable(); idList_.set(index, value); onChanged(); return this; } public Builder addIdList(int value) { ensureIdListIsMutable(); idList_.add(value); onChanged(); return this; } public Builder addAllIdList( java.lang.Iterable<? extends java.lang.Integer> values) { ensureIdListIsMutable(); super.addAll(values, idList_); onChanged(); return this; } public Builder clearIdList() { idList_ = java.util.Collections.emptyList();; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } // optional bool includeRelated = 3; private boolean includeRelated_ ; public boolean hasIncludeRelated() { return ((bitField0_ & 0x00000004) == 0x00000004); } public boolean getIncludeRelated() { return includeRelated_; } public Builder setIncludeRelated(boolean value) { bitField0_ |= 0x00000004; includeRelated_ = value; onChanged(); return this; } public Builder clearIncludeRelated() { bitField0_ = (bitField0_ & ~0x00000004); includeRelated_ = false; onChanged(); return this; } // optional bool includeAll = 4; private boolean includeAll_ ; public boolean hasIncludeAll() { return ((bitField0_ & 0x00000008) == 0x00000008); } public boolean getIncludeAll() { return includeAll_; } public Builder setIncludeAll(boolean value) { bitField0_ |= 0x00000008; includeAll_ = value; onChanged(); return this; } public Builder clearIncludeAll() { bitField0_ = (bitField0_ & ~0x00000008); includeAll_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.MessageSelection) } static { defaultInstance = new MessageSelection(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.MessageSelection) } public interface ServiceResultOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string name = 1; boolean hasName(); String getName(); } public static final class ServiceResult extends com.google.protobuf.GeneratedMessage implements ServiceResultOrBuilder { // Use ServiceResult.newBuilder() to construct. private ServiceResult(Builder builder) { super(builder); } private ServiceResult(boolean noInit) {} private static final ServiceResult defaultInstance; public static ServiceResult getDefaultInstance() { return defaultInstance; } public ServiceResult getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceResult_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceResult_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.ScopeProtos.ServiceResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResult parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResult 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.ScopeProtos.ServiceResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceResult_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_ServiceResult_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult.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.ScopeProtos.ServiceResult.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult build() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult result = new com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult(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.ScopeProtos.ServiceResult) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult.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.ServiceResult) } static { defaultInstance = new ServiceResult(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ServiceResult) } public interface CommandInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string name = 1; boolean hasName(); String getName(); // required uint32 number = 2; boolean hasNumber(); int getNumber(); // required uint32 messageID = 3; boolean hasMessageID(); int getMessageID(); // required uint32 responseID = 4; boolean hasResponseID(); int getResponseID(); } public static final class CommandInfo extends com.google.protobuf.GeneratedMessage implements CommandInfoOrBuilder { // Use CommandInfo.newBuilder() to construct. private CommandInfo(Builder builder) { super(builder); } private CommandInfo(boolean noInit) {} private static final CommandInfo defaultInstance; public static CommandInfo getDefaultInstance() { return defaultInstance; } public CommandInfo getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_CommandInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_CommandInfo_fieldAccessorTable; } private int bitField0_; // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (com.google.protobuf.Internal.isValidUtf8(bs)) { name_ = s; } return s; } } private com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required uint32 number = 2; public static final int NUMBER_FIELD_NUMBER = 2; private int number_; public boolean hasNumber() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getNumber() { return number_; } // required uint32 messageID = 3; public static final int MESSAGEID_FIELD_NUMBER = 3; private int messageID_; public boolean hasMessageID() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getMessageID() { return messageID_; } // required uint32 responseID = 4; public static final int RESPONSEID_FIELD_NUMBER = 4; private int responseID_; public boolean hasResponseID() { return ((bitField0_ & 0x00000008) == 0x00000008); } public int getResponseID() { return responseID_; } private void initFields() { name_ = ""; number_ = 0; messageID_ = 0; responseID_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasNumber()) { memoizedIsInitialized = 0; return false; } if (!hasMessageID()) { memoizedIsInitialized = 0; return false; } if (!hasResponseID()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, number_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, messageID_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, responseID_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, number_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, messageID_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, responseID_); } 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.ScopeProtos.CommandInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfo 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.ScopeProtos.CommandInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_CommandInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.ScopeProtos.internal_static_scope_CommandInfo_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.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); number_ = 0; bitField0_ = (bitField0_ & ~0x00000002); messageID_ = 0; bitField0_ = (bitField0_ & ~0x00000004); responseID_ = 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.ScopeProtos.CommandInfo.getDescriptor(); } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.getDefaultInstance(); } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo build() { com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo buildPartial() { com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo result = new com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo(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.number_ = number_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.messageID_ = messageID_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.responseID_ = responseID_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo) { return mergeFrom((com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo other) { if (other == com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasNumber()) { setNumber(other.getNumber()); } if (other.hasMessageID()) { setMessageID(other.getMessageID()); } if (other.hasResponseID()) { setResponseID(other.getResponseID()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasNumber()) { return false; } if (!hasMessageID()) { return false; } if (!hasResponseID()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder( this.getUnknownFields()); while (true) { int tag = input.readTag(); switch (tag) { case 0: this.setUnknownFields(unknownFields.build()); onChanged(); return this; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { this.setUnknownFields(unknownFields.build()); onChanged(); return this; } break; } case 10: { bitField0_ |= 0x00000001; name_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; number_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; messageID_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; responseID_ = input.readUInt32(); break; } } } } private int bitField0_; // required string name = 1; private java.lang.Object name_ = ""; public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } public String getName() { java.lang.Object ref = name_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); name_ = s; return s; } else { return (String) ref; } } public Builder setName(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } void setName(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; name_ = value; onChanged(); } // required uint32 number = 2; private int number_ ; public boolean hasNumber() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getNumber() { return number_; } public Builder setNumber(int value) { bitField0_ |= 0x00000002; number_ = value; onChanged(); return this; } public Builder clearNumber() { bitField0_ = (bitField0_ & ~0x00000002); number_ = 0; onChanged(); return this; } // required uint32 messageID = 3; private int messageID_ ; public boolean hasMessageID() { return ((bitField0_ & 0x00000004) == 0x00000004); } public int getMessageID() { return messageID_; } public Builder setMessageID(int value) { bitField0_ |= 0x00000004; messageID_ = value; onChanged(); return this; } public Builder clearMessageID() { bitField0_ = (bitField0_ & ~0x00000004); messageID_ = 0; onChanged(); return this; } // required uint32 responseID = 4; private int responseID_ ; public boolean hasResponseID() { return ((bitField0_ & 0x00000008) == 0x00000008); } public int getResponseID() { return responseID_; } public Builder setResponseID(int value) { bitField0_ |= 0x00000008; responseID_ = value; onChanged(); return this; } public Builder clearResponseID() { bitField0_ = (bitField0_ & ~0x00000008); responseID_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.CommandInfo) } static { defaultInstance = new CommandInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.CommandInfo) } private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ServiceList_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ServiceList_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_MessageInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_MessageInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_MessageInfo_FieldInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_MessageInfo_FieldInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_EventInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_EventInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_Service_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_Service_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_HostInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_HostInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_MessageInfoList_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_MessageInfoList_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ServiceSelection_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ServiceSelection_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ServiceInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ServiceInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ErrorInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ErrorInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_MessageSelection_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_MessageSelection_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ServiceResult_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ServiceResult_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_CommandInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_CommandInfo_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\013scope.proto\022\005scope\032\"opera/scope/scope_" + "descriptor.proto\"\"\n\013ServiceList\022\023\n\013servi" + "ceList\030\001 \003(\t\"\315\001\n\013MessageInfo\022\n\n\002id\030\001 \002(\r" + "\022\014\n\004name\030\002 \002(\t\022/\n\tfieldList\030\003 \003(\0132\034.scop" + "e.MessageInfo.FieldInfo\022\020\n\010parentID\030\004 \001(" + "\r\032a\n\tFieldInfo\022\014\n\004name\030\001 \002(\t\022\014\n\004type\030\002 \002" + "(\r\022\016\n\006number\030\003 \002(\r\022\025\n\nquantifier\030\004 \001(\r:\001" + "0\022\021\n\tmessageID\030\005 \001(\r\"<\n\tEventInfo\022\014\n\004nam" + "e\030\001 \002(\t\022\016\n\006number\030\002 \002(\r\022\021\n\tmessageID\030\003 \002" + "(\r\"(\n\007Service\022\014\n\004name\030\001 \002(\t\022\017\n\007version\030\002", " \002(\t\"\226\001\n\010HostInfo\022\022\n\nstpVersion\030\001 \002(\r\022\023\n" + "\013coreVersion\030\002 \002(\t\022\020\n\010platform\030\003 \002(\t\022\027\n\017" + "operatingSystem\030\004 \002(\t\022\021\n\tuserAgent\030\005 \002(\t" + "\022#\n\013serviceList\030\006 \003(\0132\016.scope.Service\"\034\n" + "\nClientInfo\022\016\n\006format\030\001 \002(\t\":\n\017MessageIn" + "foList\022\'\n\013messageList\030\001 \003(\0132\022.scope.Mess" + "ageInfo\" \n\020ServiceSelection\022\014\n\004name\030\001 \002(" + "\t\"[\n\013ServiceInfo\022\'\n\013commandList\030\001 \003(\0132\022." + "scope.CommandInfo\022#\n\teventList\030\002 \003(\0132\020.s" + "cope.EventInfo\" \n\tErrorInfo\022\023\n\013descripti", "on\030\001 \002(\t\"c\n\020MessageSelection\022\023\n\013serviceN" + "ame\030\001 \002(\t\022\016\n\006idList\030\002 \003(\r\022\026\n\016includeRela" + "ted\030\003 \001(\010\022\022\n\nincludeAll\030\004 \001(\010\"\035\n\rService" + "Result\022\014\n\004name\030\001 \002(\t\"R\n\013CommandInfo\022\014\n\004n" + "ame\030\001 \002(\t\022\016\n\006number\030\002 \002(\r\022\021\n\tmessageID\030\003" + " \002(\r\022\022\n\nresponseID\030\004 \002(\rB4\n#com.opera.co" + "re.systems.scope.protosB\013ScopeProtosH\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_ServiceList_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_scope_ServiceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ServiceList_descriptor, new java.lang.String[] { "ServiceList", }, com.opera.core.systems.scope.protos.ScopeProtos.ServiceList.class, com.opera.core.systems.scope.protos.ScopeProtos.ServiceList.Builder.class); internal_static_scope_MessageInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_scope_MessageInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_MessageInfo_descriptor, new java.lang.String[] { "Id", "Name", "FieldList", "ParentID", }, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.Builder.class); internal_static_scope_MessageInfo_FieldInfo_descriptor = internal_static_scope_MessageInfo_descriptor.getNestedTypes().get(0); internal_static_scope_MessageInfo_FieldInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_MessageInfo_FieldInfo_descriptor, new java.lang.String[] { "Name", "Type", "Number", "Quantifier", "MessageID", }, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfo.FieldInfo.Builder.class); internal_static_scope_EventInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_scope_EventInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_EventInfo_descriptor, new java.lang.String[] { "Name", "Number", "MessageID", }, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.EventInfo.Builder.class); internal_static_scope_Service_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_scope_Service_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_Service_descriptor, new java.lang.String[] { "Name", "Version", }, com.opera.core.systems.scope.protos.ScopeProtos.Service.class, com.opera.core.systems.scope.protos.ScopeProtos.Service.Builder.class); internal_static_scope_HostInfo_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_scope_HostInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_HostInfo_descriptor, new java.lang.String[] { "StpVersion", "CoreVersion", "Platform", "OperatingSystem", "UserAgent", "ServiceList", }, com.opera.core.systems.scope.protos.ScopeProtos.HostInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.HostInfo.Builder.class); internal_static_scope_ClientInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_scope_ClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ClientInfo_descriptor, new java.lang.String[] { "Format", }, com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.ClientInfo.Builder.class); internal_static_scope_MessageInfoList_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_scope_MessageInfoList_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_MessageInfoList_descriptor, new java.lang.String[] { "MessageList", }, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList.class, com.opera.core.systems.scope.protos.ScopeProtos.MessageInfoList.Builder.class); internal_static_scope_ServiceSelection_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_scope_ServiceSelection_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ServiceSelection_descriptor, new java.lang.String[] { "Name", }, com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection.class, com.opera.core.systems.scope.protos.ScopeProtos.ServiceSelection.Builder.class); internal_static_scope_ServiceInfo_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_scope_ServiceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ServiceInfo_descriptor, new java.lang.String[] { "CommandList", "EventList", }, com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.ServiceInfo.Builder.class); internal_static_scope_ErrorInfo_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_scope_ErrorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ErrorInfo_descriptor, new java.lang.String[] { "Description", }, com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.ErrorInfo.Builder.class); internal_static_scope_MessageSelection_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_scope_MessageSelection_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_MessageSelection_descriptor, new java.lang.String[] { "ServiceName", "IdList", "IncludeRelated", "IncludeAll", }, com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection.class, com.opera.core.systems.scope.protos.ScopeProtos.MessageSelection.Builder.class); internal_static_scope_ServiceResult_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_scope_ServiceResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ServiceResult_descriptor, new java.lang.String[] { "Name", }, com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult.class, com.opera.core.systems.scope.protos.ScopeProtos.ServiceResult.Builder.class); internal_static_scope_CommandInfo_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_scope_CommandInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_CommandInfo_descriptor, new java.lang.String[] { "Name", "Number", "MessageID", "ResponseID", }, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.class, com.opera.core.systems.scope.protos.ScopeProtos.CommandInfo.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) }