// Generated by the protocol buffer compiler. DO NOT EDIT! // source: http_logger.proto package com.opera.core.systems.scope.protos; public final class HttpLoggerProtos { private HttpLoggerProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface HeaderOrBuilder extends com.google.protobuf.MessageOrBuilder { // required uint32 requestID = 1; boolean hasRequestID(); int getRequestID(); // required uint32 windowID = 2; boolean hasWindowID(); int getWindowID(); // required string time = 3; boolean hasTime(); String getTime(); // required string header = 4; boolean hasHeader(); String getHeader(); } public static final class Header extends com.google.protobuf.GeneratedMessage implements HeaderOrBuilder { // Use Header.newBuilder() to construct. private Header(Builder builder) { super(builder); } private Header(boolean noInit) {} private static final Header defaultInstance; public static Header getDefaultInstance() { return defaultInstance; } public Header getDefaultInstanceForType() { return defaultInstance; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.HttpLoggerProtos.internal_static_scope_Header_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.HttpLoggerProtos.internal_static_scope_Header_fieldAccessorTable; } private int bitField0_; // required uint32 requestID = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestID_; public boolean hasRequestID() { return ((bitField0_ & 0x00000001) == 0x00000001); } public int getRequestID() { return requestID_; } // required uint32 windowID = 2; public static final int WINDOWID_FIELD_NUMBER = 2; private int windowID_; public boolean hasWindowID() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getWindowID() { return windowID_; } // required string time = 3; public static final int TIME_FIELD_NUMBER = 3; private java.lang.Object time_; public boolean hasTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } public String getTime() { java.lang.Object ref = time_; 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)) { time_ = s; } return s; } } private com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string header = 4; public static final int HEADER_FIELD_NUMBER = 4; private java.lang.Object header_; public boolean hasHeader() { return ((bitField0_ & 0x00000008) == 0x00000008); } public String getHeader() { java.lang.Object ref = header_; 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)) { header_ = s; } return s; } } private com.google.protobuf.ByteString getHeaderBytes() { java.lang.Object ref = header_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); header_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { requestID_ = 0; windowID_ = 0; time_ = ""; header_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRequestID()) { memoizedIsInitialized = 0; return false; } if (!hasWindowID()) { memoizedIsInitialized = 0; return false; } if (!hasTime()) { memoizedIsInitialized = 0; return false; } if (!hasHeader()) { 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, requestID_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, windowID_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getTimeBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getHeaderBytes()); } 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, requestID_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, windowID_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getTimeBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getHeaderBytes()); } 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.HttpLoggerProtos.Header parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.HttpLoggerProtos.Header 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.HttpLoggerProtos.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data).buildParsed(); } public static com.opera.core.systems.scope.protos.HttpLoggerProtos.Header 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.HttpLoggerProtos.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.HttpLoggerProtos.Header 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.HttpLoggerProtos.Header 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.HttpLoggerProtos.Header 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.HttpLoggerProtos.Header parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return newBuilder().mergeFrom(input).buildParsed(); } public static com.opera.core.systems.scope.protos.HttpLoggerProtos.Header 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.HttpLoggerProtos.Header 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.HttpLoggerProtos.HeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.opera.core.systems.scope.protos.HttpLoggerProtos.internal_static_scope_Header_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.opera.core.systems.scope.protos.HttpLoggerProtos.internal_static_scope_Header_fieldAccessorTable; } // Construct using com.opera.core.systems.scope.protos.HttpLoggerProtos.Header.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(); requestID_ = 0; bitField0_ = (bitField0_ & ~0x00000001); windowID_ = 0; bitField0_ = (bitField0_ & ~0x00000002); time_ = ""; bitField0_ = (bitField0_ & ~0x00000004); header_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.opera.core.systems.scope.protos.HttpLoggerProtos.Header.getDescriptor(); } public com.opera.core.systems.scope.protos.HttpLoggerProtos.Header getDefaultInstanceForType() { return com.opera.core.systems.scope.protos.HttpLoggerProtos.Header.getDefaultInstance(); } public com.opera.core.systems.scope.protos.HttpLoggerProtos.Header build() { com.opera.core.systems.scope.protos.HttpLoggerProtos.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } private com.opera.core.systems.scope.protos.HttpLoggerProtos.Header buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.opera.core.systems.scope.protos.HttpLoggerProtos.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException( result).asInvalidProtocolBufferException(); } return result; } public com.opera.core.systems.scope.protos.HttpLoggerProtos.Header buildPartial() { com.opera.core.systems.scope.protos.HttpLoggerProtos.Header result = new com.opera.core.systems.scope.protos.HttpLoggerProtos.Header(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.requestID_ = requestID_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.windowID_ = windowID_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.time_ = time_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.header_ = header_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.opera.core.systems.scope.protos.HttpLoggerProtos.Header) { return mergeFrom((com.opera.core.systems.scope.protos.HttpLoggerProtos.Header)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.opera.core.systems.scope.protos.HttpLoggerProtos.Header other) { if (other == com.opera.core.systems.scope.protos.HttpLoggerProtos.Header.getDefaultInstance()) return this; if (other.hasRequestID()) { setRequestID(other.getRequestID()); } if (other.hasWindowID()) { setWindowID(other.getWindowID()); } if (other.hasTime()) { setTime(other.getTime()); } if (other.hasHeader()) { setHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRequestID()) { return false; } if (!hasWindowID()) { return false; } if (!hasTime()) { return false; } if (!hasHeader()) { 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; requestID_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; windowID_ = input.readUInt32(); break; } case 26: { bitField0_ |= 0x00000004; time_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; header_ = input.readBytes(); break; } } } } private int bitField0_; // required uint32 requestID = 1; private int requestID_ ; public boolean hasRequestID() { return ((bitField0_ & 0x00000001) == 0x00000001); } public int getRequestID() { return requestID_; } public Builder setRequestID(int value) { bitField0_ |= 0x00000001; requestID_ = value; onChanged(); return this; } public Builder clearRequestID() { bitField0_ = (bitField0_ & ~0x00000001); requestID_ = 0; onChanged(); return this; } // required uint32 windowID = 2; private int windowID_ ; public boolean hasWindowID() { return ((bitField0_ & 0x00000002) == 0x00000002); } public int getWindowID() { return windowID_; } public Builder setWindowID(int value) { bitField0_ |= 0x00000002; windowID_ = value; onChanged(); return this; } public Builder clearWindowID() { bitField0_ = (bitField0_ & ~0x00000002); windowID_ = 0; onChanged(); return this; } // required string time = 3; private java.lang.Object time_ = ""; public boolean hasTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } public String getTime() { java.lang.Object ref = time_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); time_ = s; return s; } else { return (String) ref; } } public Builder setTime(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; time_ = value; onChanged(); return this; } public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000004); time_ = getDefaultInstance().getTime(); onChanged(); return this; } void setTime(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000004; time_ = value; onChanged(); } // required string header = 4; private java.lang.Object header_ = ""; public boolean hasHeader() { return ((bitField0_ & 0x00000008) == 0x00000008); } public String getHeader() { java.lang.Object ref = header_; if (!(ref instanceof String)) { String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); header_ = s; return s; } else { return (String) ref; } } public Builder setHeader(String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; header_ = value; onChanged(); return this; } public Builder clearHeader() { bitField0_ = (bitField0_ & ~0x00000008); header_ = getDefaultInstance().getHeader(); onChanged(); return this; } void setHeader(com.google.protobuf.ByteString value) { bitField0_ |= 0x00000008; header_ = value; onChanged(); } // @@protoc_insertion_point(builder_scope:scope.Header) } static { defaultInstance = new Header(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:scope.Header) } private static com.google.protobuf.Descriptors.Descriptor internal_static_scope_Header_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scope_Header_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\021http_logger.proto\022\005scope\032\"opera/scope/" + "scope_descriptor.proto\"K\n\006Header\022\021\n\trequ" + "estID\030\001 \002(\r\022\020\n\010windowID\030\002 \002(\r\022\014\n\004time\030\003 " + "\002(\t\022\016\n\006header\030\004 \002(\tB9\n#com.opera.core.sy" + "stems.scope.protosB\020HttpLoggerProtosH\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_Header_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_scope_Header_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scope_Header_descriptor, new java.lang.String[] { "RequestID", "WindowID", "Time", "Header", }, com.opera.core.systems.scope.protos.HttpLoggerProtos.Header.class, com.opera.core.systems.scope.protos.HttpLoggerProtos.Header.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) }