| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: userfeedback/proto/dom.proto |
| |
| package userfeedback; |
| |
| public final class Dom { |
| private Dom() {} |
| public static void registerAllExtensions( |
| com.google.protobuf.ExtensionRegistry registry) { |
| } |
| public interface HtmlDocumentOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // required string url = 1; |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| boolean hasUrl(); |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| java.lang.String getUrl(); |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getUrlBytes(); |
| |
| // optional string title = 2 [deprecated = true]; |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated boolean hasTitle(); |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated java.lang.String getTitle(); |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated com.google.protobuf.ByteString |
| getTitleBytes(); |
| |
| // optional .userfeedback.HtmlElement document_element = 3; |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| boolean hasDocumentElement(); |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| userfeedback.Dom.HtmlElement getDocumentElement(); |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| userfeedback.Dom.HtmlElementOrBuilder getDocumentElementOrBuilder(); |
| } |
| /** |
| * Protobuf type {@code userfeedback.HtmlDocument} |
| * |
| * <pre> |
| * Data captured from HTMLDocument DOM object. |
| * </pre> |
| */ |
| public static final class HtmlDocument extends |
| com.google.protobuf.GeneratedMessage |
| implements HtmlDocumentOrBuilder { |
| // Use HtmlDocument.newBuilder() to construct. |
| private HtmlDocument(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private HtmlDocument(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final HtmlDocument defaultInstance; |
| public static HtmlDocument getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public HtmlDocument getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private HtmlDocument( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 10: { |
| bitField0_ |= 0x00000001; |
| url_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| title_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| userfeedback.Dom.HtmlElement.Builder subBuilder = null; |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| subBuilder = documentElement_.toBuilder(); |
| } |
| documentElement_ = input.readMessage(userfeedback.Dom.HtmlElement.PARSER, extensionRegistry); |
| if (subBuilder != null) { |
| subBuilder.mergeFrom(documentElement_); |
| documentElement_ = subBuilder.buildPartial(); |
| } |
| bitField0_ |= 0x00000004; |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlDocument_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlDocument_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.HtmlDocument.class, userfeedback.Dom.HtmlDocument.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<HtmlDocument> PARSER = |
| new com.google.protobuf.AbstractParser<HtmlDocument>() { |
| public HtmlDocument parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new HtmlDocument(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<HtmlDocument> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // required string url = 1; |
| public static final int URL_FIELD_NUMBER = 1; |
| private java.lang.Object url_; |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public boolean hasUrl() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public java.lang.String getUrl() { |
| java.lang.Object ref = url_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| url_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getUrlBytes() { |
| java.lang.Object ref = url_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| url_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string title = 2 [deprecated = true]; |
| public static final int TITLE_FIELD_NUMBER = 2; |
| private java.lang.Object title_; |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasTitle() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public java.lang.String getTitle() { |
| java.lang.Object ref = title_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| title_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString |
| getTitleBytes() { |
| java.lang.Object ref = title_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| title_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional .userfeedback.HtmlElement document_element = 3; |
| public static final int DOCUMENT_ELEMENT_FIELD_NUMBER = 3; |
| private userfeedback.Dom.HtmlElement documentElement_; |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public boolean hasDocumentElement() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement getDocumentElement() { |
| return documentElement_; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElementOrBuilder getDocumentElementOrBuilder() { |
| return documentElement_; |
| } |
| |
| private void initFields() { |
| url_ = ""; |
| title_ = ""; |
| documentElement_ = userfeedback.Dom.HtmlElement.getDefaultInstance(); |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| if (!hasUrl()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| if (hasDocumentElement()) { |
| if (!getDocumentElement().isInitialized()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| } |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, getUrlBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, getTitleBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeMessage(3, documentElement_); |
| } |
| 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, getUrlBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, getTitleBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(3, documentElement_); |
| } |
| 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 userfeedback.Dom.HtmlDocument parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlDocument parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static userfeedback.Dom.HtmlDocument parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.HtmlDocument parseFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| |
| public static Builder newBuilder() { return Builder.create(); } |
| public Builder newBuilderForType() { return newBuilder(); } |
| public static Builder newBuilder(userfeedback.Dom.HtmlDocument 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; |
| } |
| /** |
| * Protobuf type {@code userfeedback.HtmlDocument} |
| * |
| * <pre> |
| * Data captured from HTMLDocument DOM object. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements userfeedback.Dom.HtmlDocumentOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlDocument_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlDocument_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.HtmlDocument.class, userfeedback.Dom.HtmlDocument.Builder.class); |
| } |
| |
| // Construct using userfeedback.Dom.HtmlDocument.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getDocumentElementFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| url_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| title_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| if (documentElementBuilder_ == null) { |
| documentElement_ = userfeedback.Dom.HtmlElement.getDefaultInstance(); |
| } else { |
| documentElementBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000004); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlDocument_descriptor; |
| } |
| |
| public userfeedback.Dom.HtmlDocument getDefaultInstanceForType() { |
| return userfeedback.Dom.HtmlDocument.getDefaultInstance(); |
| } |
| |
| public userfeedback.Dom.HtmlDocument build() { |
| userfeedback.Dom.HtmlDocument result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public userfeedback.Dom.HtmlDocument buildPartial() { |
| userfeedback.Dom.HtmlDocument result = new userfeedback.Dom.HtmlDocument(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.url_ = url_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.title_ = title_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| if (documentElementBuilder_ == null) { |
| result.documentElement_ = documentElement_; |
| } else { |
| result.documentElement_ = documentElementBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof userfeedback.Dom.HtmlDocument) { |
| return mergeFrom((userfeedback.Dom.HtmlDocument)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(userfeedback.Dom.HtmlDocument other) { |
| if (other == userfeedback.Dom.HtmlDocument.getDefaultInstance()) return this; |
| if (other.hasUrl()) { |
| bitField0_ |= 0x00000001; |
| url_ = other.url_; |
| onChanged(); |
| } |
| if (other.hasTitle()) { |
| bitField0_ |= 0x00000002; |
| title_ = other.title_; |
| onChanged(); |
| } |
| if (other.hasDocumentElement()) { |
| mergeDocumentElement(other.getDocumentElement()); |
| } |
| this.mergeUnknownFields(other.getUnknownFields()); |
| return this; |
| } |
| |
| public final boolean isInitialized() { |
| if (!hasUrl()) { |
| |
| return false; |
| } |
| if (hasDocumentElement()) { |
| if (!getDocumentElement().isInitialized()) { |
| |
| return false; |
| } |
| } |
| return true; |
| } |
| |
| public Builder mergeFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| userfeedback.Dom.HtmlDocument parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (userfeedback.Dom.HtmlDocument) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // required string url = 1; |
| private java.lang.Object url_ = ""; |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public boolean hasUrl() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public java.lang.String getUrl() { |
| java.lang.Object ref = url_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| url_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getUrlBytes() { |
| java.lang.Object ref = url_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| url_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public Builder setUrl( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| url_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public Builder clearUrl() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| url_ = getDefaultInstance().getUrl(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>required string url = 1;</code> |
| * |
| * <pre> |
| * The value of document.URL property. |
| * </pre> |
| */ |
| public Builder setUrlBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| url_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string title = 2 [deprecated = true]; |
| private java.lang.Object title_ = ""; |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasTitle() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public java.lang.String getTitle() { |
| java.lang.Object ref = title_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| title_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString |
| getTitleBytes() { |
| java.lang.Object ref = title_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| title_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder setTitle( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| title_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder clearTitle() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| title_ = getDefaultInstance().getTitle(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string title = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * The value of document.title property. |
| * Note: Due to possible private information in the title we do not send it. |
| * See b/2905455. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder setTitleBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| title_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional .userfeedback.HtmlElement document_element = 3; |
| private userfeedback.Dom.HtmlElement documentElement_ = userfeedback.Dom.HtmlElement.getDefaultInstance(); |
| private com.google.protobuf.SingleFieldBuilder< |
| userfeedback.Dom.HtmlElement, userfeedback.Dom.HtmlElement.Builder, userfeedback.Dom.HtmlElementOrBuilder> documentElementBuilder_; |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public boolean hasDocumentElement() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement getDocumentElement() { |
| if (documentElementBuilder_ == null) { |
| return documentElement_; |
| } else { |
| return documentElementBuilder_.getMessage(); |
| } |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public Builder setDocumentElement(userfeedback.Dom.HtmlElement value) { |
| if (documentElementBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| documentElement_ = value; |
| onChanged(); |
| } else { |
| documentElementBuilder_.setMessage(value); |
| } |
| bitField0_ |= 0x00000004; |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public Builder setDocumentElement( |
| userfeedback.Dom.HtmlElement.Builder builderForValue) { |
| if (documentElementBuilder_ == null) { |
| documentElement_ = builderForValue.build(); |
| onChanged(); |
| } else { |
| documentElementBuilder_.setMessage(builderForValue.build()); |
| } |
| bitField0_ |= 0x00000004; |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public Builder mergeDocumentElement(userfeedback.Dom.HtmlElement value) { |
| if (documentElementBuilder_ == null) { |
| if (((bitField0_ & 0x00000004) == 0x00000004) && |
| documentElement_ != userfeedback.Dom.HtmlElement.getDefaultInstance()) { |
| documentElement_ = |
| userfeedback.Dom.HtmlElement.newBuilder(documentElement_).mergeFrom(value).buildPartial(); |
| } else { |
| documentElement_ = value; |
| } |
| onChanged(); |
| } else { |
| documentElementBuilder_.mergeFrom(value); |
| } |
| bitField0_ |= 0x00000004; |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public Builder clearDocumentElement() { |
| if (documentElementBuilder_ == null) { |
| documentElement_ = userfeedback.Dom.HtmlElement.getDefaultInstance(); |
| onChanged(); |
| } else { |
| documentElementBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000004); |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement.Builder getDocumentElementBuilder() { |
| bitField0_ |= 0x00000004; |
| onChanged(); |
| return getDocumentElementFieldBuilder().getBuilder(); |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElementOrBuilder getDocumentElementOrBuilder() { |
| if (documentElementBuilder_ != null) { |
| return documentElementBuilder_.getMessageOrBuilder(); |
| } else { |
| return documentElement_; |
| } |
| } |
| /** |
| * <code>optional .userfeedback.HtmlElement document_element = 3;</code> |
| * |
| * <pre> |
| * The value of document.documentElement property. |
| * </pre> |
| */ |
| private com.google.protobuf.SingleFieldBuilder< |
| userfeedback.Dom.HtmlElement, userfeedback.Dom.HtmlElement.Builder, userfeedback.Dom.HtmlElementOrBuilder> |
| getDocumentElementFieldBuilder() { |
| if (documentElementBuilder_ == null) { |
| documentElementBuilder_ = new com.google.protobuf.SingleFieldBuilder< |
| userfeedback.Dom.HtmlElement, userfeedback.Dom.HtmlElement.Builder, userfeedback.Dom.HtmlElementOrBuilder>( |
| documentElement_, |
| getParentForChildren(), |
| isClean()); |
| documentElement_ = null; |
| } |
| return documentElementBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:userfeedback.HtmlDocument) |
| } |
| |
| static { |
| defaultInstance = new HtmlDocument(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:userfeedback.HtmlDocument) |
| } |
| |
| public interface HtmlElementOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // required string tag_name = 1; |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| boolean hasTagName(); |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| java.lang.String getTagName(); |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getTagNameBytes(); |
| |
| // optional string id = 2; |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| boolean hasId(); |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| java.lang.String getId(); |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getIdBytes(); |
| |
| // optional string class_name = 3; |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| boolean hasClassName(); |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| java.lang.String getClassName(); |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getClassNameBytes(); |
| |
| // repeated .userfeedback.HtmlElement child_element = 4; |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| java.util.List<userfeedback.Dom.HtmlElement> |
| getChildElementList(); |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| userfeedback.Dom.HtmlElement getChildElement(int index); |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| int getChildElementCount(); |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| java.util.List<? extends userfeedback.Dom.HtmlElementOrBuilder> |
| getChildElementOrBuilderList(); |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| userfeedback.Dom.HtmlElementOrBuilder getChildElementOrBuilder( |
| int index); |
| |
| // optional .userfeedback.HtmlDocument frame_content_document = 5; |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| boolean hasFrameContentDocument(); |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| userfeedback.Dom.HtmlDocument getFrameContentDocument(); |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| userfeedback.Dom.HtmlDocumentOrBuilder getFrameContentDocumentOrBuilder(); |
| } |
| /** |
| * Protobuf type {@code userfeedback.HtmlElement} |
| * |
| * <pre> |
| * Data captured from HTMLElement DOM object. |
| * </pre> |
| */ |
| public static final class HtmlElement extends |
| com.google.protobuf.GeneratedMessage |
| implements HtmlElementOrBuilder { |
| // Use HtmlElement.newBuilder() to construct. |
| private HtmlElement(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private HtmlElement(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final HtmlElement defaultInstance; |
| public static HtmlElement getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public HtmlElement getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private HtmlElement( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 10: { |
| bitField0_ |= 0x00000001; |
| tagName_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| id_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| bitField0_ |= 0x00000004; |
| className_ = input.readBytes(); |
| break; |
| } |
| case 34: { |
| if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| childElement_ = new java.util.ArrayList<userfeedback.Dom.HtmlElement>(); |
| mutable_bitField0_ |= 0x00000008; |
| } |
| childElement_.add(input.readMessage(userfeedback.Dom.HtmlElement.PARSER, extensionRegistry)); |
| break; |
| } |
| case 42: { |
| userfeedback.Dom.HtmlDocument.Builder subBuilder = null; |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| subBuilder = frameContentDocument_.toBuilder(); |
| } |
| frameContentDocument_ = input.readMessage(userfeedback.Dom.HtmlDocument.PARSER, extensionRegistry); |
| if (subBuilder != null) { |
| subBuilder.mergeFrom(frameContentDocument_); |
| frameContentDocument_ = subBuilder.buildPartial(); |
| } |
| bitField0_ |= 0x00000008; |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| childElement_ = java.util.Collections.unmodifiableList(childElement_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlElement_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlElement_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.HtmlElement.class, userfeedback.Dom.HtmlElement.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<HtmlElement> PARSER = |
| new com.google.protobuf.AbstractParser<HtmlElement>() { |
| public HtmlElement parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new HtmlElement(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<HtmlElement> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // required string tag_name = 1; |
| public static final int TAG_NAME_FIELD_NUMBER = 1; |
| private java.lang.Object tagName_; |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public boolean hasTagName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public java.lang.String getTagName() { |
| java.lang.Object ref = tagName_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| tagName_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getTagNameBytes() { |
| java.lang.Object ref = tagName_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| tagName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string id = 2; |
| public static final int ID_FIELD_NUMBER = 2; |
| private java.lang.Object id_; |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public boolean hasId() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public java.lang.String getId() { |
| java.lang.Object ref = id_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| id_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getIdBytes() { |
| java.lang.Object ref = id_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| id_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string class_name = 3; |
| public static final int CLASS_NAME_FIELD_NUMBER = 3; |
| private java.lang.Object className_; |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public boolean hasClassName() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public java.lang.String getClassName() { |
| java.lang.Object ref = className_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| className_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getClassNameBytes() { |
| java.lang.Object ref = className_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| className_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // repeated .userfeedback.HtmlElement child_element = 4; |
| public static final int CHILD_ELEMENT_FIELD_NUMBER = 4; |
| private java.util.List<userfeedback.Dom.HtmlElement> childElement_; |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public java.util.List<userfeedback.Dom.HtmlElement> getChildElementList() { |
| return childElement_; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public java.util.List<? extends userfeedback.Dom.HtmlElementOrBuilder> |
| getChildElementOrBuilderList() { |
| return childElement_; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public int getChildElementCount() { |
| return childElement_.size(); |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement getChildElement(int index) { |
| return childElement_.get(index); |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElementOrBuilder getChildElementOrBuilder( |
| int index) { |
| return childElement_.get(index); |
| } |
| |
| // optional .userfeedback.HtmlDocument frame_content_document = 5; |
| public static final int FRAME_CONTENT_DOCUMENT_FIELD_NUMBER = 5; |
| private userfeedback.Dom.HtmlDocument frameContentDocument_; |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public boolean hasFrameContentDocument() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlDocument getFrameContentDocument() { |
| return frameContentDocument_; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlDocumentOrBuilder getFrameContentDocumentOrBuilder() { |
| return frameContentDocument_; |
| } |
| |
| private void initFields() { |
| tagName_ = ""; |
| id_ = ""; |
| className_ = ""; |
| childElement_ = java.util.Collections.emptyList(); |
| frameContentDocument_ = userfeedback.Dom.HtmlDocument.getDefaultInstance(); |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| if (!hasTagName()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| for (int i = 0; i < getChildElementCount(); i++) { |
| if (!getChildElement(i).isInitialized()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| } |
| if (hasFrameContentDocument()) { |
| if (!getFrameContentDocument().isInitialized()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| } |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, getTagNameBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, getIdBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(3, getClassNameBytes()); |
| } |
| for (int i = 0; i < childElement_.size(); i++) { |
| output.writeMessage(4, childElement_.get(i)); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeMessage(5, frameContentDocument_); |
| } |
| 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, getTagNameBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, getIdBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(3, getClassNameBytes()); |
| } |
| for (int i = 0; i < childElement_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(4, childElement_.get(i)); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(5, frameContentDocument_); |
| } |
| 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 userfeedback.Dom.HtmlElement parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlElement parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static userfeedback.Dom.HtmlElement parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.HtmlElement parseFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| |
| public static Builder newBuilder() { return Builder.create(); } |
| public Builder newBuilderForType() { return newBuilder(); } |
| public static Builder newBuilder(userfeedback.Dom.HtmlElement 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; |
| } |
| /** |
| * Protobuf type {@code userfeedback.HtmlElement} |
| * |
| * <pre> |
| * Data captured from HTMLElement DOM object. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements userfeedback.Dom.HtmlElementOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlElement_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlElement_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.HtmlElement.class, userfeedback.Dom.HtmlElement.Builder.class); |
| } |
| |
| // Construct using userfeedback.Dom.HtmlElement.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getChildElementFieldBuilder(); |
| getFrameContentDocumentFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| tagName_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| id_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| className_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| if (childElementBuilder_ == null) { |
| childElement_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| childElementBuilder_.clear(); |
| } |
| if (frameContentDocumentBuilder_ == null) { |
| frameContentDocument_ = userfeedback.Dom.HtmlDocument.getDefaultInstance(); |
| } else { |
| frameContentDocumentBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000010); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlElement_descriptor; |
| } |
| |
| public userfeedback.Dom.HtmlElement getDefaultInstanceForType() { |
| return userfeedback.Dom.HtmlElement.getDefaultInstance(); |
| } |
| |
| public userfeedback.Dom.HtmlElement build() { |
| userfeedback.Dom.HtmlElement result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public userfeedback.Dom.HtmlElement buildPartial() { |
| userfeedback.Dom.HtmlElement result = new userfeedback.Dom.HtmlElement(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.tagName_ = tagName_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.id_ = id_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.className_ = className_; |
| if (childElementBuilder_ == null) { |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| childElement_ = java.util.Collections.unmodifiableList(childElement_); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } |
| result.childElement_ = childElement_; |
| } else { |
| result.childElement_ = childElementBuilder_.build(); |
| } |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| if (frameContentDocumentBuilder_ == null) { |
| result.frameContentDocument_ = frameContentDocument_; |
| } else { |
| result.frameContentDocument_ = frameContentDocumentBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof userfeedback.Dom.HtmlElement) { |
| return mergeFrom((userfeedback.Dom.HtmlElement)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(userfeedback.Dom.HtmlElement other) { |
| if (other == userfeedback.Dom.HtmlElement.getDefaultInstance()) return this; |
| if (other.hasTagName()) { |
| bitField0_ |= 0x00000001; |
| tagName_ = other.tagName_; |
| onChanged(); |
| } |
| if (other.hasId()) { |
| bitField0_ |= 0x00000002; |
| id_ = other.id_; |
| onChanged(); |
| } |
| if (other.hasClassName()) { |
| bitField0_ |= 0x00000004; |
| className_ = other.className_; |
| onChanged(); |
| } |
| if (childElementBuilder_ == null) { |
| if (!other.childElement_.isEmpty()) { |
| if (childElement_.isEmpty()) { |
| childElement_ = other.childElement_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| ensureChildElementIsMutable(); |
| childElement_.addAll(other.childElement_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.childElement_.isEmpty()) { |
| if (childElementBuilder_.isEmpty()) { |
| childElementBuilder_.dispose(); |
| childElementBuilder_ = null; |
| childElement_ = other.childElement_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| childElementBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getChildElementFieldBuilder() : null; |
| } else { |
| childElementBuilder_.addAllMessages(other.childElement_); |
| } |
| } |
| } |
| if (other.hasFrameContentDocument()) { |
| mergeFrameContentDocument(other.getFrameContentDocument()); |
| } |
| this.mergeUnknownFields(other.getUnknownFields()); |
| return this; |
| } |
| |
| public final boolean isInitialized() { |
| if (!hasTagName()) { |
| |
| return false; |
| } |
| for (int i = 0; i < getChildElementCount(); i++) { |
| if (!getChildElement(i).isInitialized()) { |
| |
| return false; |
| } |
| } |
| if (hasFrameContentDocument()) { |
| if (!getFrameContentDocument().isInitialized()) { |
| |
| return false; |
| } |
| } |
| return true; |
| } |
| |
| public Builder mergeFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| userfeedback.Dom.HtmlElement parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (userfeedback.Dom.HtmlElement) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // required string tag_name = 1; |
| private java.lang.Object tagName_ = ""; |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public boolean hasTagName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public java.lang.String getTagName() { |
| java.lang.Object ref = tagName_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| tagName_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getTagNameBytes() { |
| java.lang.Object ref = tagName_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| tagName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public Builder setTagName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| tagName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public Builder clearTagName() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| tagName_ = getDefaultInstance().getTagName(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>required string tag_name = 1;</code> |
| * |
| * <pre> |
| * The value of element.tagName property. |
| * </pre> |
| */ |
| public Builder setTagNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| tagName_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string id = 2; |
| private java.lang.Object id_ = ""; |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public boolean hasId() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public java.lang.String getId() { |
| java.lang.Object ref = id_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| id_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getIdBytes() { |
| java.lang.Object ref = id_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| id_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public Builder setId( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| id_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public Builder clearId() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| id_ = getDefaultInstance().getId(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string id = 2;</code> |
| * |
| * <pre> |
| * The value of element.id property. |
| * </pre> |
| */ |
| public Builder setIdBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| id_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string class_name = 3; |
| private java.lang.Object className_ = ""; |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public boolean hasClassName() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public java.lang.String getClassName() { |
| java.lang.Object ref = className_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| className_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getClassNameBytes() { |
| java.lang.Object ref = className_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| className_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public Builder setClassName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| className_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public Builder clearClassName() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| className_ = getDefaultInstance().getClassName(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string class_name = 3;</code> |
| * |
| * <pre> |
| * The value of element.className property. |
| * </pre> |
| */ |
| public Builder setClassNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| className_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .userfeedback.HtmlElement child_element = 4; |
| private java.util.List<userfeedback.Dom.HtmlElement> childElement_ = |
| java.util.Collections.emptyList(); |
| private void ensureChildElementIsMutable() { |
| if (!((bitField0_ & 0x00000008) == 0x00000008)) { |
| childElement_ = new java.util.ArrayList<userfeedback.Dom.HtmlElement>(childElement_); |
| bitField0_ |= 0x00000008; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| userfeedback.Dom.HtmlElement, userfeedback.Dom.HtmlElement.Builder, userfeedback.Dom.HtmlElementOrBuilder> childElementBuilder_; |
| |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public java.util.List<userfeedback.Dom.HtmlElement> getChildElementList() { |
| if (childElementBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(childElement_); |
| } else { |
| return childElementBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public int getChildElementCount() { |
| if (childElementBuilder_ == null) { |
| return childElement_.size(); |
| } else { |
| return childElementBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement getChildElement(int index) { |
| if (childElementBuilder_ == null) { |
| return childElement_.get(index); |
| } else { |
| return childElementBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder setChildElement( |
| int index, userfeedback.Dom.HtmlElement value) { |
| if (childElementBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureChildElementIsMutable(); |
| childElement_.set(index, value); |
| onChanged(); |
| } else { |
| childElementBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder setChildElement( |
| int index, userfeedback.Dom.HtmlElement.Builder builderForValue) { |
| if (childElementBuilder_ == null) { |
| ensureChildElementIsMutable(); |
| childElement_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| childElementBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder addChildElement(userfeedback.Dom.HtmlElement value) { |
| if (childElementBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureChildElementIsMutable(); |
| childElement_.add(value); |
| onChanged(); |
| } else { |
| childElementBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder addChildElement( |
| int index, userfeedback.Dom.HtmlElement value) { |
| if (childElementBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureChildElementIsMutable(); |
| childElement_.add(index, value); |
| onChanged(); |
| } else { |
| childElementBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder addChildElement( |
| userfeedback.Dom.HtmlElement.Builder builderForValue) { |
| if (childElementBuilder_ == null) { |
| ensureChildElementIsMutable(); |
| childElement_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| childElementBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder addChildElement( |
| int index, userfeedback.Dom.HtmlElement.Builder builderForValue) { |
| if (childElementBuilder_ == null) { |
| ensureChildElementIsMutable(); |
| childElement_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| childElementBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder addAllChildElement( |
| java.lang.Iterable<? extends userfeedback.Dom.HtmlElement> values) { |
| if (childElementBuilder_ == null) { |
| ensureChildElementIsMutable(); |
| super.addAll(values, childElement_); |
| onChanged(); |
| } else { |
| childElementBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder clearChildElement() { |
| if (childElementBuilder_ == null) { |
| childElement_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| onChanged(); |
| } else { |
| childElementBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public Builder removeChildElement(int index) { |
| if (childElementBuilder_ == null) { |
| ensureChildElementIsMutable(); |
| childElement_.remove(index); |
| onChanged(); |
| } else { |
| childElementBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement.Builder getChildElementBuilder( |
| int index) { |
| return getChildElementFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElementOrBuilder getChildElementOrBuilder( |
| int index) { |
| if (childElementBuilder_ == null) { |
| return childElement_.get(index); } else { |
| return childElementBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public java.util.List<? extends userfeedback.Dom.HtmlElementOrBuilder> |
| getChildElementOrBuilderList() { |
| if (childElementBuilder_ != null) { |
| return childElementBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(childElement_); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement.Builder addChildElementBuilder() { |
| return getChildElementFieldBuilder().addBuilder( |
| userfeedback.Dom.HtmlElement.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlElement.Builder addChildElementBuilder( |
| int index) { |
| return getChildElementFieldBuilder().addBuilder( |
| index, userfeedback.Dom.HtmlElement.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .userfeedback.HtmlElement child_element = 4;</code> |
| * |
| * <pre> |
| * A list of child elements. |
| * </pre> |
| */ |
| public java.util.List<userfeedback.Dom.HtmlElement.Builder> |
| getChildElementBuilderList() { |
| return getChildElementFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| userfeedback.Dom.HtmlElement, userfeedback.Dom.HtmlElement.Builder, userfeedback.Dom.HtmlElementOrBuilder> |
| getChildElementFieldBuilder() { |
| if (childElementBuilder_ == null) { |
| childElementBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| userfeedback.Dom.HtmlElement, userfeedback.Dom.HtmlElement.Builder, userfeedback.Dom.HtmlElementOrBuilder>( |
| childElement_, |
| ((bitField0_ & 0x00000008) == 0x00000008), |
| getParentForChildren(), |
| isClean()); |
| childElement_ = null; |
| } |
| return childElementBuilder_; |
| } |
| |
| // optional .userfeedback.HtmlDocument frame_content_document = 5; |
| private userfeedback.Dom.HtmlDocument frameContentDocument_ = userfeedback.Dom.HtmlDocument.getDefaultInstance(); |
| private com.google.protobuf.SingleFieldBuilder< |
| userfeedback.Dom.HtmlDocument, userfeedback.Dom.HtmlDocument.Builder, userfeedback.Dom.HtmlDocumentOrBuilder> frameContentDocumentBuilder_; |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public boolean hasFrameContentDocument() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlDocument getFrameContentDocument() { |
| if (frameContentDocumentBuilder_ == null) { |
| return frameContentDocument_; |
| } else { |
| return frameContentDocumentBuilder_.getMessage(); |
| } |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public Builder setFrameContentDocument(userfeedback.Dom.HtmlDocument value) { |
| if (frameContentDocumentBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| frameContentDocument_ = value; |
| onChanged(); |
| } else { |
| frameContentDocumentBuilder_.setMessage(value); |
| } |
| bitField0_ |= 0x00000010; |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public Builder setFrameContentDocument( |
| userfeedback.Dom.HtmlDocument.Builder builderForValue) { |
| if (frameContentDocumentBuilder_ == null) { |
| frameContentDocument_ = builderForValue.build(); |
| onChanged(); |
| } else { |
| frameContentDocumentBuilder_.setMessage(builderForValue.build()); |
| } |
| bitField0_ |= 0x00000010; |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public Builder mergeFrameContentDocument(userfeedback.Dom.HtmlDocument value) { |
| if (frameContentDocumentBuilder_ == null) { |
| if (((bitField0_ & 0x00000010) == 0x00000010) && |
| frameContentDocument_ != userfeedback.Dom.HtmlDocument.getDefaultInstance()) { |
| frameContentDocument_ = |
| userfeedback.Dom.HtmlDocument.newBuilder(frameContentDocument_).mergeFrom(value).buildPartial(); |
| } else { |
| frameContentDocument_ = value; |
| } |
| onChanged(); |
| } else { |
| frameContentDocumentBuilder_.mergeFrom(value); |
| } |
| bitField0_ |= 0x00000010; |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public Builder clearFrameContentDocument() { |
| if (frameContentDocumentBuilder_ == null) { |
| frameContentDocument_ = userfeedback.Dom.HtmlDocument.getDefaultInstance(); |
| onChanged(); |
| } else { |
| frameContentDocumentBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000010); |
| return this; |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlDocument.Builder getFrameContentDocumentBuilder() { |
| bitField0_ |= 0x00000010; |
| onChanged(); |
| return getFrameContentDocumentFieldBuilder().getBuilder(); |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| public userfeedback.Dom.HtmlDocumentOrBuilder getFrameContentDocumentOrBuilder() { |
| if (frameContentDocumentBuilder_ != null) { |
| return frameContentDocumentBuilder_.getMessageOrBuilder(); |
| } else { |
| return frameContentDocument_; |
| } |
| } |
| /** |
| * <code>optional .userfeedback.HtmlDocument frame_content_document = 5;</code> |
| * |
| * <pre> |
| * The value of frame.contentDocument property for FRAME and IFRAME elements. |
| * </pre> |
| */ |
| private com.google.protobuf.SingleFieldBuilder< |
| userfeedback.Dom.HtmlDocument, userfeedback.Dom.HtmlDocument.Builder, userfeedback.Dom.HtmlDocumentOrBuilder> |
| getFrameContentDocumentFieldBuilder() { |
| if (frameContentDocumentBuilder_ == null) { |
| frameContentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilder< |
| userfeedback.Dom.HtmlDocument, userfeedback.Dom.HtmlDocument.Builder, userfeedback.Dom.HtmlDocumentOrBuilder>( |
| frameContentDocument_, |
| getParentForChildren(), |
| isClean()); |
| frameContentDocument_ = null; |
| } |
| return frameContentDocumentBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:userfeedback.HtmlElement) |
| } |
| |
| static { |
| defaultInstance = new HtmlElement(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:userfeedback.HtmlElement) |
| } |
| |
| public interface NavigatorOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional string app_code_name = 1; |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| boolean hasAppCodeName(); |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| java.lang.String getAppCodeName(); |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getAppCodeNameBytes(); |
| |
| // optional string app_name = 2; |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| boolean hasAppName(); |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| java.lang.String getAppName(); |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getAppNameBytes(); |
| |
| // optional string app_version = 3; |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| boolean hasAppVersion(); |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| java.lang.String getAppVersion(); |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getAppVersionBytes(); |
| |
| // optional string app_minor_version = 4; |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| boolean hasAppMinorVersion(); |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| java.lang.String getAppMinorVersion(); |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getAppMinorVersionBytes(); |
| |
| // optional bool cookie_enabled = 5; |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| boolean hasCookieEnabled(); |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| boolean getCookieEnabled(); |
| |
| // optional string cpu_class = 6; |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| boolean hasCpuClass(); |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| java.lang.String getCpuClass(); |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getCpuClassBytes(); |
| |
| // optional bool on_line = 7; |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| boolean hasOnLine(); |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| boolean getOnLine(); |
| |
| // optional string platform = 8; |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| boolean hasPlatform(); |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| java.lang.String getPlatform(); |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getPlatformBytes(); |
| |
| // optional string browser_language = 9; |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| boolean hasBrowserLanguage(); |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| java.lang.String getBrowserLanguage(); |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getBrowserLanguageBytes(); |
| |
| // optional string system_language = 10; |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| boolean hasSystemLanguage(); |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| java.lang.String getSystemLanguage(); |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getSystemLanguageBytes(); |
| |
| // optional string user_agent = 11; |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| boolean hasUserAgent(); |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| java.lang.String getUserAgent(); |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getUserAgentBytes(); |
| |
| // optional bool java_enabled = 12; |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| boolean hasJavaEnabled(); |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| boolean getJavaEnabled(); |
| |
| // optional bool taint_enabled = 13; |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| boolean hasTaintEnabled(); |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| boolean getTaintEnabled(); |
| |
| // repeated string plugin_name = 14; |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| java.util.List<java.lang.String> |
| getPluginNameList(); |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| int getPluginNameCount(); |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| java.lang.String getPluginName(int index); |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getPluginNameBytes(int index); |
| |
| // repeated .userfeedback.Plugin plugin = 15; |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| java.util.List<userfeedback.Dom.Plugin> |
| getPluginList(); |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| userfeedback.Dom.Plugin getPlugin(int index); |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| int getPluginCount(); |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| java.util.List<? extends userfeedback.Dom.PluginOrBuilder> |
| getPluginOrBuilderList(); |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| userfeedback.Dom.PluginOrBuilder getPluginOrBuilder( |
| int index); |
| } |
| /** |
| * Protobuf type {@code userfeedback.Navigator} |
| * |
| * <pre> |
| * Data captured from DOM Navigator object. |
| * </pre> |
| */ |
| public static final class Navigator extends |
| com.google.protobuf.GeneratedMessage |
| implements NavigatorOrBuilder { |
| // Use Navigator.newBuilder() to construct. |
| private Navigator(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private Navigator(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final Navigator defaultInstance; |
| public static Navigator getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public Navigator getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private Navigator( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 10: { |
| bitField0_ |= 0x00000001; |
| appCodeName_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| appName_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| bitField0_ |= 0x00000004; |
| appVersion_ = input.readBytes(); |
| break; |
| } |
| case 34: { |
| bitField0_ |= 0x00000008; |
| appMinorVersion_ = input.readBytes(); |
| break; |
| } |
| case 40: { |
| bitField0_ |= 0x00000010; |
| cookieEnabled_ = input.readBool(); |
| break; |
| } |
| case 50: { |
| bitField0_ |= 0x00000020; |
| cpuClass_ = input.readBytes(); |
| break; |
| } |
| case 56: { |
| bitField0_ |= 0x00000040; |
| onLine_ = input.readBool(); |
| break; |
| } |
| case 66: { |
| bitField0_ |= 0x00000080; |
| platform_ = input.readBytes(); |
| break; |
| } |
| case 74: { |
| bitField0_ |= 0x00000100; |
| browserLanguage_ = input.readBytes(); |
| break; |
| } |
| case 82: { |
| bitField0_ |= 0x00000200; |
| systemLanguage_ = input.readBytes(); |
| break; |
| } |
| case 90: { |
| bitField0_ |= 0x00000400; |
| userAgent_ = input.readBytes(); |
| break; |
| } |
| case 96: { |
| bitField0_ |= 0x00000800; |
| javaEnabled_ = input.readBool(); |
| break; |
| } |
| case 104: { |
| bitField0_ |= 0x00001000; |
| taintEnabled_ = input.readBool(); |
| break; |
| } |
| case 114: { |
| if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { |
| pluginName_ = new com.google.protobuf.LazyStringArrayList(); |
| mutable_bitField0_ |= 0x00002000; |
| } |
| pluginName_.add(input.readBytes()); |
| break; |
| } |
| case 122: { |
| if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) { |
| plugin_ = new java.util.ArrayList<userfeedback.Dom.Plugin>(); |
| mutable_bitField0_ |= 0x00004000; |
| } |
| plugin_.add(input.readMessage(userfeedback.Dom.Plugin.PARSER, extensionRegistry)); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { |
| pluginName_ = new com.google.protobuf.UnmodifiableLazyStringList(pluginName_); |
| } |
| if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) { |
| plugin_ = java.util.Collections.unmodifiableList(plugin_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_Navigator_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_Navigator_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.Navigator.class, userfeedback.Dom.Navigator.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<Navigator> PARSER = |
| new com.google.protobuf.AbstractParser<Navigator>() { |
| public Navigator parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new Navigator(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<Navigator> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional string app_code_name = 1; |
| public static final int APP_CODE_NAME_FIELD_NUMBER = 1; |
| private java.lang.Object appCodeName_; |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public boolean hasAppCodeName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public java.lang.String getAppCodeName() { |
| java.lang.Object ref = appCodeName_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| appCodeName_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppCodeNameBytes() { |
| java.lang.Object ref = appCodeName_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appCodeName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string app_name = 2; |
| public static final int APP_NAME_FIELD_NUMBER = 2; |
| private java.lang.Object appName_; |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public boolean hasAppName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public java.lang.String getAppName() { |
| java.lang.Object ref = appName_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| appName_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppNameBytes() { |
| java.lang.Object ref = appName_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string app_version = 3; |
| public static final int APP_VERSION_FIELD_NUMBER = 3; |
| private java.lang.Object appVersion_; |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public boolean hasAppVersion() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public java.lang.String getAppVersion() { |
| java.lang.Object ref = appVersion_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| appVersion_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppVersionBytes() { |
| java.lang.Object ref = appVersion_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appVersion_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string app_minor_version = 4; |
| public static final int APP_MINOR_VERSION_FIELD_NUMBER = 4; |
| private java.lang.Object appMinorVersion_; |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public boolean hasAppMinorVersion() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public java.lang.String getAppMinorVersion() { |
| java.lang.Object ref = appMinorVersion_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| appMinorVersion_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppMinorVersionBytes() { |
| java.lang.Object ref = appMinorVersion_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appMinorVersion_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional bool cookie_enabled = 5; |
| public static final int COOKIE_ENABLED_FIELD_NUMBER = 5; |
| private boolean cookieEnabled_; |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| public boolean hasCookieEnabled() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| public boolean getCookieEnabled() { |
| return cookieEnabled_; |
| } |
| |
| // optional string cpu_class = 6; |
| public static final int CPU_CLASS_FIELD_NUMBER = 6; |
| private java.lang.Object cpuClass_; |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public boolean hasCpuClass() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public java.lang.String getCpuClass() { |
| java.lang.Object ref = cpuClass_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| cpuClass_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getCpuClassBytes() { |
| java.lang.Object ref = cpuClass_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| cpuClass_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional bool on_line = 7; |
| public static final int ON_LINE_FIELD_NUMBER = 7; |
| private boolean onLine_; |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| public boolean hasOnLine() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| public boolean getOnLine() { |
| return onLine_; |
| } |
| |
| // optional string platform = 8; |
| public static final int PLATFORM_FIELD_NUMBER = 8; |
| private java.lang.Object platform_; |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public boolean hasPlatform() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public java.lang.String getPlatform() { |
| java.lang.Object ref = platform_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| platform_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getPlatformBytes() { |
| java.lang.Object ref = platform_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| platform_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string browser_language = 9; |
| public static final int BROWSER_LANGUAGE_FIELD_NUMBER = 9; |
| private java.lang.Object browserLanguage_; |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public boolean hasBrowserLanguage() { |
| return ((bitField0_ & 0x00000100) == 0x00000100); |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public java.lang.String getBrowserLanguage() { |
| java.lang.Object ref = browserLanguage_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| browserLanguage_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getBrowserLanguageBytes() { |
| java.lang.Object ref = browserLanguage_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| browserLanguage_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string system_language = 10; |
| public static final int SYSTEM_LANGUAGE_FIELD_NUMBER = 10; |
| private java.lang.Object systemLanguage_; |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public boolean hasSystemLanguage() { |
| return ((bitField0_ & 0x00000200) == 0x00000200); |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public java.lang.String getSystemLanguage() { |
| java.lang.Object ref = systemLanguage_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| systemLanguage_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getSystemLanguageBytes() { |
| java.lang.Object ref = systemLanguage_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| systemLanguage_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string user_agent = 11; |
| public static final int USER_AGENT_FIELD_NUMBER = 11; |
| private java.lang.Object userAgent_; |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public boolean hasUserAgent() { |
| return ((bitField0_ & 0x00000400) == 0x00000400); |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public java.lang.String getUserAgent() { |
| java.lang.Object ref = userAgent_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| userAgent_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getUserAgentBytes() { |
| java.lang.Object ref = userAgent_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| userAgent_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional bool java_enabled = 12; |
| public static final int JAVA_ENABLED_FIELD_NUMBER = 12; |
| private boolean javaEnabled_; |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| public boolean hasJavaEnabled() { |
| return ((bitField0_ & 0x00000800) == 0x00000800); |
| } |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| public boolean getJavaEnabled() { |
| return javaEnabled_; |
| } |
| |
| // optional bool taint_enabled = 13; |
| public static final int TAINT_ENABLED_FIELD_NUMBER = 13; |
| private boolean taintEnabled_; |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| public boolean hasTaintEnabled() { |
| return ((bitField0_ & 0x00001000) == 0x00001000); |
| } |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| public boolean getTaintEnabled() { |
| return taintEnabled_; |
| } |
| |
| // repeated string plugin_name = 14; |
| public static final int PLUGIN_NAME_FIELD_NUMBER = 14; |
| private com.google.protobuf.LazyStringList pluginName_; |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public java.util.List<java.lang.String> |
| getPluginNameList() { |
| return pluginName_; |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public int getPluginNameCount() { |
| return pluginName_.size(); |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public java.lang.String getPluginName(int index) { |
| return pluginName_.get(index); |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getPluginNameBytes(int index) { |
| return pluginName_.getByteString(index); |
| } |
| |
| // repeated .userfeedback.Plugin plugin = 15; |
| public static final int PLUGIN_FIELD_NUMBER = 15; |
| private java.util.List<userfeedback.Dom.Plugin> plugin_; |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public java.util.List<userfeedback.Dom.Plugin> getPluginList() { |
| return plugin_; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public java.util.List<? extends userfeedback.Dom.PluginOrBuilder> |
| getPluginOrBuilderList() { |
| return plugin_; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public int getPluginCount() { |
| return plugin_.size(); |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.Plugin getPlugin(int index) { |
| return plugin_.get(index); |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.PluginOrBuilder getPluginOrBuilder( |
| int index) { |
| return plugin_.get(index); |
| } |
| |
| private void initFields() { |
| appCodeName_ = ""; |
| appName_ = ""; |
| appVersion_ = ""; |
| appMinorVersion_ = ""; |
| cookieEnabled_ = false; |
| cpuClass_ = ""; |
| onLine_ = false; |
| platform_ = ""; |
| browserLanguage_ = ""; |
| systemLanguage_ = ""; |
| userAgent_ = ""; |
| javaEnabled_ = false; |
| taintEnabled_ = false; |
| pluginName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| plugin_ = 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 < getPluginCount(); i++) { |
| if (!getPlugin(i).isInitialized()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| } |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, getAppCodeNameBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, getAppNameBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(3, getAppVersionBytes()); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeBytes(4, getAppMinorVersionBytes()); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| output.writeBool(5, cookieEnabled_); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| output.writeBytes(6, getCpuClassBytes()); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| output.writeBool(7, onLine_); |
| } |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| output.writeBytes(8, getPlatformBytes()); |
| } |
| if (((bitField0_ & 0x00000100) == 0x00000100)) { |
| output.writeBytes(9, getBrowserLanguageBytes()); |
| } |
| if (((bitField0_ & 0x00000200) == 0x00000200)) { |
| output.writeBytes(10, getSystemLanguageBytes()); |
| } |
| if (((bitField0_ & 0x00000400) == 0x00000400)) { |
| output.writeBytes(11, getUserAgentBytes()); |
| } |
| if (((bitField0_ & 0x00000800) == 0x00000800)) { |
| output.writeBool(12, javaEnabled_); |
| } |
| if (((bitField0_ & 0x00001000) == 0x00001000)) { |
| output.writeBool(13, taintEnabled_); |
| } |
| for (int i = 0; i < pluginName_.size(); i++) { |
| output.writeBytes(14, pluginName_.getByteString(i)); |
| } |
| for (int i = 0; i < plugin_.size(); i++) { |
| output.writeMessage(15, plugin_.get(i)); |
| } |
| getUnknownFields().writeTo(output); |
| } |
| |
| private int memoizedSerializedSize = -1; |
| public int getSerializedSize() { |
| int size = memoizedSerializedSize; |
| if (size != -1) return size; |
| |
| size = 0; |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(1, getAppCodeNameBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, getAppNameBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(3, getAppVersionBytes()); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(4, getAppMinorVersionBytes()); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBoolSize(5, cookieEnabled_); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(6, getCpuClassBytes()); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBoolSize(7, onLine_); |
| } |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(8, getPlatformBytes()); |
| } |
| if (((bitField0_ & 0x00000100) == 0x00000100)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(9, getBrowserLanguageBytes()); |
| } |
| if (((bitField0_ & 0x00000200) == 0x00000200)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(10, getSystemLanguageBytes()); |
| } |
| if (((bitField0_ & 0x00000400) == 0x00000400)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(11, getUserAgentBytes()); |
| } |
| if (((bitField0_ & 0x00000800) == 0x00000800)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBoolSize(12, javaEnabled_); |
| } |
| if (((bitField0_ & 0x00001000) == 0x00001000)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBoolSize(13, taintEnabled_); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < pluginName_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(pluginName_.getByteString(i)); |
| } |
| size += dataSize; |
| size += 1 * getPluginNameList().size(); |
| } |
| for (int i = 0; i < plugin_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(15, plugin_.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 userfeedback.Dom.Navigator parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.Navigator parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.Navigator parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.Navigator parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.Navigator parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.Navigator parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.Navigator parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static userfeedback.Dom.Navigator parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.Navigator parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.Navigator parseFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| |
| public static Builder newBuilder() { return Builder.create(); } |
| public Builder newBuilderForType() { return newBuilder(); } |
| public static Builder newBuilder(userfeedback.Dom.Navigator 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; |
| } |
| /** |
| * Protobuf type {@code userfeedback.Navigator} |
| * |
| * <pre> |
| * Data captured from DOM Navigator object. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements userfeedback.Dom.NavigatorOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_Navigator_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_Navigator_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.Navigator.class, userfeedback.Dom.Navigator.Builder.class); |
| } |
| |
| // Construct using userfeedback.Dom.Navigator.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getPluginFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| appCodeName_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| appName_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| appVersion_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| appMinorVersion_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| cookieEnabled_ = false; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| cpuClass_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| onLine_ = false; |
| bitField0_ = (bitField0_ & ~0x00000040); |
| platform_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| browserLanguage_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000100); |
| systemLanguage_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000200); |
| userAgent_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000400); |
| javaEnabled_ = false; |
| bitField0_ = (bitField0_ & ~0x00000800); |
| taintEnabled_ = false; |
| bitField0_ = (bitField0_ & ~0x00001000); |
| pluginName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00002000); |
| if (pluginBuilder_ == null) { |
| plugin_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00004000); |
| } else { |
| pluginBuilder_.clear(); |
| } |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return userfeedback.Dom.internal_static_userfeedback_Navigator_descriptor; |
| } |
| |
| public userfeedback.Dom.Navigator getDefaultInstanceForType() { |
| return userfeedback.Dom.Navigator.getDefaultInstance(); |
| } |
| |
| public userfeedback.Dom.Navigator build() { |
| userfeedback.Dom.Navigator result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public userfeedback.Dom.Navigator buildPartial() { |
| userfeedback.Dom.Navigator result = new userfeedback.Dom.Navigator(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.appCodeName_ = appCodeName_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.appName_ = appName_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.appVersion_ = appVersion_; |
| if (((from_bitField0_ & 0x00000008) == 0x00000008)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| result.appMinorVersion_ = appMinorVersion_; |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000010; |
| } |
| result.cookieEnabled_ = cookieEnabled_; |
| if (((from_bitField0_ & 0x00000020) == 0x00000020)) { |
| to_bitField0_ |= 0x00000020; |
| } |
| result.cpuClass_ = cpuClass_; |
| if (((from_bitField0_ & 0x00000040) == 0x00000040)) { |
| to_bitField0_ |= 0x00000040; |
| } |
| result.onLine_ = onLine_; |
| if (((from_bitField0_ & 0x00000080) == 0x00000080)) { |
| to_bitField0_ |= 0x00000080; |
| } |
| result.platform_ = platform_; |
| if (((from_bitField0_ & 0x00000100) == 0x00000100)) { |
| to_bitField0_ |= 0x00000100; |
| } |
| result.browserLanguage_ = browserLanguage_; |
| if (((from_bitField0_ & 0x00000200) == 0x00000200)) { |
| to_bitField0_ |= 0x00000200; |
| } |
| result.systemLanguage_ = systemLanguage_; |
| if (((from_bitField0_ & 0x00000400) == 0x00000400)) { |
| to_bitField0_ |= 0x00000400; |
| } |
| result.userAgent_ = userAgent_; |
| if (((from_bitField0_ & 0x00000800) == 0x00000800)) { |
| to_bitField0_ |= 0x00000800; |
| } |
| result.javaEnabled_ = javaEnabled_; |
| if (((from_bitField0_ & 0x00001000) == 0x00001000)) { |
| to_bitField0_ |= 0x00001000; |
| } |
| result.taintEnabled_ = taintEnabled_; |
| if (((bitField0_ & 0x00002000) == 0x00002000)) { |
| pluginName_ = new com.google.protobuf.UnmodifiableLazyStringList( |
| pluginName_); |
| bitField0_ = (bitField0_ & ~0x00002000); |
| } |
| result.pluginName_ = pluginName_; |
| if (pluginBuilder_ == null) { |
| if (((bitField0_ & 0x00004000) == 0x00004000)) { |
| plugin_ = java.util.Collections.unmodifiableList(plugin_); |
| bitField0_ = (bitField0_ & ~0x00004000); |
| } |
| result.plugin_ = plugin_; |
| } else { |
| result.plugin_ = pluginBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof userfeedback.Dom.Navigator) { |
| return mergeFrom((userfeedback.Dom.Navigator)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(userfeedback.Dom.Navigator other) { |
| if (other == userfeedback.Dom.Navigator.getDefaultInstance()) return this; |
| if (other.hasAppCodeName()) { |
| bitField0_ |= 0x00000001; |
| appCodeName_ = other.appCodeName_; |
| onChanged(); |
| } |
| if (other.hasAppName()) { |
| bitField0_ |= 0x00000002; |
| appName_ = other.appName_; |
| onChanged(); |
| } |
| if (other.hasAppVersion()) { |
| bitField0_ |= 0x00000004; |
| appVersion_ = other.appVersion_; |
| onChanged(); |
| } |
| if (other.hasAppMinorVersion()) { |
| bitField0_ |= 0x00000008; |
| appMinorVersion_ = other.appMinorVersion_; |
| onChanged(); |
| } |
| if (other.hasCookieEnabled()) { |
| setCookieEnabled(other.getCookieEnabled()); |
| } |
| if (other.hasCpuClass()) { |
| bitField0_ |= 0x00000020; |
| cpuClass_ = other.cpuClass_; |
| onChanged(); |
| } |
| if (other.hasOnLine()) { |
| setOnLine(other.getOnLine()); |
| } |
| if (other.hasPlatform()) { |
| bitField0_ |= 0x00000080; |
| platform_ = other.platform_; |
| onChanged(); |
| } |
| if (other.hasBrowserLanguage()) { |
| bitField0_ |= 0x00000100; |
| browserLanguage_ = other.browserLanguage_; |
| onChanged(); |
| } |
| if (other.hasSystemLanguage()) { |
| bitField0_ |= 0x00000200; |
| systemLanguage_ = other.systemLanguage_; |
| onChanged(); |
| } |
| if (other.hasUserAgent()) { |
| bitField0_ |= 0x00000400; |
| userAgent_ = other.userAgent_; |
| onChanged(); |
| } |
| if (other.hasJavaEnabled()) { |
| setJavaEnabled(other.getJavaEnabled()); |
| } |
| if (other.hasTaintEnabled()) { |
| setTaintEnabled(other.getTaintEnabled()); |
| } |
| if (!other.pluginName_.isEmpty()) { |
| if (pluginName_.isEmpty()) { |
| pluginName_ = other.pluginName_; |
| bitField0_ = (bitField0_ & ~0x00002000); |
| } else { |
| ensurePluginNameIsMutable(); |
| pluginName_.addAll(other.pluginName_); |
| } |
| onChanged(); |
| } |
| if (pluginBuilder_ == null) { |
| if (!other.plugin_.isEmpty()) { |
| if (plugin_.isEmpty()) { |
| plugin_ = other.plugin_; |
| bitField0_ = (bitField0_ & ~0x00004000); |
| } else { |
| ensurePluginIsMutable(); |
| plugin_.addAll(other.plugin_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.plugin_.isEmpty()) { |
| if (pluginBuilder_.isEmpty()) { |
| pluginBuilder_.dispose(); |
| pluginBuilder_ = null; |
| plugin_ = other.plugin_; |
| bitField0_ = (bitField0_ & ~0x00004000); |
| pluginBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getPluginFieldBuilder() : null; |
| } else { |
| pluginBuilder_.addAllMessages(other.plugin_); |
| } |
| } |
| } |
| this.mergeUnknownFields(other.getUnknownFields()); |
| return this; |
| } |
| |
| public final boolean isInitialized() { |
| for (int i = 0; i < getPluginCount(); i++) { |
| if (!getPlugin(i).isInitialized()) { |
| |
| return false; |
| } |
| } |
| return true; |
| } |
| |
| public Builder mergeFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| userfeedback.Dom.Navigator parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (userfeedback.Dom.Navigator) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional string app_code_name = 1; |
| private java.lang.Object appCodeName_ = ""; |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public boolean hasAppCodeName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public java.lang.String getAppCodeName() { |
| java.lang.Object ref = appCodeName_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| appCodeName_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppCodeNameBytes() { |
| java.lang.Object ref = appCodeName_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appCodeName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public Builder setAppCodeName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| appCodeName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public Builder clearAppCodeName() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| appCodeName_ = getDefaultInstance().getAppCodeName(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_code_name = 1;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appCodeName' property. |
| * </pre> |
| */ |
| public Builder setAppCodeNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| appCodeName_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string app_name = 2; |
| private java.lang.Object appName_ = ""; |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public boolean hasAppName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public java.lang.String getAppName() { |
| java.lang.Object ref = appName_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| appName_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppNameBytes() { |
| java.lang.Object ref = appName_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public Builder setAppName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| appName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public Builder clearAppName() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| appName_ = getDefaultInstance().getAppName(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_name = 2;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appName' property. |
| * </pre> |
| */ |
| public Builder setAppNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| appName_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string app_version = 3; |
| private java.lang.Object appVersion_ = ""; |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public boolean hasAppVersion() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public java.lang.String getAppVersion() { |
| java.lang.Object ref = appVersion_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| appVersion_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppVersionBytes() { |
| java.lang.Object ref = appVersion_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appVersion_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public Builder setAppVersion( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| appVersion_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public Builder clearAppVersion() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| appVersion_ = getDefaultInstance().getAppVersion(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_version = 3;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appVersion' property. |
| * </pre> |
| */ |
| public Builder setAppVersionBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| appVersion_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string app_minor_version = 4; |
| private java.lang.Object appMinorVersion_ = ""; |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public boolean hasAppMinorVersion() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public java.lang.String getAppMinorVersion() { |
| java.lang.Object ref = appMinorVersion_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| appMinorVersion_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAppMinorVersionBytes() { |
| java.lang.Object ref = appMinorVersion_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| appMinorVersion_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public Builder setAppMinorVersion( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000008; |
| appMinorVersion_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public Builder clearAppMinorVersion() { |
| bitField0_ = (bitField0_ & ~0x00000008); |
| appMinorVersion_ = getDefaultInstance().getAppMinorVersion(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string app_minor_version = 4;</code> |
| * |
| * <pre> |
| * The value of 'navigator.appMinorVersion' property. |
| * </pre> |
| */ |
| public Builder setAppMinorVersionBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000008; |
| appMinorVersion_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional bool cookie_enabled = 5; |
| private boolean cookieEnabled_ ; |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| public boolean hasCookieEnabled() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| public boolean getCookieEnabled() { |
| return cookieEnabled_; |
| } |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| public Builder setCookieEnabled(boolean value) { |
| bitField0_ |= 0x00000010; |
| cookieEnabled_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bool cookie_enabled = 5;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cookieEnabled' property. |
| * </pre> |
| */ |
| public Builder clearCookieEnabled() { |
| bitField0_ = (bitField0_ & ~0x00000010); |
| cookieEnabled_ = false; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string cpu_class = 6; |
| private java.lang.Object cpuClass_ = ""; |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public boolean hasCpuClass() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public java.lang.String getCpuClass() { |
| java.lang.Object ref = cpuClass_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| cpuClass_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getCpuClassBytes() { |
| java.lang.Object ref = cpuClass_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| cpuClass_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public Builder setCpuClass( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000020; |
| cpuClass_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public Builder clearCpuClass() { |
| bitField0_ = (bitField0_ & ~0x00000020); |
| cpuClass_ = getDefaultInstance().getCpuClass(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string cpu_class = 6;</code> |
| * |
| * <pre> |
| * The value of 'navigator.cpuClass' property. |
| * </pre> |
| */ |
| public Builder setCpuClassBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000020; |
| cpuClass_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional bool on_line = 7; |
| private boolean onLine_ ; |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| public boolean hasOnLine() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| public boolean getOnLine() { |
| return onLine_; |
| } |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| public Builder setOnLine(boolean value) { |
| bitField0_ |= 0x00000040; |
| onLine_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bool on_line = 7;</code> |
| * |
| * <pre> |
| * The value of 'navigator.onLine' property. |
| * </pre> |
| */ |
| public Builder clearOnLine() { |
| bitField0_ = (bitField0_ & ~0x00000040); |
| onLine_ = false; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string platform = 8; |
| private java.lang.Object platform_ = ""; |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public boolean hasPlatform() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public java.lang.String getPlatform() { |
| java.lang.Object ref = platform_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| platform_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getPlatformBytes() { |
| java.lang.Object ref = platform_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| platform_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public Builder setPlatform( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000080; |
| platform_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public Builder clearPlatform() { |
| bitField0_ = (bitField0_ & ~0x00000080); |
| platform_ = getDefaultInstance().getPlatform(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string platform = 8;</code> |
| * |
| * <pre> |
| * The value of 'navigator.platform' property. |
| * </pre> |
| */ |
| public Builder setPlatformBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000080; |
| platform_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string browser_language = 9; |
| private java.lang.Object browserLanguage_ = ""; |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public boolean hasBrowserLanguage() { |
| return ((bitField0_ & 0x00000100) == 0x00000100); |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public java.lang.String getBrowserLanguage() { |
| java.lang.Object ref = browserLanguage_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| browserLanguage_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getBrowserLanguageBytes() { |
| java.lang.Object ref = browserLanguage_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| browserLanguage_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public Builder setBrowserLanguage( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000100; |
| browserLanguage_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public Builder clearBrowserLanguage() { |
| bitField0_ = (bitField0_ & ~0x00000100); |
| browserLanguage_ = getDefaultInstance().getBrowserLanguage(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string browser_language = 9;</code> |
| * |
| * <pre> |
| * The value of 'navigator.browserLanguage' property. |
| * </pre> |
| */ |
| public Builder setBrowserLanguageBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000100; |
| browserLanguage_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string system_language = 10; |
| private java.lang.Object systemLanguage_ = ""; |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public boolean hasSystemLanguage() { |
| return ((bitField0_ & 0x00000200) == 0x00000200); |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public java.lang.String getSystemLanguage() { |
| java.lang.Object ref = systemLanguage_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| systemLanguage_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getSystemLanguageBytes() { |
| java.lang.Object ref = systemLanguage_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| systemLanguage_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public Builder setSystemLanguage( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000200; |
| systemLanguage_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public Builder clearSystemLanguage() { |
| bitField0_ = (bitField0_ & ~0x00000200); |
| systemLanguage_ = getDefaultInstance().getSystemLanguage(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string system_language = 10;</code> |
| * |
| * <pre> |
| * The value of 'navigator.systemLanguage' property. |
| * </pre> |
| */ |
| public Builder setSystemLanguageBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000200; |
| systemLanguage_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string user_agent = 11; |
| private java.lang.Object userAgent_ = ""; |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public boolean hasUserAgent() { |
| return ((bitField0_ & 0x00000400) == 0x00000400); |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public java.lang.String getUserAgent() { |
| java.lang.Object ref = userAgent_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| userAgent_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getUserAgentBytes() { |
| java.lang.Object ref = userAgent_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| userAgent_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public Builder setUserAgent( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000400; |
| userAgent_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public Builder clearUserAgent() { |
| bitField0_ = (bitField0_ & ~0x00000400); |
| userAgent_ = getDefaultInstance().getUserAgent(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string user_agent = 11;</code> |
| * |
| * <pre> |
| * The value of 'navigator.userAgent' property. |
| * </pre> |
| */ |
| public Builder setUserAgentBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000400; |
| userAgent_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional bool java_enabled = 12; |
| private boolean javaEnabled_ ; |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| public boolean hasJavaEnabled() { |
| return ((bitField0_ & 0x00000800) == 0x00000800); |
| } |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| public boolean getJavaEnabled() { |
| return javaEnabled_; |
| } |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| public Builder setJavaEnabled(boolean value) { |
| bitField0_ |= 0x00000800; |
| javaEnabled_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bool java_enabled = 12;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.javaEnabled()' method. |
| * </pre> |
| */ |
| public Builder clearJavaEnabled() { |
| bitField0_ = (bitField0_ & ~0x00000800); |
| javaEnabled_ = false; |
| onChanged(); |
| return this; |
| } |
| |
| // optional bool taint_enabled = 13; |
| private boolean taintEnabled_ ; |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| public boolean hasTaintEnabled() { |
| return ((bitField0_ & 0x00001000) == 0x00001000); |
| } |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| public boolean getTaintEnabled() { |
| return taintEnabled_; |
| } |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| public Builder setTaintEnabled(boolean value) { |
| bitField0_ |= 0x00001000; |
| taintEnabled_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bool taint_enabled = 13;</code> |
| * |
| * <pre> |
| * The return value of 'navigator.taintEnabled()' method. |
| * </pre> |
| */ |
| public Builder clearTaintEnabled() { |
| bitField0_ = (bitField0_ & ~0x00001000); |
| taintEnabled_ = false; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated string plugin_name = 14; |
| private com.google.protobuf.LazyStringList pluginName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| private void ensurePluginNameIsMutable() { |
| if (!((bitField0_ & 0x00002000) == 0x00002000)) { |
| pluginName_ = new com.google.protobuf.LazyStringArrayList(pluginName_); |
| bitField0_ |= 0x00002000; |
| } |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public java.util.List<java.lang.String> |
| getPluginNameList() { |
| return java.util.Collections.unmodifiableList(pluginName_); |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public int getPluginNameCount() { |
| return pluginName_.size(); |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public java.lang.String getPluginName(int index) { |
| return pluginName_.get(index); |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getPluginNameBytes(int index) { |
| return pluginName_.getByteString(index); |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public Builder setPluginName( |
| int index, java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePluginNameIsMutable(); |
| pluginName_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public Builder addPluginName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePluginNameIsMutable(); |
| pluginName_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public Builder addAllPluginName( |
| java.lang.Iterable<java.lang.String> values) { |
| ensurePluginNameIsMutable(); |
| super.addAll(values, pluginName_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public Builder clearPluginName() { |
| pluginName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00002000); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string plugin_name = 14;</code> |
| * |
| * <pre> |
| * Plugin names specified by 'navigator.plugins' property. |
| * This is deprecated. Should move to plugin field. |
| * </pre> |
| */ |
| public Builder addPluginNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePluginNameIsMutable(); |
| pluginName_.add(value); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .userfeedback.Plugin plugin = 15; |
| private java.util.List<userfeedback.Dom.Plugin> plugin_ = |
| java.util.Collections.emptyList(); |
| private void ensurePluginIsMutable() { |
| if (!((bitField0_ & 0x00004000) == 0x00004000)) { |
| plugin_ = new java.util.ArrayList<userfeedback.Dom.Plugin>(plugin_); |
| bitField0_ |= 0x00004000; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| userfeedback.Dom.Plugin, userfeedback.Dom.Plugin.Builder, userfeedback.Dom.PluginOrBuilder> pluginBuilder_; |
| |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public java.util.List<userfeedback.Dom.Plugin> getPluginList() { |
| if (pluginBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(plugin_); |
| } else { |
| return pluginBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public int getPluginCount() { |
| if (pluginBuilder_ == null) { |
| return plugin_.size(); |
| } else { |
| return pluginBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.Plugin getPlugin(int index) { |
| if (pluginBuilder_ == null) { |
| return plugin_.get(index); |
| } else { |
| return pluginBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder setPlugin( |
| int index, userfeedback.Dom.Plugin value) { |
| if (pluginBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePluginIsMutable(); |
| plugin_.set(index, value); |
| onChanged(); |
| } else { |
| pluginBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder setPlugin( |
| int index, userfeedback.Dom.Plugin.Builder builderForValue) { |
| if (pluginBuilder_ == null) { |
| ensurePluginIsMutable(); |
| plugin_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| pluginBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder addPlugin(userfeedback.Dom.Plugin value) { |
| if (pluginBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePluginIsMutable(); |
| plugin_.add(value); |
| onChanged(); |
| } else { |
| pluginBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder addPlugin( |
| int index, userfeedback.Dom.Plugin value) { |
| if (pluginBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePluginIsMutable(); |
| plugin_.add(index, value); |
| onChanged(); |
| } else { |
| pluginBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder addPlugin( |
| userfeedback.Dom.Plugin.Builder builderForValue) { |
| if (pluginBuilder_ == null) { |
| ensurePluginIsMutable(); |
| plugin_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| pluginBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder addPlugin( |
| int index, userfeedback.Dom.Plugin.Builder builderForValue) { |
| if (pluginBuilder_ == null) { |
| ensurePluginIsMutable(); |
| plugin_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| pluginBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder addAllPlugin( |
| java.lang.Iterable<? extends userfeedback.Dom.Plugin> values) { |
| if (pluginBuilder_ == null) { |
| ensurePluginIsMutable(); |
| super.addAll(values, plugin_); |
| onChanged(); |
| } else { |
| pluginBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder clearPlugin() { |
| if (pluginBuilder_ == null) { |
| plugin_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00004000); |
| onChanged(); |
| } else { |
| pluginBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public Builder removePlugin(int index) { |
| if (pluginBuilder_ == null) { |
| ensurePluginIsMutable(); |
| plugin_.remove(index); |
| onChanged(); |
| } else { |
| pluginBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.Plugin.Builder getPluginBuilder( |
| int index) { |
| return getPluginFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.PluginOrBuilder getPluginOrBuilder( |
| int index) { |
| if (pluginBuilder_ == null) { |
| return plugin_.get(index); } else { |
| return pluginBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public java.util.List<? extends userfeedback.Dom.PluginOrBuilder> |
| getPluginOrBuilderList() { |
| if (pluginBuilder_ != null) { |
| return pluginBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(plugin_); |
| } |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.Plugin.Builder addPluginBuilder() { |
| return getPluginFieldBuilder().addBuilder( |
| userfeedback.Dom.Plugin.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public userfeedback.Dom.Plugin.Builder addPluginBuilder( |
| int index) { |
| return getPluginFieldBuilder().addBuilder( |
| index, userfeedback.Dom.Plugin.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .userfeedback.Plugin plugin = 15;</code> |
| * |
| * <pre> |
| * Full plugin values as specified by 'navigator.plugins' property |
| * </pre> |
| */ |
| public java.util.List<userfeedback.Dom.Plugin.Builder> |
| getPluginBuilderList() { |
| return getPluginFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| userfeedback.Dom.Plugin, userfeedback.Dom.Plugin.Builder, userfeedback.Dom.PluginOrBuilder> |
| getPluginFieldBuilder() { |
| if (pluginBuilder_ == null) { |
| pluginBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| userfeedback.Dom.Plugin, userfeedback.Dom.Plugin.Builder, userfeedback.Dom.PluginOrBuilder>( |
| plugin_, |
| ((bitField0_ & 0x00004000) == 0x00004000), |
| getParentForChildren(), |
| isClean()); |
| plugin_ = null; |
| } |
| return pluginBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:userfeedback.Navigator) |
| } |
| |
| static { |
| defaultInstance = new Navigator(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:userfeedback.Navigator) |
| } |
| |
| public interface PluginOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // required string name = 1; |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| boolean hasName(); |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| java.lang.String getName(); |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getNameBytes(); |
| |
| // optional string description = 2; |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| boolean hasDescription(); |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| java.lang.String getDescription(); |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getDescriptionBytes(); |
| |
| // optional string filename = 3; |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| boolean hasFilename(); |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| java.lang.String getFilename(); |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getFilenameBytes(); |
| } |
| /** |
| * Protobuf type {@code userfeedback.Plugin} |
| * |
| * <pre> |
| * A fully defined plugin |
| * </pre> |
| */ |
| public static final class Plugin extends |
| com.google.protobuf.GeneratedMessage |
| implements PluginOrBuilder { |
| // Use Plugin.newBuilder() to construct. |
| private Plugin(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private Plugin(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final Plugin defaultInstance; |
| public static Plugin getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public Plugin getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private Plugin( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 10: { |
| bitField0_ |= 0x00000001; |
| name_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| description_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| bitField0_ |= 0x00000004; |
| filename_ = input.readBytes(); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_Plugin_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_Plugin_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.Plugin.class, userfeedback.Dom.Plugin.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<Plugin> PARSER = |
| new com.google.protobuf.AbstractParser<Plugin>() { |
| public Plugin parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new Plugin(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<Plugin> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // required string name = 1; |
| public static final int NAME_FIELD_NUMBER = 1; |
| private java.lang.Object name_; |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public java.lang.String getName() { |
| java.lang.Object ref = name_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| name_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getNameBytes() { |
| java.lang.Object ref = name_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| name_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string description = 2; |
| public static final int DESCRIPTION_FIELD_NUMBER = 2; |
| private java.lang.Object description_; |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public boolean hasDescription() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public java.lang.String getDescription() { |
| java.lang.Object ref = description_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| description_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getDescriptionBytes() { |
| java.lang.Object ref = description_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| description_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // optional string filename = 3; |
| public static final int FILENAME_FIELD_NUMBER = 3; |
| private java.lang.Object filename_; |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public boolean hasFilename() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public java.lang.String getFilename() { |
| java.lang.Object ref = filename_; |
| if (ref instanceof java.lang.String) { |
| return (java.lang.String) ref; |
| } else { |
| com.google.protobuf.ByteString bs = |
| (com.google.protobuf.ByteString) ref; |
| java.lang.String s = bs.toStringUtf8(); |
| if (bs.isValidUtf8()) { |
| filename_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getFilenameBytes() { |
| java.lang.Object ref = filename_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| filename_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| private void initFields() { |
| name_ = ""; |
| description_ = ""; |
| filename_ = ""; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| if (!hasName()) { |
| memoizedIsInitialized = 0; |
| return false; |
| } |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, getNameBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, getDescriptionBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(3, getFilenameBytes()); |
| } |
| getUnknownFields().writeTo(output); |
| } |
| |
| private int memoizedSerializedSize = -1; |
| public int getSerializedSize() { |
| int size = memoizedSerializedSize; |
| if (size != -1) return size; |
| |
| size = 0; |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(1, getNameBytes()); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, getDescriptionBytes()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(3, getFilenameBytes()); |
| } |
| 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 userfeedback.Dom.Plugin parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.Plugin parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.Plugin parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.Plugin parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.Plugin parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.Plugin parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.Plugin parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static userfeedback.Dom.Plugin parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.Plugin parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.Plugin parseFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| |
| public static Builder newBuilder() { return Builder.create(); } |
| public Builder newBuilderForType() { return newBuilder(); } |
| public static Builder newBuilder(userfeedback.Dom.Plugin 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; |
| } |
| /** |
| * Protobuf type {@code userfeedback.Plugin} |
| * |
| * <pre> |
| * A fully defined plugin |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements userfeedback.Dom.PluginOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_Plugin_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_Plugin_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.Plugin.class, userfeedback.Dom.Plugin.Builder.class); |
| } |
| |
| // Construct using userfeedback.Dom.Plugin.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| name_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| description_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| filename_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return userfeedback.Dom.internal_static_userfeedback_Plugin_descriptor; |
| } |
| |
| public userfeedback.Dom.Plugin getDefaultInstanceForType() { |
| return userfeedback.Dom.Plugin.getDefaultInstance(); |
| } |
| |
| public userfeedback.Dom.Plugin build() { |
| userfeedback.Dom.Plugin result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public userfeedback.Dom.Plugin buildPartial() { |
| userfeedback.Dom.Plugin result = new userfeedback.Dom.Plugin(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.name_ = name_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.description_ = description_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.filename_ = filename_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof userfeedback.Dom.Plugin) { |
| return mergeFrom((userfeedback.Dom.Plugin)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(userfeedback.Dom.Plugin other) { |
| if (other == userfeedback.Dom.Plugin.getDefaultInstance()) return this; |
| if (other.hasName()) { |
| bitField0_ |= 0x00000001; |
| name_ = other.name_; |
| onChanged(); |
| } |
| if (other.hasDescription()) { |
| bitField0_ |= 0x00000002; |
| description_ = other.description_; |
| onChanged(); |
| } |
| if (other.hasFilename()) { |
| bitField0_ |= 0x00000004; |
| filename_ = other.filename_; |
| onChanged(); |
| } |
| this.mergeUnknownFields(other.getUnknownFields()); |
| return this; |
| } |
| |
| public final boolean isInitialized() { |
| if (!hasName()) { |
| |
| return false; |
| } |
| return true; |
| } |
| |
| public Builder mergeFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| userfeedback.Dom.Plugin parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (userfeedback.Dom.Plugin) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // required string name = 1; |
| private java.lang.Object name_ = ""; |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public java.lang.String getName() { |
| java.lang.Object ref = name_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| name_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getNameBytes() { |
| java.lang.Object ref = name_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| name_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public Builder setName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public Builder clearName() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| name_ = getDefaultInstance().getName(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>required string name = 1;</code> |
| * |
| * <pre> |
| * The name of the plugin. |
| * </pre> |
| */ |
| public Builder setNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string description = 2; |
| private java.lang.Object description_ = ""; |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public boolean hasDescription() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public java.lang.String getDescription() { |
| java.lang.Object ref = description_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| description_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getDescriptionBytes() { |
| java.lang.Object ref = description_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| description_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public Builder setDescription( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| description_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public Builder clearDescription() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| description_ = getDefaultInstance().getDescription(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string description = 2;</code> |
| * |
| * <pre> |
| * The plugin description. |
| * </pre> |
| */ |
| public Builder setDescriptionBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| description_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // optional string filename = 3; |
| private java.lang.Object filename_ = ""; |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public boolean hasFilename() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public java.lang.String getFilename() { |
| java.lang.Object ref = filename_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| filename_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getFilenameBytes() { |
| java.lang.Object ref = filename_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| filename_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public Builder setFilename( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| filename_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public Builder clearFilename() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| filename_ = getDefaultInstance().getFilename(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string filename = 3;</code> |
| * |
| * <pre> |
| * The filename associated with the plugin. |
| * </pre> |
| */ |
| public Builder setFilenameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| filename_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:userfeedback.Plugin) |
| } |
| |
| static { |
| defaultInstance = new Plugin(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:userfeedback.Plugin) |
| } |
| |
| public interface HtmlPathOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // repeated int32 index = 1; |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| java.util.List<java.lang.Integer> getIndexList(); |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| int getIndexCount(); |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| int getIndex(int index); |
| } |
| /** |
| * Protobuf type {@code userfeedback.HtmlPath} |
| * |
| * <pre> |
| * A path in the HTML document between two elements, which are in the |
| * ancestor-descendant relationship. |
| * </pre> |
| */ |
| public static final class HtmlPath extends |
| com.google.protobuf.GeneratedMessage |
| implements HtmlPathOrBuilder { |
| // Use HtmlPath.newBuilder() to construct. |
| private HtmlPath(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private HtmlPath(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final HtmlPath defaultInstance; |
| public static HtmlPath getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public HtmlPath getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private HtmlPath( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 8: { |
| if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| index_ = new java.util.ArrayList<java.lang.Integer>(); |
| mutable_bitField0_ |= 0x00000001; |
| } |
| index_.add(input.readInt32()); |
| break; |
| } |
| case 10: { |
| int length = input.readRawVarint32(); |
| int limit = input.pushLimit(length); |
| if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { |
| index_ = new java.util.ArrayList<java.lang.Integer>(); |
| mutable_bitField0_ |= 0x00000001; |
| } |
| while (input.getBytesUntilLimit() > 0) { |
| index_.add(input.readInt32()); |
| } |
| input.popLimit(limit); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| index_ = java.util.Collections.unmodifiableList(index_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlPath_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlPath_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.HtmlPath.class, userfeedback.Dom.HtmlPath.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<HtmlPath> PARSER = |
| new com.google.protobuf.AbstractParser<HtmlPath>() { |
| public HtmlPath parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new HtmlPath(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<HtmlPath> getParserForType() { |
| return PARSER; |
| } |
| |
| // repeated int32 index = 1; |
| public static final int INDEX_FIELD_NUMBER = 1; |
| private java.util.List<java.lang.Integer> index_; |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public java.util.List<java.lang.Integer> |
| getIndexList() { |
| return index_; |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public int getIndexCount() { |
| return index_.size(); |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public int getIndex(int index) { |
| return index_.get(index); |
| } |
| |
| private void initFields() { |
| index_ = java.util.Collections.emptyList(); |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| for (int i = 0; i < index_.size(); i++) { |
| output.writeInt32(1, index_.get(i)); |
| } |
| getUnknownFields().writeTo(output); |
| } |
| |
| private int memoizedSerializedSize = -1; |
| public int getSerializedSize() { |
| int size = memoizedSerializedSize; |
| if (size != -1) return size; |
| |
| size = 0; |
| { |
| int dataSize = 0; |
| for (int i = 0; i < index_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeInt32SizeNoTag(index_.get(i)); |
| } |
| size += dataSize; |
| size += 1 * getIndexList().size(); |
| } |
| size += getUnknownFields().getSerializedSize(); |
| memoizedSerializedSize = size; |
| return size; |
| } |
| |
| private static final long serialVersionUID = 0L; |
| @java.lang.Override |
| protected java.lang.Object writeReplace() |
| throws java.io.ObjectStreamException { |
| return super.writeReplace(); |
| } |
| |
| public static userfeedback.Dom.HtmlPath parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlPath parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static userfeedback.Dom.HtmlPath parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static userfeedback.Dom.HtmlPath parseFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| |
| public static Builder newBuilder() { return Builder.create(); } |
| public Builder newBuilderForType() { return newBuilder(); } |
| public static Builder newBuilder(userfeedback.Dom.HtmlPath 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; |
| } |
| /** |
| * Protobuf type {@code userfeedback.HtmlPath} |
| * |
| * <pre> |
| * A path in the HTML document between two elements, which are in the |
| * ancestor-descendant relationship. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements userfeedback.Dom.HtmlPathOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlPath_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlPath_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| userfeedback.Dom.HtmlPath.class, userfeedback.Dom.HtmlPath.Builder.class); |
| } |
| |
| // Construct using userfeedback.Dom.HtmlPath.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.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(); |
| index_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000001); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return userfeedback.Dom.internal_static_userfeedback_HtmlPath_descriptor; |
| } |
| |
| public userfeedback.Dom.HtmlPath getDefaultInstanceForType() { |
| return userfeedback.Dom.HtmlPath.getDefaultInstance(); |
| } |
| |
| public userfeedback.Dom.HtmlPath build() { |
| userfeedback.Dom.HtmlPath result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public userfeedback.Dom.HtmlPath buildPartial() { |
| userfeedback.Dom.HtmlPath result = new userfeedback.Dom.HtmlPath(this); |
| int from_bitField0_ = bitField0_; |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| index_ = java.util.Collections.unmodifiableList(index_); |
| bitField0_ = (bitField0_ & ~0x00000001); |
| } |
| result.index_ = index_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof userfeedback.Dom.HtmlPath) { |
| return mergeFrom((userfeedback.Dom.HtmlPath)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(userfeedback.Dom.HtmlPath other) { |
| if (other == userfeedback.Dom.HtmlPath.getDefaultInstance()) return this; |
| if (!other.index_.isEmpty()) { |
| if (index_.isEmpty()) { |
| index_ = other.index_; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| } else { |
| ensureIndexIsMutable(); |
| index_.addAll(other.index_); |
| } |
| onChanged(); |
| } |
| this.mergeUnknownFields(other.getUnknownFields()); |
| return this; |
| } |
| |
| public final boolean isInitialized() { |
| return true; |
| } |
| |
| public Builder mergeFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| userfeedback.Dom.HtmlPath parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (userfeedback.Dom.HtmlPath) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // repeated int32 index = 1; |
| private java.util.List<java.lang.Integer> index_ = java.util.Collections.emptyList(); |
| private void ensureIndexIsMutable() { |
| if (!((bitField0_ & 0x00000001) == 0x00000001)) { |
| index_ = new java.util.ArrayList<java.lang.Integer>(index_); |
| bitField0_ |= 0x00000001; |
| } |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public java.util.List<java.lang.Integer> |
| getIndexList() { |
| return java.util.Collections.unmodifiableList(index_); |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public int getIndexCount() { |
| return index_.size(); |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public int getIndex(int index) { |
| return index_.get(index); |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public Builder setIndex( |
| int index, int value) { |
| ensureIndexIsMutable(); |
| index_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public Builder addIndex(int value) { |
| ensureIndexIsMutable(); |
| index_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public Builder addAllIndex( |
| java.lang.Iterable<? extends java.lang.Integer> values) { |
| ensureIndexIsMutable(); |
| super.addAll(values, index_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int32 index = 1;</code> |
| * |
| * <pre> |
| * Ordered list of zero-based indices. |
| * Empty path selects root element. |
| * Non-negative index N selects (N+1)-th child. |
| * Index -1 selects root element from frame content document. |
| * </pre> |
| */ |
| public Builder clearIndex() { |
| index_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000001); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:userfeedback.HtmlPath) |
| } |
| |
| static { |
| defaultInstance = new HtmlPath(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:userfeedback.HtmlPath) |
| } |
| |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_userfeedback_HtmlDocument_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_userfeedback_HtmlDocument_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_userfeedback_HtmlElement_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_userfeedback_HtmlElement_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_userfeedback_Navigator_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_userfeedback_Navigator_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_userfeedback_Plugin_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_userfeedback_Plugin_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_userfeedback_HtmlPath_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_userfeedback_HtmlPath_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\034userfeedback/proto/dom.proto\022\014userfeed" + |
| "back\"c\n\014HtmlDocument\022\013\n\003url\030\001 \002(\t\022\021\n\005tit" + |
| "le\030\002 \001(\tB\002\030\001\0223\n\020document_element\030\003 \001(\0132\031" + |
| ".userfeedback.HtmlElement\"\255\001\n\013HtmlElemen" + |
| "t\022\020\n\010tag_name\030\001 \002(\t\022\n\n\002id\030\002 \001(\t\022\022\n\nclass" + |
| "_name\030\003 \001(\t\0220\n\rchild_element\030\004 \003(\0132\031.use" + |
| "rfeedback.HtmlElement\022:\n\026frame_content_d" + |
| "ocument\030\005 \001(\0132\032.userfeedback.HtmlDocumen" + |
| "t\"\341\002\n\tNavigator\022\025\n\rapp_code_name\030\001 \001(\t\022\020" + |
| "\n\010app_name\030\002 \001(\t\022\023\n\013app_version\030\003 \001(\t\022\031\n", |
| "\021app_minor_version\030\004 \001(\t\022\026\n\016cookie_enabl" + |
| "ed\030\005 \001(\010\022\021\n\tcpu_class\030\006 \001(\t\022\017\n\007on_line\030\007" + |
| " \001(\010\022\020\n\010platform\030\010 \001(\t\022\030\n\020browser_langua" + |
| "ge\030\t \001(\t\022\027\n\017system_language\030\n \001(\t\022\022\n\nuse" + |
| "r_agent\030\013 \001(\t\022\024\n\014java_enabled\030\014 \001(\010\022\025\n\rt" + |
| "aint_enabled\030\r \001(\010\022\023\n\013plugin_name\030\016 \003(\t\022" + |
| "$\n\006plugin\030\017 \003(\0132\024.userfeedback.Plugin\"=\n" + |
| "\006Plugin\022\014\n\004name\030\001 \002(\t\022\023\n\013description\030\002 \001" + |
| "(\t\022\020\n\010filename\030\003 \001(\t\"\031\n\010HtmlPath\022\r\n\005inde" + |
| "x\030\001 \003(\005" |
| }; |
| 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_userfeedback_HtmlDocument_descriptor = |
| getDescriptor().getMessageTypes().get(0); |
| internal_static_userfeedback_HtmlDocument_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_userfeedback_HtmlDocument_descriptor, |
| new java.lang.String[] { "Url", "Title", "DocumentElement", }); |
| internal_static_userfeedback_HtmlElement_descriptor = |
| getDescriptor().getMessageTypes().get(1); |
| internal_static_userfeedback_HtmlElement_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_userfeedback_HtmlElement_descriptor, |
| new java.lang.String[] { "TagName", "Id", "ClassName", "ChildElement", "FrameContentDocument", }); |
| internal_static_userfeedback_Navigator_descriptor = |
| getDescriptor().getMessageTypes().get(2); |
| internal_static_userfeedback_Navigator_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_userfeedback_Navigator_descriptor, |
| new java.lang.String[] { "AppCodeName", "AppName", "AppVersion", "AppMinorVersion", "CookieEnabled", "CpuClass", "OnLine", "Platform", "BrowserLanguage", "SystemLanguage", "UserAgent", "JavaEnabled", "TaintEnabled", "PluginName", "Plugin", }); |
| internal_static_userfeedback_Plugin_descriptor = |
| getDescriptor().getMessageTypes().get(3); |
| internal_static_userfeedback_Plugin_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_userfeedback_Plugin_descriptor, |
| new java.lang.String[] { "Name", "Description", "Filename", }); |
| internal_static_userfeedback_HtmlPath_descriptor = |
| getDescriptor().getMessageTypes().get(4); |
| internal_static_userfeedback_HtmlPath_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_userfeedback_HtmlPath_descriptor, |
| new java.lang.String[] { "Index", }); |
| return null; |
| } |
| }; |
| com.google.protobuf.Descriptors.FileDescriptor |
| .internalBuildGeneratedFileFrom(descriptorData, |
| new com.google.protobuf.Descriptors.FileDescriptor[] { |
| }, assigner); |
| } |
| |
| // @@protoc_insertion_point(outer_class_scope) |
| } |