// Generated by the protocol buffer compiler. DO NOT EDIT! // source: core.proto package com.opera.core.systems.scope.protos; public final class CoreProtos { private CoreProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public enum ClearFlags implements com.google.protobuf.ProtocolMessageEnum { CLEAR_ALL(0, 0), CLEAR_VISITED_LINKS(1, 1), CLEAR_DISK_CACHE(2, 2), CLEAR_IMAGE_CACHE(3, 3), CLEAR_MEMORY_CACHE(4, 4), CLEAR_SENSITIVE_DATA(5, 5), CLEAR_SESSION_COOKIES(6, 6), CLEAR_ALL_COOKIES(7, 7), CLEAR_GLOBAL_HISTORY(8, 8), CLEAR_CONSOLE(9, 9), CLEAR_THUMBNAILS(10, 10), CLEAR_WEBDATABASES(11, 11), CLEAR_WEBSTORAGE(12, 12), CLEAR_APPCACHE(13, 13), CLEAR_GEOLOCATION_PERMISSIONS(14, 14), CLEAR_SITE_PREFS(15, 15), ; public static final int CLEAR_ALL_VALUE = 0; public static final int CLEAR_VISITED_LINKS_VALUE = 1; public static final int CLEAR_DISK_CACHE_VALUE = 2; public static final int CLEAR_IMAGE_CACHE_VALUE = 3; public static final int CLEAR_MEMORY_CACHE_VALUE = 4; public static final int CLEAR_SENSITIVE_DATA_VALUE = 5; public static final int CLEAR_SESSION_COOKIES_VALUE = 6; public static final int CLEAR_ALL_COOKIES_VALUE = 7; public static final int CLEAR_GLOBAL_HISTORY_VALUE = 8; public static final int CLEAR_CONSOLE_VALUE = 9; public static final int CLEAR_THUMBNAILS_VALUE = 10; public static final int CLEAR_WEBDATABASES_VALUE = 11; public static final int CLEAR_WEBSTORAGE_VALUE = 12; public static final int CLEAR_APPCACHE_VALUE = 13; public static final int CLEAR_GEOLOCATION_PERMISSIONS_VALUE = 14; public static final int CLEAR_SITE_PREFS_VALUE = 15; public final int getNumber() { return value; } public static ClearFlags valueOf(int value) { switch (value) { case 0: return CLEAR_ALL; case 1: return CLEAR_VISITED_LINKS; case 2: return CLEAR_DISK_CACHE; case 3: return CLEAR_IMAGE_CACHE; case 4: return CLEAR_MEMORY_CACHE; case 5: return CLEAR_SENSITIVE_DATA; case 6: return CLEAR_SESSION_COOKIES; case 7: return CLEAR_ALL_COOKIES; case 8: return CLEAR_GLOBAL_HISTORY; case 9: return CLEAR_CONSOLE; case 10: return CLEAR_THUMBNAILS; case 11: return CLEAR_WEBDATABASES; case 12: return CLEAR_WEBSTORAGE; case 13: return CLEAR_APPCACHE; case 14: return CLEAR_GEOLOCATION_PERMISSIONS; case 15: return CLEAR_SITE_PREFS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<ClearFlags> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<ClearFlags> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ClearFlags>() { public ClearFlags findValueByNumber(int number) { return ClearFlags.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.opera.core.systems.scope.protos.CoreProtos.getDescriptor().getEnumTypes().get(0); } private static final ClearFlags[] VALUES = { CLEAR_ALL, CLEAR_VISITED_LINKS, CLEAR_DISK_CACHE, CLEAR_IMAGE_CACHE, CLEAR_MEMORY_CACHE, CLEAR_SENSITIVE_DATA, CLEAR_SESSION_COOKIES, CLEAR_ALL_COOKIES, CLEAR_GLOBAL_HISTORY, CLEAR_CONSOLE, CLEAR_THUMBNAILS, CLEAR_WEBDATABASES, CLEAR_WEBSTORAGE, CLEAR_APPCACHE, CLEAR_GEOLOCATION_PERMISSIONS, CLEAR_SITE_PREFS, }; public static ClearFlags valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private ClearFlags(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:scope.ClearFlags) } public interface ClearPrivateDataArgOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .scope.ClearFlags clearList = 1; java.util.List<com.opera.core.systems.scope.protos.CoreProtos.ClearFlags> getClearListList(); int getClearListCount(); com.opera.core.systems.scope.protos.CoreProtos.ClearFlags getClearList(int index); } public static final class ClearPrivateDataArg extends com.google.protobuf.GeneratedMessage implements ClearPrivateDataArgOrBuilder { // Use ClearPrivateDataArg.newBuilder() to construct. private ClearPrivateDataArg(Builder builder) { super(builder); } private ClearPrivateDataArg(boolean noInit) {} private static final ClearPrivateDataArg defaultInstance; public static ClearPrivateDataArg getDefaultInstance() { return defaultInstance; } public ClearPrivateDataArg getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_ClearPrivateDataArg_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_ClearPrivateDataArg_fieldAccessorTable; } // repeated .scope.ClearFlags clearList = 1; public static final int CLEARLIST_FIELD_NUMBER = 1; private java.util.List<com.opera.core.systems.scope.protos.CoreProtos.ClearFlags> clearList_; public java.util.List<com.opera.core.systems.scope.protos.CoreProtos.ClearFlags> getClearListList() { return clearList_; } public int getClearListCount() { return clearList_.size(); } public com.opera.core.systems.scope.protos.CoreProtos.ClearFlags getClearList(int index) { return clearList_.get(index); } private void initFields() { clearList_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < clearList_.size(); i++) { output.writeEnum(1, clearList_.get(i).getNumber()); } 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 < clearList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(clearList_.get(i).getNumber()); } size += dataSize; size += 1 * clearList_.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.CoreProtos.ClearPrivateDataArg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArg parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArg parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArg 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.CoreProtos.ClearPrivateDataArgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_ClearPrivateDataArg_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_ClearPrivateDataArg_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg.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(); clearList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg.getDescriptor(); } public com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg.getDefaultInstance(); } public com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg build() { com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg buildPartial() { com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg result = new com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { clearList_ = java.util.Collections.unmodifiableList(clearList_); bitField0_ = (bitField0_ & ~0x00000001); } result.clearList_ = clearList_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg) { return mergeFrom((com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg other) { if (other == com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg.getDefaultInstance()) return this; if (!other.clearList_.isEmpty()) { if (clearList_.isEmpty()) { clearList_ = other.clearList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureClearListIsMutable(); clearList_.addAll(other.clearList_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder( this.getUnknownFields()); while (true) { int tag = input.readTag(); switch (tag) { case 0: this.setUnknownFields(unknownFields.build()); onChanged(); return this; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { this.setUnknownFields(unknownFields.build()); onChanged(); return this; } break; } case 8: { int rawValue = input.readEnum(); com.opera.core.systems.scope.protos.CoreProtos.ClearFlags value = com.opera.core.systems.scope.protos.CoreProtos.ClearFlags.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { addClearList(value); } break; } case 10: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.opera.core.systems.scope.protos.CoreProtos.ClearFlags value = com.opera.core.systems.scope.protos.CoreProtos.ClearFlags.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { addClearList(value); } } input.popLimit(oldLimit); break; } } } } private int bitField0_; // repeated .scope.ClearFlags clearList = 1; private java.util.List<com.opera.core.systems.scope.protos.CoreProtos.ClearFlags> clearList_ = java.util.Collections.emptyList(); private void ensureClearListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { clearList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.CoreProtos.ClearFlags>(clearList_); bitField0_ |= 0x00000001; } } public java.util.List<com.opera.core.systems.scope.protos.CoreProtos.ClearFlags> getClearListList() { return java.util.Collections.unmodifiableList(clearList_); } public int getClearListCount() { return clearList_.size(); } public com.opera.core.systems.scope.protos.CoreProtos.ClearFlags getClearList(int index) { return clearList_.get(index); } public Builder setClearList( int index, com.opera.core.systems.scope.protos.CoreProtos.ClearFlags value) { if (value == null) { throw new NullPointerException(); } ensureClearListIsMutable(); clearList_.set(index, value); onChanged(); return this; } public Builder addClearList(com.opera.core.systems.scope.protos.CoreProtos.ClearFlags value) { if (value == null) { throw new NullPointerException(); } ensureClearListIsMutable(); clearList_.add(value); onChanged(); return this; } public Builder addAllClearList( java.lang.Iterable<? extends com.opera.core.systems.scope.protos.CoreProtos.ClearFlags> values) { ensureClearListIsMutable(); super.addAll(values, clearList_); onChanged(); return this; } public Builder clearClearList() { clearList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.ClearPrivateDataArg) } static { defaultInstance = new ClearPrivateDataArg(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.ClearPrivateDataArg) } public interface BrowserInformationOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string coreVersion = 1; boolean hasCoreVersion(); String getCoreVersion(); // required string operatingSystem = 2; boolean hasOperatingSystem(); String getOperatingSystem(); // required string product = 3; boolean hasProduct(); String getProduct(); // required string binaryPath = 4; boolean hasBinaryPath(); String getBinaryPath(); // required string userAgent = 5; boolean hasUserAgent(); String getUserAgent(); // optional uint32 processID = 6; boolean hasProcessID(); int getProcessID(); } public static final class BrowserInformation extends com.google.protobuf.GeneratedMessage implements BrowserInformationOrBuilder { // Use BrowserInformation.newBuilder() to construct. private BrowserInformation(Builder builder) { super(builder); } private BrowserInformation(boolean noInit) {} private static final BrowserInformation defaultInstance; public static BrowserInformation getDefaultInstance() { return defaultInstance; } public BrowserInformation getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_BrowserInformation_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_BrowserInformation_fieldAccessorTable; } private int bitField0_; // required string coreVersion = 1; public static final int COREVERSION_FIELD_NUMBER = 1; private java.lang.Object coreVersion_; public boolean hasCoreVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } 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 operatingSystem = 2; public static final int OPERATINGSYSTEM_FIELD_NUMBER = 2; private java.lang.Object operatingSystem_; public boolean hasOperatingSystem() { return ((bitField0_ & 0x00000002) == 0x00000002); } 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 product = 3; public static final int PRODUCT_FIELD_NUMBER = 3; private java.lang.Object product_; public boolean hasProduct() { return ((bitField0_ & 0x00000004) == 0x00000004); } public String getProduct() { java.lang.Object ref = product_; 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)) { product_ = s; } return s; } } private com.google.protobuf.ByteString getProductBytes() { java.lang.Object ref = product_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); product_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string binaryPath = 4; public static final int BINARYPATH_FIELD_NUMBER = 4; private java.lang.Object binaryPath_; public boolean hasBinaryPath() { return ((bitField0_ & 0x00000008) == 0x00000008); } public String getBinaryPath() { java.lang.Object ref = binaryPath_; 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)) { binaryPath_ = s; } return s; } } private com.google.protobuf.ByteString getBinaryPathBytes() { java.lang.Object ref = binaryPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); binaryPath_ = 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; } } // optional uint32 processID = 6; public static final int PROCESSID_FIELD_NUMBER = 6; private int processID_; public boolean hasProcessID() { return ((bitField0_ & 0x00000020) == 0x00000020); } public int getProcessID() { return processID_; } private void initFields() { coreVersion_ = ""; operatingSystem_ = ""; product_ = ""; binaryPath_ = ""; userAgent_ = ""; processID_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasCoreVersion()) { memoizedIsInitialized = 0; return false; } if (!hasOperatingSystem()) { memoizedIsInitialized = 0; return false; } if (!hasProduct()) { memoizedIsInitialized = 0; return false; } if (!hasBinaryPath()) { memoizedIsInitialized = 0; return false; } if (!hasUserAgent()) { 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, getCoreVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getOperatingSystemBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getProductBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getBinaryPathBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getUserAgentBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, processID_); } 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, getCoreVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getOperatingSystemBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getProductBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getBinaryPathBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getUserAgentBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, processID_); } 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.CoreProtos.BrowserInformation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformation parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformation 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.CoreProtos.BrowserInformationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_BrowserInformation_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.CoreProtos.internal_static_scope_BrowserInformation_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation.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(); coreVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); operatingSystem_ = ""; bitField0_ = (bitField0_ & ~0x00000002); product_ = ""; bitField0_ = (bitField0_ & ~0x00000004); binaryPath_ = ""; bitField0_ = (bitField0_ & ~0x00000008); userAgent_ = ""; bitField0_ = (bitField0_ & ~0x00000010); processID_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation.getDescriptor(); } public com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation.getDefaultInstance(); } public com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation build() { com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation buildPartial() { com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation result = new com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.coreVersion_ = coreVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.operatingSystem_ = operatingSystem_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.product_ = product_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.binaryPath_ = binaryPath_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.userAgent_ = userAgent_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.processID_ = processID_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation) { return mergeFrom((com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation other) { if (other == com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation.getDefaultInstance()) return this; if (other.hasCoreVersion()) { setCoreVersion(other.getCoreVersion()); } if (other.hasOperatingSystem()) { setOperatingSystem(other.getOperatingSystem()); } if (other.hasProduct()) { setProduct(other.getProduct()); } if (other.hasBinaryPath()) { setBinaryPath(other.getBinaryPath()); } if (other.hasUserAgent()) { setUserAgent(other.getUserAgent()); } if (other.hasProcessID()) { setProcessID(other.getProcessID()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasCoreVersion()) { return false; } if (!hasOperatingSystem()) { return false; } if (!hasProduct()) { return false; } if (!hasBinaryPath()) { return false; } if (!hasUserAgent()) { 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; coreVersion_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; operatingSystem_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; product_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; binaryPath_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; userAgent_ = input.readBytes(); break; } case 48: { bitField0_ |= 0x00000020; processID_ = input.readUInt32(); break; } } } } private int bitField0_; // required string coreVersion = 1; private java.lang.Object coreVersion_ = ""; public boolean hasCoreVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } 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_ |= 0x00000001; coreVersion_ = value; onChanged(); return this; } public Builder clearCoreVersion() { bitField0_ = (bitField0_ & ~0x00000001); coreVersion_ = getDefaultInstance().getCoreVersion(); onChanged(); return this; } void setCoreVersion(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000001; coreVersion_ = value; onChanged(); } // required string operatingSystem = 2; private java.lang.Object operatingSystem_ = ""; public boolean hasOperatingSystem() { return ((bitField0_ & 0x00000002) == 0x00000002); } 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_ |= 0x00000002; operatingSystem_ = value; onChanged(); return this; } public Builder clearOperatingSystem() { bitField0_ = (bitField0_ & ~0x00000002); operatingSystem_ = getDefaultInstance().getOperatingSystem(); onChanged(); return this; } void setOperatingSystem(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000002; operatingSystem_ = value; onChanged(); } // required string product = 3; private java.lang.Object product_ = ""; public boolean hasProduct() { return ((bitField0_ & 0x00000004) == 0x00000004); } public String getProduct() { java.lang.Object ref = product_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); product_ = s; return s; } else { return (String) ref; } } public Builder setProduct(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; product_ = value; onChanged(); return this; } public Builder clearProduct() { bitField0_ = (bitField0_ & ~0x00000004); product_ = getDefaultInstance().getProduct(); onChanged(); return this; } void setProduct(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000004; product_ = value; onChanged(); } // required string binaryPath = 4; private java.lang.Object binaryPath_ = ""; public boolean hasBinaryPath() { return ((bitField0_ & 0x00000008) == 0x00000008); } public String getBinaryPath() { java.lang.Object ref = binaryPath_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); binaryPath_ = s; return s; } else { return (String) ref; } } public Builder setBinaryPath(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; binaryPath_ = value; onChanged(); return this; } public Builder clearBinaryPath() { bitField0_ = (bitField0_ & ~0x00000008); binaryPath_ = getDefaultInstance().getBinaryPath(); onChanged(); return this; } void setBinaryPath(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000008; binaryPath_ = 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(); } // optional uint32 processID = 6; private int processID_ ; public boolean hasProcessID() { return ((bitField0_ & 0x00000020) == 0x00000020); } public int getProcessID() { return processID_; } public Builder setProcessID(int value) { bitField0_ |= 0x00000020; processID_ = value; onChanged(); return this; } public Builder clearProcessID() { bitField0_ = (bitField0_ & ~0x00000020); processID_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scope.BrowserInformation) } static { defaultInstance = new BrowserInformation(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.BrowserInformation) } private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_ClearPrivateDataArg_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_ClearPrivateDataArg_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_BrowserInformation_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_BrowserInformation_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\ncore.proto\022\005scope\032\"opera/scope/scope_d" + "escriptor.proto\";\n\023ClearPrivateDataArg\022$" + "\n\tclearList\030\001 \003(\0162\021.scope.ClearFlags\"\215\001\n" + "\022BrowserInformation\022\023\n\013coreVersion\030\001 \002(\t" + "\022\027\n\017operatingSystem\030\002 \002(\t\022\017\n\007product\030\003 \002" + "(\t\022\022\n\nbinaryPath\030\004 \002(\t\022\021\n\tuserAgent\030\005 \002(" + "\t\022\021\n\tprocessID\030\006 \001(\r*\203\003\n\nClearFlags\022\r\n\tC" + "LEAR_ALL\020\000\022\027\n\023CLEAR_VISITED_LINKS\020\001\022\024\n\020C" + "LEAR_DISK_CACHE\020\002\022\025\n\021CLEAR_IMAGE_CACHE\020\003" + "\022\026\n\022CLEAR_MEMORY_CACHE\020\004\022\030\n\024CLEAR_SENSIT", "IVE_DATA\020\005\022\031\n\025CLEAR_SESSION_COOKIES\020\006\022\025\n" + "\021CLEAR_ALL_COOKIES\020\007\022\030\n\024CLEAR_GLOBAL_HIS" + "TORY\020\010\022\021\n\rCLEAR_CONSOLE\020\t\022\024\n\020CLEAR_THUMB" + "NAILS\020\n\022\026\n\022CLEAR_WEBDATABASES\020\013\022\024\n\020CLEAR" + "_WEBSTORAGE\020\014\022\022\n\016CLEAR_APPCACHE\020\r\022!\n\035CLE" + "AR_GEOLOCATION_PERMISSIONS\020\016\022\024\n\020CLEAR_SI" + "TE_PREFS\020\017B3\n#com.opera.core.systems.sco" + "pe.protosB\nCoreProtosH\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_ClearPrivateDataArg_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_scope_ClearPrivateDataArg_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_ClearPrivateDataArg_descriptor, new java.lang.String[] { "ClearList", }, com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg.class, com.opera.core.systems.scope.protos.CoreProtos.ClearPrivateDataArg.Builder.class); internal_static_scope_BrowserInformation_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_scope_BrowserInformation_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_BrowserInformation_descriptor, new java.lang.String[] { "CoreVersion", "OperatingSystem", "Product", "BinaryPath", "UserAgent", "ProcessID", }, com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation.class, com.opera.core.systems.scope.protos.CoreProtos.BrowserInformation.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) }