blob: 6d8301d34acf264b48b373ede3e36c5902e5748e [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: userfeedback/proto/common.proto
package userfeedback;
public final class Common {
private Common() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CommonDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional fixed64 gaia_id = 1;
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
boolean hasGaiaId();
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
long getGaiaId();
// optional string description = 2;
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </pre>
*/
boolean hasDescription();
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </pre>
*/
java.lang.String getDescription();
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </pre>
*/
com.google.protobuf.ByteString
getDescriptionBytes();
// optional string description_translated = 4;
/**
* <code>optional string description_translated = 4;</code>
*/
boolean hasDescriptionTranslated();
/**
* <code>optional string description_translated = 4;</code>
*/
java.lang.String getDescriptionTranslated();
/**
* <code>optional string description_translated = 4;</code>
*/
com.google.protobuf.ByteString
getDescriptionTranslatedBytes();
// optional int32 spelling_error_count = 17 [default = -1];
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
boolean hasSpellingErrorCount();
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
int getSpellingErrorCount();
// optional string source_description_language = 5 [default = "en"];
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
boolean hasSourceDescriptionLanguage();
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
java.lang.String getSourceDescriptionLanguage();
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
com.google.protobuf.ByteString
getSourceDescriptionLanguageBytes();
// optional string ui_language = 6 [default = "en_US"];
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
boolean hasUiLanguage();
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
java.lang.String getUiLanguage();
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
com.google.protobuf.ByteString
getUiLanguageBytes();
// optional string user_email = 3;
/**
* <code>optional string user_email = 3;</code>
*/
boolean hasUserEmail();
/**
* <code>optional string user_email = 3;</code>
*/
java.lang.String getUserEmail();
/**
* <code>optional string user_email = 3;</code>
*/
com.google.protobuf.ByteString
getUserEmailBytes();
// optional string unique_report_identifier = 7;
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
boolean hasUniqueReportIdentifier();
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
java.lang.String getUniqueReportIdentifier();
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
com.google.protobuf.ByteString
getUniqueReportIdentifierBytes();
// repeated string product_specific_binary_data_name = 8;
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
java.util.List<java.lang.String>
getProductSpecificBinaryDataNameList();
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
int getProductSpecificBinaryDataNameCount();
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
java.lang.String getProductSpecificBinaryDataName(int index);
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
com.google.protobuf.ByteString
getProductSpecificBinaryDataNameBytes(int index);
// repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
java.util.List<userfeedback.Common.ProductSpecificBinaryData>
getProductSpecificBinaryDataList();
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
userfeedback.Common.ProductSpecificBinaryData getProductSpecificBinaryData(int index);
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
int getProductSpecificBinaryDataCount();
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
java.util.List<? extends userfeedback.Common.ProductSpecificBinaryDataOrBuilder>
getProductSpecificBinaryDataOrBuilderList();
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
userfeedback.Common.ProductSpecificBinaryDataOrBuilder getProductSpecificBinaryDataOrBuilder(
int index);
// optional string product_version = 10;
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
boolean hasProductVersion();
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
java.lang.String getProductVersion();
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
com.google.protobuf.ByteString
getProductVersionBytes();
// repeated .userfeedback.ProductSpecificData product_specific_data = 11;
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
java.util.List<userfeedback.Web.ProductSpecificData>
getProductSpecificDataList();
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
userfeedback.Web.ProductSpecificData getProductSpecificData(int index);
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
int getProductSpecificDataCount();
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
java.util.List<? extends userfeedback.Web.ProductSpecificDataOrBuilder>
getProductSpecificDataOrBuilderList();
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
userfeedback.Web.ProductSpecificDataOrBuilder getProductSpecificDataOrBuilder(
int index);
// optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated boolean hasObfuscatedGaiaId();
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated long getObfuscatedGaiaId();
// optional string obfuscated_gaia_type = 13;
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
boolean hasObfuscatedGaiaType();
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
java.lang.String getObfuscatedGaiaType();
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
com.google.protobuf.ByteString
getObfuscatedGaiaTypeBytes();
// optional string gaia_user_type = 14;
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
boolean hasGaiaUserType();
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
java.lang.String getGaiaUserType();
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
com.google.protobuf.ByteString
getGaiaUserTypeBytes();
// optional string product_specific_context = 15;
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
boolean hasProductSpecificContext();
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
java.lang.String getProductSpecificContext();
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
com.google.protobuf.ByteString
getProductSpecificContextBytes();
// optional string obfuscated_gaia_id_string = 16;
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
boolean hasObfuscatedGaiaIdString();
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
java.lang.String getObfuscatedGaiaIdString();
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
com.google.protobuf.ByteString
getObfuscatedGaiaIdStringBytes();
// repeated .userfeedback.ProductSpecificData additional_form_content = 19;
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
java.util.List<userfeedback.Web.ProductSpecificData>
getAdditionalFormContentList();
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
userfeedback.Web.ProductSpecificData getAdditionalFormContent(int index);
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
int getAdditionalFormContentCount();
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
java.util.List<? extends userfeedback.Web.ProductSpecificDataOrBuilder>
getAdditionalFormContentOrBuilderList();
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
userfeedback.Web.ProductSpecificDataOrBuilder getAdditionalFormContentOrBuilder(
int index);
// optional string help_flow_session_id = 20;
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
boolean hasHelpFlowSessionId();
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
java.lang.String getHelpFlowSessionId();
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
com.google.protobuf.ByteString
getHelpFlowSessionIdBytes();
// optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
boolean hasReportType();
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
userfeedback.Common.CommonData.ReportType getReportType();
// optional string country_code = 22;
/**
* <code>optional string country_code = 22;</code>
*/
boolean hasCountryCode();
/**
* <code>optional string country_code = 22;</code>
*/
java.lang.String getCountryCode();
/**
* <code>optional string country_code = 22;</code>
*/
com.google.protobuf.ByteString
getCountryCodeBytes();
}
/**
* Protobuf type {@code userfeedback.CommonData}
*
* <pre>
* Data present in all kinds of feedbacks, regardless of source (Web, Android,
* other).
* last used id: 22
* </pre>
*/
public static final class CommonData extends
com.google.protobuf.GeneratedMessage
implements CommonDataOrBuilder {
// Use CommonData.newBuilder() to construct.
private CommonData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CommonData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CommonData defaultInstance;
public static CommonData getDefaultInstance() {
return defaultInstance;
}
public CommonData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommonData(
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 9: {
bitField0_ |= 0x00000001;
gaiaId_ = input.readFixed64();
break;
}
case 18: {
bitField0_ |= 0x00000002;
description_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000040;
userEmail_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000004;
descriptionTranslated_ = input.readBytes();
break;
}
case 42: {
bitField0_ |= 0x00000010;
sourceDescriptionLanguage_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
uiLanguage_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000080;
uniqueReportIdentifier_ = input.readBytes();
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
productSpecificBinaryDataName_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000100;
}
productSpecificBinaryDataName_.add(input.readBytes());
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
productSpecificBinaryData_ = new java.util.ArrayList<userfeedback.Common.ProductSpecificBinaryData>();
mutable_bitField0_ |= 0x00000200;
}
productSpecificBinaryData_.add(input.readMessage(userfeedback.Common.ProductSpecificBinaryData.PARSER, extensionRegistry));
break;
}
case 82: {
bitField0_ |= 0x00000100;
productVersion_ = input.readBytes();
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
productSpecificData_ = new java.util.ArrayList<userfeedback.Web.ProductSpecificData>();
mutable_bitField0_ |= 0x00000800;
}
productSpecificData_.add(input.readMessage(userfeedback.Web.ProductSpecificData.PARSER, extensionRegistry));
break;
}
case 97: {
bitField0_ |= 0x00000200;
obfuscatedGaiaId_ = input.readFixed64();
break;
}
case 106: {
bitField0_ |= 0x00000400;
obfuscatedGaiaType_ = input.readBytes();
break;
}
case 114: {
bitField0_ |= 0x00000800;
gaiaUserType_ = input.readBytes();
break;
}
case 122: {
bitField0_ |= 0x00001000;
productSpecificContext_ = input.readBytes();
break;
}
case 130: {
bitField0_ |= 0x00002000;
obfuscatedGaiaIdString_ = input.readBytes();
break;
}
case 136: {
bitField0_ |= 0x00000008;
spellingErrorCount_ = input.readInt32();
break;
}
case 154: {
if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
additionalFormContent_ = new java.util.ArrayList<userfeedback.Web.ProductSpecificData>();
mutable_bitField0_ |= 0x00020000;
}
additionalFormContent_.add(input.readMessage(userfeedback.Web.ProductSpecificData.PARSER, extensionRegistry));
break;
}
case 162: {
bitField0_ |= 0x00004000;
helpFlowSessionId_ = input.readBytes();
break;
}
case 168: {
int rawValue = input.readEnum();
userfeedback.Common.CommonData.ReportType value = userfeedback.Common.CommonData.ReportType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(21, rawValue);
} else {
bitField0_ |= 0x00008000;
reportType_ = value;
}
break;
}
case 178: {
bitField0_ |= 0x00010000;
countryCode_ = 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 {
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
productSpecificBinaryDataName_ = new com.google.protobuf.UnmodifiableLazyStringList(productSpecificBinaryDataName_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
productSpecificBinaryData_ = java.util.Collections.unmodifiableList(productSpecificBinaryData_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
productSpecificData_ = java.util.Collections.unmodifiableList(productSpecificData_);
}
if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
additionalFormContent_ = java.util.Collections.unmodifiableList(additionalFormContent_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return userfeedback.Common.internal_static_userfeedback_CommonData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return userfeedback.Common.internal_static_userfeedback_CommonData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
userfeedback.Common.CommonData.class, userfeedback.Common.CommonData.Builder.class);
}
public static com.google.protobuf.Parser<CommonData> PARSER =
new com.google.protobuf.AbstractParser<CommonData>() {
public CommonData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommonData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<CommonData> getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code userfeedback.CommonData.ReportType}
*/
public enum ReportType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>WEB_FEEDBACK = 1;</code>
*/
WEB_FEEDBACK(0, 1),
/**
* <code>IE_TOOLBAR = 2;</code>
*/
IE_TOOLBAR(1, 2),
/**
* <code>CHROME = 3;</code>
*/
CHROME(2, 3),
/**
* <code>CHROME_OS = 4;</code>
*/
CHROME_OS(3, 4),
/**
* <code>ANDROID_CRASH_EXTERNAL = 5;</code>
*/
ANDROID_CRASH_EXTERNAL(4, 5),
/**
* <code>ANDROID_BATTERY_EXTERNAL = 6;</code>
*/
ANDROID_BATTERY_EXTERNAL(5, 6),
/**
* <code>ANDROID_ANR_EXTERNAL = 7;</code>
*/
ANDROID_ANR_EXTERNAL(6, 7),
/**
* <code>ANDROID_RUNNING_SERVICES_EXTERNAL = 8;</code>
*/
ANDROID_RUNNING_SERVICES_EXTERNAL(7, 8),
/**
* <code>ANDROID_CRASH_INTERNAL = 9;</code>
*/
ANDROID_CRASH_INTERNAL(8, 9),
/**
* <code>ANDROID_BATTERY_INTERNAL = 10;</code>
*/
ANDROID_BATTERY_INTERNAL(9, 10),
/**
* <code>ANDROID_ANR_INTERNAL = 11;</code>
*/
ANDROID_ANR_INTERNAL(10, 11),
/**
* <code>ANDROID_RUNNING_SERVICES_INTERNAL = 12;</code>
*/
ANDROID_RUNNING_SERVICES_INTERNAL(11, 12),
/**
* <code>ANDROID_USER_INITIATED_INTERNAL = 13;</code>
*/
ANDROID_USER_INITIATED_INTERNAL(12, 13),
/**
* <code>IOS_CRASH_INTERNAL = 14;</code>
*/
IOS_CRASH_INTERNAL(13, 14),
/**
* <code>IOS_USER_INITIATED_INTERNAL = 15;</code>
*/
IOS_USER_INITIATED_INTERNAL(14, 15),
/**
* <code>FEEDBACK_EXTERNAL = 16;</code>
*/
FEEDBACK_EXTERNAL(15, 16),
/**
* <code>IMPORT_DATA = 17;</code>
*/
IMPORT_DATA(16, 17),
/**
* <code>CHROME_APP_CRASH_EXTERNAL = 18;</code>
*/
CHROME_APP_CRASH_EXTERNAL(17, 18),
;
/**
* <code>WEB_FEEDBACK = 1;</code>
*/
public static final int WEB_FEEDBACK_VALUE = 1;
/**
* <code>IE_TOOLBAR = 2;</code>
*/
public static final int IE_TOOLBAR_VALUE = 2;
/**
* <code>CHROME = 3;</code>
*/
public static final int CHROME_VALUE = 3;
/**
* <code>CHROME_OS = 4;</code>
*/
public static final int CHROME_OS_VALUE = 4;
/**
* <code>ANDROID_CRASH_EXTERNAL = 5;</code>
*/
public static final int ANDROID_CRASH_EXTERNAL_VALUE = 5;
/**
* <code>ANDROID_BATTERY_EXTERNAL = 6;</code>
*/
public static final int ANDROID_BATTERY_EXTERNAL_VALUE = 6;
/**
* <code>ANDROID_ANR_EXTERNAL = 7;</code>
*/
public static final int ANDROID_ANR_EXTERNAL_VALUE = 7;
/**
* <code>ANDROID_RUNNING_SERVICES_EXTERNAL = 8;</code>
*/
public static final int ANDROID_RUNNING_SERVICES_EXTERNAL_VALUE = 8;
/**
* <code>ANDROID_CRASH_INTERNAL = 9;</code>
*/
public static final int ANDROID_CRASH_INTERNAL_VALUE = 9;
/**
* <code>ANDROID_BATTERY_INTERNAL = 10;</code>
*/
public static final int ANDROID_BATTERY_INTERNAL_VALUE = 10;
/**
* <code>ANDROID_ANR_INTERNAL = 11;</code>
*/
public static final int ANDROID_ANR_INTERNAL_VALUE = 11;
/**
* <code>ANDROID_RUNNING_SERVICES_INTERNAL = 12;</code>
*/
public static final int ANDROID_RUNNING_SERVICES_INTERNAL_VALUE = 12;
/**
* <code>ANDROID_USER_INITIATED_INTERNAL = 13;</code>
*/
public static final int ANDROID_USER_INITIATED_INTERNAL_VALUE = 13;
/**
* <code>IOS_CRASH_INTERNAL = 14;</code>
*/
public static final int IOS_CRASH_INTERNAL_VALUE = 14;
/**
* <code>IOS_USER_INITIATED_INTERNAL = 15;</code>
*/
public static final int IOS_USER_INITIATED_INTERNAL_VALUE = 15;
/**
* <code>FEEDBACK_EXTERNAL = 16;</code>
*/
public static final int FEEDBACK_EXTERNAL_VALUE = 16;
/**
* <code>IMPORT_DATA = 17;</code>
*/
public static final int IMPORT_DATA_VALUE = 17;
/**
* <code>CHROME_APP_CRASH_EXTERNAL = 18;</code>
*/
public static final int CHROME_APP_CRASH_EXTERNAL_VALUE = 18;
public final int getNumber() { return value; }
public static ReportType valueOf(int value) {
switch (value) {
case 1: return WEB_FEEDBACK;
case 2: return IE_TOOLBAR;
case 3: return CHROME;
case 4: return CHROME_OS;
case 5: return ANDROID_CRASH_EXTERNAL;
case 6: return ANDROID_BATTERY_EXTERNAL;
case 7: return ANDROID_ANR_EXTERNAL;
case 8: return ANDROID_RUNNING_SERVICES_EXTERNAL;
case 9: return ANDROID_CRASH_INTERNAL;
case 10: return ANDROID_BATTERY_INTERNAL;
case 11: return ANDROID_ANR_INTERNAL;
case 12: return ANDROID_RUNNING_SERVICES_INTERNAL;
case 13: return ANDROID_USER_INITIATED_INTERNAL;
case 14: return IOS_CRASH_INTERNAL;
case 15: return IOS_USER_INITIATED_INTERNAL;
case 16: return FEEDBACK_EXTERNAL;
case 17: return IMPORT_DATA;
case 18: return CHROME_APP_CRASH_EXTERNAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ReportType>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<ReportType>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ReportType>() {
public ReportType findValueByNumber(int number) {
return ReportType.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return userfeedback.Common.CommonData.getDescriptor().getEnumTypes().get(0);
}
private static final ReportType[] VALUES = values();
public static ReportType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private ReportType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:userfeedback.CommonData.ReportType)
}
private int bitField0_;
// optional fixed64 gaia_id = 1;
public static final int GAIA_ID_FIELD_NUMBER = 1;
private long gaiaId_;
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
public boolean hasGaiaId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
public long getGaiaId() {
return gaiaId_;
}
// optional string description = 2;
public static final int DESCRIPTION_FIELD_NUMBER = 2;
private java.lang.Object description_;
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </pre>
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </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>
* Description of the problem entered by user.
* </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 description_translated = 4;
public static final int DESCRIPTION_TRANSLATED_FIELD_NUMBER = 4;
private java.lang.Object descriptionTranslated_;
/**
* <code>optional string description_translated = 4;</code>
*/
public boolean hasDescriptionTranslated() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string description_translated = 4;</code>
*/
public java.lang.String getDescriptionTranslated() {
java.lang.Object ref = descriptionTranslated_;
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()) {
descriptionTranslated_ = s;
}
return s;
}
}
/**
* <code>optional string description_translated = 4;</code>
*/
public com.google.protobuf.ByteString
getDescriptionTranslatedBytes() {
java.lang.Object ref = descriptionTranslated_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
descriptionTranslated_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 spelling_error_count = 17 [default = -1];
public static final int SPELLING_ERROR_COUNT_FIELD_NUMBER = 17;
private int spellingErrorCount_;
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
public boolean hasSpellingErrorCount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
public int getSpellingErrorCount() {
return spellingErrorCount_;
}
// optional string source_description_language = 5 [default = "en"];
public static final int SOURCE_DESCRIPTION_LANGUAGE_FIELD_NUMBER = 5;
private java.lang.Object sourceDescriptionLanguage_;
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public boolean hasSourceDescriptionLanguage() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public java.lang.String getSourceDescriptionLanguage() {
java.lang.Object ref = sourceDescriptionLanguage_;
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()) {
sourceDescriptionLanguage_ = s;
}
return s;
}
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public com.google.protobuf.ByteString
getSourceDescriptionLanguageBytes() {
java.lang.Object ref = sourceDescriptionLanguage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceDescriptionLanguage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string ui_language = 6 [default = "en_US"];
public static final int UI_LANGUAGE_FIELD_NUMBER = 6;
private java.lang.Object uiLanguage_;
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public boolean hasUiLanguage() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public java.lang.String getUiLanguage() {
java.lang.Object ref = uiLanguage_;
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()) {
uiLanguage_ = s;
}
return s;
}
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public com.google.protobuf.ByteString
getUiLanguageBytes() {
java.lang.Object ref = uiLanguage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uiLanguage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string user_email = 3;
public static final int USER_EMAIL_FIELD_NUMBER = 3;
private java.lang.Object userEmail_;
/**
* <code>optional string user_email = 3;</code>
*/
public boolean hasUserEmail() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional string user_email = 3;</code>
*/
public java.lang.String getUserEmail() {
java.lang.Object ref = userEmail_;
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()) {
userEmail_ = s;
}
return s;
}
}
/**
* <code>optional string user_email = 3;</code>
*/
public com.google.protobuf.ByteString
getUserEmailBytes() {
java.lang.Object ref = userEmail_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userEmail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string unique_report_identifier = 7;
public static final int UNIQUE_REPORT_IDENTIFIER_FIELD_NUMBER = 7;
private java.lang.Object uniqueReportIdentifier_;
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public boolean hasUniqueReportIdentifier() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public java.lang.String getUniqueReportIdentifier() {
java.lang.Object ref = uniqueReportIdentifier_;
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()) {
uniqueReportIdentifier_ = s;
}
return s;
}
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public com.google.protobuf.ByteString
getUniqueReportIdentifierBytes() {
java.lang.Object ref = uniqueReportIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uniqueReportIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated string product_specific_binary_data_name = 8;
public static final int PRODUCT_SPECIFIC_BINARY_DATA_NAME_FIELD_NUMBER = 8;
private com.google.protobuf.LazyStringList productSpecificBinaryDataName_;
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public java.util.List<java.lang.String>
getProductSpecificBinaryDataNameList() {
return productSpecificBinaryDataName_;
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public int getProductSpecificBinaryDataNameCount() {
return productSpecificBinaryDataName_.size();
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public java.lang.String getProductSpecificBinaryDataName(int index) {
return productSpecificBinaryDataName_.get(index);
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public com.google.protobuf.ByteString
getProductSpecificBinaryDataNameBytes(int index) {
return productSpecificBinaryDataName_.getByteString(index);
}
// repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;
public static final int PRODUCT_SPECIFIC_BINARY_DATA_FIELD_NUMBER = 9;
private java.util.List<userfeedback.Common.ProductSpecificBinaryData> productSpecificBinaryData_;
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public java.util.List<userfeedback.Common.ProductSpecificBinaryData> getProductSpecificBinaryDataList() {
return productSpecificBinaryData_;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public java.util.List<? extends userfeedback.Common.ProductSpecificBinaryDataOrBuilder>
getProductSpecificBinaryDataOrBuilderList() {
return productSpecificBinaryData_;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public int getProductSpecificBinaryDataCount() {
return productSpecificBinaryData_.size();
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryData getProductSpecificBinaryData(int index) {
return productSpecificBinaryData_.get(index);
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryDataOrBuilder getProductSpecificBinaryDataOrBuilder(
int index) {
return productSpecificBinaryData_.get(index);
}
// optional string product_version = 10;
public static final int PRODUCT_VERSION_FIELD_NUMBER = 10;
private java.lang.Object productVersion_;
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public boolean hasProductVersion() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public java.lang.String getProductVersion() {
java.lang.Object ref = productVersion_;
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()) {
productVersion_ = s;
}
return s;
}
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public com.google.protobuf.ByteString
getProductVersionBytes() {
java.lang.Object ref = productVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .userfeedback.ProductSpecificData product_specific_data = 11;
public static final int PRODUCT_SPECIFIC_DATA_FIELD_NUMBER = 11;
private java.util.List<userfeedback.Web.ProductSpecificData> productSpecificData_;
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public java.util.List<userfeedback.Web.ProductSpecificData> getProductSpecificDataList() {
return productSpecificData_;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public java.util.List<? extends userfeedback.Web.ProductSpecificDataOrBuilder>
getProductSpecificDataOrBuilderList() {
return productSpecificData_;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public int getProductSpecificDataCount() {
return productSpecificData_.size();
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificData getProductSpecificData(int index) {
return productSpecificData_.get(index);
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificDataOrBuilder getProductSpecificDataOrBuilder(
int index) {
return productSpecificData_.get(index);
}
// optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];
public static final int OBFUSCATED_GAIA_ID_FIELD_NUMBER = 12;
private long obfuscatedGaiaId_;
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated public boolean hasObfuscatedGaiaId() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated public long getObfuscatedGaiaId() {
return obfuscatedGaiaId_;
}
// optional string obfuscated_gaia_type = 13;
public static final int OBFUSCATED_GAIA_TYPE_FIELD_NUMBER = 13;
private java.lang.Object obfuscatedGaiaType_;
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public boolean hasObfuscatedGaiaType() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public java.lang.String getObfuscatedGaiaType() {
java.lang.Object ref = obfuscatedGaiaType_;
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()) {
obfuscatedGaiaType_ = s;
}
return s;
}
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public com.google.protobuf.ByteString
getObfuscatedGaiaTypeBytes() {
java.lang.Object ref = obfuscatedGaiaType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
obfuscatedGaiaType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string gaia_user_type = 14;
public static final int GAIA_USER_TYPE_FIELD_NUMBER = 14;
private java.lang.Object gaiaUserType_;
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public boolean hasGaiaUserType() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public java.lang.String getGaiaUserType() {
java.lang.Object ref = gaiaUserType_;
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()) {
gaiaUserType_ = s;
}
return s;
}
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public com.google.protobuf.ByteString
getGaiaUserTypeBytes() {
java.lang.Object ref = gaiaUserType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaiaUserType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string product_specific_context = 15;
public static final int PRODUCT_SPECIFIC_CONTEXT_FIELD_NUMBER = 15;
private java.lang.Object productSpecificContext_;
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public boolean hasProductSpecificContext() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public java.lang.String getProductSpecificContext() {
java.lang.Object ref = productSpecificContext_;
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()) {
productSpecificContext_ = s;
}
return s;
}
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public com.google.protobuf.ByteString
getProductSpecificContextBytes() {
java.lang.Object ref = productSpecificContext_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productSpecificContext_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string obfuscated_gaia_id_string = 16;
public static final int OBFUSCATED_GAIA_ID_STRING_FIELD_NUMBER = 16;
private java.lang.Object obfuscatedGaiaIdString_;
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public boolean hasObfuscatedGaiaIdString() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public java.lang.String getObfuscatedGaiaIdString() {
java.lang.Object ref = obfuscatedGaiaIdString_;
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()) {
obfuscatedGaiaIdString_ = s;
}
return s;
}
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public com.google.protobuf.ByteString
getObfuscatedGaiaIdStringBytes() {
java.lang.Object ref = obfuscatedGaiaIdString_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
obfuscatedGaiaIdString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .userfeedback.ProductSpecificData additional_form_content = 19;
public static final int ADDITIONAL_FORM_CONTENT_FIELD_NUMBER = 19;
private java.util.List<userfeedback.Web.ProductSpecificData> additionalFormContent_;
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public java.util.List<userfeedback.Web.ProductSpecificData> getAdditionalFormContentList() {
return additionalFormContent_;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public java.util.List<? extends userfeedback.Web.ProductSpecificDataOrBuilder>
getAdditionalFormContentOrBuilderList() {
return additionalFormContent_;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public int getAdditionalFormContentCount() {
return additionalFormContent_.size();
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificData getAdditionalFormContent(int index) {
return additionalFormContent_.get(index);
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificDataOrBuilder getAdditionalFormContentOrBuilder(
int index) {
return additionalFormContent_.get(index);
}
// optional string help_flow_session_id = 20;
public static final int HELP_FLOW_SESSION_ID_FIELD_NUMBER = 20;
private java.lang.Object helpFlowSessionId_;
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public boolean hasHelpFlowSessionId() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public java.lang.String getHelpFlowSessionId() {
java.lang.Object ref = helpFlowSessionId_;
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()) {
helpFlowSessionId_ = s;
}
return s;
}
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public com.google.protobuf.ByteString
getHelpFlowSessionIdBytes() {
java.lang.Object ref = helpFlowSessionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
helpFlowSessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];
public static final int REPORT_TYPE_FIELD_NUMBER = 21;
private userfeedback.Common.CommonData.ReportType reportType_;
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
public boolean hasReportType() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
public userfeedback.Common.CommonData.ReportType getReportType() {
return reportType_;
}
// optional string country_code = 22;
public static final int COUNTRY_CODE_FIELD_NUMBER = 22;
private java.lang.Object countryCode_;
/**
* <code>optional string country_code = 22;</code>
*/
public boolean hasCountryCode() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* <code>optional string country_code = 22;</code>
*/
public java.lang.String getCountryCode() {
java.lang.Object ref = countryCode_;
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()) {
countryCode_ = s;
}
return s;
}
}
/**
* <code>optional string country_code = 22;</code>
*/
public com.google.protobuf.ByteString
getCountryCodeBytes() {
java.lang.Object ref = countryCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
countryCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
gaiaId_ = 0L;
description_ = "";
descriptionTranslated_ = "";
spellingErrorCount_ = -1;
sourceDescriptionLanguage_ = "en";
uiLanguage_ = "en_US";
userEmail_ = "";
uniqueReportIdentifier_ = "";
productSpecificBinaryDataName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
productSpecificBinaryData_ = java.util.Collections.emptyList();
productVersion_ = "";
productSpecificData_ = java.util.Collections.emptyList();
obfuscatedGaiaId_ = 0L;
obfuscatedGaiaType_ = "";
gaiaUserType_ = "";
productSpecificContext_ = "";
obfuscatedGaiaIdString_ = "";
additionalFormContent_ = java.util.Collections.emptyList();
helpFlowSessionId_ = "";
reportType_ = userfeedback.Common.CommonData.ReportType.WEB_FEEDBACK;
countryCode_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getProductSpecificBinaryDataCount(); i++) {
if (!getProductSpecificBinaryData(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getProductSpecificDataCount(); i++) {
if (!getProductSpecificData(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getAdditionalFormContentCount(); i++) {
if (!getAdditionalFormContent(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.writeFixed64(1, gaiaId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getDescriptionBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(3, getUserEmailBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(4, getDescriptionTranslatedBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getSourceDescriptionLanguageBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getUiLanguageBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(7, getUniqueReportIdentifierBytes());
}
for (int i = 0; i < productSpecificBinaryDataName_.size(); i++) {
output.writeBytes(8, productSpecificBinaryDataName_.getByteString(i));
}
for (int i = 0; i < productSpecificBinaryData_.size(); i++) {
output.writeMessage(9, productSpecificBinaryData_.get(i));
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(10, getProductVersionBytes());
}
for (int i = 0; i < productSpecificData_.size(); i++) {
output.writeMessage(11, productSpecificData_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeFixed64(12, obfuscatedGaiaId_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBytes(13, getObfuscatedGaiaTypeBytes());
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeBytes(14, getGaiaUserTypeBytes());
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeBytes(15, getProductSpecificContextBytes());
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBytes(16, getObfuscatedGaiaIdStringBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(17, spellingErrorCount_);
}
for (int i = 0; i < additionalFormContent_.size(); i++) {
output.writeMessage(19, additionalFormContent_.get(i));
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeBytes(20, getHelpFlowSessionIdBytes());
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeEnum(21, reportType_.getNumber());
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeBytes(22, getCountryCodeBytes());
}
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
.computeFixed64Size(1, gaiaId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getDescriptionBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getUserEmailBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getDescriptionTranslatedBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getSourceDescriptionLanguageBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getUiLanguageBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getUniqueReportIdentifierBytes());
}
{
int dataSize = 0;
for (int i = 0; i < productSpecificBinaryDataName_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(productSpecificBinaryDataName_.getByteString(i));
}
size += dataSize;
size += 1 * getProductSpecificBinaryDataNameList().size();
}
for (int i = 0; i < productSpecificBinaryData_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, productSpecificBinaryData_.get(i));
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getProductVersionBytes());
}
for (int i = 0; i < productSpecificData_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, productSpecificData_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(12, obfuscatedGaiaId_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(13, getObfuscatedGaiaTypeBytes());
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, getGaiaUserTypeBytes());
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(15, getProductSpecificContextBytes());
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(16, getObfuscatedGaiaIdStringBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(17, spellingErrorCount_);
}
for (int i = 0; i < additionalFormContent_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, additionalFormContent_.get(i));
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(20, getHelpFlowSessionIdBytes());
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(21, reportType_.getNumber());
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(22, getCountryCodeBytes());
}
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.Common.CommonData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static userfeedback.Common.CommonData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static userfeedback.Common.CommonData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static userfeedback.Common.CommonData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static userfeedback.Common.CommonData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static userfeedback.Common.CommonData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static userfeedback.Common.CommonData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static userfeedback.Common.CommonData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static userfeedback.Common.CommonData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static userfeedback.Common.CommonData 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.Common.CommonData 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.CommonData}
*
* <pre>
* Data present in all kinds of feedbacks, regardless of source (Web, Android,
* other).
* last used id: 22
* </pre>
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements userfeedback.Common.CommonDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return userfeedback.Common.internal_static_userfeedback_CommonData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return userfeedback.Common.internal_static_userfeedback_CommonData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
userfeedback.Common.CommonData.class, userfeedback.Common.CommonData.Builder.class);
}
// Construct using userfeedback.Common.CommonData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getProductSpecificBinaryDataFieldBuilder();
getProductSpecificDataFieldBuilder();
getAdditionalFormContentFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
gaiaId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
description_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
descriptionTranslated_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
spellingErrorCount_ = -1;
bitField0_ = (bitField0_ & ~0x00000008);
sourceDescriptionLanguage_ = "en";
bitField0_ = (bitField0_ & ~0x00000010);
uiLanguage_ = "en_US";
bitField0_ = (bitField0_ & ~0x00000020);
userEmail_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
uniqueReportIdentifier_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
productSpecificBinaryDataName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
if (productSpecificBinaryDataBuilder_ == null) {
productSpecificBinaryData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
productSpecificBinaryDataBuilder_.clear();
}
productVersion_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
if (productSpecificDataBuilder_ == null) {
productSpecificData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
productSpecificDataBuilder_.clear();
}
obfuscatedGaiaId_ = 0L;
bitField0_ = (bitField0_ & ~0x00001000);
obfuscatedGaiaType_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
gaiaUserType_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
productSpecificContext_ = "";
bitField0_ = (bitField0_ & ~0x00008000);
obfuscatedGaiaIdString_ = "";
bitField0_ = (bitField0_ & ~0x00010000);
if (additionalFormContentBuilder_ == null) {
additionalFormContent_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);
} else {
additionalFormContentBuilder_.clear();
}
helpFlowSessionId_ = "";
bitField0_ = (bitField0_ & ~0x00040000);
reportType_ = userfeedback.Common.CommonData.ReportType.WEB_FEEDBACK;
bitField0_ = (bitField0_ & ~0x00080000);
countryCode_ = "";
bitField0_ = (bitField0_ & ~0x00100000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return userfeedback.Common.internal_static_userfeedback_CommonData_descriptor;
}
public userfeedback.Common.CommonData getDefaultInstanceForType() {
return userfeedback.Common.CommonData.getDefaultInstance();
}
public userfeedback.Common.CommonData build() {
userfeedback.Common.CommonData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public userfeedback.Common.CommonData buildPartial() {
userfeedback.Common.CommonData result = new userfeedback.Common.CommonData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.gaiaId_ = gaiaId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.description_ = description_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.descriptionTranslated_ = descriptionTranslated_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.spellingErrorCount_ = spellingErrorCount_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.sourceDescriptionLanguage_ = sourceDescriptionLanguage_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.uiLanguage_ = uiLanguage_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.userEmail_ = userEmail_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.uniqueReportIdentifier_ = uniqueReportIdentifier_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
productSpecificBinaryDataName_ = new com.google.protobuf.UnmodifiableLazyStringList(
productSpecificBinaryDataName_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.productSpecificBinaryDataName_ = productSpecificBinaryDataName_;
if (productSpecificBinaryDataBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
productSpecificBinaryData_ = java.util.Collections.unmodifiableList(productSpecificBinaryData_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.productSpecificBinaryData_ = productSpecificBinaryData_;
} else {
result.productSpecificBinaryData_ = productSpecificBinaryDataBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000100;
}
result.productVersion_ = productVersion_;
if (productSpecificDataBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
productSpecificData_ = java.util.Collections.unmodifiableList(productSpecificData_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.productSpecificData_ = productSpecificData_;
} else {
result.productSpecificData_ = productSpecificDataBuilder_.build();
}
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000200;
}
result.obfuscatedGaiaId_ = obfuscatedGaiaId_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000400;
}
result.obfuscatedGaiaType_ = obfuscatedGaiaType_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00000800;
}
result.gaiaUserType_ = gaiaUserType_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00001000;
}
result.productSpecificContext_ = productSpecificContext_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00002000;
}
result.obfuscatedGaiaIdString_ = obfuscatedGaiaIdString_;
if (additionalFormContentBuilder_ == null) {
if (((bitField0_ & 0x00020000) == 0x00020000)) {
additionalFormContent_ = java.util.Collections.unmodifiableList(additionalFormContent_);
bitField0_ = (bitField0_ & ~0x00020000);
}
result.additionalFormContent_ = additionalFormContent_;
} else {
result.additionalFormContent_ = additionalFormContentBuilder_.build();
}
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00004000;
}
result.helpFlowSessionId_ = helpFlowSessionId_;
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00008000;
}
result.reportType_ = reportType_;
if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00010000;
}
result.countryCode_ = countryCode_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof userfeedback.Common.CommonData) {
return mergeFrom((userfeedback.Common.CommonData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(userfeedback.Common.CommonData other) {
if (other == userfeedback.Common.CommonData.getDefaultInstance()) return this;
if (other.hasGaiaId()) {
setGaiaId(other.getGaiaId());
}
if (other.hasDescription()) {
bitField0_ |= 0x00000002;
description_ = other.description_;
onChanged();
}
if (other.hasDescriptionTranslated()) {
bitField0_ |= 0x00000004;
descriptionTranslated_ = other.descriptionTranslated_;
onChanged();
}
if (other.hasSpellingErrorCount()) {
setSpellingErrorCount(other.getSpellingErrorCount());
}
if (other.hasSourceDescriptionLanguage()) {
bitField0_ |= 0x00000010;
sourceDescriptionLanguage_ = other.sourceDescriptionLanguage_;
onChanged();
}
if (other.hasUiLanguage()) {
bitField0_ |= 0x00000020;
uiLanguage_ = other.uiLanguage_;
onChanged();
}
if (other.hasUserEmail()) {
bitField0_ |= 0x00000040;
userEmail_ = other.userEmail_;
onChanged();
}
if (other.hasUniqueReportIdentifier()) {
bitField0_ |= 0x00000080;
uniqueReportIdentifier_ = other.uniqueReportIdentifier_;
onChanged();
}
if (!other.productSpecificBinaryDataName_.isEmpty()) {
if (productSpecificBinaryDataName_.isEmpty()) {
productSpecificBinaryDataName_ = other.productSpecificBinaryDataName_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureProductSpecificBinaryDataNameIsMutable();
productSpecificBinaryDataName_.addAll(other.productSpecificBinaryDataName_);
}
onChanged();
}
if (productSpecificBinaryDataBuilder_ == null) {
if (!other.productSpecificBinaryData_.isEmpty()) {
if (productSpecificBinaryData_.isEmpty()) {
productSpecificBinaryData_ = other.productSpecificBinaryData_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.addAll(other.productSpecificBinaryData_);
}
onChanged();
}
} else {
if (!other.productSpecificBinaryData_.isEmpty()) {
if (productSpecificBinaryDataBuilder_.isEmpty()) {
productSpecificBinaryDataBuilder_.dispose();
productSpecificBinaryDataBuilder_ = null;
productSpecificBinaryData_ = other.productSpecificBinaryData_;
bitField0_ = (bitField0_ & ~0x00000200);
productSpecificBinaryDataBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getProductSpecificBinaryDataFieldBuilder() : null;
} else {
productSpecificBinaryDataBuilder_.addAllMessages(other.productSpecificBinaryData_);
}
}
}
if (other.hasProductVersion()) {
bitField0_ |= 0x00000400;
productVersion_ = other.productVersion_;
onChanged();
}
if (productSpecificDataBuilder_ == null) {
if (!other.productSpecificData_.isEmpty()) {
if (productSpecificData_.isEmpty()) {
productSpecificData_ = other.productSpecificData_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureProductSpecificDataIsMutable();
productSpecificData_.addAll(other.productSpecificData_);
}
onChanged();
}
} else {
if (!other.productSpecificData_.isEmpty()) {
if (productSpecificDataBuilder_.isEmpty()) {
productSpecificDataBuilder_.dispose();
productSpecificDataBuilder_ = null;
productSpecificData_ = other.productSpecificData_;
bitField0_ = (bitField0_ & ~0x00000800);
productSpecificDataBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getProductSpecificDataFieldBuilder() : null;
} else {
productSpecificDataBuilder_.addAllMessages(other.productSpecificData_);
}
}
}
if (other.hasObfuscatedGaiaId()) {
setObfuscatedGaiaId(other.getObfuscatedGaiaId());
}
if (other.hasObfuscatedGaiaType()) {
bitField0_ |= 0x00002000;
obfuscatedGaiaType_ = other.obfuscatedGaiaType_;
onChanged();
}
if (other.hasGaiaUserType()) {
bitField0_ |= 0x00004000;
gaiaUserType_ = other.gaiaUserType_;
onChanged();
}
if (other.hasProductSpecificContext()) {
bitField0_ |= 0x00008000;
productSpecificContext_ = other.productSpecificContext_;
onChanged();
}
if (other.hasObfuscatedGaiaIdString()) {
bitField0_ |= 0x00010000;
obfuscatedGaiaIdString_ = other.obfuscatedGaiaIdString_;
onChanged();
}
if (additionalFormContentBuilder_ == null) {
if (!other.additionalFormContent_.isEmpty()) {
if (additionalFormContent_.isEmpty()) {
additionalFormContent_ = other.additionalFormContent_;
bitField0_ = (bitField0_ & ~0x00020000);
} else {
ensureAdditionalFormContentIsMutable();
additionalFormContent_.addAll(other.additionalFormContent_);
}
onChanged();
}
} else {
if (!other.additionalFormContent_.isEmpty()) {
if (additionalFormContentBuilder_.isEmpty()) {
additionalFormContentBuilder_.dispose();
additionalFormContentBuilder_ = null;
additionalFormContent_ = other.additionalFormContent_;
bitField0_ = (bitField0_ & ~0x00020000);
additionalFormContentBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAdditionalFormContentFieldBuilder() : null;
} else {
additionalFormContentBuilder_.addAllMessages(other.additionalFormContent_);
}
}
}
if (other.hasHelpFlowSessionId()) {
bitField0_ |= 0x00040000;
helpFlowSessionId_ = other.helpFlowSessionId_;
onChanged();
}
if (other.hasReportType()) {
setReportType(other.getReportType());
}
if (other.hasCountryCode()) {
bitField0_ |= 0x00100000;
countryCode_ = other.countryCode_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getProductSpecificBinaryDataCount(); i++) {
if (!getProductSpecificBinaryData(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getProductSpecificDataCount(); i++) {
if (!getProductSpecificData(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getAdditionalFormContentCount(); i++) {
if (!getAdditionalFormContent(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
userfeedback.Common.CommonData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (userfeedback.Common.CommonData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional fixed64 gaia_id = 1;
private long gaiaId_ ;
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
public boolean hasGaiaId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
public long getGaiaId() {
return gaiaId_;
}
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
public Builder setGaiaId(long value) {
bitField0_ |= 0x00000001;
gaiaId_ = value;
onChanged();
return this;
}
/**
* <code>optional fixed64 gaia_id = 1;</code>
*/
public Builder clearGaiaId() {
bitField0_ = (bitField0_ & ~0x00000001);
gaiaId_ = 0L;
onChanged();
return this;
}
// optional string description = 2;
private java.lang.Object description_ = "";
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </pre>
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </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>
* Description of the problem entered by user.
* </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>
* Description of the problem entered by user.
* </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>
* Description of the problem entered by user.
* </pre>
*/
public Builder clearDescription() {
bitField0_ = (bitField0_ & ~0x00000002);
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* <code>optional string description = 2;</code>
*
* <pre>
* Description of the problem entered by user.
* </pre>
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
description_ = value;
onChanged();
return this;
}
// optional string description_translated = 4;
private java.lang.Object descriptionTranslated_ = "";
/**
* <code>optional string description_translated = 4;</code>
*/
public boolean hasDescriptionTranslated() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string description_translated = 4;</code>
*/
public java.lang.String getDescriptionTranslated() {
java.lang.Object ref = descriptionTranslated_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
descriptionTranslated_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string description_translated = 4;</code>
*/
public com.google.protobuf.ByteString
getDescriptionTranslatedBytes() {
java.lang.Object ref = descriptionTranslated_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
descriptionTranslated_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string description_translated = 4;</code>
*/
public Builder setDescriptionTranslated(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
descriptionTranslated_ = value;
onChanged();
return this;
}
/**
* <code>optional string description_translated = 4;</code>
*/
public Builder clearDescriptionTranslated() {
bitField0_ = (bitField0_ & ~0x00000004);
descriptionTranslated_ = getDefaultInstance().getDescriptionTranslated();
onChanged();
return this;
}
/**
* <code>optional string description_translated = 4;</code>
*/
public Builder setDescriptionTranslatedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
descriptionTranslated_ = value;
onChanged();
return this;
}
// optional int32 spelling_error_count = 17 [default = -1];
private int spellingErrorCount_ = -1;
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
public boolean hasSpellingErrorCount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
public int getSpellingErrorCount() {
return spellingErrorCount_;
}
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
public Builder setSpellingErrorCount(int value) {
bitField0_ |= 0x00000008;
spellingErrorCount_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 spelling_error_count = 17 [default = -1];</code>
*/
public Builder clearSpellingErrorCount() {
bitField0_ = (bitField0_ & ~0x00000008);
spellingErrorCount_ = -1;
onChanged();
return this;
}
// optional string source_description_language = 5 [default = "en"];
private java.lang.Object sourceDescriptionLanguage_ = "en";
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public boolean hasSourceDescriptionLanguage() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public java.lang.String getSourceDescriptionLanguage() {
java.lang.Object ref = sourceDescriptionLanguage_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
sourceDescriptionLanguage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public com.google.protobuf.ByteString
getSourceDescriptionLanguageBytes() {
java.lang.Object ref = sourceDescriptionLanguage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceDescriptionLanguage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public Builder setSourceDescriptionLanguage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
sourceDescriptionLanguage_ = value;
onChanged();
return this;
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public Builder clearSourceDescriptionLanguage() {
bitField0_ = (bitField0_ & ~0x00000010);
sourceDescriptionLanguage_ = getDefaultInstance().getSourceDescriptionLanguage();
onChanged();
return this;
}
/**
* <code>optional string source_description_language = 5 [default = "en"];</code>
*/
public Builder setSourceDescriptionLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
sourceDescriptionLanguage_ = value;
onChanged();
return this;
}
// optional string ui_language = 6 [default = "en_US"];
private java.lang.Object uiLanguage_ = "en_US";
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public boolean hasUiLanguage() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public java.lang.String getUiLanguage() {
java.lang.Object ref = uiLanguage_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
uiLanguage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public com.google.protobuf.ByteString
getUiLanguageBytes() {
java.lang.Object ref = uiLanguage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uiLanguage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public Builder setUiLanguage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
uiLanguage_ = value;
onChanged();
return this;
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public Builder clearUiLanguage() {
bitField0_ = (bitField0_ & ~0x00000020);
uiLanguage_ = getDefaultInstance().getUiLanguage();
onChanged();
return this;
}
/**
* <code>optional string ui_language = 6 [default = "en_US"];</code>
*/
public Builder setUiLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
uiLanguage_ = value;
onChanged();
return this;
}
// optional string user_email = 3;
private java.lang.Object userEmail_ = "";
/**
* <code>optional string user_email = 3;</code>
*/
public boolean hasUserEmail() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional string user_email = 3;</code>
*/
public java.lang.String getUserEmail() {
java.lang.Object ref = userEmail_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
userEmail_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string user_email = 3;</code>
*/
public com.google.protobuf.ByteString
getUserEmailBytes() {
java.lang.Object ref = userEmail_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userEmail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string user_email = 3;</code>
*/
public Builder setUserEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
userEmail_ = value;
onChanged();
return this;
}
/**
* <code>optional string user_email = 3;</code>
*/
public Builder clearUserEmail() {
bitField0_ = (bitField0_ & ~0x00000040);
userEmail_ = getDefaultInstance().getUserEmail();
onChanged();
return this;
}
/**
* <code>optional string user_email = 3;</code>
*/
public Builder setUserEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
userEmail_ = value;
onChanged();
return this;
}
// optional string unique_report_identifier = 7;
private java.lang.Object uniqueReportIdentifier_ = "";
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public boolean hasUniqueReportIdentifier() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public java.lang.String getUniqueReportIdentifier() {
java.lang.Object ref = uniqueReportIdentifier_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
uniqueReportIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public com.google.protobuf.ByteString
getUniqueReportIdentifierBytes() {
java.lang.Object ref = uniqueReportIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uniqueReportIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public Builder setUniqueReportIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
uniqueReportIdentifier_ = value;
onChanged();
return this;
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public Builder clearUniqueReportIdentifier() {
bitField0_ = (bitField0_ & ~0x00000080);
uniqueReportIdentifier_ = getDefaultInstance().getUniqueReportIdentifier();
onChanged();
return this;
}
/**
* <code>optional string unique_report_identifier = 7;</code>
*
* <pre>
* Unique identifier of feedback report. If set than only one report
* with the same identifier is stored in the system.
* If you are not sure how to use it leave it not set.
* </pre>
*/
public Builder setUniqueReportIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
uniqueReportIdentifier_ = value;
onChanged();
return this;
}
// repeated string product_specific_binary_data_name = 8;
private com.google.protobuf.LazyStringList productSpecificBinaryDataName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureProductSpecificBinaryDataNameIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
productSpecificBinaryDataName_ = new com.google.protobuf.LazyStringArrayList(productSpecificBinaryDataName_);
bitField0_ |= 0x00000100;
}
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public java.util.List<java.lang.String>
getProductSpecificBinaryDataNameList() {
return java.util.Collections.unmodifiableList(productSpecificBinaryDataName_);
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public int getProductSpecificBinaryDataNameCount() {
return productSpecificBinaryDataName_.size();
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public java.lang.String getProductSpecificBinaryDataName(int index) {
return productSpecificBinaryDataName_.get(index);
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public com.google.protobuf.ByteString
getProductSpecificBinaryDataNameBytes(int index) {
return productSpecificBinaryDataName_.getByteString(index);
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public Builder setProductSpecificBinaryDataName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificBinaryDataNameIsMutable();
productSpecificBinaryDataName_.set(index, value);
onChanged();
return this;
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public Builder addProductSpecificBinaryDataName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificBinaryDataNameIsMutable();
productSpecificBinaryDataName_.add(value);
onChanged();
return this;
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public Builder addAllProductSpecificBinaryDataName(
java.lang.Iterable<java.lang.String> values) {
ensureProductSpecificBinaryDataNameIsMutable();
super.addAll(values, productSpecificBinaryDataName_);
onChanged();
return this;
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public Builder clearProductSpecificBinaryDataName() {
productSpecificBinaryDataName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>repeated string product_specific_binary_data_name = 8;</code>
*
* <pre>
* Names of the binary data stored. Replicated from
* ProductSpecificBinaryData.name which is stored as a separate
* column in Feedbacks3 megastore table.
* </pre>
*/
public Builder addProductSpecificBinaryDataNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificBinaryDataNameIsMutable();
productSpecificBinaryDataName_.add(value);
onChanged();
return this;
}
// repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;
private java.util.List<userfeedback.Common.ProductSpecificBinaryData> productSpecificBinaryData_ =
java.util.Collections.emptyList();
private void ensureProductSpecificBinaryDataIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
productSpecificBinaryData_ = new java.util.ArrayList<userfeedback.Common.ProductSpecificBinaryData>(productSpecificBinaryData_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Common.ProductSpecificBinaryData, userfeedback.Common.ProductSpecificBinaryData.Builder, userfeedback.Common.ProductSpecificBinaryDataOrBuilder> productSpecificBinaryDataBuilder_;
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public java.util.List<userfeedback.Common.ProductSpecificBinaryData> getProductSpecificBinaryDataList() {
if (productSpecificBinaryDataBuilder_ == null) {
return java.util.Collections.unmodifiableList(productSpecificBinaryData_);
} else {
return productSpecificBinaryDataBuilder_.getMessageList();
}
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public int getProductSpecificBinaryDataCount() {
if (productSpecificBinaryDataBuilder_ == null) {
return productSpecificBinaryData_.size();
} else {
return productSpecificBinaryDataBuilder_.getCount();
}
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryData getProductSpecificBinaryData(int index) {
if (productSpecificBinaryDataBuilder_ == null) {
return productSpecificBinaryData_.get(index);
} else {
return productSpecificBinaryDataBuilder_.getMessage(index);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder setProductSpecificBinaryData(
int index, userfeedback.Common.ProductSpecificBinaryData value) {
if (productSpecificBinaryDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.set(index, value);
onChanged();
} else {
productSpecificBinaryDataBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder setProductSpecificBinaryData(
int index, userfeedback.Common.ProductSpecificBinaryData.Builder builderForValue) {
if (productSpecificBinaryDataBuilder_ == null) {
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.set(index, builderForValue.build());
onChanged();
} else {
productSpecificBinaryDataBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder addProductSpecificBinaryData(userfeedback.Common.ProductSpecificBinaryData value) {
if (productSpecificBinaryDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.add(value);
onChanged();
} else {
productSpecificBinaryDataBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder addProductSpecificBinaryData(
int index, userfeedback.Common.ProductSpecificBinaryData value) {
if (productSpecificBinaryDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.add(index, value);
onChanged();
} else {
productSpecificBinaryDataBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder addProductSpecificBinaryData(
userfeedback.Common.ProductSpecificBinaryData.Builder builderForValue) {
if (productSpecificBinaryDataBuilder_ == null) {
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.add(builderForValue.build());
onChanged();
} else {
productSpecificBinaryDataBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder addProductSpecificBinaryData(
int index, userfeedback.Common.ProductSpecificBinaryData.Builder builderForValue) {
if (productSpecificBinaryDataBuilder_ == null) {
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.add(index, builderForValue.build());
onChanged();
} else {
productSpecificBinaryDataBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder addAllProductSpecificBinaryData(
java.lang.Iterable<? extends userfeedback.Common.ProductSpecificBinaryData> values) {
if (productSpecificBinaryDataBuilder_ == null) {
ensureProductSpecificBinaryDataIsMutable();
super.addAll(values, productSpecificBinaryData_);
onChanged();
} else {
productSpecificBinaryDataBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder clearProductSpecificBinaryData() {
if (productSpecificBinaryDataBuilder_ == null) {
productSpecificBinaryData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
productSpecificBinaryDataBuilder_.clear();
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public Builder removeProductSpecificBinaryData(int index) {
if (productSpecificBinaryDataBuilder_ == null) {
ensureProductSpecificBinaryDataIsMutable();
productSpecificBinaryData_.remove(index);
onChanged();
} else {
productSpecificBinaryDataBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryData.Builder getProductSpecificBinaryDataBuilder(
int index) {
return getProductSpecificBinaryDataFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryDataOrBuilder getProductSpecificBinaryDataOrBuilder(
int index) {
if (productSpecificBinaryDataBuilder_ == null) {
return productSpecificBinaryData_.get(index); } else {
return productSpecificBinaryDataBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public java.util.List<? extends userfeedback.Common.ProductSpecificBinaryDataOrBuilder>
getProductSpecificBinaryDataOrBuilderList() {
if (productSpecificBinaryDataBuilder_ != null) {
return productSpecificBinaryDataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(productSpecificBinaryData_);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryData.Builder addProductSpecificBinaryDataBuilder() {
return getProductSpecificBinaryDataFieldBuilder().addBuilder(
userfeedback.Common.ProductSpecificBinaryData.getDefaultInstance());
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public userfeedback.Common.ProductSpecificBinaryData.Builder addProductSpecificBinaryDataBuilder(
int index) {
return getProductSpecificBinaryDataFieldBuilder().addBuilder(
index, userfeedback.Common.ProductSpecificBinaryData.getDefaultInstance());
}
/**
* <code>repeated .userfeedback.ProductSpecificBinaryData product_specific_binary_data = 9;</code>
*
* <pre>
* Logs.
* NOTE: these logs are cleared from here when storing and copied to
* StoredFeedback.
* </pre>
*/
public java.util.List<userfeedback.Common.ProductSpecificBinaryData.Builder>
getProductSpecificBinaryDataBuilderList() {
return getProductSpecificBinaryDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Common.ProductSpecificBinaryData, userfeedback.Common.ProductSpecificBinaryData.Builder, userfeedback.Common.ProductSpecificBinaryDataOrBuilder>
getProductSpecificBinaryDataFieldBuilder() {
if (productSpecificBinaryDataBuilder_ == null) {
productSpecificBinaryDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Common.ProductSpecificBinaryData, userfeedback.Common.ProductSpecificBinaryData.Builder, userfeedback.Common.ProductSpecificBinaryDataOrBuilder>(
productSpecificBinaryData_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
productSpecificBinaryData_ = null;
}
return productSpecificBinaryDataBuilder_;
}
// optional string product_version = 10;
private java.lang.Object productVersion_ = "";
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public boolean hasProductVersion() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public java.lang.String getProductVersion() {
java.lang.Object ref = productVersion_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
productVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public com.google.protobuf.ByteString
getProductVersionBytes() {
java.lang.Object ref = productVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public Builder setProductVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
productVersion_ = value;
onChanged();
return this;
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public Builder clearProductVersion() {
bitField0_ = (bitField0_ & ~0x00000400);
productVersion_ = getDefaultInstance().getProductVersion();
onChanged();
return this;
}
/**
* <code>optional string product_version = 10;</code>
*
* <pre>
* [Full] version of the product that this report is being sent from.
* </pre>
*/
public Builder setProductVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
productVersion_ = value;
onChanged();
return this;
}
// repeated .userfeedback.ProductSpecificData product_specific_data = 11;
private java.util.List<userfeedback.Web.ProductSpecificData> productSpecificData_ =
java.util.Collections.emptyList();
private void ensureProductSpecificDataIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
productSpecificData_ = new java.util.ArrayList<userfeedback.Web.ProductSpecificData>(productSpecificData_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Web.ProductSpecificData, userfeedback.Web.ProductSpecificData.Builder, userfeedback.Web.ProductSpecificDataOrBuilder> productSpecificDataBuilder_;
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public java.util.List<userfeedback.Web.ProductSpecificData> getProductSpecificDataList() {
if (productSpecificDataBuilder_ == null) {
return java.util.Collections.unmodifiableList(productSpecificData_);
} else {
return productSpecificDataBuilder_.getMessageList();
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public int getProductSpecificDataCount() {
if (productSpecificDataBuilder_ == null) {
return productSpecificData_.size();
} else {
return productSpecificDataBuilder_.getCount();
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificData getProductSpecificData(int index) {
if (productSpecificDataBuilder_ == null) {
return productSpecificData_.get(index);
} else {
return productSpecificDataBuilder_.getMessage(index);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder setProductSpecificData(
int index, userfeedback.Web.ProductSpecificData value) {
if (productSpecificDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificDataIsMutable();
productSpecificData_.set(index, value);
onChanged();
} else {
productSpecificDataBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder setProductSpecificData(
int index, userfeedback.Web.ProductSpecificData.Builder builderForValue) {
if (productSpecificDataBuilder_ == null) {
ensureProductSpecificDataIsMutable();
productSpecificData_.set(index, builderForValue.build());
onChanged();
} else {
productSpecificDataBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder addProductSpecificData(userfeedback.Web.ProductSpecificData value) {
if (productSpecificDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificDataIsMutable();
productSpecificData_.add(value);
onChanged();
} else {
productSpecificDataBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder addProductSpecificData(
int index, userfeedback.Web.ProductSpecificData value) {
if (productSpecificDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProductSpecificDataIsMutable();
productSpecificData_.add(index, value);
onChanged();
} else {
productSpecificDataBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder addProductSpecificData(
userfeedback.Web.ProductSpecificData.Builder builderForValue) {
if (productSpecificDataBuilder_ == null) {
ensureProductSpecificDataIsMutable();
productSpecificData_.add(builderForValue.build());
onChanged();
} else {
productSpecificDataBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder addProductSpecificData(
int index, userfeedback.Web.ProductSpecificData.Builder builderForValue) {
if (productSpecificDataBuilder_ == null) {
ensureProductSpecificDataIsMutable();
productSpecificData_.add(index, builderForValue.build());
onChanged();
} else {
productSpecificDataBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder addAllProductSpecificData(
java.lang.Iterable<? extends userfeedback.Web.ProductSpecificData> values) {
if (productSpecificDataBuilder_ == null) {
ensureProductSpecificDataIsMutable();
super.addAll(values, productSpecificData_);
onChanged();
} else {
productSpecificDataBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder clearProductSpecificData() {
if (productSpecificDataBuilder_ == null) {
productSpecificData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
productSpecificDataBuilder_.clear();
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public Builder removeProductSpecificData(int index) {
if (productSpecificDataBuilder_ == null) {
ensureProductSpecificDataIsMutable();
productSpecificData_.remove(index);
onChanged();
} else {
productSpecificDataBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificData.Builder getProductSpecificDataBuilder(
int index) {
return getProductSpecificDataFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificDataOrBuilder getProductSpecificDataOrBuilder(
int index) {
if (productSpecificDataBuilder_ == null) {
return productSpecificData_.get(index); } else {
return productSpecificDataBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public java.util.List<? extends userfeedback.Web.ProductSpecificDataOrBuilder>
getProductSpecificDataOrBuilderList() {
if (productSpecificDataBuilder_ != null) {
return productSpecificDataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(productSpecificData_);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificData.Builder addProductSpecificDataBuilder() {
return getProductSpecificDataFieldBuilder().addBuilder(
userfeedback.Web.ProductSpecificData.getDefaultInstance());
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public userfeedback.Web.ProductSpecificData.Builder addProductSpecificDataBuilder(
int index) {
return getProductSpecificDataFieldBuilder().addBuilder(
index, userfeedback.Web.ProductSpecificData.getDefaultInstance());
}
/**
* <code>repeated .userfeedback.ProductSpecificData product_specific_data = 11;</code>
*
* <pre>
* Key-value pairs that applications can specify.
* </pre>
*/
public java.util.List<userfeedback.Web.ProductSpecificData.Builder>
getProductSpecificDataBuilderList() {
return getProductSpecificDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Web.ProductSpecificData, userfeedback.Web.ProductSpecificData.Builder, userfeedback.Web.ProductSpecificDataOrBuilder>
getProductSpecificDataFieldBuilder() {
if (productSpecificDataBuilder_ == null) {
productSpecificDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Web.ProductSpecificData, userfeedback.Web.ProductSpecificData.Builder, userfeedback.Web.ProductSpecificDataOrBuilder>(
productSpecificData_,
((bitField0_ & 0x00000800) == 0x00000800),
getParentForChildren(),
isClean());
productSpecificData_ = null;
}
return productSpecificDataBuilder_;
}
// optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];
private long obfuscatedGaiaId_ ;
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated public boolean hasObfuscatedGaiaId() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated public long getObfuscatedGaiaId() {
return obfuscatedGaiaId_;
}
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated public Builder setObfuscatedGaiaId(long value) {
bitField0_ |= 0x00001000;
obfuscatedGaiaId_ = value;
onChanged();
return this;
}
/**
* <code>optional fixed64 obfuscated_gaia_id = 12 [deprecated = true];</code>
*
* <pre>
* When feedback is submitted from iOS applications, sometimes we can only
* get an obfuscated Gaia ID.
* </pre>
*/
@java.lang.Deprecated public Builder clearObfuscatedGaiaId() {
bitField0_ = (bitField0_ & ~0x00001000);
obfuscatedGaiaId_ = 0L;
onChanged();
return this;
}
// optional string obfuscated_gaia_type = 13;
private java.lang.Object obfuscatedGaiaType_ = "";
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public boolean hasObfuscatedGaiaType() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public java.lang.String getObfuscatedGaiaType() {
java.lang.Object ref = obfuscatedGaiaType_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
obfuscatedGaiaType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public com.google.protobuf.ByteString
getObfuscatedGaiaTypeBytes() {
java.lang.Object ref = obfuscatedGaiaType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
obfuscatedGaiaType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public Builder setObfuscatedGaiaType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
obfuscatedGaiaType_ = value;
onChanged();
return this;
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public Builder clearObfuscatedGaiaType() {
bitField0_ = (bitField0_ & ~0x00002000);
obfuscatedGaiaType_ = getDefaultInstance().getObfuscatedGaiaType();
onChanged();
return this;
}
/**
* <code>optional string obfuscated_gaia_type = 13;</code>
*
* <pre>
* Used only if obfuscated_gaia_id is present. Usually the product package
* name, obfuscated_gaia_type contains a key that is unique per product that
* helps in deobfuscating the Gaia ID.
* </pre>
*/
public Builder setObfuscatedGaiaTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
obfuscatedGaiaType_ = value;
onChanged();
return this;
}
// optional string gaia_user_type = 14;
private java.lang.Object gaiaUserType_ = "";
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public boolean hasGaiaUserType() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public java.lang.String getGaiaUserType() {
java.lang.Object ref = gaiaUserType_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
gaiaUserType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public com.google.protobuf.ByteString
getGaiaUserTypeBytes() {
java.lang.Object ref = gaiaUserType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaiaUserType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public Builder setGaiaUserType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
gaiaUserType_ = value;
onChanged();
return this;
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public Builder clearGaiaUserType() {
bitField0_ = (bitField0_ & ~0x00004000);
gaiaUserType_ = getDefaultInstance().getGaiaUserType();
onChanged();
return this;
}
/**
* <code>optional string gaia_user_type = 14;</code>
*
* <pre>
* The user type retrieved from GAIA (Consumer, Dasher, or GA+).
* The value of this is the short name as defined in the GaiaUserType enum in
* com.google.userfeedback.clustering.bt.derive.GaiaUserType.
* </pre>
*/
public Builder setGaiaUserTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
gaiaUserType_ = value;
onChanged();
return this;
}
// optional string product_specific_context = 15;
private java.lang.Object productSpecificContext_ = "";
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public boolean hasProductSpecificContext() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public java.lang.String getProductSpecificContext() {
java.lang.Object ref = productSpecificContext_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
productSpecificContext_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public com.google.protobuf.ByteString
getProductSpecificContextBytes() {
java.lang.Object ref = productSpecificContext_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productSpecificContext_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public Builder setProductSpecificContext(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
productSpecificContext_ = value;
onChanged();
return this;
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public Builder clearProductSpecificContext() {
bitField0_ = (bitField0_ & ~0x00008000);
productSpecificContext_ = getDefaultInstance().getProductSpecificContext();
onChanged();
return this;
}
/**
* <code>optional string product_specific_context = 15;</code>
*
* <pre>
* Context under which the user is submitting feedback.
* Should be a unique identifier of a place within a product
* for a given product/category.
* </pre>
*/
public Builder setProductSpecificContextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
productSpecificContext_ = value;
onChanged();
return this;
}
// optional string obfuscated_gaia_id_string = 16;
private java.lang.Object obfuscatedGaiaIdString_ = "";
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public boolean hasObfuscatedGaiaIdString() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public java.lang.String getObfuscatedGaiaIdString() {
java.lang.Object ref = obfuscatedGaiaIdString_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
obfuscatedGaiaIdString_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public com.google.protobuf.ByteString
getObfuscatedGaiaIdStringBytes() {
java.lang.Object ref = obfuscatedGaiaIdString_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
obfuscatedGaiaIdString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public Builder setObfuscatedGaiaIdString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
obfuscatedGaiaIdString_ = value;
onChanged();
return this;
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public Builder clearObfuscatedGaiaIdString() {
bitField0_ = (bitField0_ & ~0x00010000);
obfuscatedGaiaIdString_ = getDefaultInstance().getObfuscatedGaiaIdString();
onChanged();
return this;
}
/**
* <code>optional string obfuscated_gaia_id_string = 16;</code>
*
* <pre>
* The obfuscated gaia id in string form, rather than the int64. This is
* necessary to maintain backward compatibility as we wish to move away
* from the int64 based deobfuscation.
* </pre>
*/
public Builder setObfuscatedGaiaIdStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
obfuscatedGaiaIdString_ = value;
onChanged();
return this;
}
// repeated .userfeedback.ProductSpecificData additional_form_content = 19;
private java.util.List<userfeedback.Web.ProductSpecificData> additionalFormContent_ =
java.util.Collections.emptyList();
private void ensureAdditionalFormContentIsMutable() {
if (!((bitField0_ & 0x00020000) == 0x00020000)) {
additionalFormContent_ = new java.util.ArrayList<userfeedback.Web.ProductSpecificData>(additionalFormContent_);
bitField0_ |= 0x00020000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Web.ProductSpecificData, userfeedback.Web.ProductSpecificData.Builder, userfeedback.Web.ProductSpecificDataOrBuilder> additionalFormContentBuilder_;
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public java.util.List<userfeedback.Web.ProductSpecificData> getAdditionalFormContentList() {
if (additionalFormContentBuilder_ == null) {
return java.util.Collections.unmodifiableList(additionalFormContent_);
} else {
return additionalFormContentBuilder_.getMessageList();
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public int getAdditionalFormContentCount() {
if (additionalFormContentBuilder_ == null) {
return additionalFormContent_.size();
} else {
return additionalFormContentBuilder_.getCount();
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificData getAdditionalFormContent(int index) {
if (additionalFormContentBuilder_ == null) {
return additionalFormContent_.get(index);
} else {
return additionalFormContentBuilder_.getMessage(index);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder setAdditionalFormContent(
int index, userfeedback.Web.ProductSpecificData value) {
if (additionalFormContentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalFormContentIsMutable();
additionalFormContent_.set(index, value);
onChanged();
} else {
additionalFormContentBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder setAdditionalFormContent(
int index, userfeedback.Web.ProductSpecificData.Builder builderForValue) {
if (additionalFormContentBuilder_ == null) {
ensureAdditionalFormContentIsMutable();
additionalFormContent_.set(index, builderForValue.build());
onChanged();
} else {
additionalFormContentBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder addAdditionalFormContent(userfeedback.Web.ProductSpecificData value) {
if (additionalFormContentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalFormContentIsMutable();
additionalFormContent_.add(value);
onChanged();
} else {
additionalFormContentBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder addAdditionalFormContent(
int index, userfeedback.Web.ProductSpecificData value) {
if (additionalFormContentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalFormContentIsMutable();
additionalFormContent_.add(index, value);
onChanged();
} else {
additionalFormContentBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder addAdditionalFormContent(
userfeedback.Web.ProductSpecificData.Builder builderForValue) {
if (additionalFormContentBuilder_ == null) {
ensureAdditionalFormContentIsMutable();
additionalFormContent_.add(builderForValue.build());
onChanged();
} else {
additionalFormContentBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder addAdditionalFormContent(
int index, userfeedback.Web.ProductSpecificData.Builder builderForValue) {
if (additionalFormContentBuilder_ == null) {
ensureAdditionalFormContentIsMutable();
additionalFormContent_.add(index, builderForValue.build());
onChanged();
} else {
additionalFormContentBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder addAllAdditionalFormContent(
java.lang.Iterable<? extends userfeedback.Web.ProductSpecificData> values) {
if (additionalFormContentBuilder_ == null) {
ensureAdditionalFormContentIsMutable();
super.addAll(values, additionalFormContent_);
onChanged();
} else {
additionalFormContentBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder clearAdditionalFormContent() {
if (additionalFormContentBuilder_ == null) {
additionalFormContent_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
} else {
additionalFormContentBuilder_.clear();
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public Builder removeAdditionalFormContent(int index) {
if (additionalFormContentBuilder_ == null) {
ensureAdditionalFormContentIsMutable();
additionalFormContent_.remove(index);
onChanged();
} else {
additionalFormContentBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificData.Builder getAdditionalFormContentBuilder(
int index) {
return getAdditionalFormContentFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificDataOrBuilder getAdditionalFormContentOrBuilder(
int index) {
if (additionalFormContentBuilder_ == null) {
return additionalFormContent_.get(index); } else {
return additionalFormContentBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public java.util.List<? extends userfeedback.Web.ProductSpecificDataOrBuilder>
getAdditionalFormContentOrBuilderList() {
if (additionalFormContentBuilder_ != null) {
return additionalFormContentBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(additionalFormContent_);
}
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificData.Builder addAdditionalFormContentBuilder() {
return getAdditionalFormContentFieldBuilder().addBuilder(
userfeedback.Web.ProductSpecificData.getDefaultInstance());
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public userfeedback.Web.ProductSpecificData.Builder addAdditionalFormContentBuilder(
int index) {
return getAdditionalFormContentFieldBuilder().addBuilder(
index, userfeedback.Web.ProductSpecificData.getDefaultInstance());
}
/**
* <code>repeated .userfeedback.ProductSpecificData additional_form_content = 19;</code>
*
* <pre>
* Additional data from forms that is not part of the primary description.
* </pre>
*/
public java.util.List<userfeedback.Web.ProductSpecificData.Builder>
getAdditionalFormContentBuilderList() {
return getAdditionalFormContentFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Web.ProductSpecificData, userfeedback.Web.ProductSpecificData.Builder, userfeedback.Web.ProductSpecificDataOrBuilder>
getAdditionalFormContentFieldBuilder() {
if (additionalFormContentBuilder_ == null) {
additionalFormContentBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
userfeedback.Web.ProductSpecificData, userfeedback.Web.ProductSpecificData.Builder, userfeedback.Web.ProductSpecificDataOrBuilder>(
additionalFormContent_,
((bitField0_ & 0x00020000) == 0x00020000),
getParentForChildren(),
isClean());
additionalFormContent_ = null;
}
return additionalFormContentBuilder_;
}
// optional string help_flow_session_id = 20;
private java.lang.Object helpFlowSessionId_ = "";
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public boolean hasHelpFlowSessionId() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public java.lang.String getHelpFlowSessionId() {
java.lang.Object ref = helpFlowSessionId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
helpFlowSessionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public com.google.protobuf.ByteString
getHelpFlowSessionIdBytes() {
java.lang.Object ref = helpFlowSessionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
helpFlowSessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public Builder setHelpFlowSessionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00040000;
helpFlowSessionId_ = value;
onChanged();
return this;
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public Builder clearHelpFlowSessionId() {
bitField0_ = (bitField0_ & ~0x00040000);
helpFlowSessionId_ = getDefaultInstance().getHelpFlowSessionId();
onChanged();
return this;
}
/**
* <code>optional string help_flow_session_id = 20;</code>
*
* <pre>
* Help flow session id, used to tie feedback suggestions with help actions.
* </pre>
*/
public Builder setHelpFlowSessionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00040000;
helpFlowSessionId_ = value;
onChanged();
return this;
}
// optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];
private userfeedback.Common.CommonData.ReportType reportType_ = userfeedback.Common.CommonData.ReportType.WEB_FEEDBACK;
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
public boolean hasReportType() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
public userfeedback.Common.CommonData.ReportType getReportType() {
return reportType_;
}
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
public Builder setReportType(userfeedback.Common.CommonData.ReportType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
reportType_ = value;
onChanged();
return this;
}
/**
* <code>optional .userfeedback.CommonData.ReportType report_type = 21 [default = WEB_FEEDBACK];</code>
*/
public Builder clearReportType() {
bitField0_ = (bitField0_ & ~0x00080000);
reportType_ = userfeedback.Common.CommonData.ReportType.WEB_FEEDBACK;
onChanged();
return this;
}
// optional string country_code = 22;
private java.lang.Object countryCode_ = "";
/**
* <code>optional string country_code = 22;</code>
*/
public boolean hasCountryCode() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* <code>optional string country_code = 22;</code>
*/
public java.lang.String getCountryCode() {
java.lang.Object ref = countryCode_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
countryCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string country_code = 22;</code>
*/
public com.google.protobuf.ByteString
getCountryCodeBytes() {
java.lang.Object ref = countryCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
countryCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string country_code = 22;</code>
*/
public Builder setCountryCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
countryCode_ = value;
onChanged();
return this;
}
/**
* <code>optional string country_code = 22;</code>
*/
public Builder clearCountryCode() {
bitField0_ = (bitField0_ & ~0x00100000);
countryCode_ = getDefaultInstance().getCountryCode();
onChanged();
return this;
}
/**
* <code>optional string country_code = 22;</code>
*/
public Builder setCountryCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
countryCode_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:userfeedback.CommonData)
}
static {
defaultInstance = new CommonData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:userfeedback.CommonData)
}
public interface ProductSpecificBinaryDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
/**
* <code>required string name = 1;</code>
*/
boolean hasName();
/**
* <code>required string name = 1;</code>
*/
java.lang.String getName();
/**
* <code>required string name = 1;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string mime_type = 2;
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
boolean hasMimeType();
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
java.lang.String getMimeType();
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
com.google.protobuf.ByteString
getMimeTypeBytes();
// optional bytes data = 3;
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
boolean hasData();
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
com.google.protobuf.ByteString getData();
}
/**
* Protobuf type {@code userfeedback.ProductSpecificBinaryData}
*/
public static final class ProductSpecificBinaryData extends
com.google.protobuf.GeneratedMessage
implements ProductSpecificBinaryDataOrBuilder {
// Use ProductSpecificBinaryData.newBuilder() to construct.
private ProductSpecificBinaryData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ProductSpecificBinaryData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ProductSpecificBinaryData defaultInstance;
public static ProductSpecificBinaryData getDefaultInstance() {
return defaultInstance;
}
public ProductSpecificBinaryData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProductSpecificBinaryData(
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;
mimeType_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
data_ = 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.Common.internal_static_userfeedback_ProductSpecificBinaryData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return userfeedback.Common.internal_static_userfeedback_ProductSpecificBinaryData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
userfeedback.Common.ProductSpecificBinaryData.class, userfeedback.Common.ProductSpecificBinaryData.Builder.class);
}
public static com.google.protobuf.Parser<ProductSpecificBinaryData> PARSER =
new com.google.protobuf.AbstractParser<ProductSpecificBinaryData>() {
public ProductSpecificBinaryData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProductSpecificBinaryData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<ProductSpecificBinaryData> 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>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string name = 1;</code>
*/
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>
*/
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 mime_type = 2;
public static final int MIME_TYPE_FIELD_NUMBER = 2;
private java.lang.Object mimeType_;
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public boolean hasMimeType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public java.lang.String getMimeType() {
java.lang.Object ref = mimeType_;
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()) {
mimeType_ = s;
}
return s;
}
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public com.google.protobuf.ByteString
getMimeTypeBytes() {
java.lang.Object ref = mimeType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mimeType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bytes data = 3;
public static final int DATA_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString data_;
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
public boolean hasData() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
private void initFields() {
name_ = "";
mimeType_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
}
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, getMimeTypeBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, data_);
}
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, getMimeTypeBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, data_);
}
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.Common.ProductSpecificBinaryData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static userfeedback.Common.ProductSpecificBinaryData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static userfeedback.Common.ProductSpecificBinaryData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static userfeedback.Common.ProductSpecificBinaryData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static userfeedback.Common.ProductSpecificBinaryData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static userfeedback.Common.ProductSpecificBinaryData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static userfeedback.Common.ProductSpecificBinaryData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static userfeedback.Common.ProductSpecificBinaryData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static userfeedback.Common.ProductSpecificBinaryData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static userfeedback.Common.ProductSpecificBinaryData 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.Common.ProductSpecificBinaryData 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.ProductSpecificBinaryData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements userfeedback.Common.ProductSpecificBinaryDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return userfeedback.Common.internal_static_userfeedback_ProductSpecificBinaryData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return userfeedback.Common.internal_static_userfeedback_ProductSpecificBinaryData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
userfeedback.Common.ProductSpecificBinaryData.class, userfeedback.Common.ProductSpecificBinaryData.Builder.class);
}
// Construct using userfeedback.Common.ProductSpecificBinaryData.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);
mimeType_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
data_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return userfeedback.Common.internal_static_userfeedback_ProductSpecificBinaryData_descriptor;
}
public userfeedback.Common.ProductSpecificBinaryData getDefaultInstanceForType() {
return userfeedback.Common.ProductSpecificBinaryData.getDefaultInstance();
}
public userfeedback.Common.ProductSpecificBinaryData build() {
userfeedback.Common.ProductSpecificBinaryData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public userfeedback.Common.ProductSpecificBinaryData buildPartial() {
userfeedback.Common.ProductSpecificBinaryData result = new userfeedback.Common.ProductSpecificBinaryData(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.mimeType_ = mimeType_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.data_ = data_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof userfeedback.Common.ProductSpecificBinaryData) {
return mergeFrom((userfeedback.Common.ProductSpecificBinaryData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(userfeedback.Common.ProductSpecificBinaryData other) {
if (other == userfeedback.Common.ProductSpecificBinaryData.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasMimeType()) {
bitField0_ |= 0x00000002;
mimeType_ = other.mimeType_;
onChanged();
}
if (other.hasData()) {
setData(other.getData());
}
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.Common.ProductSpecificBinaryData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (userfeedback.Common.ProductSpecificBinaryData) 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>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string name = 1;</code>
*/
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>
*/
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>
*/
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>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>required string name = 1;</code>
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string mime_type = 2;
private java.lang.Object mimeType_ = "";
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public boolean hasMimeType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public java.lang.String getMimeType() {
java.lang.Object ref = mimeType_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
mimeType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public com.google.protobuf.ByteString
getMimeTypeBytes() {
java.lang.Object ref = mimeType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mimeType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public Builder setMimeType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
mimeType_ = value;
onChanged();
return this;
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public Builder clearMimeType() {
bitField0_ = (bitField0_ & ~0x00000002);
mimeType_ = getDefaultInstance().getMimeType();
onChanged();
return this;
}
/**
* <code>optional string mime_type = 2;</code>
*
* <pre>
* mime_type of data
* </pre>
*/
public Builder setMimeTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
mimeType_ = value;
onChanged();
return this;
}
// optional bytes data = 3;
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
public boolean hasData() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
data_ = value;
onChanged();
return this;
}
/**
* <code>optional bytes data = 3;</code>
*
* <pre>
* raw data
* </pre>
*/
public Builder clearData() {
bitField0_ = (bitField0_ & ~0x00000004);
data_ = getDefaultInstance().getData();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:userfeedback.ProductSpecificBinaryData)
}
static {
defaultInstance = new ProductSpecificBinaryData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:userfeedback.ProductSpecificBinaryData)
}
public interface ReceiverExperimentOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
/**
* <code>required string name = 1;</code>
*/
boolean hasName();
/**
* <code>required string name = 1;</code>
*/
java.lang.String getName();
/**
* <code>required string name = 1;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string value = 2;
/**
* <code>optional string value = 2;</code>
*/
boolean hasValue();
/**
* <code>optional string value = 2;</code>
*/
java.lang.String getValue();
/**
* <code>optional string value = 2;</code>
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code userfeedback.ReceiverExperiment}
*/
public static final class ReceiverExperiment extends
com.google.protobuf.GeneratedMessage
implements ReceiverExperimentOrBuilder {
// Use ReceiverExperiment.newBuilder() to construct.
private ReceiverExperiment(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ReceiverExperiment(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ReceiverExperiment defaultInstance;
public static ReceiverExperiment getDefaultInstance() {
return defaultInstance;
}
public ReceiverExperiment getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReceiverExperiment(
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;
value_ = 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.Common.internal_static_userfeedback_ReceiverExperiment_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return userfeedback.Common.internal_static_userfeedback_ReceiverExperiment_fieldAccessorTable
.ensureFieldAccessorsInitialized(
userfeedback.Common.ReceiverExperiment.class, userfeedback.Common.ReceiverExperiment.Builder.class);
}
public static com.google.protobuf.Parser<ReceiverExperiment> PARSER =
new com.google.protobuf.AbstractParser<ReceiverExperiment>() {
public ReceiverExperiment parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReceiverExperiment(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<ReceiverExperiment> 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>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string name = 1;</code>
*/
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>
*/
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 value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* <code>optional string value = 2;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string value = 2;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
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()) {
value_ = s;
}
return s;
}
}
/**
* <code>optional string value = 2;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
value_ = "";
}
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, getValueBytes());
}
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, getValueBytes());
}
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.Common.ReceiverExperiment parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static userfeedback.Common.ReceiverExperiment parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static userfeedback.Common.ReceiverExperiment parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static userfeedback.Common.ReceiverExperiment parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static userfeedback.Common.ReceiverExperiment parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static userfeedback.Common.ReceiverExperiment parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static userfeedback.Common.ReceiverExperiment parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static userfeedback.Common.ReceiverExperiment parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static userfeedback.Common.ReceiverExperiment parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static userfeedback.Common.ReceiverExperiment 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.Common.ReceiverExperiment 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.ReceiverExperiment}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements userfeedback.Common.ReceiverExperimentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return userfeedback.Common.internal_static_userfeedback_ReceiverExperiment_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return userfeedback.Common.internal_static_userfeedback_ReceiverExperiment_fieldAccessorTable
.ensureFieldAccessorsInitialized(
userfeedback.Common.ReceiverExperiment.class, userfeedback.Common.ReceiverExperiment.Builder.class);
}
// Construct using userfeedback.Common.ReceiverExperiment.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);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return userfeedback.Common.internal_static_userfeedback_ReceiverExperiment_descriptor;
}
public userfeedback.Common.ReceiverExperiment getDefaultInstanceForType() {
return userfeedback.Common.ReceiverExperiment.getDefaultInstance();
}
public userfeedback.Common.ReceiverExperiment build() {
userfeedback.Common.ReceiverExperiment result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public userfeedback.Common.ReceiverExperiment buildPartial() {
userfeedback.Common.ReceiverExperiment result = new userfeedback.Common.ReceiverExperiment(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.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof userfeedback.Common.ReceiverExperiment) {
return mergeFrom((userfeedback.Common.ReceiverExperiment)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(userfeedback.Common.ReceiverExperiment other) {
if (other == userfeedback.Common.ReceiverExperiment.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
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.Common.ReceiverExperiment parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (userfeedback.Common.ReceiverExperiment) 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>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string name = 1;</code>
*/
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>
*/
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>
*/
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>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>required string name = 1;</code>
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string value = 2;
private java.lang.Object value_ = "";
/**
* <code>optional string value = 2;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string value = 2;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string value = 2;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string value = 2;</code>
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* <code>optional string value = 2;</code>
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* <code>optional string value = 2;</code>
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:userfeedback.ReceiverExperiment)
}
static {
defaultInstance = new ReceiverExperiment(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:userfeedback.ReceiverExperiment)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_userfeedback_CommonData_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_userfeedback_CommonData_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_userfeedback_ProductSpecificBinaryData_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_userfeedback_ProductSpecificBinaryData_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_userfeedback_ReceiverExperiment_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_userfeedback_ReceiverExperiment_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\037userfeedback/proto/common.proto\022\014userf" +
"eedback\032\034userfeedback/proto/web.proto\"\206\n" +
"\n\nCommonData\022\017\n\007gaia_id\030\001 \001(\006\022\023\n\013descrip" +
"tion\030\002 \001(\t\022\036\n\026description_translated\030\004 \001" +
"(\t\022 \n\024spelling_error_count\030\021 \001(\005:\002-1\022\'\n\033" +
"source_description_language\030\005 \001(\t:\002en\022\032\n" +
"\013ui_language\030\006 \001(\t:\005en_US\022\022\n\nuser_email\030" +
"\003 \001(\t\022 \n\030unique_report_identifier\030\007 \001(\t\022" +
")\n!product_specific_binary_data_name\030\010 \003" +
"(\t\022M\n\034product_specific_binary_data\030\t \003(\013",
"2\'.userfeedback.ProductSpecificBinaryDat" +
"a\022\027\n\017product_version\030\n \001(\t\022@\n\025product_sp" +
"ecific_data\030\013 \003(\0132!.userfeedback.Product" +
"SpecificData\022\036\n\022obfuscated_gaia_id\030\014 \001(\006" +
"B\002\030\001\022\034\n\024obfuscated_gaia_type\030\r \001(\t\022\026\n\016ga" +
"ia_user_type\030\016 \001(\t\022 \n\030product_specific_c" +
"ontext\030\017 \001(\t\022!\n\031obfuscated_gaia_id_strin" +
"g\030\020 \001(\t\022B\n\027additional_form_content\030\023 \003(\013" +
"2!.userfeedback.ProductSpecificData\022\034\n\024h" +
"elp_flow_session_id\030\024 \001(\t\022F\n\013report_type",
"\030\025 \001(\0162#.userfeedback.CommonData.ReportT" +
"ype:\014WEB_FEEDBACK\022\024\n\014country_code\030\026 \001(\t\"" +
"\344\003\n\nReportType\022\020\n\014WEB_FEEDBACK\020\001\022\016\n\nIE_T" +
"OOLBAR\020\002\022\n\n\006CHROME\020\003\022\r\n\tCHROME_OS\020\004\022\032\n\026A" +
"NDROID_CRASH_EXTERNAL\020\005\022\034\n\030ANDROID_BATTE" +
"RY_EXTERNAL\020\006\022\030\n\024ANDROID_ANR_EXTERNAL\020\007\022" +
"%\n!ANDROID_RUNNING_SERVICES_EXTERNAL\020\010\022\032" +
"\n\026ANDROID_CRASH_INTERNAL\020\t\022\034\n\030ANDROID_BA" +
"TTERY_INTERNAL\020\n\022\030\n\024ANDROID_ANR_INTERNAL" +
"\020\013\022%\n!ANDROID_RUNNING_SERVICES_INTERNAL\020",
"\014\022#\n\037ANDROID_USER_INITIATED_INTERNAL\020\r\022\026" +
"\n\022IOS_CRASH_INTERNAL\020\016\022\037\n\033IOS_USER_INITI" +
"ATED_INTERNAL\020\017\022\025\n\021FEEDBACK_EXTERNAL\020\020\022\017" +
"\n\013IMPORT_DATA\020\021\022\035\n\031CHROME_APP_CRASH_EXTE" +
"RNAL\020\022\"J\n\031ProductSpecificBinaryData\022\014\n\004n" +
"ame\030\001 \002(\t\022\021\n\tmime_type\030\002 \001(\t\022\014\n\004data\030\003 \001" +
"(\014\"1\n\022ReceiverExperiment\022\014\n\004name\030\001 \002(\t\022\r" +
"\n\005value\030\002 \001(\t"
};
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_CommonData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_userfeedback_CommonData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_userfeedback_CommonData_descriptor,
new java.lang.String[] { "GaiaId", "Description", "DescriptionTranslated", "SpellingErrorCount", "SourceDescriptionLanguage", "UiLanguage", "UserEmail", "UniqueReportIdentifier", "ProductSpecificBinaryDataName", "ProductSpecificBinaryData", "ProductVersion", "ProductSpecificData", "ObfuscatedGaiaId", "ObfuscatedGaiaType", "GaiaUserType", "ProductSpecificContext", "ObfuscatedGaiaIdString", "AdditionalFormContent", "HelpFlowSessionId", "ReportType", "CountryCode", });
internal_static_userfeedback_ProductSpecificBinaryData_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_userfeedback_ProductSpecificBinaryData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_userfeedback_ProductSpecificBinaryData_descriptor,
new java.lang.String[] { "Name", "MimeType", "Data", });
internal_static_userfeedback_ReceiverExperiment_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_userfeedback_ReceiverExperiment_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_userfeedback_ReceiverExperiment_descriptor,
new java.lang.String[] { "Name", "Value", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
userfeedback.Web.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}