Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.eharmony.aloha.score.Scores Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com.eharmony.aloha.score.Scores.proto
package com.eharmony.aloha.score;
public final class Scores {
private Scores() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registry.add(com.eharmony.aloha.score.Scores.Score.BooleanScore.impl);
registry.add(com.eharmony.aloha.score.Scores.Score.IntScore.impl);
registry.add(com.eharmony.aloha.score.Scores.Score.LongScore.impl);
registry.add(com.eharmony.aloha.score.Scores.Score.FloatScore.impl);
registry.add(com.eharmony.aloha.score.Scores.Score.DoubleScore.impl);
registry.add(com.eharmony.aloha.score.Scores.Score.StringScore.impl);
}
public interface ScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .com.eharmony.aloha.score.Score.BaseScore score = 1;
boolean hasScore();
com.eharmony.aloha.score.Scores.Score.BaseScore getScore();
com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder getScoreOrBuilder();
// optional .com.eharmony.aloha.score.Score.ScoreError error = 2;
boolean hasError();
com.eharmony.aloha.score.Scores.Score.ScoreError getError();
com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder getErrorOrBuilder();
// repeated .com.eharmony.aloha.score.Score sub_scores = 3;
java.util.List
getSubScoresList();
com.eharmony.aloha.score.Scores.Score getSubScores(int index);
int getSubScoresCount();
java.util.List extends com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getSubScoresOrBuilderList();
com.eharmony.aloha.score.Scores.ScoreOrBuilder getSubScoresOrBuilder(
int index);
}
public static final class Score extends
com.google.protobuf.GeneratedMessage
implements ScoreOrBuilder {
// Use Score.newBuilder() to construct.
private Score(Builder builder) {
super(builder);
}
private Score(boolean noInit) {}
private static final Score defaultInstance;
public static Score getDefaultInstance() {
return defaultInstance;
}
public Score getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_fieldAccessorTable;
}
public interface ModelIdOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int64 id = 1;
boolean hasId();
long getId();
// optional string name = 2;
boolean hasName();
String getName();
}
public static final class ModelId extends
com.google.protobuf.GeneratedMessage
implements ModelIdOrBuilder {
// Use ModelId.newBuilder() to construct.
private ModelId(Builder builder) {
super(builder);
}
private ModelId(boolean noInit) {}
private static final ModelId defaultInstance;
public static ModelId getDefaultInstance() {
return defaultInstance;
}
public ModelId getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ModelId_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ModelId_fieldAccessorTable;
}
private int bitField0_;
// required int64 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public long getId() {
return id_;
}
// optional string name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getName() {
java.lang.Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
id_ = 0L;
name_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
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.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ModelId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.ModelId prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ModelId_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ModelId_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.ModelId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.ModelId.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.ModelId getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.ModelId build() {
com.eharmony.aloha.score.Scores.Score.ModelId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.ModelId buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.ModelId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.ModelId buildPartial() {
com.eharmony.aloha.score.Scores.Score.ModelId result = new com.eharmony.aloha.score.Scores.Score.ModelId(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.ModelId) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.ModelId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.ModelId other) {
if (other == com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasName()) {
setName(other.getName());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt64();
break;
}
case 18: {
bitField0_ |= 0x00000002;
name_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required int64 id = 1;
private long id_ ;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public long getId() {
return id_;
}
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
// optional string name = 2;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.ModelId)
}
static {
defaultInstance = new ModelId(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.ModelId)
}
public interface MissingRequiredFieldsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated string names = 1;
java.util.List getNamesList();
int getNamesCount();
String getNames(int index);
}
public static final class MissingRequiredFields extends
com.google.protobuf.GeneratedMessage
implements MissingRequiredFieldsOrBuilder {
// Use MissingRequiredFields.newBuilder() to construct.
private MissingRequiredFields(Builder builder) {
super(builder);
}
private MissingRequiredFields(boolean noInit) {}
private static final MissingRequiredFields defaultInstance;
public static MissingRequiredFields getDefaultInstance() {
return defaultInstance;
}
public MissingRequiredFields getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_fieldAccessorTable;
}
// repeated string names = 1;
public static final int NAMES_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList names_;
public java.util.List
getNamesList() {
return names_;
}
public int getNamesCount() {
return names_.size();
}
public String getNames(int index) {
return names_.get(index);
}
private void initFields() {
names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < names_.size(); i++) {
output.writeBytes(1, names_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < names_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(names_.getByteString(i));
}
size += dataSize;
size += 1 * getNamesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.MissingRequiredFields parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.MissingRequiredFields prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFields getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFields build() {
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.MissingRequiredFields buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFields buildPartial() {
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields result = new com.eharmony.aloha.score.Scores.Score.MissingRequiredFields(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
names_ = new com.google.protobuf.UnmodifiableLazyStringList(
names_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.names_ = names_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.MissingRequiredFields) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.MissingRequiredFields)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.MissingRequiredFields other) {
if (other == com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance()) return this;
if (!other.names_.isEmpty()) {
if (names_.isEmpty()) {
names_ = other.names_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNamesIsMutable();
names_.addAll(other.names_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
ensureNamesIsMutable();
names_.add(input.readBytes());
break;
}
}
}
}
private int bitField0_;
// repeated string names = 1;
private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureNamesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
names_ = new com.google.protobuf.LazyStringArrayList(names_);
bitField0_ |= 0x00000001;
}
}
public java.util.List
getNamesList() {
return java.util.Collections.unmodifiableList(names_);
}
public int getNamesCount() {
return names_.size();
}
public String getNames(int index) {
return names_.get(index);
}
public Builder setNames(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNamesIsMutable();
names_.set(index, value);
onChanged();
return this;
}
public Builder addNames(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNamesIsMutable();
names_.add(value);
onChanged();
return this;
}
public Builder addAllNames(
java.lang.Iterable values) {
ensureNamesIsMutable();
super.addAll(values, names_);
onChanged();
return this;
}
public Builder clearNames() {
names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
void addNames(com.google.protobuf.ByteString value) {
ensureNamesIsMutable();
names_.add(value);
onChanged();
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.MissingRequiredFields)
}
static {
defaultInstance = new MissingRequiredFields(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.MissingRequiredFields)
}
public interface ScoreErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .com.eharmony.aloha.score.Score.ModelId model = 1;
boolean hasModel();
com.eharmony.aloha.score.Scores.Score.ModelId getModel();
com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder getModelOrBuilder();
// optional .com.eharmony.aloha.score.Score.MissingRequiredFields missing_features = 2;
boolean hasMissingFeatures();
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields getMissingFeatures();
com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder getMissingFeaturesOrBuilder();
// repeated string messages = 3;
java.util.List getMessagesList();
int getMessagesCount();
String getMessages(int index);
}
public static final class ScoreError extends
com.google.protobuf.GeneratedMessage
implements ScoreErrorOrBuilder {
// Use ScoreError.newBuilder() to construct.
private ScoreError(Builder builder) {
super(builder);
}
private ScoreError(boolean noInit) {}
private static final ScoreError defaultInstance;
public static ScoreError getDefaultInstance() {
return defaultInstance;
}
public ScoreError getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ScoreError_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ScoreError_fieldAccessorTable;
}
private int bitField0_;
// required .com.eharmony.aloha.score.Score.ModelId model = 1;
public static final int MODEL_FIELD_NUMBER = 1;
private com.eharmony.aloha.score.Scores.Score.ModelId model_;
public boolean hasModel() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.eharmony.aloha.score.Scores.Score.ModelId getModel() {
return model_;
}
public com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder getModelOrBuilder() {
return model_;
}
// optional .com.eharmony.aloha.score.Score.MissingRequiredFields missing_features = 2;
public static final int MISSING_FEATURES_FIELD_NUMBER = 2;
private com.eharmony.aloha.score.Scores.Score.MissingRequiredFields missingFeatures_;
public boolean hasMissingFeatures() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFields getMissingFeatures() {
return missingFeatures_;
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder getMissingFeaturesOrBuilder() {
return missingFeatures_;
}
// repeated string messages = 3;
public static final int MESSAGES_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList messages_;
public java.util.List
getMessagesList() {
return messages_;
}
public int getMessagesCount() {
return messages_.size();
}
public String getMessages(int index) {
return messages_.get(index);
}
private void initFields() {
model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
missingFeatures_ = com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance();
messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasModel()) {
memoizedIsInitialized = 0;
return false;
}
if (!getModel().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.writeMessage(1, model_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, missingFeatures_);
}
for (int i = 0; i < messages_.size(); i++) {
output.writeBytes(3, messages_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, model_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, missingFeatures_);
}
{
int dataSize = 0;
for (int i = 0; i < messages_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(messages_.getByteString(i));
}
size += dataSize;
size += 1 * getMessagesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.ScoreError parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.ScoreError prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ScoreError_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_ScoreError_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.ScoreError.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getModelFieldBuilder();
getMissingFeaturesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (modelBuilder_ == null) {
model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
} else {
modelBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (missingFeaturesBuilder_ == null) {
missingFeatures_ = com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance();
} else {
missingFeaturesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.ScoreError.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.ScoreError getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.ScoreError build() {
com.eharmony.aloha.score.Scores.Score.ScoreError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.ScoreError buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.ScoreError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.ScoreError buildPartial() {
com.eharmony.aloha.score.Scores.Score.ScoreError result = new com.eharmony.aloha.score.Scores.Score.ScoreError(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (modelBuilder_ == null) {
result.model_ = model_;
} else {
result.model_ = modelBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (missingFeaturesBuilder_ == null) {
result.missingFeatures_ = missingFeatures_;
} else {
result.missingFeatures_ = missingFeaturesBuilder_.build();
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
messages_ = new com.google.protobuf.UnmodifiableLazyStringList(
messages_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.messages_ = messages_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.ScoreError) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.ScoreError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.ScoreError other) {
if (other == com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance()) return this;
if (other.hasModel()) {
mergeModel(other.getModel());
}
if (other.hasMissingFeatures()) {
mergeMissingFeatures(other.getMissingFeatures());
}
if (!other.messages_.isEmpty()) {
if (messages_.isEmpty()) {
messages_ = other.messages_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureMessagesIsMutable();
messages_.addAll(other.messages_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasModel()) {
return false;
}
if (!getModel().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.eharmony.aloha.score.Scores.Score.ModelId.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.ModelId.newBuilder();
if (hasModel()) {
subBuilder.mergeFrom(getModel());
}
input.readMessage(subBuilder, extensionRegistry);
setModel(subBuilder.buildPartial());
break;
}
case 18: {
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.newBuilder();
if (hasMissingFeatures()) {
subBuilder.mergeFrom(getMissingFeatures());
}
input.readMessage(subBuilder, extensionRegistry);
setMissingFeatures(subBuilder.buildPartial());
break;
}
case 26: {
ensureMessagesIsMutable();
messages_.add(input.readBytes());
break;
}
}
}
}
private int bitField0_;
// required .com.eharmony.aloha.score.Score.ModelId model = 1;
private com.eharmony.aloha.score.Scores.Score.ModelId model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ModelId, com.eharmony.aloha.score.Scores.Score.ModelId.Builder, com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder> modelBuilder_;
public boolean hasModel() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.eharmony.aloha.score.Scores.Score.ModelId getModel() {
if (modelBuilder_ == null) {
return model_;
} else {
return modelBuilder_.getMessage();
}
}
public Builder setModel(com.eharmony.aloha.score.Scores.Score.ModelId value) {
if (modelBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
model_ = value;
onChanged();
} else {
modelBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
public Builder setModel(
com.eharmony.aloha.score.Scores.Score.ModelId.Builder builderForValue) {
if (modelBuilder_ == null) {
model_ = builderForValue.build();
onChanged();
} else {
modelBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
public Builder mergeModel(com.eharmony.aloha.score.Scores.Score.ModelId value) {
if (modelBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
model_ != com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance()) {
model_ =
com.eharmony.aloha.score.Scores.Score.ModelId.newBuilder(model_).mergeFrom(value).buildPartial();
} else {
model_ = value;
}
onChanged();
} else {
modelBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
public Builder clearModel() {
if (modelBuilder_ == null) {
model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
onChanged();
} else {
modelBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public com.eharmony.aloha.score.Scores.Score.ModelId.Builder getModelBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getModelFieldBuilder().getBuilder();
}
public com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder getModelOrBuilder() {
if (modelBuilder_ != null) {
return modelBuilder_.getMessageOrBuilder();
} else {
return model_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ModelId, com.eharmony.aloha.score.Scores.Score.ModelId.Builder, com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder>
getModelFieldBuilder() {
if (modelBuilder_ == null) {
modelBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ModelId, com.eharmony.aloha.score.Scores.Score.ModelId.Builder, com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder>(
model_,
getParentForChildren(),
isClean());
model_ = null;
}
return modelBuilder_;
}
// optional .com.eharmony.aloha.score.Score.MissingRequiredFields missing_features = 2;
private com.eharmony.aloha.score.Scores.Score.MissingRequiredFields missingFeatures_ = com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields, com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder, com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder> missingFeaturesBuilder_;
public boolean hasMissingFeatures() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFields getMissingFeatures() {
if (missingFeaturesBuilder_ == null) {
return missingFeatures_;
} else {
return missingFeaturesBuilder_.getMessage();
}
}
public Builder setMissingFeatures(com.eharmony.aloha.score.Scores.Score.MissingRequiredFields value) {
if (missingFeaturesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
missingFeatures_ = value;
onChanged();
} else {
missingFeaturesBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder setMissingFeatures(
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder builderForValue) {
if (missingFeaturesBuilder_ == null) {
missingFeatures_ = builderForValue.build();
onChanged();
} else {
missingFeaturesBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
public Builder mergeMissingFeatures(com.eharmony.aloha.score.Scores.Score.MissingRequiredFields value) {
if (missingFeaturesBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
missingFeatures_ != com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance()) {
missingFeatures_ =
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.newBuilder(missingFeatures_).mergeFrom(value).buildPartial();
} else {
missingFeatures_ = value;
}
onChanged();
} else {
missingFeaturesBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder clearMissingFeatures() {
if (missingFeaturesBuilder_ == null) {
missingFeatures_ = com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.getDefaultInstance();
onChanged();
} else {
missingFeaturesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder getMissingFeaturesBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getMissingFeaturesFieldBuilder().getBuilder();
}
public com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder getMissingFeaturesOrBuilder() {
if (missingFeaturesBuilder_ != null) {
return missingFeaturesBuilder_.getMessageOrBuilder();
} else {
return missingFeatures_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields, com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder, com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder>
getMissingFeaturesFieldBuilder() {
if (missingFeaturesBuilder_ == null) {
missingFeaturesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields, com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder, com.eharmony.aloha.score.Scores.Score.MissingRequiredFieldsOrBuilder>(
missingFeatures_,
getParentForChildren(),
isClean());
missingFeatures_ = null;
}
return missingFeaturesBuilder_;
}
// repeated string messages = 3;
private com.google.protobuf.LazyStringList messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMessagesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
messages_ = new com.google.protobuf.LazyStringArrayList(messages_);
bitField0_ |= 0x00000004;
}
}
public java.util.List
getMessagesList() {
return java.util.Collections.unmodifiableList(messages_);
}
public int getMessagesCount() {
return messages_.size();
}
public String getMessages(int index) {
return messages_.get(index);
}
public Builder setMessages(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMessagesIsMutable();
messages_.set(index, value);
onChanged();
return this;
}
public Builder addMessages(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMessagesIsMutable();
messages_.add(value);
onChanged();
return this;
}
public Builder addAllMessages(
java.lang.Iterable values) {
ensureMessagesIsMutable();
super.addAll(values, messages_);
onChanged();
return this;
}
public Builder clearMessages() {
messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
void addMessages(com.google.protobuf.ByteString value) {
ensureMessagesIsMutable();
messages_.add(value);
onChanged();
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.ScoreError)
}
static {
defaultInstance = new ScoreError(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.ScoreError)
}
public interface BaseScoreOrBuilder extends
com.google.protobuf.GeneratedMessage.
ExtendableMessageOrBuilder {
// required .com.eharmony.aloha.score.Score.ModelId model = 1;
boolean hasModel();
com.eharmony.aloha.score.Scores.Score.ModelId getModel();
com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder getModelOrBuilder();
// required .com.eharmony.aloha.score.Score.BaseScore.ScoreType type = 2;
boolean hasType();
com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType getType();
// optional float probability = 3;
boolean hasProbability();
float getProbability();
}
public static final class BaseScore extends
com.google.protobuf.GeneratedMessage.ExtendableMessage<
BaseScore> implements BaseScoreOrBuilder {
// Use BaseScore.newBuilder() to construct.
private BaseScore(Builder builder) {
super(builder);
}
private BaseScore(boolean noInit) {}
private static final BaseScore defaultInstance;
public static BaseScore getDefaultInstance() {
return defaultInstance;
}
public BaseScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BaseScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BaseScore_fieldAccessorTable;
}
public enum ScoreType
implements com.google.protobuf.ProtocolMessageEnum {
NONE(0, 1),
BOOLEAN(1, 2),
INT(2, 3),
LONG(3, 4),
FLOAT(4, 5),
DOUBLE(5, 6),
STRING(6, 7),
;
public static final int NONE_VALUE = 1;
public static final int BOOLEAN_VALUE = 2;
public static final int INT_VALUE = 3;
public static final int LONG_VALUE = 4;
public static final int FLOAT_VALUE = 5;
public static final int DOUBLE_VALUE = 6;
public static final int STRING_VALUE = 7;
public final int getNumber() { return value; }
public static ScoreType valueOf(int value) {
switch (value) {
case 1: return NONE;
case 2: return BOOLEAN;
case 3: return INT;
case 4: return LONG;
case 5: return FLOAT;
case 6: return DOUBLE;
case 7: return STRING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ScoreType findValueByNumber(int number) {
return ScoreType.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.Score.BaseScore.getDescriptor().getEnumTypes().get(0);
}
private static final ScoreType[] VALUES = {
NONE, BOOLEAN, INT, LONG, FLOAT, DOUBLE, STRING,
};
public static ScoreType 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 ScoreType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.eharmony.aloha.score.Score.BaseScore.ScoreType)
}
private int bitField0_;
// required .com.eharmony.aloha.score.Score.ModelId model = 1;
public static final int MODEL_FIELD_NUMBER = 1;
private com.eharmony.aloha.score.Scores.Score.ModelId model_;
public boolean hasModel() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.eharmony.aloha.score.Scores.Score.ModelId getModel() {
return model_;
}
public com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder getModelOrBuilder() {
return model_;
}
// required .com.eharmony.aloha.score.Score.BaseScore.ScoreType type = 2;
public static final int TYPE_FIELD_NUMBER = 2;
private com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType type_;
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType getType() {
return type_;
}
// optional float probability = 3;
public static final int PROBABILITY_FIELD_NUMBER = 3;
private float probability_;
public boolean hasProbability() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public float getProbability() {
return probability_;
}
private void initFields() {
model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
type_ = com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType.NONE;
probability_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasModel()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasType()) {
memoizedIsInitialized = 0;
return false;
}
if (!getModel().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessage
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, model_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, type_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, probability_);
}
extensionWriter.writeUntil(536870912, output);
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
.computeMessageSize(1, model_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, type_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, probability_);
}
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BaseScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.BaseScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
com.eharmony.aloha.score.Scores.Score.BaseScore, Builder> implements com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BaseScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BaseScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.BaseScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getModelFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (modelBuilder_ == null) {
model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
} else {
modelBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
type_ = com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType.NONE;
bitField0_ = (bitField0_ & ~0x00000002);
probability_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.BaseScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.BaseScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.BaseScore build() {
com.eharmony.aloha.score.Scores.Score.BaseScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.BaseScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.BaseScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.BaseScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.BaseScore result = new com.eharmony.aloha.score.Scores.Score.BaseScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (modelBuilder_ == null) {
result.model_ = model_;
} else {
result.model_ = modelBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.probability_ = probability_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.BaseScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.BaseScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.BaseScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance()) return this;
if (other.hasModel()) {
mergeModel(other.getModel());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasProbability()) {
setProbability(other.getProbability());
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasModel()) {
return false;
}
if (!hasType()) {
return false;
}
if (!getModel().isInitialized()) {
return false;
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.eharmony.aloha.score.Scores.Score.ModelId.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.ModelId.newBuilder();
if (hasModel()) {
subBuilder.mergeFrom(getModel());
}
input.readMessage(subBuilder, extensionRegistry);
setModel(subBuilder.buildPartial());
break;
}
case 16: {
int rawValue = input.readEnum();
com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType value = com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
type_ = value;
}
break;
}
case 29: {
bitField0_ |= 0x00000004;
probability_ = input.readFloat();
break;
}
}
}
}
private int bitField0_;
// required .com.eharmony.aloha.score.Score.ModelId model = 1;
private com.eharmony.aloha.score.Scores.Score.ModelId model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ModelId, com.eharmony.aloha.score.Scores.Score.ModelId.Builder, com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder> modelBuilder_;
public boolean hasModel() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.eharmony.aloha.score.Scores.Score.ModelId getModel() {
if (modelBuilder_ == null) {
return model_;
} else {
return modelBuilder_.getMessage();
}
}
public Builder setModel(com.eharmony.aloha.score.Scores.Score.ModelId value) {
if (modelBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
model_ = value;
onChanged();
} else {
modelBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
public Builder setModel(
com.eharmony.aloha.score.Scores.Score.ModelId.Builder builderForValue) {
if (modelBuilder_ == null) {
model_ = builderForValue.build();
onChanged();
} else {
modelBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
public Builder mergeModel(com.eharmony.aloha.score.Scores.Score.ModelId value) {
if (modelBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
model_ != com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance()) {
model_ =
com.eharmony.aloha.score.Scores.Score.ModelId.newBuilder(model_).mergeFrom(value).buildPartial();
} else {
model_ = value;
}
onChanged();
} else {
modelBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
public Builder clearModel() {
if (modelBuilder_ == null) {
model_ = com.eharmony.aloha.score.Scores.Score.ModelId.getDefaultInstance();
onChanged();
} else {
modelBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public com.eharmony.aloha.score.Scores.Score.ModelId.Builder getModelBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getModelFieldBuilder().getBuilder();
}
public com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder getModelOrBuilder() {
if (modelBuilder_ != null) {
return modelBuilder_.getMessageOrBuilder();
} else {
return model_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ModelId, com.eharmony.aloha.score.Scores.Score.ModelId.Builder, com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder>
getModelFieldBuilder() {
if (modelBuilder_ == null) {
modelBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ModelId, com.eharmony.aloha.score.Scores.Score.ModelId.Builder, com.eharmony.aloha.score.Scores.Score.ModelIdOrBuilder>(
model_,
getParentForChildren(),
isClean());
model_ = null;
}
return modelBuilder_;
}
// required .com.eharmony.aloha.score.Score.BaseScore.ScoreType type = 2;
private com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType type_ = com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType.NONE;
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType getType() {
return type_;
}
public Builder setType(com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
type_ = value;
onChanged();
return this;
}
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = com.eharmony.aloha.score.Scores.Score.BaseScore.ScoreType.NONE;
onChanged();
return this;
}
// optional float probability = 3;
private float probability_ ;
public boolean hasProbability() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public float getProbability() {
return probability_;
}
public Builder setProbability(float value) {
bitField0_ |= 0x00000004;
probability_ = value;
onChanged();
return this;
}
public Builder clearProbability() {
bitField0_ = (bitField0_ & ~0x00000004);
probability_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.BaseScore)
}
static {
defaultInstance = new BaseScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.BaseScore)
}
public interface BooleanScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required bool score = 1;
boolean hasScore();
boolean getScore();
}
public static final class BooleanScore extends
com.google.protobuf.GeneratedMessage
implements BooleanScoreOrBuilder {
// Use BooleanScore.newBuilder() to construct.
private BooleanScore(Builder builder) {
super(builder);
}
private BooleanScore(boolean noInit) {}
private static final BooleanScore defaultInstance;
public static BooleanScore getDefaultInstance() {
return defaultInstance;
}
public BooleanScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BooleanScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BooleanScore_fieldAccessorTable;
}
private int bitField0_;
// required bool score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private boolean score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public boolean getScore() {
return score_;
}
private void initFields() {
score_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasScore()) {
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.writeBool(1, score_);
}
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
.computeBoolSize(1, score_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.BooleanScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.BooleanScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.BooleanScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BooleanScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_BooleanScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.BooleanScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
score_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.BooleanScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.BooleanScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.BooleanScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.BooleanScore build() {
com.eharmony.aloha.score.Scores.Score.BooleanScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.BooleanScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.BooleanScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.BooleanScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.BooleanScore result = new com.eharmony.aloha.score.Scores.Score.BooleanScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.score_ = score_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.BooleanScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.BooleanScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.BooleanScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.BooleanScore.getDefaultInstance()) return this;
if (other.hasScore()) {
setScore(other.getScore());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasScore()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
score_ = input.readBool();
break;
}
}
}
}
private int bitField0_;
// required bool score = 1;
private boolean score_ ;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public boolean getScore() {
return score_;
}
public Builder setScore(boolean value) {
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
return this;
}
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000001);
score_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.BooleanScore)
}
static {
defaultInstance = new BooleanScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.BooleanScore)
public static final int IMPL_FIELD_NUMBER = 102;
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.eharmony.aloha.score.Scores.Score.BaseScore,
com.eharmony.aloha.score.Scores.Score.BooleanScore> impl = com.google.protobuf.GeneratedMessage
.newMessageScopedGeneratedExtension(
com.eharmony.aloha.score.Scores.Score.BooleanScore.getDefaultInstance(),
0,
com.eharmony.aloha.score.Scores.Score.BooleanScore.class,
com.eharmony.aloha.score.Scores.Score.BooleanScore.getDefaultInstance());
}
public interface IntScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 score = 1;
boolean hasScore();
int getScore();
}
public static final class IntScore extends
com.google.protobuf.GeneratedMessage
implements IntScoreOrBuilder {
// Use IntScore.newBuilder() to construct.
private IntScore(Builder builder) {
super(builder);
}
private IntScore(boolean noInit) {}
private static final IntScore defaultInstance;
public static IntScore getDefaultInstance() {
return defaultInstance;
}
public IntScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_IntScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_IntScore_fieldAccessorTable;
}
private int bitField0_;
// required int32 score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private int score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getScore() {
return score_;
}
private void initFields() {
score_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasScore()) {
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.writeInt32(1, score_);
}
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
.computeInt32Size(1, score_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.IntScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.IntScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.IntScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_IntScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_IntScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.IntScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
score_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.IntScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.IntScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.IntScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.IntScore build() {
com.eharmony.aloha.score.Scores.Score.IntScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.IntScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.IntScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.IntScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.IntScore result = new com.eharmony.aloha.score.Scores.Score.IntScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.score_ = score_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.IntScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.IntScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.IntScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.IntScore.getDefaultInstance()) return this;
if (other.hasScore()) {
setScore(other.getScore());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasScore()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
score_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// required int32 score = 1;
private int score_ ;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getScore() {
return score_;
}
public Builder setScore(int value) {
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
return this;
}
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000001);
score_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.IntScore)
}
static {
defaultInstance = new IntScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.IntScore)
public static final int IMPL_FIELD_NUMBER = 103;
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.eharmony.aloha.score.Scores.Score.BaseScore,
com.eharmony.aloha.score.Scores.Score.IntScore> impl = com.google.protobuf.GeneratedMessage
.newMessageScopedGeneratedExtension(
com.eharmony.aloha.score.Scores.Score.IntScore.getDefaultInstance(),
0,
com.eharmony.aloha.score.Scores.Score.IntScore.class,
com.eharmony.aloha.score.Scores.Score.IntScore.getDefaultInstance());
}
public interface LongScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int64 score = 1;
boolean hasScore();
long getScore();
}
public static final class LongScore extends
com.google.protobuf.GeneratedMessage
implements LongScoreOrBuilder {
// Use LongScore.newBuilder() to construct.
private LongScore(Builder builder) {
super(builder);
}
private LongScore(boolean noInit) {}
private static final LongScore defaultInstance;
public static LongScore getDefaultInstance() {
return defaultInstance;
}
public LongScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_LongScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_LongScore_fieldAccessorTable;
}
private int bitField0_;
// required int64 score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private long score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public long getScore() {
return score_;
}
private void initFields() {
score_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasScore()) {
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.writeInt64(1, score_);
}
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
.computeInt64Size(1, score_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.LongScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.LongScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.LongScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_LongScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_LongScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.LongScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
score_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.LongScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.LongScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.LongScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.LongScore build() {
com.eharmony.aloha.score.Scores.Score.LongScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.LongScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.LongScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.LongScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.LongScore result = new com.eharmony.aloha.score.Scores.Score.LongScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.score_ = score_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.LongScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.LongScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.LongScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.LongScore.getDefaultInstance()) return this;
if (other.hasScore()) {
setScore(other.getScore());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasScore()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
score_ = input.readInt64();
break;
}
}
}
}
private int bitField0_;
// required int64 score = 1;
private long score_ ;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public long getScore() {
return score_;
}
public Builder setScore(long value) {
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
return this;
}
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000001);
score_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.LongScore)
}
static {
defaultInstance = new LongScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.LongScore)
public static final int IMPL_FIELD_NUMBER = 104;
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.eharmony.aloha.score.Scores.Score.BaseScore,
com.eharmony.aloha.score.Scores.Score.LongScore> impl = com.google.protobuf.GeneratedMessage
.newMessageScopedGeneratedExtension(
com.eharmony.aloha.score.Scores.Score.LongScore.getDefaultInstance(),
0,
com.eharmony.aloha.score.Scores.Score.LongScore.class,
com.eharmony.aloha.score.Scores.Score.LongScore.getDefaultInstance());
}
public interface FloatScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required float score = 1;
boolean hasScore();
float getScore();
}
public static final class FloatScore extends
com.google.protobuf.GeneratedMessage
implements FloatScoreOrBuilder {
// Use FloatScore.newBuilder() to construct.
private FloatScore(Builder builder) {
super(builder);
}
private FloatScore(boolean noInit) {}
private static final FloatScore defaultInstance;
public static FloatScore getDefaultInstance() {
return defaultInstance;
}
public FloatScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_FloatScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_FloatScore_fieldAccessorTable;
}
private int bitField0_;
// required float score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private float score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public float getScore() {
return score_;
}
private void initFields() {
score_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasScore()) {
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.writeFloat(1, score_);
}
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
.computeFloatSize(1, score_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.FloatScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.FloatScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.FloatScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_FloatScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_FloatScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.FloatScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
score_ = 0F;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.FloatScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.FloatScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.FloatScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.FloatScore build() {
com.eharmony.aloha.score.Scores.Score.FloatScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.FloatScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.FloatScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.FloatScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.FloatScore result = new com.eharmony.aloha.score.Scores.Score.FloatScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.score_ = score_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.FloatScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.FloatScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.FloatScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.FloatScore.getDefaultInstance()) return this;
if (other.hasScore()) {
setScore(other.getScore());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasScore()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 13: {
bitField0_ |= 0x00000001;
score_ = input.readFloat();
break;
}
}
}
}
private int bitField0_;
// required float score = 1;
private float score_ ;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public float getScore() {
return score_;
}
public Builder setScore(float value) {
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
return this;
}
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000001);
score_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.FloatScore)
}
static {
defaultInstance = new FloatScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.FloatScore)
public static final int IMPL_FIELD_NUMBER = 105;
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.eharmony.aloha.score.Scores.Score.BaseScore,
com.eharmony.aloha.score.Scores.Score.FloatScore> impl = com.google.protobuf.GeneratedMessage
.newMessageScopedGeneratedExtension(
com.eharmony.aloha.score.Scores.Score.FloatScore.getDefaultInstance(),
0,
com.eharmony.aloha.score.Scores.Score.FloatScore.class,
com.eharmony.aloha.score.Scores.Score.FloatScore.getDefaultInstance());
}
public interface DoubleScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required double score = 1;
boolean hasScore();
double getScore();
}
public static final class DoubleScore extends
com.google.protobuf.GeneratedMessage
implements DoubleScoreOrBuilder {
// Use DoubleScore.newBuilder() to construct.
private DoubleScore(Builder builder) {
super(builder);
}
private DoubleScore(boolean noInit) {}
private static final DoubleScore defaultInstance;
public static DoubleScore getDefaultInstance() {
return defaultInstance;
}
public DoubleScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_DoubleScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_DoubleScore_fieldAccessorTable;
}
private int bitField0_;
// required double score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private double score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public double getScore() {
return score_;
}
private void initFields() {
score_ = 0D;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasScore()) {
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.writeDouble(1, score_);
}
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
.computeDoubleSize(1, score_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.DoubleScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.DoubleScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.DoubleScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_DoubleScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_DoubleScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.DoubleScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
score_ = 0D;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.DoubleScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.DoubleScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.DoubleScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.DoubleScore build() {
com.eharmony.aloha.score.Scores.Score.DoubleScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.DoubleScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.DoubleScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.DoubleScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.DoubleScore result = new com.eharmony.aloha.score.Scores.Score.DoubleScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.score_ = score_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.DoubleScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.DoubleScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.DoubleScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.DoubleScore.getDefaultInstance()) return this;
if (other.hasScore()) {
setScore(other.getScore());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasScore()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 9: {
bitField0_ |= 0x00000001;
score_ = input.readDouble();
break;
}
}
}
}
private int bitField0_;
// required double score = 1;
private double score_ ;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public double getScore() {
return score_;
}
public Builder setScore(double value) {
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
return this;
}
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000001);
score_ = 0D;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.DoubleScore)
}
static {
defaultInstance = new DoubleScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.DoubleScore)
public static final int IMPL_FIELD_NUMBER = 106;
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.eharmony.aloha.score.Scores.Score.BaseScore,
com.eharmony.aloha.score.Scores.Score.DoubleScore> impl = com.google.protobuf.GeneratedMessage
.newMessageScopedGeneratedExtension(
com.eharmony.aloha.score.Scores.Score.DoubleScore.getDefaultInstance(),
0,
com.eharmony.aloha.score.Scores.Score.DoubleScore.class,
com.eharmony.aloha.score.Scores.Score.DoubleScore.getDefaultInstance());
}
public interface StringScoreOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string score = 1;
boolean hasScore();
String getScore();
}
public static final class StringScore extends
com.google.protobuf.GeneratedMessage
implements StringScoreOrBuilder {
// Use StringScore.newBuilder() to construct.
private StringScore(Builder builder) {
super(builder);
}
private StringScore(boolean noInit) {}
private static final StringScore defaultInstance;
public static StringScore getDefaultInstance() {
return defaultInstance;
}
public StringScore getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_StringScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_StringScore_fieldAccessorTable;
}
private int bitField0_;
// required string score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private java.lang.Object score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getScore() {
java.lang.Object ref = score_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
score_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getScoreBytes() {
java.lang.Object ref = score_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
score_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
score_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasScore()) {
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, getScoreBytes());
}
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, getScoreBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score.StringScore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score.StringScore prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.Score.StringScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_StringScore_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_StringScore_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.StringScore.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
score_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.StringScore.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score.StringScore getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.StringScore.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score.StringScore build() {
com.eharmony.aloha.score.Scores.Score.StringScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score.StringScore buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score.StringScore result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score.StringScore buildPartial() {
com.eharmony.aloha.score.Scores.Score.StringScore result = new com.eharmony.aloha.score.Scores.Score.StringScore(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.score_ = score_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score.StringScore) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score.StringScore)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score.StringScore other) {
if (other == com.eharmony.aloha.score.Scores.Score.StringScore.getDefaultInstance()) return this;
if (other.hasScore()) {
setScore(other.getScore());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasScore()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
score_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required string score = 1;
private java.lang.Object score_ = "";
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getScore() {
java.lang.Object ref = score_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
score_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setScore(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
return this;
}
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000001);
score_ = getDefaultInstance().getScore();
onChanged();
return this;
}
void setScore(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
score_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score.StringScore)
}
static {
defaultInstance = new StringScore(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score.StringScore)
public static final int IMPL_FIELD_NUMBER = 107;
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.eharmony.aloha.score.Scores.Score.BaseScore,
com.eharmony.aloha.score.Scores.Score.StringScore> impl = com.google.protobuf.GeneratedMessage
.newMessageScopedGeneratedExtension(
com.eharmony.aloha.score.Scores.Score.StringScore.getDefaultInstance(),
0,
com.eharmony.aloha.score.Scores.Score.StringScore.class,
com.eharmony.aloha.score.Scores.Score.StringScore.getDefaultInstance());
}
private int bitField0_;
// optional .com.eharmony.aloha.score.Score.BaseScore score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private com.eharmony.aloha.score.Scores.Score.BaseScore score_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.eharmony.aloha.score.Scores.Score.BaseScore getScore() {
return score_;
}
public com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder getScoreOrBuilder() {
return score_;
}
// optional .com.eharmony.aloha.score.Score.ScoreError error = 2;
public static final int ERROR_FIELD_NUMBER = 2;
private com.eharmony.aloha.score.Scores.Score.ScoreError error_;
public boolean hasError() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.eharmony.aloha.score.Scores.Score.ScoreError getError() {
return error_;
}
public com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder getErrorOrBuilder() {
return error_;
}
// repeated .com.eharmony.aloha.score.Score sub_scores = 3;
public static final int SUB_SCORES_FIELD_NUMBER = 3;
private java.util.List subScores_;
public java.util.List getSubScoresList() {
return subScores_;
}
public java.util.List extends com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getSubScoresOrBuilderList() {
return subScores_;
}
public int getSubScoresCount() {
return subScores_.size();
}
public com.eharmony.aloha.score.Scores.Score getSubScores(int index) {
return subScores_.get(index);
}
public com.eharmony.aloha.score.Scores.ScoreOrBuilder getSubScoresOrBuilder(
int index) {
return subScores_.get(index);
}
private void initFields() {
score_ = com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance();
error_ = com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance();
subScores_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasScore()) {
if (!getScore().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasError()) {
if (!getError().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getSubScoresCount(); i++) {
if (!getSubScores(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.writeMessage(1, score_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, error_);
}
for (int i = 0; i < subScores_.size(); i++) {
output.writeMessage(3, subScores_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, score_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, error_);
}
for (int i = 0; i < subScores_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, subScores_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.Score parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.Score prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.ScoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_Score_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.Score.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getScoreFieldBuilder();
getErrorFieldBuilder();
getSubScoresFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (scoreBuilder_ == null) {
score_ = com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance();
} else {
scoreBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (errorBuilder_ == null) {
error_ = com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance();
} else {
errorBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (subScoresBuilder_ == null) {
subScores_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
subScoresBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.Score.getDescriptor();
}
public com.eharmony.aloha.score.Scores.Score getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.Score.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.Score build() {
com.eharmony.aloha.score.Scores.Score result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.Score buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.Score result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.Score buildPartial() {
com.eharmony.aloha.score.Scores.Score result = new com.eharmony.aloha.score.Scores.Score(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (scoreBuilder_ == null) {
result.score_ = score_;
} else {
result.score_ = scoreBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (errorBuilder_ == null) {
result.error_ = error_;
} else {
result.error_ = errorBuilder_.build();
}
if (subScoresBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subScores_ = java.util.Collections.unmodifiableList(subScores_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.subScores_ = subScores_;
} else {
result.subScores_ = subScoresBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.Score) {
return mergeFrom((com.eharmony.aloha.score.Scores.Score)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.Score other) {
if (other == com.eharmony.aloha.score.Scores.Score.getDefaultInstance()) return this;
if (other.hasScore()) {
mergeScore(other.getScore());
}
if (other.hasError()) {
mergeError(other.getError());
}
if (subScoresBuilder_ == null) {
if (!other.subScores_.isEmpty()) {
if (subScores_.isEmpty()) {
subScores_ = other.subScores_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSubScoresIsMutable();
subScores_.addAll(other.subScores_);
}
onChanged();
}
} else {
if (!other.subScores_.isEmpty()) {
if (subScoresBuilder_.isEmpty()) {
subScoresBuilder_.dispose();
subScoresBuilder_ = null;
subScores_ = other.subScores_;
bitField0_ = (bitField0_ & ~0x00000004);
subScoresBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSubScoresFieldBuilder() : null;
} else {
subScoresBuilder_.addAllMessages(other.subScores_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (hasScore()) {
if (!getScore().isInitialized()) {
return false;
}
}
if (hasError()) {
if (!getError().isInitialized()) {
return false;
}
}
for (int i = 0; i < getSubScoresCount(); i++) {
if (!getSubScores(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.eharmony.aloha.score.Scores.Score.BaseScore.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.BaseScore.newBuilder();
if (hasScore()) {
subBuilder.mergeFrom(getScore());
}
input.readMessage(subBuilder, extensionRegistry);
setScore(subBuilder.buildPartial());
break;
}
case 18: {
com.eharmony.aloha.score.Scores.Score.ScoreError.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.ScoreError.newBuilder();
if (hasError()) {
subBuilder.mergeFrom(getError());
}
input.readMessage(subBuilder, extensionRegistry);
setError(subBuilder.buildPartial());
break;
}
case 26: {
com.eharmony.aloha.score.Scores.Score.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addSubScores(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// optional .com.eharmony.aloha.score.Score.BaseScore score = 1;
private com.eharmony.aloha.score.Scores.Score.BaseScore score_ = com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.BaseScore, com.eharmony.aloha.score.Scores.Score.BaseScore.Builder, com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder> scoreBuilder_;
public boolean hasScore() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.eharmony.aloha.score.Scores.Score.BaseScore getScore() {
if (scoreBuilder_ == null) {
return score_;
} else {
return scoreBuilder_.getMessage();
}
}
public Builder setScore(com.eharmony.aloha.score.Scores.Score.BaseScore value) {
if (scoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
score_ = value;
onChanged();
} else {
scoreBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
public Builder setScore(
com.eharmony.aloha.score.Scores.Score.BaseScore.Builder builderForValue) {
if (scoreBuilder_ == null) {
score_ = builderForValue.build();
onChanged();
} else {
scoreBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
public Builder mergeScore(com.eharmony.aloha.score.Scores.Score.BaseScore value) {
if (scoreBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
score_ != com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance()) {
score_ =
com.eharmony.aloha.score.Scores.Score.BaseScore.newBuilder(score_).mergeFrom(value).buildPartial();
} else {
score_ = value;
}
onChanged();
} else {
scoreBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
public Builder clearScore() {
if (scoreBuilder_ == null) {
score_ = com.eharmony.aloha.score.Scores.Score.BaseScore.getDefaultInstance();
onChanged();
} else {
scoreBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public com.eharmony.aloha.score.Scores.Score.BaseScore.Builder getScoreBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getScoreFieldBuilder().getBuilder();
}
public com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder getScoreOrBuilder() {
if (scoreBuilder_ != null) {
return scoreBuilder_.getMessageOrBuilder();
} else {
return score_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.BaseScore, com.eharmony.aloha.score.Scores.Score.BaseScore.Builder, com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder>
getScoreFieldBuilder() {
if (scoreBuilder_ == null) {
scoreBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.BaseScore, com.eharmony.aloha.score.Scores.Score.BaseScore.Builder, com.eharmony.aloha.score.Scores.Score.BaseScoreOrBuilder>(
score_,
getParentForChildren(),
isClean());
score_ = null;
}
return scoreBuilder_;
}
// optional .com.eharmony.aloha.score.Score.ScoreError error = 2;
private com.eharmony.aloha.score.Scores.Score.ScoreError error_ = com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ScoreError, com.eharmony.aloha.score.Scores.Score.ScoreError.Builder, com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder> errorBuilder_;
public boolean hasError() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.eharmony.aloha.score.Scores.Score.ScoreError getError() {
if (errorBuilder_ == null) {
return error_;
} else {
return errorBuilder_.getMessage();
}
}
public Builder setError(com.eharmony.aloha.score.Scores.Score.ScoreError value) {
if (errorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
errorBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder setError(
com.eharmony.aloha.score.Scores.Score.ScoreError.Builder builderForValue) {
if (errorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
errorBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
public Builder mergeError(com.eharmony.aloha.score.Scores.Score.ScoreError value) {
if (errorBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
error_ != com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance()) {
error_ =
com.eharmony.aloha.score.Scores.Score.ScoreError.newBuilder(error_).mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
errorBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder clearError() {
if (errorBuilder_ == null) {
error_ = com.eharmony.aloha.score.Scores.Score.ScoreError.getDefaultInstance();
onChanged();
} else {
errorBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.eharmony.aloha.score.Scores.Score.ScoreError.Builder getErrorBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getErrorFieldBuilder().getBuilder();
}
public com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder getErrorOrBuilder() {
if (errorBuilder_ != null) {
return errorBuilder_.getMessageOrBuilder();
} else {
return error_;
}
}
private com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ScoreError, com.eharmony.aloha.score.Scores.Score.ScoreError.Builder, com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder>
getErrorFieldBuilder() {
if (errorBuilder_ == null) {
errorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.eharmony.aloha.score.Scores.Score.ScoreError, com.eharmony.aloha.score.Scores.Score.ScoreError.Builder, com.eharmony.aloha.score.Scores.Score.ScoreErrorOrBuilder>(
error_,
getParentForChildren(),
isClean());
error_ = null;
}
return errorBuilder_;
}
// repeated .com.eharmony.aloha.score.Score sub_scores = 3;
private java.util.List subScores_ =
java.util.Collections.emptyList();
private void ensureSubScoresIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
subScores_ = new java.util.ArrayList(subScores_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.eharmony.aloha.score.Scores.Score, com.eharmony.aloha.score.Scores.Score.Builder, com.eharmony.aloha.score.Scores.ScoreOrBuilder> subScoresBuilder_;
public java.util.List getSubScoresList() {
if (subScoresBuilder_ == null) {
return java.util.Collections.unmodifiableList(subScores_);
} else {
return subScoresBuilder_.getMessageList();
}
}
public int getSubScoresCount() {
if (subScoresBuilder_ == null) {
return subScores_.size();
} else {
return subScoresBuilder_.getCount();
}
}
public com.eharmony.aloha.score.Scores.Score getSubScores(int index) {
if (subScoresBuilder_ == null) {
return subScores_.get(index);
} else {
return subScoresBuilder_.getMessage(index);
}
}
public Builder setSubScores(
int index, com.eharmony.aloha.score.Scores.Score value) {
if (subScoresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubScoresIsMutable();
subScores_.set(index, value);
onChanged();
} else {
subScoresBuilder_.setMessage(index, value);
}
return this;
}
public Builder setSubScores(
int index, com.eharmony.aloha.score.Scores.Score.Builder builderForValue) {
if (subScoresBuilder_ == null) {
ensureSubScoresIsMutable();
subScores_.set(index, builderForValue.build());
onChanged();
} else {
subScoresBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addSubScores(com.eharmony.aloha.score.Scores.Score value) {
if (subScoresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubScoresIsMutable();
subScores_.add(value);
onChanged();
} else {
subScoresBuilder_.addMessage(value);
}
return this;
}
public Builder addSubScores(
int index, com.eharmony.aloha.score.Scores.Score value) {
if (subScoresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubScoresIsMutable();
subScores_.add(index, value);
onChanged();
} else {
subScoresBuilder_.addMessage(index, value);
}
return this;
}
public Builder addSubScores(
com.eharmony.aloha.score.Scores.Score.Builder builderForValue) {
if (subScoresBuilder_ == null) {
ensureSubScoresIsMutable();
subScores_.add(builderForValue.build());
onChanged();
} else {
subScoresBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addSubScores(
int index, com.eharmony.aloha.score.Scores.Score.Builder builderForValue) {
if (subScoresBuilder_ == null) {
ensureSubScoresIsMutable();
subScores_.add(index, builderForValue.build());
onChanged();
} else {
subScoresBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllSubScores(
java.lang.Iterable extends com.eharmony.aloha.score.Scores.Score> values) {
if (subScoresBuilder_ == null) {
ensureSubScoresIsMutable();
super.addAll(values, subScores_);
onChanged();
} else {
subScoresBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearSubScores() {
if (subScoresBuilder_ == null) {
subScores_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
subScoresBuilder_.clear();
}
return this;
}
public Builder removeSubScores(int index) {
if (subScoresBuilder_ == null) {
ensureSubScoresIsMutable();
subScores_.remove(index);
onChanged();
} else {
subScoresBuilder_.remove(index);
}
return this;
}
public com.eharmony.aloha.score.Scores.Score.Builder getSubScoresBuilder(
int index) {
return getSubScoresFieldBuilder().getBuilder(index);
}
public com.eharmony.aloha.score.Scores.ScoreOrBuilder getSubScoresOrBuilder(
int index) {
if (subScoresBuilder_ == null) {
return subScores_.get(index); } else {
return subScoresBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List extends com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getSubScoresOrBuilderList() {
if (subScoresBuilder_ != null) {
return subScoresBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subScores_);
}
}
public com.eharmony.aloha.score.Scores.Score.Builder addSubScoresBuilder() {
return getSubScoresFieldBuilder().addBuilder(
com.eharmony.aloha.score.Scores.Score.getDefaultInstance());
}
public com.eharmony.aloha.score.Scores.Score.Builder addSubScoresBuilder(
int index) {
return getSubScoresFieldBuilder().addBuilder(
index, com.eharmony.aloha.score.Scores.Score.getDefaultInstance());
}
public java.util.List
getSubScoresBuilderList() {
return getSubScoresFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.eharmony.aloha.score.Scores.Score, com.eharmony.aloha.score.Scores.Score.Builder, com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getSubScoresFieldBuilder() {
if (subScoresBuilder_ == null) {
subScoresBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.eharmony.aloha.score.Scores.Score, com.eharmony.aloha.score.Scores.Score.Builder, com.eharmony.aloha.score.Scores.ScoreOrBuilder>(
subScores_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
subScores_ = null;
}
return subScoresBuilder_;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.Score)
}
static {
defaultInstance = new Score(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.Score)
}
public interface ScoreListOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .com.eharmony.aloha.score.Score score = 1;
java.util.List
getScoreList();
com.eharmony.aloha.score.Scores.Score getScore(int index);
int getScoreCount();
java.util.List extends com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getScoreOrBuilderList();
com.eharmony.aloha.score.Scores.ScoreOrBuilder getScoreOrBuilder(
int index);
}
public static final class ScoreList extends
com.google.protobuf.GeneratedMessage
implements ScoreListOrBuilder {
// Use ScoreList.newBuilder() to construct.
private ScoreList(Builder builder) {
super(builder);
}
private ScoreList(boolean noInit) {}
private static final ScoreList defaultInstance;
public static ScoreList getDefaultInstance() {
return defaultInstance;
}
public ScoreList getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_ScoreList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_ScoreList_fieldAccessorTable;
}
// repeated .com.eharmony.aloha.score.Score score = 1;
public static final int SCORE_FIELD_NUMBER = 1;
private java.util.List score_;
public java.util.List getScoreList() {
return score_;
}
public java.util.List extends com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getScoreOrBuilderList() {
return score_;
}
public int getScoreCount() {
return score_.size();
}
public com.eharmony.aloha.score.Scores.Score getScore(int index) {
return score_.get(index);
}
public com.eharmony.aloha.score.Scores.ScoreOrBuilder getScoreOrBuilder(
int index) {
return score_.get(index);
}
private void initFields() {
score_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getScoreCount(); i++) {
if (!getScore(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < score_.size(); i++) {
output.writeMessage(1, score_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < score_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, score_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.ScoreList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.eharmony.aloha.score.Scores.ScoreList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.eharmony.aloha.score.Scores.ScoreList prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.eharmony.aloha.score.Scores.ScoreListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_ScoreList_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.eharmony.aloha.score.Scores.internal_static_com_eharmony_aloha_score_ScoreList_fieldAccessorTable;
}
// Construct using com.eharmony.aloha.score.Scores.ScoreList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getScoreFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (scoreBuilder_ == null) {
score_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
scoreBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.eharmony.aloha.score.Scores.ScoreList.getDescriptor();
}
public com.eharmony.aloha.score.Scores.ScoreList getDefaultInstanceForType() {
return com.eharmony.aloha.score.Scores.ScoreList.getDefaultInstance();
}
public com.eharmony.aloha.score.Scores.ScoreList build() {
com.eharmony.aloha.score.Scores.ScoreList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.eharmony.aloha.score.Scores.ScoreList buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.eharmony.aloha.score.Scores.ScoreList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.eharmony.aloha.score.Scores.ScoreList buildPartial() {
com.eharmony.aloha.score.Scores.ScoreList result = new com.eharmony.aloha.score.Scores.ScoreList(this);
int from_bitField0_ = bitField0_;
if (scoreBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
score_ = java.util.Collections.unmodifiableList(score_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.score_ = score_;
} else {
result.score_ = scoreBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.eharmony.aloha.score.Scores.ScoreList) {
return mergeFrom((com.eharmony.aloha.score.Scores.ScoreList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.eharmony.aloha.score.Scores.ScoreList other) {
if (other == com.eharmony.aloha.score.Scores.ScoreList.getDefaultInstance()) return this;
if (scoreBuilder_ == null) {
if (!other.score_.isEmpty()) {
if (score_.isEmpty()) {
score_ = other.score_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureScoreIsMutable();
score_.addAll(other.score_);
}
onChanged();
}
} else {
if (!other.score_.isEmpty()) {
if (scoreBuilder_.isEmpty()) {
scoreBuilder_.dispose();
scoreBuilder_ = null;
score_ = other.score_;
bitField0_ = (bitField0_ & ~0x00000001);
scoreBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getScoreFieldBuilder() : null;
} else {
scoreBuilder_.addAllMessages(other.score_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getScoreCount(); i++) {
if (!getScore(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
com.eharmony.aloha.score.Scores.Score.Builder subBuilder = com.eharmony.aloha.score.Scores.Score.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addScore(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .com.eharmony.aloha.score.Score score = 1;
private java.util.List score_ =
java.util.Collections.emptyList();
private void ensureScoreIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
score_ = new java.util.ArrayList(score_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.eharmony.aloha.score.Scores.Score, com.eharmony.aloha.score.Scores.Score.Builder, com.eharmony.aloha.score.Scores.ScoreOrBuilder> scoreBuilder_;
public java.util.List getScoreList() {
if (scoreBuilder_ == null) {
return java.util.Collections.unmodifiableList(score_);
} else {
return scoreBuilder_.getMessageList();
}
}
public int getScoreCount() {
if (scoreBuilder_ == null) {
return score_.size();
} else {
return scoreBuilder_.getCount();
}
}
public com.eharmony.aloha.score.Scores.Score getScore(int index) {
if (scoreBuilder_ == null) {
return score_.get(index);
} else {
return scoreBuilder_.getMessage(index);
}
}
public Builder setScore(
int index, com.eharmony.aloha.score.Scores.Score value) {
if (scoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoreIsMutable();
score_.set(index, value);
onChanged();
} else {
scoreBuilder_.setMessage(index, value);
}
return this;
}
public Builder setScore(
int index, com.eharmony.aloha.score.Scores.Score.Builder builderForValue) {
if (scoreBuilder_ == null) {
ensureScoreIsMutable();
score_.set(index, builderForValue.build());
onChanged();
} else {
scoreBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addScore(com.eharmony.aloha.score.Scores.Score value) {
if (scoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoreIsMutable();
score_.add(value);
onChanged();
} else {
scoreBuilder_.addMessage(value);
}
return this;
}
public Builder addScore(
int index, com.eharmony.aloha.score.Scores.Score value) {
if (scoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoreIsMutable();
score_.add(index, value);
onChanged();
} else {
scoreBuilder_.addMessage(index, value);
}
return this;
}
public Builder addScore(
com.eharmony.aloha.score.Scores.Score.Builder builderForValue) {
if (scoreBuilder_ == null) {
ensureScoreIsMutable();
score_.add(builderForValue.build());
onChanged();
} else {
scoreBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addScore(
int index, com.eharmony.aloha.score.Scores.Score.Builder builderForValue) {
if (scoreBuilder_ == null) {
ensureScoreIsMutable();
score_.add(index, builderForValue.build());
onChanged();
} else {
scoreBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllScore(
java.lang.Iterable extends com.eharmony.aloha.score.Scores.Score> values) {
if (scoreBuilder_ == null) {
ensureScoreIsMutable();
super.addAll(values, score_);
onChanged();
} else {
scoreBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearScore() {
if (scoreBuilder_ == null) {
score_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
scoreBuilder_.clear();
}
return this;
}
public Builder removeScore(int index) {
if (scoreBuilder_ == null) {
ensureScoreIsMutable();
score_.remove(index);
onChanged();
} else {
scoreBuilder_.remove(index);
}
return this;
}
public com.eharmony.aloha.score.Scores.Score.Builder getScoreBuilder(
int index) {
return getScoreFieldBuilder().getBuilder(index);
}
public com.eharmony.aloha.score.Scores.ScoreOrBuilder getScoreOrBuilder(
int index) {
if (scoreBuilder_ == null) {
return score_.get(index); } else {
return scoreBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List extends com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getScoreOrBuilderList() {
if (scoreBuilder_ != null) {
return scoreBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(score_);
}
}
public com.eharmony.aloha.score.Scores.Score.Builder addScoreBuilder() {
return getScoreFieldBuilder().addBuilder(
com.eharmony.aloha.score.Scores.Score.getDefaultInstance());
}
public com.eharmony.aloha.score.Scores.Score.Builder addScoreBuilder(
int index) {
return getScoreFieldBuilder().addBuilder(
index, com.eharmony.aloha.score.Scores.Score.getDefaultInstance());
}
public java.util.List
getScoreBuilderList() {
return getScoreFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.eharmony.aloha.score.Scores.Score, com.eharmony.aloha.score.Scores.Score.Builder, com.eharmony.aloha.score.Scores.ScoreOrBuilder>
getScoreFieldBuilder() {
if (scoreBuilder_ == null) {
scoreBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.eharmony.aloha.score.Scores.Score, com.eharmony.aloha.score.Scores.Score.Builder, com.eharmony.aloha.score.Scores.ScoreOrBuilder>(
score_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
score_ = null;
}
return scoreBuilder_;
}
// @@protoc_insertion_point(builder_scope:com.eharmony.aloha.score.ScoreList)
}
static {
defaultInstance = new ScoreList(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:com.eharmony.aloha.score.ScoreList)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_ModelId_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_ModelId_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_ScoreError_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_ScoreError_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_BaseScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_BaseScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_BooleanScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_BooleanScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_IntScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_IntScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_LongScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_LongScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_FloatScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_FloatScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_DoubleScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_DoubleScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_Score_StringScore_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_Score_StringScore_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_eharmony_aloha_score_ScoreList_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_eharmony_aloha_score_ScoreList_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%com.eharmony.aloha.score.Scores.proto\022" +
"\030com.eharmony.aloha.score\"\274\013\n\005Score\0228\n\005s" +
"core\030\001 \001(\0132).com.eharmony.aloha.score.Sc" +
"ore.BaseScore\0229\n\005error\030\002 \001(\0132*.com.eharm" +
"ony.aloha.score.Score.ScoreError\0223\n\nsub_" +
"scores\030\003 \003(\0132\037.com.eharmony.aloha.score." +
"Score\032#\n\007ModelId\022\n\n\002id\030\001 \002(\003\022\014\n\004name\030\002 \001" +
"(\t\032&\n\025MissingRequiredFields\022\r\n\005names\030\001 \003" +
"(\t\032\247\001\n\nScoreError\0226\n\005model\030\001 \002(\0132\'.com.e" +
"harmony.aloha.score.Score.ModelId\022O\n\020mis",
"sing_features\030\002 \001(\01325.com.eharmony.aloha" +
".score.Score.MissingRequiredFields\022\020\n\010me" +
"ssages\030\003 \003(\t\032\377\001\n\tBaseScore\0226\n\005model\030\001 \002(" +
"\0132\'.com.eharmony.aloha.score.Score.Model" +
"Id\022A\n\004type\030\002 \002(\01623.com.eharmony.aloha.sc" +
"ore.Score.BaseScore.ScoreType\022\023\n\013probabi" +
"lity\030\003 \001(\002\"X\n\tScoreType\022\010\n\004NONE\020\001\022\013\n\007BOO" +
"LEAN\020\002\022\007\n\003INT\020\003\022\010\n\004LONG\020\004\022\t\n\005FLOAT\020\005\022\n\n\006" +
"DOUBLE\020\006\022\n\n\006STRING\020\007*\010\010e\020\200\200\200\200\002\032\204\001\n\014Boole" +
"anScore\022\r\n\005score\030\001 \002(\0102e\n\004impl\022).com.eha",
"rmony.aloha.score.Score.BaseScore\030f \002(\0132" +
",.com.eharmony.aloha.score.Score.Boolean" +
"Score\032|\n\010IntScore\022\r\n\005score\030\001 \002(\0052a\n\004impl" +
"\022).com.eharmony.aloha.score.Score.BaseSc" +
"ore\030g \002(\0132(.com.eharmony.aloha.score.Sco" +
"re.IntScore\032~\n\tLongScore\022\r\n\005score\030\001 \002(\0032" +
"b\n\004impl\022).com.eharmony.aloha.score.Score" +
".BaseScore\030h \002(\0132).com.eharmony.aloha.sc" +
"ore.Score.LongScore\032\200\001\n\nFloatScore\022\r\n\005sc" +
"ore\030\001 \002(\0022c\n\004impl\022).com.eharmony.aloha.s",
"core.Score.BaseScore\030i \002(\0132*.com.eharmon" +
"y.aloha.score.Score.FloatScore\032\202\001\n\013Doubl" +
"eScore\022\r\n\005score\030\001 \002(\0012d\n\004impl\022).com.ehar" +
"mony.aloha.score.Score.BaseScore\030j \002(\0132+" +
".com.eharmony.aloha.score.Score.DoubleSc" +
"ore\032\202\001\n\013StringScore\022\r\n\005score\030\001 \002(\t2d\n\004im" +
"pl\022).com.eharmony.aloha.score.Score.Base" +
"Score\030k \002(\0132+.com.eharmony.aloha.score.S" +
"core.StringScore\";\n\tScoreList\022.\n\005score\030\001" +
" \003(\0132\037.com.eharmony.aloha.score.ScoreB\010B",
"\006Scores"
};
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_com_eharmony_aloha_score_Score_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_eharmony_aloha_score_Score_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_descriptor,
new java.lang.String[] { "Score", "Error", "SubScores", },
com.eharmony.aloha.score.Scores.Score.class,
com.eharmony.aloha.score.Scores.Score.Builder.class);
internal_static_com_eharmony_aloha_score_Score_ModelId_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(0);
internal_static_com_eharmony_aloha_score_Score_ModelId_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_ModelId_descriptor,
new java.lang.String[] { "Id", "Name", },
com.eharmony.aloha.score.Scores.Score.ModelId.class,
com.eharmony.aloha.score.Scores.Score.ModelId.Builder.class);
internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(1);
internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_MissingRequiredFields_descriptor,
new java.lang.String[] { "Names", },
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.class,
com.eharmony.aloha.score.Scores.Score.MissingRequiredFields.Builder.class);
internal_static_com_eharmony_aloha_score_Score_ScoreError_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(2);
internal_static_com_eharmony_aloha_score_Score_ScoreError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_ScoreError_descriptor,
new java.lang.String[] { "Model", "MissingFeatures", "Messages", },
com.eharmony.aloha.score.Scores.Score.ScoreError.class,
com.eharmony.aloha.score.Scores.Score.ScoreError.Builder.class);
internal_static_com_eharmony_aloha_score_Score_BaseScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(3);
internal_static_com_eharmony_aloha_score_Score_BaseScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_BaseScore_descriptor,
new java.lang.String[] { "Model", "Type", "Probability", },
com.eharmony.aloha.score.Scores.Score.BaseScore.class,
com.eharmony.aloha.score.Scores.Score.BaseScore.Builder.class);
internal_static_com_eharmony_aloha_score_Score_BooleanScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(4);
internal_static_com_eharmony_aloha_score_Score_BooleanScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_BooleanScore_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.Score.BooleanScore.class,
com.eharmony.aloha.score.Scores.Score.BooleanScore.Builder.class);
internal_static_com_eharmony_aloha_score_Score_IntScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(5);
internal_static_com_eharmony_aloha_score_Score_IntScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_IntScore_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.Score.IntScore.class,
com.eharmony.aloha.score.Scores.Score.IntScore.Builder.class);
internal_static_com_eharmony_aloha_score_Score_LongScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(6);
internal_static_com_eharmony_aloha_score_Score_LongScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_LongScore_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.Score.LongScore.class,
com.eharmony.aloha.score.Scores.Score.LongScore.Builder.class);
internal_static_com_eharmony_aloha_score_Score_FloatScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(7);
internal_static_com_eharmony_aloha_score_Score_FloatScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_FloatScore_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.Score.FloatScore.class,
com.eharmony.aloha.score.Scores.Score.FloatScore.Builder.class);
internal_static_com_eharmony_aloha_score_Score_DoubleScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(8);
internal_static_com_eharmony_aloha_score_Score_DoubleScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_DoubleScore_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.Score.DoubleScore.class,
com.eharmony.aloha.score.Scores.Score.DoubleScore.Builder.class);
internal_static_com_eharmony_aloha_score_Score_StringScore_descriptor =
internal_static_com_eharmony_aloha_score_Score_descriptor.getNestedTypes().get(9);
internal_static_com_eharmony_aloha_score_Score_StringScore_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_Score_StringScore_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.Score.StringScore.class,
com.eharmony.aloha.score.Scores.Score.StringScore.Builder.class);
internal_static_com_eharmony_aloha_score_ScoreList_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_eharmony_aloha_score_ScoreList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_eharmony_aloha_score_ScoreList_descriptor,
new java.lang.String[] { "Score", },
com.eharmony.aloha.score.Scores.ScoreList.class,
com.eharmony.aloha.score.Scores.ScoreList.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}