// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cookie_manager.proto
package com.opera.core.systems.scope.protos;
public final class CookieMngProtos {
private CookieMngProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CookieOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string domain = 1;
boolean hasDomain();
String getDomain();
// required string path = 2;
boolean hasPath();
String getPath();
// required string name = 3;
boolean hasName();
String getName();
// required string value = 4;
boolean hasValue();
String getValue();
// required uint32 expires = 5;
boolean hasExpires();
int getExpires();
// required bool isSecure = 6;
boolean hasIsSecure();
boolean getIsSecure();
// required bool isHTTPOnly = 7;
boolean hasIsHTTPOnly();
boolean getIsHTTPOnly();
}
public static final class Cookie extends
com.google.protobuf.GeneratedMessage
implements CookieOrBuilder {
// Use Cookie.newBuilder() to construct.
private Cookie(Builder builder) {
super(builder);
}
private Cookie(boolean noInit) {}
private static final Cookie defaultInstance;
public static Cookie getDefaultInstance() {
return defaultInstance;
}
public Cookie getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_Cookie_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_Cookie_fieldAccessorTable;
}
private int bitField0_;
// required string domain = 1;
public static final int DOMAIN_FIELD_NUMBER = 1;
private java.lang.Object domain_;
public boolean hasDomain() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDomain() {
java.lang.Object ref = domain_;
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)) {
domain_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string path = 2;
public static final int PATH_FIELD_NUMBER = 2;
private java.lang.Object path_;
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getPath() {
java.lang.Object ref = path_;
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)) {
path_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string name = 3;
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
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 value = 4;
public static final int VALUE_FIELD_NUMBER = 4;
private java.lang.Object value_;
public boolean hasValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public String getValue() {
java.lang.Object ref = value_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
value_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required uint32 expires = 5;
public static final int EXPIRES_FIELD_NUMBER = 5;
private int expires_;
public boolean hasExpires() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getExpires() {
return expires_;
}
// required bool isSecure = 6;
public static final int ISSECURE_FIELD_NUMBER = 6;
private boolean isSecure_;
public boolean hasIsSecure() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getIsSecure() {
return isSecure_;
}
// required bool isHTTPOnly = 7;
public static final int ISHTTPONLY_FIELD_NUMBER = 7;
private boolean isHTTPOnly_;
public boolean hasIsHTTPOnly() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public boolean getIsHTTPOnly() {
return isHTTPOnly_;
}
private void initFields() {
domain_ = "";
path_ = "";
name_ = "";
value_ = "";
expires_ = 0;
isSecure_ = false;
isHTTPOnly_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasDomain()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPath()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasExpires()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIsSecure()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIsHTTPOnly()) {
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, getDomainBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getPathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getNameBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getValueBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, expires_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, isSecure_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBool(7, isHTTPOnly_);
}
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, getDomainBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getPathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getNameBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getValueBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, expires_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isSecure_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, isHTTPOnly_);
}
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.CookieMngProtos.Cookie parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.Cookie 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.CookieMngProtos.Cookie parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.Cookie 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.CookieMngProtos.Cookie parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.Cookie 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.CookieMngProtos.Cookie 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.CookieMngProtos.Cookie 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.CookieMngProtos.Cookie parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.Cookie 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.CookieMngProtos.Cookie 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.CookieMngProtos.CookieOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_Cookie_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_Cookie_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.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();
domain_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
expires_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
isSecure_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
isHTTPOnly_ = false;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.getDescriptor();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie build() {
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.CookieMngProtos.Cookie buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie buildPartial() {
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie result = new com.opera.core.systems.scope.protos.CookieMngProtos.Cookie(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.domain_ = domain_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.value_ = value_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.expires_ = expires_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.isSecure_ = isSecure_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.isHTTPOnly_ = isHTTPOnly_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.CookieMngProtos.Cookie) {
return mergeFrom((com.opera.core.systems.scope.protos.CookieMngProtos.Cookie)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.CookieMngProtos.Cookie other) {
if (other == com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.getDefaultInstance()) return this;
if (other.hasDomain()) {
setDomain(other.getDomain());
}
if (other.hasPath()) {
setPath(other.getPath());
}
if (other.hasName()) {
setName(other.getName());
}
if (other.hasValue()) {
setValue(other.getValue());
}
if (other.hasExpires()) {
setExpires(other.getExpires());
}
if (other.hasIsSecure()) {
setIsSecure(other.getIsSecure());
}
if (other.hasIsHTTPOnly()) {
setIsHTTPOnly(other.getIsHTTPOnly());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasDomain()) {
return false;
}
if (!hasPath()) {
return false;
}
if (!hasName()) {
return false;
}
if (!hasValue()) {
return false;
}
if (!hasExpires()) {
return false;
}
if (!hasIsSecure()) {
return false;
}
if (!hasIsHTTPOnly()) {
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;
domain_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
path_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
name_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
value_ = input.readBytes();
break;
}
case 40: {
bitField0_ |= 0x00000010;
expires_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
isSecure_ = input.readBool();
break;
}
case 56: {
bitField0_ |= 0x00000040;
isHTTPOnly_ = input.readBool();
break;
}
}
}
}
private int bitField0_;
// required string domain = 1;
private java.lang.Object domain_ = "";
public boolean hasDomain() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
domain_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDomain(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
domain_ = value;
onChanged();
return this;
}
public Builder clearDomain() {
bitField0_ = (bitField0_ & ~0x00000001);
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
void setDomain(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
domain_ = value;
onChanged();
}
// required string path = 2;
private java.lang.Object path_ = "";
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
path_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setPath(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
return this;
}
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000002);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
void setPath(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
}
// required string name = 3;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
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_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
}
// required string value = 4;
private java.lang.Object value_ = "";
public boolean hasValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
value_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setValue(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
value_ = value;
onChanged();
return this;
}
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000008);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
void setValue(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000008;
value_ = value;
onChanged();
}
// required uint32 expires = 5;
private int expires_ ;
public boolean hasExpires() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getExpires() {
return expires_;
}
public Builder setExpires(int value) {
bitField0_ |= 0x00000010;
expires_ = value;
onChanged();
return this;
}
public Builder clearExpires() {
bitField0_ = (bitField0_ & ~0x00000010);
expires_ = 0;
onChanged();
return this;
}
// required bool isSecure = 6;
private boolean isSecure_ ;
public boolean hasIsSecure() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getIsSecure() {
return isSecure_;
}
public Builder setIsSecure(boolean value) {
bitField0_ |= 0x00000020;
isSecure_ = value;
onChanged();
return this;
}
public Builder clearIsSecure() {
bitField0_ = (bitField0_ & ~0x00000020);
isSecure_ = false;
onChanged();
return this;
}
// required bool isHTTPOnly = 7;
private boolean isHTTPOnly_ ;
public boolean hasIsHTTPOnly() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public boolean getIsHTTPOnly() {
return isHTTPOnly_;
}
public Builder setIsHTTPOnly(boolean value) {
bitField0_ |= 0x00000040;
isHTTPOnly_ = value;
onChanged();
return this;
}
public Builder clearIsHTTPOnly() {
bitField0_ = (bitField0_ & ~0x00000040);
isHTTPOnly_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.Cookie)
}
static {
defaultInstance = new Cookie(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.Cookie)
}
public interface CookieListOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .scope.Cookie cookieList = 1;
java.util.List<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie>
getCookieListList();
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie getCookieList(int index);
int getCookieListCount();
java.util.List<? extends com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder>
getCookieListOrBuilderList();
com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder getCookieListOrBuilder(
int index);
}
public static final class CookieList extends
com.google.protobuf.GeneratedMessage
implements CookieListOrBuilder {
// Use CookieList.newBuilder() to construct.
private CookieList(Builder builder) {
super(builder);
}
private CookieList(boolean noInit) {}
private static final CookieList defaultInstance;
public static CookieList getDefaultInstance() {
return defaultInstance;
}
public CookieList getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieList_fieldAccessorTable;
}
// repeated .scope.Cookie cookieList = 1;
public static final int COOKIELIST_FIELD_NUMBER = 1;
private java.util.List<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie> cookieList_;
public java.util.List<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie> getCookieListList() {
return cookieList_;
}
public java.util.List<? extends com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder>
getCookieListOrBuilderList() {
return cookieList_;
}
public int getCookieListCount() {
return cookieList_.size();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie getCookieList(int index) {
return cookieList_.get(index);
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder getCookieListOrBuilder(
int index) {
return cookieList_.get(index);
}
private void initFields() {
cookieList_ = 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 < getCookieListCount(); i++) {
if (!getCookieList(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 < cookieList_.size(); i++) {
output.writeMessage(1, cookieList_.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 < cookieList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, cookieList_.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.CookieMngProtos.CookieList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieList 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.CookieMngProtos.CookieList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieList 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.CookieMngProtos.CookieList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieList 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.CookieMngProtos.CookieList 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.CookieMngProtos.CookieList 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.CookieMngProtos.CookieList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieList 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.CookieMngProtos.CookieList 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.CookieMngProtos.CookieListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieList_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.CookieMngProtos.CookieList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCookieListFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (cookieListBuilder_ == null) {
cookieList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
cookieListBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.CookieList.getDescriptor();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieList getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.CookieList.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieList build() {
com.opera.core.systems.scope.protos.CookieMngProtos.CookieList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.CookieMngProtos.CookieList buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.CookieMngProtos.CookieList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieList buildPartial() {
com.opera.core.systems.scope.protos.CookieMngProtos.CookieList result = new com.opera.core.systems.scope.protos.CookieMngProtos.CookieList(this);
int from_bitField0_ = bitField0_;
if (cookieListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
cookieList_ = java.util.Collections.unmodifiableList(cookieList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.cookieList_ = cookieList_;
} else {
result.cookieList_ = cookieListBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.CookieMngProtos.CookieList) {
return mergeFrom((com.opera.core.systems.scope.protos.CookieMngProtos.CookieList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.CookieMngProtos.CookieList other) {
if (other == com.opera.core.systems.scope.protos.CookieMngProtos.CookieList.getDefaultInstance()) return this;
if (cookieListBuilder_ == null) {
if (!other.cookieList_.isEmpty()) {
if (cookieList_.isEmpty()) {
cookieList_ = other.cookieList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCookieListIsMutable();
cookieList_.addAll(other.cookieList_);
}
onChanged();
}
} else {
if (!other.cookieList_.isEmpty()) {
if (cookieListBuilder_.isEmpty()) {
cookieListBuilder_.dispose();
cookieListBuilder_ = null;
cookieList_ = other.cookieList_;
bitField0_ = (bitField0_ & ~0x00000001);
cookieListBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCookieListFieldBuilder() : null;
} else {
cookieListBuilder_.addAllMessages(other.cookieList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getCookieListCount(); i++) {
if (!getCookieList(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.CookieMngProtos.Cookie.Builder subBuilder = com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addCookieList(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .scope.Cookie cookieList = 1;
private java.util.List<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie> cookieList_ =
java.util.Collections.emptyList();
private void ensureCookieListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
cookieList_ = new java.util.ArrayList<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie>(cookieList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder, com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder> cookieListBuilder_;
public java.util.List<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie> getCookieListList() {
if (cookieListBuilder_ == null) {
return java.util.Collections.unmodifiableList(cookieList_);
} else {
return cookieListBuilder_.getMessageList();
}
}
public int getCookieListCount() {
if (cookieListBuilder_ == null) {
return cookieList_.size();
} else {
return cookieListBuilder_.getCount();
}
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie getCookieList(int index) {
if (cookieListBuilder_ == null) {
return cookieList_.get(index);
} else {
return cookieListBuilder_.getMessage(index);
}
}
public Builder setCookieList(
int index, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie value) {
if (cookieListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookieListIsMutable();
cookieList_.set(index, value);
onChanged();
} else {
cookieListBuilder_.setMessage(index, value);
}
return this;
}
public Builder setCookieList(
int index, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder builderForValue) {
if (cookieListBuilder_ == null) {
ensureCookieListIsMutable();
cookieList_.set(index, builderForValue.build());
onChanged();
} else {
cookieListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addCookieList(com.opera.core.systems.scope.protos.CookieMngProtos.Cookie value) {
if (cookieListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookieListIsMutable();
cookieList_.add(value);
onChanged();
} else {
cookieListBuilder_.addMessage(value);
}
return this;
}
public Builder addCookieList(
int index, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie value) {
if (cookieListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookieListIsMutable();
cookieList_.add(index, value);
onChanged();
} else {
cookieListBuilder_.addMessage(index, value);
}
return this;
}
public Builder addCookieList(
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder builderForValue) {
if (cookieListBuilder_ == null) {
ensureCookieListIsMutable();
cookieList_.add(builderForValue.build());
onChanged();
} else {
cookieListBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addCookieList(
int index, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder builderForValue) {
if (cookieListBuilder_ == null) {
ensureCookieListIsMutable();
cookieList_.add(index, builderForValue.build());
onChanged();
} else {
cookieListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllCookieList(
java.lang.Iterable<? extends com.opera.core.systems.scope.protos.CookieMngProtos.Cookie> values) {
if (cookieListBuilder_ == null) {
ensureCookieListIsMutable();
super.addAll(values, cookieList_);
onChanged();
} else {
cookieListBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearCookieList() {
if (cookieListBuilder_ == null) {
cookieList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
cookieListBuilder_.clear();
}
return this;
}
public Builder removeCookieList(int index) {
if (cookieListBuilder_ == null) {
ensureCookieListIsMutable();
cookieList_.remove(index);
onChanged();
} else {
cookieListBuilder_.remove(index);
}
return this;
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder getCookieListBuilder(
int index) {
return getCookieListFieldBuilder().getBuilder(index);
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder getCookieListOrBuilder(
int index) {
if (cookieListBuilder_ == null) {
return cookieList_.get(index); } else {
return cookieListBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder>
getCookieListOrBuilderList() {
if (cookieListBuilder_ != null) {
return cookieListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(cookieList_);
}
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder addCookieListBuilder() {
return getCookieListFieldBuilder().addBuilder(
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.getDefaultInstance());
}
public com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder addCookieListBuilder(
int index) {
return getCookieListFieldBuilder().addBuilder(
index, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.getDefaultInstance());
}
public java.util.List<com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder>
getCookieListBuilderList() {
return getCookieListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder, com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder>
getCookieListFieldBuilder() {
if (cookieListBuilder_ == null) {
cookieListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie, com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder, com.opera.core.systems.scope.protos.CookieMngProtos.CookieOrBuilder>(
cookieList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
cookieList_ = null;
}
return cookieListBuilder_;
}
// @@protoc_insertion_point(builder_scope:scope.CookieList)
}
static {
defaultInstance = new CookieList(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.CookieList)
}
public interface GetCookieArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string domain = 1;
boolean hasDomain();
String getDomain();
// optional string path = 2;
boolean hasPath();
String getPath();
}
public static final class GetCookieArg extends
com.google.protobuf.GeneratedMessage
implements GetCookieArgOrBuilder {
// Use GetCookieArg.newBuilder() to construct.
private GetCookieArg(Builder builder) {
super(builder);
}
private GetCookieArg(boolean noInit) {}
private static final GetCookieArg defaultInstance;
public static GetCookieArg getDefaultInstance() {
return defaultInstance;
}
public GetCookieArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_GetCookieArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_GetCookieArg_fieldAccessorTable;
}
private int bitField0_;
// required string domain = 1;
public static final int DOMAIN_FIELD_NUMBER = 1;
private java.lang.Object domain_;
public boolean hasDomain() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDomain() {
java.lang.Object ref = domain_;
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)) {
domain_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string path = 2;
public static final int PATH_FIELD_NUMBER = 2;
private java.lang.Object path_;
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getPath() {
java.lang.Object ref = path_;
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)) {
path_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
domain_ = "";
path_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasDomain()) {
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, getDomainBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getPathBytes());
}
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, getDomainBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getPathBytes());
}
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.CookieMngProtos.GetCookieArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArg 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.CookieMngProtos.GetCookieArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_GetCookieArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_GetCookieArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg.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();
domain_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
path_ = "";
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.CookieMngProtos.GetCookieArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg build() {
com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg buildPartial() {
com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg result = new com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.domain_ = domain_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.path_ = path_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg) {
return mergeFrom((com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg other) {
if (other == com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg.getDefaultInstance()) return this;
if (other.hasDomain()) {
setDomain(other.getDomain());
}
if (other.hasPath()) {
setPath(other.getPath());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasDomain()) {
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;
domain_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
path_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required string domain = 1;
private java.lang.Object domain_ = "";
public boolean hasDomain() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
domain_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDomain(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
domain_ = value;
onChanged();
return this;
}
public Builder clearDomain() {
bitField0_ = (bitField0_ & ~0x00000001);
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
void setDomain(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
domain_ = value;
onChanged();
}
// optional string path = 2;
private java.lang.Object path_ = "";
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
path_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setPath(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
return this;
}
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000002);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
void setPath(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.GetCookieArg)
}
static {
defaultInstance = new GetCookieArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.GetCookieArg)
}
public interface RemoveCookieArgOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string domain = 1;
boolean hasDomain();
String getDomain();
// optional string path = 2;
boolean hasPath();
String getPath();
// optional string name = 3;
boolean hasName();
String getName();
}
public static final class RemoveCookieArg extends
com.google.protobuf.GeneratedMessage
implements RemoveCookieArgOrBuilder {
// Use RemoveCookieArg.newBuilder() to construct.
private RemoveCookieArg(Builder builder) {
super(builder);
}
private RemoveCookieArg(boolean noInit) {}
private static final RemoveCookieArg defaultInstance;
public static RemoveCookieArg getDefaultInstance() {
return defaultInstance;
}
public RemoveCookieArg getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_RemoveCookieArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_RemoveCookieArg_fieldAccessorTable;
}
private int bitField0_;
// required string domain = 1;
public static final int DOMAIN_FIELD_NUMBER = 1;
private java.lang.Object domain_;
public boolean hasDomain() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDomain() {
java.lang.Object ref = domain_;
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)) {
domain_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string path = 2;
public static final int PATH_FIELD_NUMBER = 2;
private java.lang.Object path_;
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getPath() {
java.lang.Object ref = path_;
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)) {
path_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string name = 3;
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
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() {
domain_ = "";
path_ = "";
name_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasDomain()) {
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, getDomainBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getPathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, 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, getDomainBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getPathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, 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.CookieMngProtos.RemoveCookieArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArg 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.CookieMngProtos.RemoveCookieArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_RemoveCookieArg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_RemoveCookieArg_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg.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();
domain_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
name_ = "";
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.CookieMngProtos.RemoveCookieArg.getDescriptor();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg build() {
com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg buildPartial() {
com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg result = new com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.domain_ = domain_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
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.CookieMngProtos.RemoveCookieArg) {
return mergeFrom((com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg other) {
if (other == com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg.getDefaultInstance()) return this;
if (other.hasDomain()) {
setDomain(other.getDomain());
}
if (other.hasPath()) {
setPath(other.getPath());
}
if (other.hasName()) {
setName(other.getName());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasDomain()) {
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;
domain_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
path_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
name_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required string domain = 1;
private java.lang.Object domain_ = "";
public boolean hasDomain() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
domain_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDomain(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
domain_ = value;
onChanged();
return this;
}
public Builder clearDomain() {
bitField0_ = (bitField0_ & ~0x00000001);
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
void setDomain(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
domain_ = value;
onChanged();
}
// optional string path = 2;
private java.lang.Object path_ = "";
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
path_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setPath(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
return this;
}
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000002);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
void setPath(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
}
// optional string name = 3;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
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_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.RemoveCookieArg)
}
static {
defaultInstance = new RemoveCookieArg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.RemoveCookieArg)
}
public interface CookieSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 maxCookies = 1;
boolean hasMaxCookies();
int getMaxCookies();
// required uint32 maxCookiesPerDomain = 2;
boolean hasMaxCookiesPerDomain();
int getMaxCookiesPerDomain();
// required uint32 maxCookieLength = 3;
boolean hasMaxCookieLength();
int getMaxCookieLength();
}
public static final class CookieSettings extends
com.google.protobuf.GeneratedMessage
implements CookieSettingsOrBuilder {
// Use CookieSettings.newBuilder() to construct.
private CookieSettings(Builder builder) {
super(builder);
}
private CookieSettings(boolean noInit) {}
private static final CookieSettings defaultInstance;
public static CookieSettings getDefaultInstance() {
return defaultInstance;
}
public CookieSettings getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieSettings_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieSettings_fieldAccessorTable;
}
private int bitField0_;
// required uint32 maxCookies = 1;
public static final int MAXCOOKIES_FIELD_NUMBER = 1;
private int maxCookies_;
public boolean hasMaxCookies() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getMaxCookies() {
return maxCookies_;
}
// required uint32 maxCookiesPerDomain = 2;
public static final int MAXCOOKIESPERDOMAIN_FIELD_NUMBER = 2;
private int maxCookiesPerDomain_;
public boolean hasMaxCookiesPerDomain() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getMaxCookiesPerDomain() {
return maxCookiesPerDomain_;
}
// required uint32 maxCookieLength = 3;
public static final int MAXCOOKIELENGTH_FIELD_NUMBER = 3;
private int maxCookieLength_;
public boolean hasMaxCookieLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getMaxCookieLength() {
return maxCookieLength_;
}
private void initFields() {
maxCookies_ = 0;
maxCookiesPerDomain_ = 0;
maxCookieLength_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasMaxCookies()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasMaxCookiesPerDomain()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasMaxCookieLength()) {
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, maxCookies_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, maxCookiesPerDomain_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, maxCookieLength_);
}
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, maxCookies_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, maxCookiesPerDomain_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, maxCookieLength_);
}
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.CookieMngProtos.CookieSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettings 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.CookieMngProtos.CookieSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieSettings_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.scope.protos.CookieMngProtos.internal_static_scope_CookieSettings_fieldAccessorTable;
}
// Construct using com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings.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();
maxCookies_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
maxCookiesPerDomain_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
maxCookieLength_ = 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.CookieMngProtos.CookieSettings.getDescriptor();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings getDefaultInstanceForType() {
return com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings.getDefaultInstance();
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings build() {
com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings buildPartial() {
com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings result = new com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.maxCookies_ = maxCookies_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maxCookiesPerDomain_ = maxCookiesPerDomain_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.maxCookieLength_ = maxCookieLength_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings) {
return mergeFrom((com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings other) {
if (other == com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings.getDefaultInstance()) return this;
if (other.hasMaxCookies()) {
setMaxCookies(other.getMaxCookies());
}
if (other.hasMaxCookiesPerDomain()) {
setMaxCookiesPerDomain(other.getMaxCookiesPerDomain());
}
if (other.hasMaxCookieLength()) {
setMaxCookieLength(other.getMaxCookieLength());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasMaxCookies()) {
return false;
}
if (!hasMaxCookiesPerDomain()) {
return false;
}
if (!hasMaxCookieLength()) {
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;
maxCookies_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
maxCookiesPerDomain_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
maxCookieLength_ = input.readUInt32();
break;
}
}
}
}
private int bitField0_;
// required uint32 maxCookies = 1;
private int maxCookies_ ;
public boolean hasMaxCookies() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getMaxCookies() {
return maxCookies_;
}
public Builder setMaxCookies(int value) {
bitField0_ |= 0x00000001;
maxCookies_ = value;
onChanged();
return this;
}
public Builder clearMaxCookies() {
bitField0_ = (bitField0_ & ~0x00000001);
maxCookies_ = 0;
onChanged();
return this;
}
// required uint32 maxCookiesPerDomain = 2;
private int maxCookiesPerDomain_ ;
public boolean hasMaxCookiesPerDomain() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getMaxCookiesPerDomain() {
return maxCookiesPerDomain_;
}
public Builder setMaxCookiesPerDomain(int value) {
bitField0_ |= 0x00000002;
maxCookiesPerDomain_ = value;
onChanged();
return this;
}
public Builder clearMaxCookiesPerDomain() {
bitField0_ = (bitField0_ & ~0x00000002);
maxCookiesPerDomain_ = 0;
onChanged();
return this;
}
// required uint32 maxCookieLength = 3;
private int maxCookieLength_ ;
public boolean hasMaxCookieLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getMaxCookieLength() {
return maxCookieLength_;
}
public Builder setMaxCookieLength(int value) {
bitField0_ |= 0x00000004;
maxCookieLength_ = value;
onChanged();
return this;
}
public Builder clearMaxCookieLength() {
bitField0_ = (bitField0_ & ~0x00000004);
maxCookieLength_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.CookieSettings)
}
static {
defaultInstance = new CookieSettings(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.CookieSettings)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_Cookie_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_Cookie_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_CookieList_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_CookieList_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_GetCookieArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_GetCookieArg_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_RemoveCookieArg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_RemoveCookieArg_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_CookieSettings_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_CookieSettings_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\024cookie_manager.proto\022\005scope\032\"opera/sco" +
"pe/scope_descriptor.proto\"z\n\006Cookie\022\016\n\006d" +
"omain\030\001 \002(\t\022\014\n\004path\030\002 \002(\t\022\014\n\004name\030\003 \002(\t\022" +
"\r\n\005value\030\004 \002(\t\022\017\n\007expires\030\005 \002(\r\022\020\n\010isSec" +
"ure\030\006 \002(\010\022\022\n\nisHTTPOnly\030\007 \002(\010\"/\n\nCookieL" +
"ist\022!\n\ncookieList\030\001 \003(\0132\r.scope.Cookie\"," +
"\n\014GetCookieArg\022\016\n\006domain\030\001 \002(\t\022\014\n\004path\030\002" +
" \001(\t\"=\n\017RemoveCookieArg\022\016\n\006domain\030\001 \002(\t\022" +
"\014\n\004path\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"Z\n\016CookieSet" +
"tings\022\022\n\nmaxCookies\030\001 \002(\r\022\033\n\023maxCookiesP",
"erDomain\030\002 \002(\r\022\027\n\017maxCookieLength\030\003 \002(\rB" +
"8\n#com.opera.core.systems.scope.protosB\017" +
"CookieMngProtosH\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_Cookie_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_scope_Cookie_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_Cookie_descriptor,
new java.lang.String[] { "Domain", "Path", "Name", "Value", "Expires", "IsSecure", "IsHTTPOnly", },
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.class,
com.opera.core.systems.scope.protos.CookieMngProtos.Cookie.Builder.class);
internal_static_scope_CookieList_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_scope_CookieList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_CookieList_descriptor,
new java.lang.String[] { "CookieList", },
com.opera.core.systems.scope.protos.CookieMngProtos.CookieList.class,
com.opera.core.systems.scope.protos.CookieMngProtos.CookieList.Builder.class);
internal_static_scope_GetCookieArg_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_scope_GetCookieArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_GetCookieArg_descriptor,
new java.lang.String[] { "Domain", "Path", },
com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg.class,
com.opera.core.systems.scope.protos.CookieMngProtos.GetCookieArg.Builder.class);
internal_static_scope_RemoveCookieArg_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_scope_RemoveCookieArg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_RemoveCookieArg_descriptor,
new java.lang.String[] { "Domain", "Path", "Name", },
com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg.class,
com.opera.core.systems.scope.protos.CookieMngProtos.RemoveCookieArg.Builder.class);
internal_static_scope_CookieSettings_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_scope_CookieSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_CookieSettings_descriptor,
new java.lang.String[] { "MaxCookies", "MaxCookiesPerDomain", "MaxCookieLength", },
com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings.class,
com.opera.core.systems.scope.protos.CookieMngProtos.CookieSettings.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)
}