com.tencent.angel.protobuf.generated.MLProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ML.proto
package com.tencent.angel.protobuf.generated;
public final class MLProtos {
private MLProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code MatrixStatus}
*/
public enum MatrixStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* M_NOT_READY = 1;
*
*
* On am no MatrixInfo received from client
*
*/
M_NOT_READY(0, 1),
/**
* M_OK = 2;
*
*
*
*
*/
M_OK(1, 2),
;
/**
* M_NOT_READY = 1;
*
*
* On am no MatrixInfo received from client
*
*/
public static final int M_NOT_READY_VALUE = 1;
/**
* M_OK = 2;
*
*
*
*
*/
public static final int M_OK_VALUE = 2;
public final int getNumber() { return value; }
public static MatrixStatus valueOf(int value) {
switch (value) {
case 1: return M_NOT_READY;
case 2: return M_OK;
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 MatrixStatus findValueByNumber(int number) {
return MatrixStatus.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.tencent.angel.protobuf.generated.MLProtos.getDescriptor().getEnumTypes().get(0);
}
private static final MatrixStatus[] VALUES = values();
public static MatrixStatus 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 MatrixStatus(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:MatrixStatus)
}
/**
* Protobuf enum {@code PSStatus}
*/
public enum PSStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* PS_OK = 1;
*/
PS_OK(0, 1),
/**
* PS_NOTREADY = 2;
*/
PS_NOTREADY(1, 2),
;
/**
* PS_OK = 1;
*/
public static final int PS_OK_VALUE = 1;
/**
* PS_NOTREADY = 2;
*/
public static final int PS_NOTREADY_VALUE = 2;
public final int getNumber() { return value; }
public static PSStatus valueOf(int value) {
switch (value) {
case 1: return PS_OK;
case 2: return PS_NOTREADY;
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 PSStatus findValueByNumber(int number) {
return PSStatus.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.tencent.angel.protobuf.generated.MLProtos.getDescriptor().getEnumTypes().get(1);
}
private static final PSStatus[] VALUES = values();
public static PSStatus 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 PSStatus(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:PSStatus)
}
/**
* Protobuf enum {@code PSAgentStatus}
*/
public enum PSAgentStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* PSAGENT_OK = 1;
*/
PSAGENT_OK(0, 1),
/**
* PSAGENT_NOTREADY = 2;
*/
PSAGENT_NOTREADY(1, 2),
;
/**
* PSAGENT_OK = 1;
*/
public static final int PSAGENT_OK_VALUE = 1;
/**
* PSAGENT_NOTREADY = 2;
*/
public static final int PSAGENT_NOTREADY_VALUE = 2;
public final int getNumber() { return value; }
public static PSAgentStatus valueOf(int value) {
switch (value) {
case 1: return PSAGENT_OK;
case 2: return PSAGENT_NOTREADY;
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 PSAgentStatus findValueByNumber(int number) {
return PSAgentStatus.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.tencent.angel.protobuf.generated.MLProtos.getDescriptor().getEnumTypes().get(2);
}
private static final PSAgentStatus[] VALUES = values();
public static PSAgentStatus 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 PSAgentStatus(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:PSAgentStatus)
}
/**
* Protobuf enum {@code CommitStatus}
*/
public enum CommitStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* CommitReady = 1;
*
*
* 可以提交
*
*/
CommitReady(0, 1),
/**
* CommitBusy = 2;
*
*
* 其他taskattemp正在提交
*
*/
CommitBusy(1, 2),
/**
* CommitExpired = 3;
*
*
* 该taskattempt执行缓慢,本地的clock已经落后于master侧的minClock
*
*/
CommitExpired(2, 3),
/**
* Invalid = 4;
*/
Invalid(3, 4),
;
/**
* CommitReady = 1;
*
*
* 可以提交
*
*/
public static final int CommitReady_VALUE = 1;
/**
* CommitBusy = 2;
*
*
* 其他taskattemp正在提交
*
*/
public static final int CommitBusy_VALUE = 2;
/**
* CommitExpired = 3;
*
*
* 该taskattempt执行缓慢,本地的clock已经落后于master侧的minClock
*
*/
public static final int CommitExpired_VALUE = 3;
/**
* Invalid = 4;
*/
public static final int Invalid_VALUE = 4;
public final int getNumber() { return value; }
public static CommitStatus valueOf(int value) {
switch (value) {
case 1: return CommitReady;
case 2: return CommitBusy;
case 3: return CommitExpired;
case 4: return Invalid;
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 CommitStatus findValueByNumber(int number) {
return CommitStatus.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.tencent.angel.protobuf.generated.MLProtos.getDescriptor().getEnumTypes().get(3);
}
private static final CommitStatus[] VALUES = values();
public static CommitStatus 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 CommitStatus(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CommitStatus)
}
public interface PairOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string key = 1;
/**
* required string key = 1;
*/
boolean hasKey();
/**
* required string key = 1;
*/
java.lang.String getKey();
/**
* required string key = 1;
*/
com.google.protobuf.ByteString
getKeyBytes();
// required string value = 2;
/**
* required string value = 2;
*/
boolean hasValue();
/**
* required string value = 2;
*/
java.lang.String getValue();
/**
* required string value = 2;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code Pair}
*/
public static final class Pair extends
com.google.protobuf.GeneratedMessage
implements PairOrBuilder {
// Use Pair.newBuilder() to construct.
private Pair(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Pair(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Pair defaultInstance;
public static Pair getDefaultInstance() {
return defaultInstance;
}
public Pair getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Pair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
key_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_Pair_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_Pair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.Pair.class, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Pair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Pair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private java.lang.Object key_;
/**
* required string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* required string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* required string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* required string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
key_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
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, getKeyBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getKeyBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.Pair)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.Pair other = (com.tencent.angel.protobuf.generated.MLProtos.Pair) obj;
boolean result = true;
result = result && (hasKey() == other.hasKey());
if (hasKey()) {
result = result && getKey()
.equals(other.getKey());
}
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && getValue()
.equals(other.getValue());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.Pair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.Pair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Pair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_Pair_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_Pair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.Pair.class, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.Pair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_Pair_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.Pair getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.Pair build() {
com.tencent.angel.protobuf.generated.MLProtos.Pair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.Pair buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.Pair result = new com.tencent.angel.protobuf.generated.MLProtos.Pair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.Pair) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.Pair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.Pair other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasValue()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.Pair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.Pair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string key = 1;
private java.lang.Object key_ = "";
/**
* required string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string key = 1;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* required string key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* required string key = 1;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
// required string value = 2;
private java.lang.Object value_ = "";
/**
* required string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* required string value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* required string value = 2;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:Pair)
}
static {
defaultInstance = new Pair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Pair)
}
public interface WorkerGroupIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 workerGroupIndex = 1;
/**
* required int32 workerGroupIndex = 1;
*/
boolean hasWorkerGroupIndex();
/**
* required int32 workerGroupIndex = 1;
*/
int getWorkerGroupIndex();
}
/**
* Protobuf type {@code WorkerGroupIdProto}
*/
public static final class WorkerGroupIdProto extends
com.google.protobuf.GeneratedMessage
implements WorkerGroupIdProtoOrBuilder {
// Use WorkerGroupIdProto.newBuilder() to construct.
private WorkerGroupIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private WorkerGroupIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final WorkerGroupIdProto defaultInstance;
public static WorkerGroupIdProto getDefaultInstance() {
return defaultInstance;
}
public WorkerGroupIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WorkerGroupIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
workerGroupIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerGroupIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerGroupIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public WorkerGroupIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WorkerGroupIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 workerGroupIndex = 1;
public static final int WORKERGROUPINDEX_FIELD_NUMBER = 1;
private int workerGroupIndex_;
/**
* required int32 workerGroupIndex = 1;
*/
public boolean hasWorkerGroupIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 workerGroupIndex = 1;
*/
public int getWorkerGroupIndex() {
return workerGroupIndex_;
}
private void initFields() {
workerGroupIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasWorkerGroupIndex()) {
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, workerGroupIndex_);
}
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, workerGroupIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto) obj;
boolean result = true;
result = result && (hasWorkerGroupIndex() == other.hasWorkerGroupIndex());
if (hasWorkerGroupIndex()) {
result = result && (getWorkerGroupIndex()
== other.getWorkerGroupIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasWorkerGroupIndex()) {
hash = (37 * hash) + WORKERGROUPINDEX_FIELD_NUMBER;
hash = (53 * hash) + getWorkerGroupIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code WorkerGroupIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerGroupIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerGroupIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
workerGroupIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerGroupIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.workerGroupIndex_ = workerGroupIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance()) return this;
if (other.hasWorkerGroupIndex()) {
setWorkerGroupIndex(other.getWorkerGroupIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasWorkerGroupIndex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 workerGroupIndex = 1;
private int workerGroupIndex_ ;
/**
* required int32 workerGroupIndex = 1;
*/
public boolean hasWorkerGroupIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 workerGroupIndex = 1;
*/
public int getWorkerGroupIndex() {
return workerGroupIndex_;
}
/**
* required int32 workerGroupIndex = 1;
*/
public Builder setWorkerGroupIndex(int value) {
bitField0_ |= 0x00000001;
workerGroupIndex_ = value;
onChanged();
return this;
}
/**
* required int32 workerGroupIndex = 1;
*/
public Builder clearWorkerGroupIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
workerGroupIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:WorkerGroupIdProto)
}
static {
defaultInstance = new WorkerGroupIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:WorkerGroupIdProto)
}
public interface WorkerIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .WorkerGroupIdProto workerGroupId = 1;
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
boolean hasWorkerGroupId();
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto getWorkerGroupId();
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder getWorkerGroupIdOrBuilder();
// required int32 workerIndex = 2;
/**
* required int32 workerIndex = 2;
*/
boolean hasWorkerIndex();
/**
* required int32 workerIndex = 2;
*/
int getWorkerIndex();
}
/**
* Protobuf type {@code WorkerIdProto}
*/
public static final class WorkerIdProto extends
com.google.protobuf.GeneratedMessage
implements WorkerIdProtoOrBuilder {
// Use WorkerIdProto.newBuilder() to construct.
private WorkerIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private WorkerIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final WorkerIdProto defaultInstance;
public static WorkerIdProto getDefaultInstance() {
return defaultInstance;
}
public WorkerIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WorkerIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = workerGroupId_.toBuilder();
}
workerGroupId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(workerGroupId_);
workerGroupId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
workerIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public WorkerIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WorkerIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .WorkerGroupIdProto workerGroupId = 1;
public static final int WORKERGROUPID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto workerGroupId_;
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public boolean hasWorkerGroupId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto getWorkerGroupId() {
return workerGroupId_;
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder getWorkerGroupIdOrBuilder() {
return workerGroupId_;
}
// required int32 workerIndex = 2;
public static final int WORKERINDEX_FIELD_NUMBER = 2;
private int workerIndex_;
/**
* required int32 workerIndex = 2;
*/
public boolean hasWorkerIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 workerIndex = 2;
*/
public int getWorkerIndex() {
return workerIndex_;
}
private void initFields() {
workerGroupId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance();
workerIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasWorkerGroupId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasWorkerIndex()) {
memoizedIsInitialized = 0;
return false;
}
if (!getWorkerGroupId().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, workerGroupId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, workerIndex_);
}
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, workerGroupId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, workerIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto) obj;
boolean result = true;
result = result && (hasWorkerGroupId() == other.hasWorkerGroupId());
if (hasWorkerGroupId()) {
result = result && getWorkerGroupId()
.equals(other.getWorkerGroupId());
}
result = result && (hasWorkerIndex() == other.hasWorkerIndex());
if (hasWorkerIndex()) {
result = result && (getWorkerIndex()
== other.getWorkerIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasWorkerGroupId()) {
hash = (37 * hash) + WORKERGROUPID_FIELD_NUMBER;
hash = (53 * hash) + getWorkerGroupId().hashCode();
}
if (hasWorkerIndex()) {
hash = (37 * hash) + WORKERINDEX_FIELD_NUMBER;
hash = (53 * hash) + getWorkerIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code WorkerIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getWorkerGroupIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (workerGroupIdBuilder_ == null) {
workerGroupId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance();
} else {
workerGroupIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
workerIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (workerGroupIdBuilder_ == null) {
result.workerGroupId_ = workerGroupId_;
} else {
result.workerGroupId_ = workerGroupIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.workerIndex_ = workerIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance()) return this;
if (other.hasWorkerGroupId()) {
mergeWorkerGroupId(other.getWorkerGroupId());
}
if (other.hasWorkerIndex()) {
setWorkerIndex(other.getWorkerIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasWorkerGroupId()) {
return false;
}
if (!hasWorkerIndex()) {
return false;
}
if (!getWorkerGroupId().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .WorkerGroupIdProto workerGroupId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto workerGroupId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder> workerGroupIdBuilder_;
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public boolean hasWorkerGroupId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto getWorkerGroupId() {
if (workerGroupIdBuilder_ == null) {
return workerGroupId_;
} else {
return workerGroupIdBuilder_.getMessage();
}
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public Builder setWorkerGroupId(com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto value) {
if (workerGroupIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
workerGroupId_ = value;
onChanged();
} else {
workerGroupIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public Builder setWorkerGroupId(
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder builderForValue) {
if (workerGroupIdBuilder_ == null) {
workerGroupId_ = builderForValue.build();
onChanged();
} else {
workerGroupIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public Builder mergeWorkerGroupId(com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto value) {
if (workerGroupIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
workerGroupId_ != com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance()) {
workerGroupId_ =
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.newBuilder(workerGroupId_).mergeFrom(value).buildPartial();
} else {
workerGroupId_ = value;
}
onChanged();
} else {
workerGroupIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public Builder clearWorkerGroupId() {
if (workerGroupIdBuilder_ == null) {
workerGroupId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.getDefaultInstance();
onChanged();
} else {
workerGroupIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder getWorkerGroupIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getWorkerGroupIdFieldBuilder().getBuilder();
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder getWorkerGroupIdOrBuilder() {
if (workerGroupIdBuilder_ != null) {
return workerGroupIdBuilder_.getMessageOrBuilder();
} else {
return workerGroupId_;
}
}
/**
* required .WorkerGroupIdProto workerGroupId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder>
getWorkerGroupIdFieldBuilder() {
if (workerGroupIdBuilder_ == null) {
workerGroupIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.WorkerGroupIdProtoOrBuilder>(
workerGroupId_,
getParentForChildren(),
isClean());
workerGroupId_ = null;
}
return workerGroupIdBuilder_;
}
// required int32 workerIndex = 2;
private int workerIndex_ ;
/**
* required int32 workerIndex = 2;
*/
public boolean hasWorkerIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 workerIndex = 2;
*/
public int getWorkerIndex() {
return workerIndex_;
}
/**
* required int32 workerIndex = 2;
*/
public Builder setWorkerIndex(int value) {
bitField0_ |= 0x00000002;
workerIndex_ = value;
onChanged();
return this;
}
/**
* required int32 workerIndex = 2;
*/
public Builder clearWorkerIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
workerIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:WorkerIdProto)
}
static {
defaultInstance = new WorkerIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:WorkerIdProto)
}
public interface WorkerAttemptIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .WorkerIdProto workerId = 1;
/**
* required .WorkerIdProto workerId = 1;
*/
boolean hasWorkerId();
/**
* required .WorkerIdProto workerId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto getWorkerId();
/**
* required .WorkerIdProto workerId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder getWorkerIdOrBuilder();
// required int32 attemptIndex = 2;
/**
* required int32 attemptIndex = 2;
*/
boolean hasAttemptIndex();
/**
* required int32 attemptIndex = 2;
*/
int getAttemptIndex();
}
/**
* Protobuf type {@code WorkerAttemptIdProto}
*/
public static final class WorkerAttemptIdProto extends
com.google.protobuf.GeneratedMessage
implements WorkerAttemptIdProtoOrBuilder {
// Use WorkerAttemptIdProto.newBuilder() to construct.
private WorkerAttemptIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private WorkerAttemptIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final WorkerAttemptIdProto defaultInstance;
public static WorkerAttemptIdProto getDefaultInstance() {
return defaultInstance;
}
public WorkerAttemptIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WorkerAttemptIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = workerId_.toBuilder();
}
workerId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(workerId_);
workerId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
attemptIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerAttemptIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerAttemptIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public WorkerAttemptIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WorkerAttemptIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .WorkerIdProto workerId = 1;
public static final int WORKERID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto workerId_;
/**
* required .WorkerIdProto workerId = 1;
*/
public boolean hasWorkerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .WorkerIdProto workerId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto getWorkerId() {
return workerId_;
}
/**
* required .WorkerIdProto workerId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder getWorkerIdOrBuilder() {
return workerId_;
}
// required int32 attemptIndex = 2;
public static final int ATTEMPTINDEX_FIELD_NUMBER = 2;
private int attemptIndex_;
/**
* required int32 attemptIndex = 2;
*/
public boolean hasAttemptIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 attemptIndex = 2;
*/
public int getAttemptIndex() {
return attemptIndex_;
}
private void initFields() {
workerId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance();
attemptIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasWorkerId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasAttemptIndex()) {
memoizedIsInitialized = 0;
return false;
}
if (!getWorkerId().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, workerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, attemptIndex_);
}
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, workerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, attemptIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto) obj;
boolean result = true;
result = result && (hasWorkerId() == other.hasWorkerId());
if (hasWorkerId()) {
result = result && getWorkerId()
.equals(other.getWorkerId());
}
result = result && (hasAttemptIndex() == other.hasAttemptIndex());
if (hasAttemptIndex()) {
result = result && (getAttemptIndex()
== other.getAttemptIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasWorkerId()) {
hash = (37 * hash) + WORKERID_FIELD_NUMBER;
hash = (53 * hash) + getWorkerId().hashCode();
}
if (hasAttemptIndex()) {
hash = (37 * hash) + ATTEMPTINDEX_FIELD_NUMBER;
hash = (53 * hash) + getAttemptIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code WorkerAttemptIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerAttemptIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerAttemptIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getWorkerIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (workerIdBuilder_ == null) {
workerId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance();
} else {
workerIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
attemptIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_WorkerAttemptIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (workerIdBuilder_ == null) {
result.workerId_ = workerId_;
} else {
result.workerId_ = workerIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.attemptIndex_ = attemptIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto.getDefaultInstance()) return this;
if (other.hasWorkerId()) {
mergeWorkerId(other.getWorkerId());
}
if (other.hasAttemptIndex()) {
setAttemptIndex(other.getAttemptIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasWorkerId()) {
return false;
}
if (!hasAttemptIndex()) {
return false;
}
if (!getWorkerId().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.WorkerAttemptIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .WorkerIdProto workerId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto workerId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder> workerIdBuilder_;
/**
* required .WorkerIdProto workerId = 1;
*/
public boolean hasWorkerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .WorkerIdProto workerId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto getWorkerId() {
if (workerIdBuilder_ == null) {
return workerId_;
} else {
return workerIdBuilder_.getMessage();
}
}
/**
* required .WorkerIdProto workerId = 1;
*/
public Builder setWorkerId(com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto value) {
if (workerIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
workerId_ = value;
onChanged();
} else {
workerIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .WorkerIdProto workerId = 1;
*/
public Builder setWorkerId(
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder builderForValue) {
if (workerIdBuilder_ == null) {
workerId_ = builderForValue.build();
onChanged();
} else {
workerIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .WorkerIdProto workerId = 1;
*/
public Builder mergeWorkerId(com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto value) {
if (workerIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
workerId_ != com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance()) {
workerId_ =
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.newBuilder(workerId_).mergeFrom(value).buildPartial();
} else {
workerId_ = value;
}
onChanged();
} else {
workerIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .WorkerIdProto workerId = 1;
*/
public Builder clearWorkerId() {
if (workerIdBuilder_ == null) {
workerId_ = com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.getDefaultInstance();
onChanged();
} else {
workerIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .WorkerIdProto workerId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder getWorkerIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getWorkerIdFieldBuilder().getBuilder();
}
/**
* required .WorkerIdProto workerId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder getWorkerIdOrBuilder() {
if (workerIdBuilder_ != null) {
return workerIdBuilder_.getMessageOrBuilder();
} else {
return workerId_;
}
}
/**
* required .WorkerIdProto workerId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder>
getWorkerIdFieldBuilder() {
if (workerIdBuilder_ == null) {
workerIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.WorkerIdProtoOrBuilder>(
workerId_,
getParentForChildren(),
isClean());
workerId_ = null;
}
return workerIdBuilder_;
}
// required int32 attemptIndex = 2;
private int attemptIndex_ ;
/**
* required int32 attemptIndex = 2;
*/
public boolean hasAttemptIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 attemptIndex = 2;
*/
public int getAttemptIndex() {
return attemptIndex_;
}
/**
* required int32 attemptIndex = 2;
*/
public Builder setAttemptIndex(int value) {
bitField0_ |= 0x00000002;
attemptIndex_ = value;
onChanged();
return this;
}
/**
* required int32 attemptIndex = 2;
*/
public Builder clearAttemptIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
attemptIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:WorkerAttemptIdProto)
}
static {
defaultInstance = new WorkerAttemptIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:WorkerAttemptIdProto)
}
public interface TaskIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 taskIndex = 1;
/**
* required int32 taskIndex = 1;
*/
boolean hasTaskIndex();
/**
* required int32 taskIndex = 1;
*/
int getTaskIndex();
}
/**
* Protobuf type {@code TaskIdProto}
*/
public static final class TaskIdProto extends
com.google.protobuf.GeneratedMessage
implements TaskIdProtoOrBuilder {
// Use TaskIdProto.newBuilder() to construct.
private TaskIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TaskIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final TaskIdProto defaultInstance;
public static TaskIdProto getDefaultInstance() {
return defaultInstance;
}
public TaskIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TaskIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
taskIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_TaskIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_TaskIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TaskIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TaskIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 taskIndex = 1;
public static final int TASKINDEX_FIELD_NUMBER = 1;
private int taskIndex_;
/**
* required int32 taskIndex = 1;
*/
public boolean hasTaskIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 taskIndex = 1;
*/
public int getTaskIndex() {
return taskIndex_;
}
private void initFields() {
taskIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasTaskIndex()) {
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, taskIndex_);
}
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, taskIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto) obj;
boolean result = true;
result = result && (hasTaskIndex() == other.hasTaskIndex());
if (hasTaskIndex()) {
result = result && (getTaskIndex()
== other.getTaskIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasTaskIndex()) {
hash = (37 * hash) + TASKINDEX_FIELD_NUMBER;
hash = (53 * hash) + getTaskIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code TaskIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_TaskIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_TaskIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
taskIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_TaskIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.taskIndex_ = taskIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance()) return this;
if (other.hasTaskIndex()) {
setTaskIndex(other.getTaskIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasTaskIndex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 taskIndex = 1;
private int taskIndex_ ;
/**
* required int32 taskIndex = 1;
*/
public boolean hasTaskIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 taskIndex = 1;
*/
public int getTaskIndex() {
return taskIndex_;
}
/**
* required int32 taskIndex = 1;
*/
public Builder setTaskIndex(int value) {
bitField0_ |= 0x00000001;
taskIndex_ = value;
onChanged();
return this;
}
/**
* required int32 taskIndex = 1;
*/
public Builder clearTaskIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
taskIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:TaskIdProto)
}
static {
defaultInstance = new TaskIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:TaskIdProto)
}
public interface PSIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 psIndex = 1;
/**
* required int32 psIndex = 1;
*/
boolean hasPsIndex();
/**
* required int32 psIndex = 1;
*/
int getPsIndex();
}
/**
* Protobuf type {@code PSIdProto}
*/
public static final class PSIdProto extends
com.google.protobuf.GeneratedMessage
implements PSIdProtoOrBuilder {
// Use PSIdProto.newBuilder() to construct.
private PSIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSIdProto defaultInstance;
public static PSIdProto getDefaultInstance() {
return defaultInstance;
}
public PSIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
psIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 psIndex = 1;
public static final int PSINDEX_FIELD_NUMBER = 1;
private int psIndex_;
/**
* required int32 psIndex = 1;
*/
public boolean hasPsIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 psIndex = 1;
*/
public int getPsIndex() {
return psIndex_;
}
private void initFields() {
psIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsIndex()) {
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, psIndex_);
}
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, psIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSIdProto) obj;
boolean result = true;
result = result && (hasPsIndex() == other.hasPsIndex());
if (hasPsIndex()) {
result = result && (getPsIndex()
== other.getPsIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsIndex()) {
hash = (37 * hash) + PSINDEX_FIELD_NUMBER;
hash = (53 * hash) + getPsIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
psIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.psIndex_ = psIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance()) return this;
if (other.hasPsIndex()) {
setPsIndex(other.getPsIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsIndex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 psIndex = 1;
private int psIndex_ ;
/**
* required int32 psIndex = 1;
*/
public boolean hasPsIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 psIndex = 1;
*/
public int getPsIndex() {
return psIndex_;
}
/**
* required int32 psIndex = 1;
*/
public Builder setPsIndex(int value) {
bitField0_ |= 0x00000001;
psIndex_ = value;
onChanged();
return this;
}
/**
* required int32 psIndex = 1;
*/
public Builder clearPsIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
psIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PSIdProto)
}
static {
defaultInstance = new PSIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSIdProto)
}
public interface PSAttemptIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSIdProto psId = 1;
/**
* required .PSIdProto psId = 1;
*/
boolean hasPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder();
// required int32 attemptIndex = 2;
/**
* required int32 attemptIndex = 2;
*/
boolean hasAttemptIndex();
/**
* required int32 attemptIndex = 2;
*/
int getAttemptIndex();
}
/**
* Protobuf type {@code PSAttemptIdProto}
*/
public static final class PSAttemptIdProto extends
com.google.protobuf.GeneratedMessage
implements PSAttemptIdProtoOrBuilder {
// Use PSAttemptIdProto.newBuilder() to construct.
private PSAttemptIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSAttemptIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSAttemptIdProto defaultInstance;
public static PSAttemptIdProto getDefaultInstance() {
return defaultInstance;
}
public PSAttemptIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSAttemptIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psId_.toBuilder();
}
psId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psId_);
psId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
attemptIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAttemptIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAttemptIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSAttemptIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSAttemptIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSIdProto psId = 1;
public static final int PSID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
return psId_;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
return psId_;
}
// required int32 attemptIndex = 2;
public static final int ATTEMPTINDEX_FIELD_NUMBER = 2;
private int attemptIndex_;
/**
* required int32 attemptIndex = 2;
*/
public boolean hasAttemptIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 attemptIndex = 2;
*/
public int getAttemptIndex() {
return attemptIndex_;
}
private void initFields() {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
attemptIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasAttemptIndex()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsId().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, psId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, attemptIndex_);
}
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, psId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, attemptIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto) obj;
boolean result = true;
result = result && (hasPsId() == other.hasPsId());
if (hasPsId()) {
result = result && getPsId()
.equals(other.getPsId());
}
result = result && (hasAttemptIndex() == other.hasAttemptIndex());
if (hasAttemptIndex()) {
result = result && (getAttemptIndex()
== other.getAttemptIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsId()) {
hash = (37 * hash) + PSID_FIELD_NUMBER;
hash = (53 * hash) + getPsId().hashCode();
}
if (hasAttemptIndex()) {
hash = (37 * hash) + ATTEMPTINDEX_FIELD_NUMBER;
hash = (53 * hash) + getAttemptIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSAttemptIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAttemptIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAttemptIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
attemptIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAttemptIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psIdBuilder_ == null) {
result.psId_ = psId_;
} else {
result.psId_ = psIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.attemptIndex_ = attemptIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto.getDefaultInstance()) return this;
if (other.hasPsId()) {
mergePsId(other.getPsId());
}
if (other.hasAttemptIndex()) {
setAttemptIndex(other.getAttemptIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsId()) {
return false;
}
if (!hasAttemptIndex()) {
return false;
}
if (!getPsId().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSAttemptIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSIdProto psId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder> psIdBuilder_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
if (psIdBuilder_ == null) {
return psId_;
} else {
return psIdBuilder_.getMessage();
}
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psId_ = value;
onChanged();
} else {
psIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdBuilder_ == null) {
psId_ = builderForValue.build();
onChanged();
} else {
psIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder mergePsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psId_ != com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance()) {
psId_ =
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.newBuilder(psId_).mergeFrom(value).buildPartial();
} else {
psId_ = value;
}
onChanged();
} else {
psIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder clearPsId() {
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
onChanged();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder getPsIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsIdFieldBuilder().getBuilder();
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
if (psIdBuilder_ != null) {
return psIdBuilder_.getMessageOrBuilder();
} else {
return psId_;
}
}
/**
* required .PSIdProto psId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdFieldBuilder() {
if (psIdBuilder_ == null) {
psIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>(
psId_,
getParentForChildren(),
isClean());
psId_ = null;
}
return psIdBuilder_;
}
// required int32 attemptIndex = 2;
private int attemptIndex_ ;
/**
* required int32 attemptIndex = 2;
*/
public boolean hasAttemptIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 attemptIndex = 2;
*/
public int getAttemptIndex() {
return attemptIndex_;
}
/**
* required int32 attemptIndex = 2;
*/
public Builder setAttemptIndex(int value) {
bitField0_ |= 0x00000002;
attemptIndex_ = value;
onChanged();
return this;
}
/**
* required int32 attemptIndex = 2;
*/
public Builder clearAttemptIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
attemptIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PSAttemptIdProto)
}
static {
defaultInstance = new PSAttemptIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSAttemptIdProto)
}
public interface PSAgentIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 psAgentIndex = 1;
/**
* required int32 psAgentIndex = 1;
*/
boolean hasPsAgentIndex();
/**
* required int32 psAgentIndex = 1;
*/
int getPsAgentIndex();
}
/**
* Protobuf type {@code PSAgentIdProto}
*/
public static final class PSAgentIdProto extends
com.google.protobuf.GeneratedMessage
implements PSAgentIdProtoOrBuilder {
// Use PSAgentIdProto.newBuilder() to construct.
private PSAgentIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSAgentIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSAgentIdProto defaultInstance;
public static PSAgentIdProto getDefaultInstance() {
return defaultInstance;
}
public PSAgentIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSAgentIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
psAgentIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSAgentIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSAgentIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 psAgentIndex = 1;
public static final int PSAGENTINDEX_FIELD_NUMBER = 1;
private int psAgentIndex_;
/**
* required int32 psAgentIndex = 1;
*/
public boolean hasPsAgentIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 psAgentIndex = 1;
*/
public int getPsAgentIndex() {
return psAgentIndex_;
}
private void initFields() {
psAgentIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsAgentIndex()) {
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, psAgentIndex_);
}
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, psAgentIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto) obj;
boolean result = true;
result = result && (hasPsAgentIndex() == other.hasPsAgentIndex());
if (hasPsAgentIndex()) {
result = result && (getPsAgentIndex()
== other.getPsAgentIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsAgentIndex()) {
hash = (37 * hash) + PSAGENTINDEX_FIELD_NUMBER;
hash = (53 * hash) + getPsAgentIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSAgentIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
psAgentIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.psAgentIndex_ = psAgentIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance()) return this;
if (other.hasPsAgentIndex()) {
setPsAgentIndex(other.getPsAgentIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsAgentIndex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 psAgentIndex = 1;
private int psAgentIndex_ ;
/**
* required int32 psAgentIndex = 1;
*/
public boolean hasPsAgentIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 psAgentIndex = 1;
*/
public int getPsAgentIndex() {
return psAgentIndex_;
}
/**
* required int32 psAgentIndex = 1;
*/
public Builder setPsAgentIndex(int value) {
bitField0_ |= 0x00000001;
psAgentIndex_ = value;
onChanged();
return this;
}
/**
* required int32 psAgentIndex = 1;
*/
public Builder clearPsAgentIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
psAgentIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PSAgentIdProto)
}
static {
defaultInstance = new PSAgentIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSAgentIdProto)
}
public interface PSAgentAttemptIdProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSAgentIdProto psAgentId = 1;
/**
* required .PSAgentIdProto psAgentId = 1;
*/
boolean hasPsAgentId();
/**
* required .PSAgentIdProto psAgentId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getPsAgentId();
/**
* required .PSAgentIdProto psAgentId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder getPsAgentIdOrBuilder();
// required int32 attemptIndex = 2;
/**
* required int32 attemptIndex = 2;
*/
boolean hasAttemptIndex();
/**
* required int32 attemptIndex = 2;
*/
int getAttemptIndex();
}
/**
* Protobuf type {@code PSAgentAttemptIdProto}
*/
public static final class PSAgentAttemptIdProto extends
com.google.protobuf.GeneratedMessage
implements PSAgentAttemptIdProtoOrBuilder {
// Use PSAgentAttemptIdProto.newBuilder() to construct.
private PSAgentAttemptIdProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSAgentAttemptIdProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSAgentAttemptIdProto defaultInstance;
public static PSAgentAttemptIdProto getDefaultInstance() {
return defaultInstance;
}
public PSAgentAttemptIdProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSAgentAttemptIdProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psAgentId_.toBuilder();
}
psAgentId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psAgentId_);
psAgentId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
attemptIndex_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentAttemptIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentAttemptIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSAgentAttemptIdProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSAgentAttemptIdProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSAgentIdProto psAgentId = 1;
public static final int PSAGENTID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto psAgentId_;
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public boolean hasPsAgentId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getPsAgentId() {
return psAgentId_;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder getPsAgentIdOrBuilder() {
return psAgentId_;
}
// required int32 attemptIndex = 2;
public static final int ATTEMPTINDEX_FIELD_NUMBER = 2;
private int attemptIndex_;
/**
* required int32 attemptIndex = 2;
*/
public boolean hasAttemptIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 attemptIndex = 2;
*/
public int getAttemptIndex() {
return attemptIndex_;
}
private void initFields() {
psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
attemptIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsAgentId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasAttemptIndex()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsAgentId().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, psAgentId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, attemptIndex_);
}
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, psAgentId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, attemptIndex_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto) obj;
boolean result = true;
result = result && (hasPsAgentId() == other.hasPsAgentId());
if (hasPsAgentId()) {
result = result && getPsAgentId()
.equals(other.getPsAgentId());
}
result = result && (hasAttemptIndex() == other.hasAttemptIndex());
if (hasAttemptIndex()) {
result = result && (getAttemptIndex()
== other.getAttemptIndex());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsAgentId()) {
hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
hash = (53 * hash) + getPsAgentId().hashCode();
}
if (hasAttemptIndex()) {
hash = (37 * hash) + ATTEMPTINDEX_FIELD_NUMBER;
hash = (53 * hash) + getAttemptIndex();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSAgentAttemptIdProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentAttemptIdProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentAttemptIdProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsAgentIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psAgentIdBuilder_ == null) {
psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
} else {
psAgentIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
attemptIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentAttemptIdProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psAgentIdBuilder_ == null) {
result.psAgentId_ = psAgentId_;
} else {
result.psAgentId_ = psAgentIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.attemptIndex_ = attemptIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto.getDefaultInstance()) return this;
if (other.hasPsAgentId()) {
mergePsAgentId(other.getPsAgentId());
}
if (other.hasAttemptIndex()) {
setAttemptIndex(other.getAttemptIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsAgentId()) {
return false;
}
if (!hasAttemptIndex()) {
return false;
}
if (!getPsAgentId().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSAgentAttemptIdProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSAgentIdProto psAgentId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder> psAgentIdBuilder_;
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public boolean hasPsAgentId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getPsAgentId() {
if (psAgentIdBuilder_ == null) {
return psAgentId_;
} else {
return psAgentIdBuilder_.getMessage();
}
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder setPsAgentId(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto value) {
if (psAgentIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psAgentId_ = value;
onChanged();
} else {
psAgentIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder setPsAgentId(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder builderForValue) {
if (psAgentIdBuilder_ == null) {
psAgentId_ = builderForValue.build();
onChanged();
} else {
psAgentIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder mergePsAgentId(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto value) {
if (psAgentIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psAgentId_ != com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance()) {
psAgentId_ =
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.newBuilder(psAgentId_).mergeFrom(value).buildPartial();
} else {
psAgentId_ = value;
}
onChanged();
} else {
psAgentIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder clearPsAgentId() {
if (psAgentIdBuilder_ == null) {
psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
onChanged();
} else {
psAgentIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder getPsAgentIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsAgentIdFieldBuilder().getBuilder();
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder getPsAgentIdOrBuilder() {
if (psAgentIdBuilder_ != null) {
return psAgentIdBuilder_.getMessageOrBuilder();
} else {
return psAgentId_;
}
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder>
getPsAgentIdFieldBuilder() {
if (psAgentIdBuilder_ == null) {
psAgentIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder>(
psAgentId_,
getParentForChildren(),
isClean());
psAgentId_ = null;
}
return psAgentIdBuilder_;
}
// required int32 attemptIndex = 2;
private int attemptIndex_ ;
/**
* required int32 attemptIndex = 2;
*/
public boolean hasAttemptIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 attemptIndex = 2;
*/
public int getAttemptIndex() {
return attemptIndex_;
}
/**
* required int32 attemptIndex = 2;
*/
public Builder setAttemptIndex(int value) {
bitField0_ |= 0x00000002;
attemptIndex_ = value;
onChanged();
return this;
}
/**
* required int32 attemptIndex = 2;
*/
public Builder clearAttemptIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
attemptIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PSAgentAttemptIdProto)
}
static {
defaultInstance = new PSAgentAttemptIdProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSAgentAttemptIdProto)
}
public interface MatrixContextProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 id = 1;
/**
* required int32 id = 1;
*/
boolean hasId();
/**
* required int32 id = 1;
*/
int getId();
// required string name = 2;
/**
* required string name = 2;
*/
boolean hasName();
/**
* required string name = 2;
*/
java.lang.String getName();
/**
* required string name = 2;
*/
com.google.protobuf.ByteString
getNameBytes();
// required int32 rowNum = 3;
/**
* required int32 rowNum = 3;
*/
boolean hasRowNum();
/**
* required int32 rowNum = 3;
*/
int getRowNum();
// required int64 colNum = 4;
/**
* required int64 colNum = 4;
*/
boolean hasColNum();
/**
* required int64 colNum = 4;
*/
long getColNum();
// required int64 indexStart = 5;
/**
* required int64 indexStart = 5;
*/
boolean hasIndexStart();
/**
* required int64 indexStart = 5;
*/
long getIndexStart();
// required int64 indexEnd = 6;
/**
* required int64 indexEnd = 6;
*/
boolean hasIndexEnd();
/**
* required int64 indexEnd = 6;
*/
long getIndexEnd();
// required int64 validIndexNum = 7;
/**
* required int64 validIndexNum = 7;
*/
boolean hasValidIndexNum();
/**
* required int64 validIndexNum = 7;
*/
long getValidIndexNum();
// required int32 blockRowNum = 8;
/**
* required int32 blockRowNum = 8;
*/
boolean hasBlockRowNum();
/**
* required int32 blockRowNum = 8;
*/
int getBlockRowNum();
// required int64 blockColNum = 9;
/**
* required int64 blockColNum = 9;
*/
boolean hasBlockColNum();
/**
* required int64 blockColNum = 9;
*/
long getBlockColNum();
// required int32 rowType = 10;
/**
* required int32 rowType = 10;
*/
boolean hasRowType();
/**
* required int32 rowType = 10;
*/
int getRowType();
// required string partitionerClassName = 11;
/**
* required string partitionerClassName = 11;
*/
boolean hasPartitionerClassName();
/**
* required string partitionerClassName = 11;
*/
java.lang.String getPartitionerClassName();
/**
* required string partitionerClassName = 11;
*/
com.google.protobuf.ByteString
getPartitionerClassNameBytes();
// repeated .PartContextProto parts = 12;
/**
* repeated .PartContextProto parts = 12;
*/
java.util.List
getPartsList();
/**
* repeated .PartContextProto parts = 12;
*/
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto getParts(int index);
/**
* repeated .PartContextProto parts = 12;
*/
int getPartsCount();
/**
* repeated .PartContextProto parts = 12;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder>
getPartsOrBuilderList();
/**
* repeated .PartContextProto parts = 12;
*/
com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder getPartsOrBuilder(
int index);
// repeated .Pair attribute = 13;
/**
* repeated .Pair attribute = 13;
*/
java.util.List
getAttributeList();
/**
* repeated .Pair attribute = 13;
*/
com.tencent.angel.protobuf.generated.MLProtos.Pair getAttribute(int index);
/**
* repeated .Pair attribute = 13;
*/
int getAttributeCount();
/**
* repeated .Pair attribute = 13;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>
getAttributeOrBuilderList();
/**
* repeated .Pair attribute = 13;
*/
com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getAttributeOrBuilder(
int index);
// optional bytes initFunc = 14;
/**
* optional bytes initFunc = 14;
*/
boolean hasInitFunc();
/**
* optional bytes initFunc = 14;
*/
com.google.protobuf.ByteString getInitFunc();
}
/**
* Protobuf type {@code MatrixContextProto}
*/
public static final class MatrixContextProto extends
com.google.protobuf.GeneratedMessage
implements MatrixContextProtoOrBuilder {
// Use MatrixContextProto.newBuilder() to construct.
private MatrixContextProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MatrixContextProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MatrixContextProto defaultInstance;
public static MatrixContextProto getDefaultInstance() {
return defaultInstance;
}
public MatrixContextProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MatrixContextProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
name_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
rowNum_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
colNum_ = input.readInt64();
break;
}
case 40: {
bitField0_ |= 0x00000010;
indexStart_ = input.readInt64();
break;
}
case 48: {
bitField0_ |= 0x00000020;
indexEnd_ = input.readInt64();
break;
}
case 56: {
bitField0_ |= 0x00000040;
validIndexNum_ = input.readInt64();
break;
}
case 64: {
bitField0_ |= 0x00000080;
blockRowNum_ = input.readInt32();
break;
}
case 72: {
bitField0_ |= 0x00000100;
blockColNum_ = input.readInt64();
break;
}
case 80: {
bitField0_ |= 0x00000200;
rowType_ = input.readInt32();
break;
}
case 90: {
bitField0_ |= 0x00000400;
partitionerClassName_ = input.readBytes();
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
parts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
parts_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.PARSER, extensionRegistry));
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
attribute_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00001000;
}
attribute_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.Pair.PARSER, extensionRegistry));
break;
}
case 114: {
bitField0_ |= 0x00000800;
initFunc_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
parts_ = java.util.Collections.unmodifiableList(parts_);
}
if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixContextProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixContextProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.class, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MatrixContextProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MatrixContextProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
// required string name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
/**
* required string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int32 rowNum = 3;
public static final int ROWNUM_FIELD_NUMBER = 3;
private int rowNum_;
/**
* required int32 rowNum = 3;
*/
public boolean hasRowNum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 rowNum = 3;
*/
public int getRowNum() {
return rowNum_;
}
// required int64 colNum = 4;
public static final int COLNUM_FIELD_NUMBER = 4;
private long colNum_;
/**
* required int64 colNum = 4;
*/
public boolean hasColNum() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int64 colNum = 4;
*/
public long getColNum() {
return colNum_;
}
// required int64 indexStart = 5;
public static final int INDEXSTART_FIELD_NUMBER = 5;
private long indexStart_;
/**
* required int64 indexStart = 5;
*/
public boolean hasIndexStart() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int64 indexStart = 5;
*/
public long getIndexStart() {
return indexStart_;
}
// required int64 indexEnd = 6;
public static final int INDEXEND_FIELD_NUMBER = 6;
private long indexEnd_;
/**
* required int64 indexEnd = 6;
*/
public boolean hasIndexEnd() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required int64 indexEnd = 6;
*/
public long getIndexEnd() {
return indexEnd_;
}
// required int64 validIndexNum = 7;
public static final int VALIDINDEXNUM_FIELD_NUMBER = 7;
private long validIndexNum_;
/**
* required int64 validIndexNum = 7;
*/
public boolean hasValidIndexNum() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* required int64 validIndexNum = 7;
*/
public long getValidIndexNum() {
return validIndexNum_;
}
// required int32 blockRowNum = 8;
public static final int BLOCKROWNUM_FIELD_NUMBER = 8;
private int blockRowNum_;
/**
* required int32 blockRowNum = 8;
*/
public boolean hasBlockRowNum() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* required int32 blockRowNum = 8;
*/
public int getBlockRowNum() {
return blockRowNum_;
}
// required int64 blockColNum = 9;
public static final int BLOCKCOLNUM_FIELD_NUMBER = 9;
private long blockColNum_;
/**
* required int64 blockColNum = 9;
*/
public boolean hasBlockColNum() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* required int64 blockColNum = 9;
*/
public long getBlockColNum() {
return blockColNum_;
}
// required int32 rowType = 10;
public static final int ROWTYPE_FIELD_NUMBER = 10;
private int rowType_;
/**
* required int32 rowType = 10;
*/
public boolean hasRowType() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* required int32 rowType = 10;
*/
public int getRowType() {
return rowType_;
}
// required string partitionerClassName = 11;
public static final int PARTITIONERCLASSNAME_FIELD_NUMBER = 11;
private java.lang.Object partitionerClassName_;
/**
* required string partitionerClassName = 11;
*/
public boolean hasPartitionerClassName() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* required string partitionerClassName = 11;
*/
public java.lang.String getPartitionerClassName() {
java.lang.Object ref = partitionerClassName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
partitionerClassName_ = s;
}
return s;
}
}
/**
* required string partitionerClassName = 11;
*/
public com.google.protobuf.ByteString
getPartitionerClassNameBytes() {
java.lang.Object ref = partitionerClassName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partitionerClassName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .PartContextProto parts = 12;
public static final int PARTS_FIELD_NUMBER = 12;
private java.util.List parts_;
/**
* repeated .PartContextProto parts = 12;
*/
public java.util.List getPartsList() {
return parts_;
}
/**
* repeated .PartContextProto parts = 12;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder>
getPartsOrBuilderList() {
return parts_;
}
/**
* repeated .PartContextProto parts = 12;
*/
public int getPartsCount() {
return parts_.size();
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto getParts(int index) {
return parts_.get(index);
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder getPartsOrBuilder(
int index) {
return parts_.get(index);
}
// repeated .Pair attribute = 13;
public static final int ATTRIBUTE_FIELD_NUMBER = 13;
private java.util.List attribute_;
/**
* repeated .Pair attribute = 13;
*/
public java.util.List getAttributeList() {
return attribute_;
}
/**
* repeated .Pair attribute = 13;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>
getAttributeOrBuilderList() {
return attribute_;
}
/**
* repeated .Pair attribute = 13;
*/
public int getAttributeCount() {
return attribute_.size();
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.Pair getAttribute(int index) {
return attribute_.get(index);
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getAttributeOrBuilder(
int index) {
return attribute_.get(index);
}
// optional bytes initFunc = 14;
public static final int INITFUNC_FIELD_NUMBER = 14;
private com.google.protobuf.ByteString initFunc_;
/**
* optional bytes initFunc = 14;
*/
public boolean hasInitFunc() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional bytes initFunc = 14;
*/
public com.google.protobuf.ByteString getInitFunc() {
return initFunc_;
}
private void initFields() {
id_ = 0;
name_ = "";
rowNum_ = 0;
colNum_ = 0L;
indexStart_ = 0L;
indexEnd_ = 0L;
validIndexNum_ = 0L;
blockRowNum_ = 0;
blockColNum_ = 0L;
rowType_ = 0;
partitionerClassName_ = "";
parts_ = java.util.Collections.emptyList();
attribute_ = java.util.Collections.emptyList();
initFunc_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasRowNum()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasColNum()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIndexStart()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIndexEnd()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValidIndexNum()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasBlockRowNum()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasBlockColNum()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasRowType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPartitionerClassName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getPartsCount(); i++) {
if (!getParts(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getAttributeCount(); i++) {
if (!getAttribute(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.writeInt32(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, rowNum_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt64(4, colNum_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt64(5, indexStart_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt64(6, indexEnd_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt64(7, validIndexNum_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(8, blockRowNum_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeInt64(9, blockColNum_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt32(10, rowType_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBytes(11, getPartitionerClassNameBytes());
}
for (int i = 0; i < parts_.size(); i++) {
output.writeMessage(12, parts_.get(i));
}
for (int i = 0; i < attribute_.size(); i++) {
output.writeMessage(13, attribute_.get(i));
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeBytes(14, initFunc_);
}
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, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, rowNum_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, colNum_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, indexStart_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, indexEnd_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, validIndexNum_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, blockRowNum_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, blockColNum_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, rowType_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getPartitionerClassNameBytes());
}
for (int i = 0; i < parts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, parts_.get(i));
}
for (int i = 0; i < attribute_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, attribute_.get(i));
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, initFunc_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto other = (com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto) obj;
boolean result = true;
result = result && (hasId() == other.hasId());
if (hasId()) {
result = result && (getId()
== other.getId());
}
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasRowNum() == other.hasRowNum());
if (hasRowNum()) {
result = result && (getRowNum()
== other.getRowNum());
}
result = result && (hasColNum() == other.hasColNum());
if (hasColNum()) {
result = result && (getColNum()
== other.getColNum());
}
result = result && (hasIndexStart() == other.hasIndexStart());
if (hasIndexStart()) {
result = result && (getIndexStart()
== other.getIndexStart());
}
result = result && (hasIndexEnd() == other.hasIndexEnd());
if (hasIndexEnd()) {
result = result && (getIndexEnd()
== other.getIndexEnd());
}
result = result && (hasValidIndexNum() == other.hasValidIndexNum());
if (hasValidIndexNum()) {
result = result && (getValidIndexNum()
== other.getValidIndexNum());
}
result = result && (hasBlockRowNum() == other.hasBlockRowNum());
if (hasBlockRowNum()) {
result = result && (getBlockRowNum()
== other.getBlockRowNum());
}
result = result && (hasBlockColNum() == other.hasBlockColNum());
if (hasBlockColNum()) {
result = result && (getBlockColNum()
== other.getBlockColNum());
}
result = result && (hasRowType() == other.hasRowType());
if (hasRowType()) {
result = result && (getRowType()
== other.getRowType());
}
result = result && (hasPartitionerClassName() == other.hasPartitionerClassName());
if (hasPartitionerClassName()) {
result = result && getPartitionerClassName()
.equals(other.getPartitionerClassName());
}
result = result && getPartsList()
.equals(other.getPartsList());
result = result && getAttributeList()
.equals(other.getAttributeList());
result = result && (hasInitFunc() == other.hasInitFunc());
if (hasInitFunc()) {
result = result && getInitFunc()
.equals(other.getInitFunc());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasRowNum()) {
hash = (37 * hash) + ROWNUM_FIELD_NUMBER;
hash = (53 * hash) + getRowNum();
}
if (hasColNum()) {
hash = (37 * hash) + COLNUM_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getColNum());
}
if (hasIndexStart()) {
hash = (37 * hash) + INDEXSTART_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getIndexStart());
}
if (hasIndexEnd()) {
hash = (37 * hash) + INDEXEND_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getIndexEnd());
}
if (hasValidIndexNum()) {
hash = (37 * hash) + VALIDINDEXNUM_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getValidIndexNum());
}
if (hasBlockRowNum()) {
hash = (37 * hash) + BLOCKROWNUM_FIELD_NUMBER;
hash = (53 * hash) + getBlockRowNum();
}
if (hasBlockColNum()) {
hash = (37 * hash) + BLOCKCOLNUM_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getBlockColNum());
}
if (hasRowType()) {
hash = (37 * hash) + ROWTYPE_FIELD_NUMBER;
hash = (53 * hash) + getRowType();
}
if (hasPartitionerClassName()) {
hash = (37 * hash) + PARTITIONERCLASSNAME_FIELD_NUMBER;
hash = (53 * hash) + getPartitionerClassName().hashCode();
}
if (getPartsCount() > 0) {
hash = (37 * hash) + PARTS_FIELD_NUMBER;
hash = (53 * hash) + getPartsList().hashCode();
}
if (getAttributeCount() > 0) {
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttributeList().hashCode();
}
if (hasInitFunc()) {
hash = (37 * hash) + INITFUNC_FIELD_NUMBER;
hash = (53 * hash) + getInitFunc().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code MatrixContextProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixContextProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixContextProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.class, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPartsFieldBuilder();
getAttributeFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
rowNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
colNum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
indexStart_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
indexEnd_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
validIndexNum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
blockRowNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
blockColNum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000100);
rowType_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
partitionerClassName_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
if (partsBuilder_ == null) {
parts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
partsBuilder_.clear();
}
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
} else {
attributeBuilder_.clear();
}
initFunc_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixContextProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto build() {
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto result = new com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto(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_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.rowNum_ = rowNum_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.colNum_ = colNum_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.indexStart_ = indexStart_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.indexEnd_ = indexEnd_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.validIndexNum_ = validIndexNum_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.blockRowNum_ = blockRowNum_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.blockColNum_ = blockColNum_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.rowType_ = rowType_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.partitionerClassName_ = partitionerClassName_;
if (partsBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
parts_ = java.util.Collections.unmodifiableList(parts_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.parts_ = parts_;
} else {
result.parts_ = partsBuilder_.build();
}
if (attributeBuilder_ == null) {
if (((bitField0_ & 0x00001000) == 0x00001000)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
bitField0_ = (bitField0_ & ~0x00001000);
}
result.attribute_ = attribute_;
} else {
result.attribute_ = attributeBuilder_.build();
}
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000800;
}
result.initFunc_ = initFunc_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasRowNum()) {
setRowNum(other.getRowNum());
}
if (other.hasColNum()) {
setColNum(other.getColNum());
}
if (other.hasIndexStart()) {
setIndexStart(other.getIndexStart());
}
if (other.hasIndexEnd()) {
setIndexEnd(other.getIndexEnd());
}
if (other.hasValidIndexNum()) {
setValidIndexNum(other.getValidIndexNum());
}
if (other.hasBlockRowNum()) {
setBlockRowNum(other.getBlockRowNum());
}
if (other.hasBlockColNum()) {
setBlockColNum(other.getBlockColNum());
}
if (other.hasRowType()) {
setRowType(other.getRowType());
}
if (other.hasPartitionerClassName()) {
bitField0_ |= 0x00000400;
partitionerClassName_ = other.partitionerClassName_;
onChanged();
}
if (partsBuilder_ == null) {
if (!other.parts_.isEmpty()) {
if (parts_.isEmpty()) {
parts_ = other.parts_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensurePartsIsMutable();
parts_.addAll(other.parts_);
}
onChanged();
}
} else {
if (!other.parts_.isEmpty()) {
if (partsBuilder_.isEmpty()) {
partsBuilder_.dispose();
partsBuilder_ = null;
parts_ = other.parts_;
bitField0_ = (bitField0_ & ~0x00000800);
partsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPartsFieldBuilder() : null;
} else {
partsBuilder_.addAllMessages(other.parts_);
}
}
}
if (attributeBuilder_ == null) {
if (!other.attribute_.isEmpty()) {
if (attribute_.isEmpty()) {
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00001000);
} else {
ensureAttributeIsMutable();
attribute_.addAll(other.attribute_);
}
onChanged();
}
} else {
if (!other.attribute_.isEmpty()) {
if (attributeBuilder_.isEmpty()) {
attributeBuilder_.dispose();
attributeBuilder_ = null;
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00001000);
attributeBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributeFieldBuilder() : null;
} else {
attributeBuilder_.addAllMessages(other.attribute_);
}
}
}
if (other.hasInitFunc()) {
setInitFunc(other.getInitFunc());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
if (!hasName()) {
return false;
}
if (!hasRowNum()) {
return false;
}
if (!hasColNum()) {
return false;
}
if (!hasIndexStart()) {
return false;
}
if (!hasIndexEnd()) {
return false;
}
if (!hasValidIndexNum()) {
return false;
}
if (!hasBlockRowNum()) {
return false;
}
if (!hasBlockColNum()) {
return false;
}
if (!hasRowType()) {
return false;
}
if (!hasPartitionerClassName()) {
return false;
}
for (int i = 0; i < getPartsCount(); i++) {
if (!getParts(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getAttributeCount(); i++) {
if (!getAttribute(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 id = 1;
private int id_ ;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
/**
* required int32 id = 1;
*/
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* required int32 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
onChanged();
return this;
}
// required string name = 2;
private java.lang.Object name_ = "";
/**
* required string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 2;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* required string name = 2;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* required string name = 2;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
// required int32 rowNum = 3;
private int rowNum_ ;
/**
* required int32 rowNum = 3;
*/
public boolean hasRowNum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 rowNum = 3;
*/
public int getRowNum() {
return rowNum_;
}
/**
* required int32 rowNum = 3;
*/
public Builder setRowNum(int value) {
bitField0_ |= 0x00000004;
rowNum_ = value;
onChanged();
return this;
}
/**
* required int32 rowNum = 3;
*/
public Builder clearRowNum() {
bitField0_ = (bitField0_ & ~0x00000004);
rowNum_ = 0;
onChanged();
return this;
}
// required int64 colNum = 4;
private long colNum_ ;
/**
* required int64 colNum = 4;
*/
public boolean hasColNum() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int64 colNum = 4;
*/
public long getColNum() {
return colNum_;
}
/**
* required int64 colNum = 4;
*/
public Builder setColNum(long value) {
bitField0_ |= 0x00000008;
colNum_ = value;
onChanged();
return this;
}
/**
* required int64 colNum = 4;
*/
public Builder clearColNum() {
bitField0_ = (bitField0_ & ~0x00000008);
colNum_ = 0L;
onChanged();
return this;
}
// required int64 indexStart = 5;
private long indexStart_ ;
/**
* required int64 indexStart = 5;
*/
public boolean hasIndexStart() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int64 indexStart = 5;
*/
public long getIndexStart() {
return indexStart_;
}
/**
* required int64 indexStart = 5;
*/
public Builder setIndexStart(long value) {
bitField0_ |= 0x00000010;
indexStart_ = value;
onChanged();
return this;
}
/**
* required int64 indexStart = 5;
*/
public Builder clearIndexStart() {
bitField0_ = (bitField0_ & ~0x00000010);
indexStart_ = 0L;
onChanged();
return this;
}
// required int64 indexEnd = 6;
private long indexEnd_ ;
/**
* required int64 indexEnd = 6;
*/
public boolean hasIndexEnd() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required int64 indexEnd = 6;
*/
public long getIndexEnd() {
return indexEnd_;
}
/**
* required int64 indexEnd = 6;
*/
public Builder setIndexEnd(long value) {
bitField0_ |= 0x00000020;
indexEnd_ = value;
onChanged();
return this;
}
/**
* required int64 indexEnd = 6;
*/
public Builder clearIndexEnd() {
bitField0_ = (bitField0_ & ~0x00000020);
indexEnd_ = 0L;
onChanged();
return this;
}
// required int64 validIndexNum = 7;
private long validIndexNum_ ;
/**
* required int64 validIndexNum = 7;
*/
public boolean hasValidIndexNum() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* required int64 validIndexNum = 7;
*/
public long getValidIndexNum() {
return validIndexNum_;
}
/**
* required int64 validIndexNum = 7;
*/
public Builder setValidIndexNum(long value) {
bitField0_ |= 0x00000040;
validIndexNum_ = value;
onChanged();
return this;
}
/**
* required int64 validIndexNum = 7;
*/
public Builder clearValidIndexNum() {
bitField0_ = (bitField0_ & ~0x00000040);
validIndexNum_ = 0L;
onChanged();
return this;
}
// required int32 blockRowNum = 8;
private int blockRowNum_ ;
/**
* required int32 blockRowNum = 8;
*/
public boolean hasBlockRowNum() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* required int32 blockRowNum = 8;
*/
public int getBlockRowNum() {
return blockRowNum_;
}
/**
* required int32 blockRowNum = 8;
*/
public Builder setBlockRowNum(int value) {
bitField0_ |= 0x00000080;
blockRowNum_ = value;
onChanged();
return this;
}
/**
* required int32 blockRowNum = 8;
*/
public Builder clearBlockRowNum() {
bitField0_ = (bitField0_ & ~0x00000080);
blockRowNum_ = 0;
onChanged();
return this;
}
// required int64 blockColNum = 9;
private long blockColNum_ ;
/**
* required int64 blockColNum = 9;
*/
public boolean hasBlockColNum() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* required int64 blockColNum = 9;
*/
public long getBlockColNum() {
return blockColNum_;
}
/**
* required int64 blockColNum = 9;
*/
public Builder setBlockColNum(long value) {
bitField0_ |= 0x00000100;
blockColNum_ = value;
onChanged();
return this;
}
/**
* required int64 blockColNum = 9;
*/
public Builder clearBlockColNum() {
bitField0_ = (bitField0_ & ~0x00000100);
blockColNum_ = 0L;
onChanged();
return this;
}
// required int32 rowType = 10;
private int rowType_ ;
/**
* required int32 rowType = 10;
*/
public boolean hasRowType() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* required int32 rowType = 10;
*/
public int getRowType() {
return rowType_;
}
/**
* required int32 rowType = 10;
*/
public Builder setRowType(int value) {
bitField0_ |= 0x00000200;
rowType_ = value;
onChanged();
return this;
}
/**
* required int32 rowType = 10;
*/
public Builder clearRowType() {
bitField0_ = (bitField0_ & ~0x00000200);
rowType_ = 0;
onChanged();
return this;
}
// required string partitionerClassName = 11;
private java.lang.Object partitionerClassName_ = "";
/**
* required string partitionerClassName = 11;
*/
public boolean hasPartitionerClassName() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* required string partitionerClassName = 11;
*/
public java.lang.String getPartitionerClassName() {
java.lang.Object ref = partitionerClassName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
partitionerClassName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string partitionerClassName = 11;
*/
public com.google.protobuf.ByteString
getPartitionerClassNameBytes() {
java.lang.Object ref = partitionerClassName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partitionerClassName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string partitionerClassName = 11;
*/
public Builder setPartitionerClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
partitionerClassName_ = value;
onChanged();
return this;
}
/**
* required string partitionerClassName = 11;
*/
public Builder clearPartitionerClassName() {
bitField0_ = (bitField0_ & ~0x00000400);
partitionerClassName_ = getDefaultInstance().getPartitionerClassName();
onChanged();
return this;
}
/**
* required string partitionerClassName = 11;
*/
public Builder setPartitionerClassNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
partitionerClassName_ = value;
onChanged();
return this;
}
// repeated .PartContextProto parts = 12;
private java.util.List parts_ =
java.util.Collections.emptyList();
private void ensurePartsIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
parts_ = new java.util.ArrayList(parts_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder> partsBuilder_;
/**
* repeated .PartContextProto parts = 12;
*/
public java.util.List getPartsList() {
if (partsBuilder_ == null) {
return java.util.Collections.unmodifiableList(parts_);
} else {
return partsBuilder_.getMessageList();
}
}
/**
* repeated .PartContextProto parts = 12;
*/
public int getPartsCount() {
if (partsBuilder_ == null) {
return parts_.size();
} else {
return partsBuilder_.getCount();
}
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto getParts(int index) {
if (partsBuilder_ == null) {
return parts_.get(index);
} else {
return partsBuilder_.getMessage(index);
}
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder setParts(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto value) {
if (partsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartsIsMutable();
parts_.set(index, value);
onChanged();
} else {
partsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder setParts(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder builderForValue) {
if (partsBuilder_ == null) {
ensurePartsIsMutable();
parts_.set(index, builderForValue.build());
onChanged();
} else {
partsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder addParts(com.tencent.angel.protobuf.generated.MLProtos.PartContextProto value) {
if (partsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartsIsMutable();
parts_.add(value);
onChanged();
} else {
partsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder addParts(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto value) {
if (partsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartsIsMutable();
parts_.add(index, value);
onChanged();
} else {
partsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder addParts(
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder builderForValue) {
if (partsBuilder_ == null) {
ensurePartsIsMutable();
parts_.add(builderForValue.build());
onChanged();
} else {
partsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder addParts(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder builderForValue) {
if (partsBuilder_ == null) {
ensurePartsIsMutable();
parts_.add(index, builderForValue.build());
onChanged();
} else {
partsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder addAllParts(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PartContextProto> values) {
if (partsBuilder_ == null) {
ensurePartsIsMutable();
super.addAll(values, parts_);
onChanged();
} else {
partsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder clearParts() {
if (partsBuilder_ == null) {
parts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
partsBuilder_.clear();
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public Builder removeParts(int index) {
if (partsBuilder_ == null) {
ensurePartsIsMutable();
parts_.remove(index);
onChanged();
} else {
partsBuilder_.remove(index);
}
return this;
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder getPartsBuilder(
int index) {
return getPartsFieldBuilder().getBuilder(index);
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder getPartsOrBuilder(
int index) {
if (partsBuilder_ == null) {
return parts_.get(index); } else {
return partsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PartContextProto parts = 12;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder>
getPartsOrBuilderList() {
if (partsBuilder_ != null) {
return partsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parts_);
}
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder addPartsBuilder() {
return getPartsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.getDefaultInstance());
}
/**
* repeated .PartContextProto parts = 12;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder addPartsBuilder(
int index) {
return getPartsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.getDefaultInstance());
}
/**
* repeated .PartContextProto parts = 12;
*/
public java.util.List
getPartsBuilderList() {
return getPartsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder>
getPartsFieldBuilder() {
if (partsBuilder_ == null) {
partsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder>(
parts_,
((bitField0_ & 0x00000800) == 0x00000800),
getParentForChildren(),
isClean());
parts_ = null;
}
return partsBuilder_;
}
// repeated .Pair attribute = 13;
private java.util.List attribute_ =
java.util.Collections.emptyList();
private void ensureAttributeIsMutable() {
if (!((bitField0_ & 0x00001000) == 0x00001000)) {
attribute_ = new java.util.ArrayList(attribute_);
bitField0_ |= 0x00001000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder> attributeBuilder_;
/**
* repeated .Pair attribute = 13;
*/
public java.util.List getAttributeList() {
if (attributeBuilder_ == null) {
return java.util.Collections.unmodifiableList(attribute_);
} else {
return attributeBuilder_.getMessageList();
}
}
/**
* repeated .Pair attribute = 13;
*/
public int getAttributeCount() {
if (attributeBuilder_ == null) {
return attribute_.size();
} else {
return attributeBuilder_.getCount();
}
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.Pair getAttribute(int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index);
} else {
return attributeBuilder_.getMessage(index);
}
}
/**
* repeated .Pair attribute = 13;
*/
public Builder setAttribute(
int index, com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.set(index, value);
onChanged();
} else {
attributeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder setAttribute(
int index, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.set(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder addAttribute(com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(value);
onChanged();
} else {
attributeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder addAttribute(
int index, com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(index, value);
onChanged();
} else {
attributeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder addAttribute(
com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder addAttribute(
int index, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder addAllAttribute(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.Pair> values) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
super.addAll(values, attribute_);
onChanged();
} else {
attributeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder clearAttribute() {
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
} else {
attributeBuilder_.clear();
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public Builder removeAttribute(int index) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.remove(index);
onChanged();
} else {
attributeBuilder_.remove(index);
}
return this;
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder getAttributeBuilder(
int index) {
return getAttributeFieldBuilder().getBuilder(index);
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getAttributeOrBuilder(
int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index); } else {
return attributeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Pair attribute = 13;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>
getAttributeOrBuilderList() {
if (attributeBuilder_ != null) {
return attributeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(attribute_);
}
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder addAttributeBuilder() {
return getAttributeFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance());
}
/**
* repeated .Pair attribute = 13;
*/
public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder addAttributeBuilder(
int index) {
return getAttributeFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance());
}
/**
* repeated .Pair attribute = 13;
*/
public java.util.List
getAttributeBuilderList() {
return getAttributeFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>
getAttributeFieldBuilder() {
if (attributeBuilder_ == null) {
attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>(
attribute_,
((bitField0_ & 0x00001000) == 0x00001000),
getParentForChildren(),
isClean());
attribute_ = null;
}
return attributeBuilder_;
}
// optional bytes initFunc = 14;
private com.google.protobuf.ByteString initFunc_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes initFunc = 14;
*/
public boolean hasInitFunc() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional bytes initFunc = 14;
*/
public com.google.protobuf.ByteString getInitFunc() {
return initFunc_;
}
/**
* optional bytes initFunc = 14;
*/
public Builder setInitFunc(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
initFunc_ = value;
onChanged();
return this;
}
/**
* optional bytes initFunc = 14;
*/
public Builder clearInitFunc() {
bitField0_ = (bitField0_ & ~0x00002000);
initFunc_ = getDefaultInstance().getInitFunc();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:MatrixContextProto)
}
static {
defaultInstance = new MatrixContextProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MatrixContextProto)
}
public interface PartContextProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 startRow = 1;
/**
* required int32 startRow = 1;
*/
boolean hasStartRow();
/**
* required int32 startRow = 1;
*/
int getStartRow();
// required int64 startCol = 2;
/**
* required int64 startCol = 2;
*/
boolean hasStartCol();
/**
* required int64 startCol = 2;
*/
long getStartCol();
// required int32 endRow = 3;
/**
* required int32 endRow = 3;
*/
boolean hasEndRow();
/**
* required int32 endRow = 3;
*/
int getEndRow();
// required int64 endCol = 4;
/**
* required int64 endCol = 4;
*/
boolean hasEndCol();
/**
* required int64 endCol = 4;
*/
long getEndCol();
// required int32 indexNum = 5;
/**
* required int32 indexNum = 5;
*/
boolean hasIndexNum();
/**
* required int32 indexNum = 5;
*/
int getIndexNum();
}
/**
* Protobuf type {@code PartContextProto}
*/
public static final class PartContextProto extends
com.google.protobuf.GeneratedMessage
implements PartContextProtoOrBuilder {
// Use PartContextProto.newBuilder() to construct.
private PartContextProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PartContextProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PartContextProto defaultInstance;
public static PartContextProto getDefaultInstance() {
return defaultInstance;
}
public PartContextProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PartContextProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
startRow_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
startCol_ = input.readInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
endRow_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
endCol_ = input.readInt64();
break;
}
case 40: {
bitField0_ |= 0x00000010;
indexNum_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartContextProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartContextProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.class, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PartContextProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PartContextProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 startRow = 1;
public static final int STARTROW_FIELD_NUMBER = 1;
private int startRow_;
/**
* required int32 startRow = 1;
*/
public boolean hasStartRow() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 startRow = 1;
*/
public int getStartRow() {
return startRow_;
}
// required int64 startCol = 2;
public static final int STARTCOL_FIELD_NUMBER = 2;
private long startCol_;
/**
* required int64 startCol = 2;
*/
public boolean hasStartCol() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int64 startCol = 2;
*/
public long getStartCol() {
return startCol_;
}
// required int32 endRow = 3;
public static final int ENDROW_FIELD_NUMBER = 3;
private int endRow_;
/**
* required int32 endRow = 3;
*/
public boolean hasEndRow() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 endRow = 3;
*/
public int getEndRow() {
return endRow_;
}
// required int64 endCol = 4;
public static final int ENDCOL_FIELD_NUMBER = 4;
private long endCol_;
/**
* required int64 endCol = 4;
*/
public boolean hasEndCol() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int64 endCol = 4;
*/
public long getEndCol() {
return endCol_;
}
// required int32 indexNum = 5;
public static final int INDEXNUM_FIELD_NUMBER = 5;
private int indexNum_;
/**
* required int32 indexNum = 5;
*/
public boolean hasIndexNum() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 indexNum = 5;
*/
public int getIndexNum() {
return indexNum_;
}
private void initFields() {
startRow_ = 0;
startCol_ = 0L;
endRow_ = 0;
endCol_ = 0L;
indexNum_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasStartRow()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasStartCol()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEndRow()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEndCol()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIndexNum()) {
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, startRow_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(2, startCol_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, endRow_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt64(4, endCol_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, indexNum_);
}
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, startRow_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, startCol_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, endRow_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, endCol_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, indexNum_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PartContextProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto other = (com.tencent.angel.protobuf.generated.MLProtos.PartContextProto) obj;
boolean result = true;
result = result && (hasStartRow() == other.hasStartRow());
if (hasStartRow()) {
result = result && (getStartRow()
== other.getStartRow());
}
result = result && (hasStartCol() == other.hasStartCol());
if (hasStartCol()) {
result = result && (getStartCol()
== other.getStartCol());
}
result = result && (hasEndRow() == other.hasEndRow());
if (hasEndRow()) {
result = result && (getEndRow()
== other.getEndRow());
}
result = result && (hasEndCol() == other.hasEndCol());
if (hasEndCol()) {
result = result && (getEndCol()
== other.getEndCol());
}
result = result && (hasIndexNum() == other.hasIndexNum());
if (hasIndexNum()) {
result = result && (getIndexNum()
== other.getIndexNum());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasStartRow()) {
hash = (37 * hash) + STARTROW_FIELD_NUMBER;
hash = (53 * hash) + getStartRow();
}
if (hasStartCol()) {
hash = (37 * hash) + STARTCOL_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getStartCol());
}
if (hasEndRow()) {
hash = (37 * hash) + ENDROW_FIELD_NUMBER;
hash = (53 * hash) + getEndRow();
}
if (hasEndCol()) {
hash = (37 * hash) + ENDCOL_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getEndCol());
}
if (hasIndexNum()) {
hash = (37 * hash) + INDEXNUM_FIELD_NUMBER;
hash = (53 * hash) + getIndexNum();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PartContextProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PartContextProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PartContextProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartContextProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartContextProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.class, com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
startRow_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
startCol_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
endRow_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
endCol_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
indexNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartContextProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PartContextProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto result = new com.tencent.angel.protobuf.generated.MLProtos.PartContextProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.startRow_ = startRow_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.startCol_ = startCol_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.endRow_ = endRow_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.endCol_ = endCol_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.indexNum_ = indexNum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PartContextProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PartContextProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PartContextProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PartContextProto.getDefaultInstance()) return this;
if (other.hasStartRow()) {
setStartRow(other.getStartRow());
}
if (other.hasStartCol()) {
setStartCol(other.getStartCol());
}
if (other.hasEndRow()) {
setEndRow(other.getEndRow());
}
if (other.hasEndCol()) {
setEndCol(other.getEndCol());
}
if (other.hasIndexNum()) {
setIndexNum(other.getIndexNum());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasStartRow()) {
return false;
}
if (!hasStartCol()) {
return false;
}
if (!hasEndRow()) {
return false;
}
if (!hasEndCol()) {
return false;
}
if (!hasIndexNum()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PartContextProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PartContextProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 startRow = 1;
private int startRow_ ;
/**
* required int32 startRow = 1;
*/
public boolean hasStartRow() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 startRow = 1;
*/
public int getStartRow() {
return startRow_;
}
/**
* required int32 startRow = 1;
*/
public Builder setStartRow(int value) {
bitField0_ |= 0x00000001;
startRow_ = value;
onChanged();
return this;
}
/**
* required int32 startRow = 1;
*/
public Builder clearStartRow() {
bitField0_ = (bitField0_ & ~0x00000001);
startRow_ = 0;
onChanged();
return this;
}
// required int64 startCol = 2;
private long startCol_ ;
/**
* required int64 startCol = 2;
*/
public boolean hasStartCol() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int64 startCol = 2;
*/
public long getStartCol() {
return startCol_;
}
/**
* required int64 startCol = 2;
*/
public Builder setStartCol(long value) {
bitField0_ |= 0x00000002;
startCol_ = value;
onChanged();
return this;
}
/**
* required int64 startCol = 2;
*/
public Builder clearStartCol() {
bitField0_ = (bitField0_ & ~0x00000002);
startCol_ = 0L;
onChanged();
return this;
}
// required int32 endRow = 3;
private int endRow_ ;
/**
* required int32 endRow = 3;
*/
public boolean hasEndRow() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 endRow = 3;
*/
public int getEndRow() {
return endRow_;
}
/**
* required int32 endRow = 3;
*/
public Builder setEndRow(int value) {
bitField0_ |= 0x00000004;
endRow_ = value;
onChanged();
return this;
}
/**
* required int32 endRow = 3;
*/
public Builder clearEndRow() {
bitField0_ = (bitField0_ & ~0x00000004);
endRow_ = 0;
onChanged();
return this;
}
// required int64 endCol = 4;
private long endCol_ ;
/**
* required int64 endCol = 4;
*/
public boolean hasEndCol() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int64 endCol = 4;
*/
public long getEndCol() {
return endCol_;
}
/**
* required int64 endCol = 4;
*/
public Builder setEndCol(long value) {
bitField0_ |= 0x00000008;
endCol_ = value;
onChanged();
return this;
}
/**
* required int64 endCol = 4;
*/
public Builder clearEndCol() {
bitField0_ = (bitField0_ & ~0x00000008);
endCol_ = 0L;
onChanged();
return this;
}
// required int32 indexNum = 5;
private int indexNum_ ;
/**
* required int32 indexNum = 5;
*/
public boolean hasIndexNum() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 indexNum = 5;
*/
public int getIndexNum() {
return indexNum_;
}
/**
* required int32 indexNum = 5;
*/
public Builder setIndexNum(int value) {
bitField0_ |= 0x00000010;
indexNum_ = value;
onChanged();
return this;
}
/**
* required int32 indexNum = 5;
*/
public Builder clearIndexNum() {
bitField0_ = (bitField0_ & ~0x00000010);
indexNum_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PartContextProto)
}
static {
defaultInstance = new PartContextProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PartContextProto)
}
public interface PartitionMetaProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 partitionId = 1;
/**
* required int32 partitionId = 1;
*/
boolean hasPartitionId();
/**
* required int32 partitionId = 1;
*/
int getPartitionId();
// required int32 startRow = 2;
/**
* required int32 startRow = 2;
*/
boolean hasStartRow();
/**
* required int32 startRow = 2;
*/
int getStartRow();
// required int64 startCol = 3;
/**
* required int64 startCol = 3;
*/
boolean hasStartCol();
/**
* required int64 startCol = 3;
*/
long getStartCol();
// required int32 endRow = 4;
/**
* required int32 endRow = 4;
*/
boolean hasEndRow();
/**
* required int32 endRow = 4;
*/
int getEndRow();
// required int64 endCol = 5;
/**
* required int64 endCol = 5;
*/
boolean hasEndCol();
/**
* required int64 endCol = 5;
*/
long getEndCol();
// required int32 indexNum = 6;
/**
* required int32 indexNum = 6;
*/
boolean hasIndexNum();
/**
* required int32 indexNum = 6;
*/
int getIndexNum();
// repeated .PSIdProto storedPs = 7;
/**
* repeated .PSIdProto storedPs = 7;
*/
java.util.List
getStoredPsList();
/**
* repeated .PSIdProto storedPs = 7;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getStoredPs(int index);
/**
* repeated .PSIdProto storedPs = 7;
*/
int getStoredPsCount();
/**
* repeated .PSIdProto storedPs = 7;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getStoredPsOrBuilderList();
/**
* repeated .PSIdProto storedPs = 7;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getStoredPsOrBuilder(
int index);
}
/**
* Protobuf type {@code PartitionMetaProto}
*/
public static final class PartitionMetaProto extends
com.google.protobuf.GeneratedMessage
implements PartitionMetaProtoOrBuilder {
// Use PartitionMetaProto.newBuilder() to construct.
private PartitionMetaProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PartitionMetaProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PartitionMetaProto defaultInstance;
public static PartitionMetaProto getDefaultInstance() {
return defaultInstance;
}
public PartitionMetaProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PartitionMetaProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
partitionId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
startRow_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
startCol_ = input.readInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
endRow_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
endCol_ = input.readInt64();
break;
}
case 48: {
bitField0_ |= 0x00000020;
indexNum_ = input.readInt32();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
storedPs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
storedPs_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
storedPs_ = java.util.Collections.unmodifiableList(storedPs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartitionMetaProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartitionMetaProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.class, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PartitionMetaProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PartitionMetaProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 partitionId = 1;
public static final int PARTITIONID_FIELD_NUMBER = 1;
private int partitionId_;
/**
* required int32 partitionId = 1;
*/
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 partitionId = 1;
*/
public int getPartitionId() {
return partitionId_;
}
// required int32 startRow = 2;
public static final int STARTROW_FIELD_NUMBER = 2;
private int startRow_;
/**
* required int32 startRow = 2;
*/
public boolean hasStartRow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 startRow = 2;
*/
public int getStartRow() {
return startRow_;
}
// required int64 startCol = 3;
public static final int STARTCOL_FIELD_NUMBER = 3;
private long startCol_;
/**
* required int64 startCol = 3;
*/
public boolean hasStartCol() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int64 startCol = 3;
*/
public long getStartCol() {
return startCol_;
}
// required int32 endRow = 4;
public static final int ENDROW_FIELD_NUMBER = 4;
private int endRow_;
/**
* required int32 endRow = 4;
*/
public boolean hasEndRow() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int32 endRow = 4;
*/
public int getEndRow() {
return endRow_;
}
// required int64 endCol = 5;
public static final int ENDCOL_FIELD_NUMBER = 5;
private long endCol_;
/**
* required int64 endCol = 5;
*/
public boolean hasEndCol() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int64 endCol = 5;
*/
public long getEndCol() {
return endCol_;
}
// required int32 indexNum = 6;
public static final int INDEXNUM_FIELD_NUMBER = 6;
private int indexNum_;
/**
* required int32 indexNum = 6;
*/
public boolean hasIndexNum() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required int32 indexNum = 6;
*/
public int getIndexNum() {
return indexNum_;
}
// repeated .PSIdProto storedPs = 7;
public static final int STOREDPS_FIELD_NUMBER = 7;
private java.util.List storedPs_;
/**
* repeated .PSIdProto storedPs = 7;
*/
public java.util.List getStoredPsList() {
return storedPs_;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getStoredPsOrBuilderList() {
return storedPs_;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public int getStoredPsCount() {
return storedPs_.size();
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getStoredPs(int index) {
return storedPs_.get(index);
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getStoredPsOrBuilder(
int index) {
return storedPs_.get(index);
}
private void initFields() {
partitionId_ = 0;
startRow_ = 0;
startCol_ = 0L;
endRow_ = 0;
endCol_ = 0L;
indexNum_ = 0;
storedPs_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPartitionId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasStartRow()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasStartCol()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEndRow()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEndCol()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIndexNum()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getStoredPsCount(); i++) {
if (!getStoredPs(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.writeInt32(1, partitionId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, startRow_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, startCol_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, endRow_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt64(5, endCol_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, indexNum_);
}
for (int i = 0; i < storedPs_.size(); i++) {
output.writeMessage(7, storedPs_.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
.computeInt32Size(1, partitionId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, startRow_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, startCol_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, endRow_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, endCol_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, indexNum_);
}
for (int i = 0; i < storedPs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, storedPs_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto other = (com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto) obj;
boolean result = true;
result = result && (hasPartitionId() == other.hasPartitionId());
if (hasPartitionId()) {
result = result && (getPartitionId()
== other.getPartitionId());
}
result = result && (hasStartRow() == other.hasStartRow());
if (hasStartRow()) {
result = result && (getStartRow()
== other.getStartRow());
}
result = result && (hasStartCol() == other.hasStartCol());
if (hasStartCol()) {
result = result && (getStartCol()
== other.getStartCol());
}
result = result && (hasEndRow() == other.hasEndRow());
if (hasEndRow()) {
result = result && (getEndRow()
== other.getEndRow());
}
result = result && (hasEndCol() == other.hasEndCol());
if (hasEndCol()) {
result = result && (getEndCol()
== other.getEndCol());
}
result = result && (hasIndexNum() == other.hasIndexNum());
if (hasIndexNum()) {
result = result && (getIndexNum()
== other.getIndexNum());
}
result = result && getStoredPsList()
.equals(other.getStoredPsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPartitionId()) {
hash = (37 * hash) + PARTITIONID_FIELD_NUMBER;
hash = (53 * hash) + getPartitionId();
}
if (hasStartRow()) {
hash = (37 * hash) + STARTROW_FIELD_NUMBER;
hash = (53 * hash) + getStartRow();
}
if (hasStartCol()) {
hash = (37 * hash) + STARTCOL_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getStartCol());
}
if (hasEndRow()) {
hash = (37 * hash) + ENDROW_FIELD_NUMBER;
hash = (53 * hash) + getEndRow();
}
if (hasEndCol()) {
hash = (37 * hash) + ENDCOL_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getEndCol());
}
if (hasIndexNum()) {
hash = (37 * hash) + INDEXNUM_FIELD_NUMBER;
hash = (53 * hash) + getIndexNum();
}
if (getStoredPsCount() > 0) {
hash = (37 * hash) + STOREDPS_FIELD_NUMBER;
hash = (53 * hash) + getStoredPsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PartitionMetaProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartitionMetaProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartitionMetaProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.class, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getStoredPsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
partitionId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
startRow_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
startCol_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
endRow_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
endCol_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
indexNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
if (storedPsBuilder_ == null) {
storedPs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
storedPsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PartitionMetaProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto result = new com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.partitionId_ = partitionId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.startRow_ = startRow_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.startCol_ = startCol_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.endRow_ = endRow_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.endCol_ = endCol_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.indexNum_ = indexNum_;
if (storedPsBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
storedPs_ = java.util.Collections.unmodifiableList(storedPs_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.storedPs_ = storedPs_;
} else {
result.storedPs_ = storedPsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.getDefaultInstance()) return this;
if (other.hasPartitionId()) {
setPartitionId(other.getPartitionId());
}
if (other.hasStartRow()) {
setStartRow(other.getStartRow());
}
if (other.hasStartCol()) {
setStartCol(other.getStartCol());
}
if (other.hasEndRow()) {
setEndRow(other.getEndRow());
}
if (other.hasEndCol()) {
setEndCol(other.getEndCol());
}
if (other.hasIndexNum()) {
setIndexNum(other.getIndexNum());
}
if (storedPsBuilder_ == null) {
if (!other.storedPs_.isEmpty()) {
if (storedPs_.isEmpty()) {
storedPs_ = other.storedPs_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureStoredPsIsMutable();
storedPs_.addAll(other.storedPs_);
}
onChanged();
}
} else {
if (!other.storedPs_.isEmpty()) {
if (storedPsBuilder_.isEmpty()) {
storedPsBuilder_.dispose();
storedPsBuilder_ = null;
storedPs_ = other.storedPs_;
bitField0_ = (bitField0_ & ~0x00000040);
storedPsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStoredPsFieldBuilder() : null;
} else {
storedPsBuilder_.addAllMessages(other.storedPs_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPartitionId()) {
return false;
}
if (!hasStartRow()) {
return false;
}
if (!hasStartCol()) {
return false;
}
if (!hasEndRow()) {
return false;
}
if (!hasEndCol()) {
return false;
}
if (!hasIndexNum()) {
return false;
}
for (int i = 0; i < getStoredPsCount(); i++) {
if (!getStoredPs(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 partitionId = 1;
private int partitionId_ ;
/**
* required int32 partitionId = 1;
*/
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 partitionId = 1;
*/
public int getPartitionId() {
return partitionId_;
}
/**
* required int32 partitionId = 1;
*/
public Builder setPartitionId(int value) {
bitField0_ |= 0x00000001;
partitionId_ = value;
onChanged();
return this;
}
/**
* required int32 partitionId = 1;
*/
public Builder clearPartitionId() {
bitField0_ = (bitField0_ & ~0x00000001);
partitionId_ = 0;
onChanged();
return this;
}
// required int32 startRow = 2;
private int startRow_ ;
/**
* required int32 startRow = 2;
*/
public boolean hasStartRow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 startRow = 2;
*/
public int getStartRow() {
return startRow_;
}
/**
* required int32 startRow = 2;
*/
public Builder setStartRow(int value) {
bitField0_ |= 0x00000002;
startRow_ = value;
onChanged();
return this;
}
/**
* required int32 startRow = 2;
*/
public Builder clearStartRow() {
bitField0_ = (bitField0_ & ~0x00000002);
startRow_ = 0;
onChanged();
return this;
}
// required int64 startCol = 3;
private long startCol_ ;
/**
* required int64 startCol = 3;
*/
public boolean hasStartCol() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int64 startCol = 3;
*/
public long getStartCol() {
return startCol_;
}
/**
* required int64 startCol = 3;
*/
public Builder setStartCol(long value) {
bitField0_ |= 0x00000004;
startCol_ = value;
onChanged();
return this;
}
/**
* required int64 startCol = 3;
*/
public Builder clearStartCol() {
bitField0_ = (bitField0_ & ~0x00000004);
startCol_ = 0L;
onChanged();
return this;
}
// required int32 endRow = 4;
private int endRow_ ;
/**
* required int32 endRow = 4;
*/
public boolean hasEndRow() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int32 endRow = 4;
*/
public int getEndRow() {
return endRow_;
}
/**
* required int32 endRow = 4;
*/
public Builder setEndRow(int value) {
bitField0_ |= 0x00000008;
endRow_ = value;
onChanged();
return this;
}
/**
* required int32 endRow = 4;
*/
public Builder clearEndRow() {
bitField0_ = (bitField0_ & ~0x00000008);
endRow_ = 0;
onChanged();
return this;
}
// required int64 endCol = 5;
private long endCol_ ;
/**
* required int64 endCol = 5;
*/
public boolean hasEndCol() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int64 endCol = 5;
*/
public long getEndCol() {
return endCol_;
}
/**
* required int64 endCol = 5;
*/
public Builder setEndCol(long value) {
bitField0_ |= 0x00000010;
endCol_ = value;
onChanged();
return this;
}
/**
* required int64 endCol = 5;
*/
public Builder clearEndCol() {
bitField0_ = (bitField0_ & ~0x00000010);
endCol_ = 0L;
onChanged();
return this;
}
// required int32 indexNum = 6;
private int indexNum_ ;
/**
* required int32 indexNum = 6;
*/
public boolean hasIndexNum() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required int32 indexNum = 6;
*/
public int getIndexNum() {
return indexNum_;
}
/**
* required int32 indexNum = 6;
*/
public Builder setIndexNum(int value) {
bitField0_ |= 0x00000020;
indexNum_ = value;
onChanged();
return this;
}
/**
* required int32 indexNum = 6;
*/
public Builder clearIndexNum() {
bitField0_ = (bitField0_ & ~0x00000020);
indexNum_ = 0;
onChanged();
return this;
}
// repeated .PSIdProto storedPs = 7;
private java.util.List storedPs_ =
java.util.Collections.emptyList();
private void ensureStoredPsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
storedPs_ = new java.util.ArrayList(storedPs_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder> storedPsBuilder_;
/**
* repeated .PSIdProto storedPs = 7;
*/
public java.util.List getStoredPsList() {
if (storedPsBuilder_ == null) {
return java.util.Collections.unmodifiableList(storedPs_);
} else {
return storedPsBuilder_.getMessageList();
}
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public int getStoredPsCount() {
if (storedPsBuilder_ == null) {
return storedPs_.size();
} else {
return storedPsBuilder_.getCount();
}
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getStoredPs(int index) {
if (storedPsBuilder_ == null) {
return storedPs_.get(index);
} else {
return storedPsBuilder_.getMessage(index);
}
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder setStoredPs(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (storedPsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoredPsIsMutable();
storedPs_.set(index, value);
onChanged();
} else {
storedPsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder setStoredPs(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (storedPsBuilder_ == null) {
ensureStoredPsIsMutable();
storedPs_.set(index, builderForValue.build());
onChanged();
} else {
storedPsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder addStoredPs(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (storedPsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoredPsIsMutable();
storedPs_.add(value);
onChanged();
} else {
storedPsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder addStoredPs(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (storedPsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoredPsIsMutable();
storedPs_.add(index, value);
onChanged();
} else {
storedPsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder addStoredPs(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (storedPsBuilder_ == null) {
ensureStoredPsIsMutable();
storedPs_.add(builderForValue.build());
onChanged();
} else {
storedPsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder addStoredPs(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (storedPsBuilder_ == null) {
ensureStoredPsIsMutable();
storedPs_.add(index, builderForValue.build());
onChanged();
} else {
storedPsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder addAllStoredPs(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProto> values) {
if (storedPsBuilder_ == null) {
ensureStoredPsIsMutable();
super.addAll(values, storedPs_);
onChanged();
} else {
storedPsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder clearStoredPs() {
if (storedPsBuilder_ == null) {
storedPs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
storedPsBuilder_.clear();
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public Builder removeStoredPs(int index) {
if (storedPsBuilder_ == null) {
ensureStoredPsIsMutable();
storedPs_.remove(index);
onChanged();
} else {
storedPsBuilder_.remove(index);
}
return this;
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder getStoredPsBuilder(
int index) {
return getStoredPsFieldBuilder().getBuilder(index);
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getStoredPsOrBuilder(
int index) {
if (storedPsBuilder_ == null) {
return storedPs_.get(index); } else {
return storedPsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getStoredPsOrBuilderList() {
if (storedPsBuilder_ != null) {
return storedPsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(storedPs_);
}
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder addStoredPsBuilder() {
return getStoredPsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance());
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder addStoredPsBuilder(
int index) {
return getStoredPsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance());
}
/**
* repeated .PSIdProto storedPs = 7;
*/
public java.util.List
getStoredPsBuilderList() {
return getStoredPsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getStoredPsFieldBuilder() {
if (storedPsBuilder_ == null) {
storedPsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>(
storedPs_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
storedPs_ = null;
}
return storedPsBuilder_;
}
// @@protoc_insertion_point(builder_scope:PartitionMetaProto)
}
static {
defaultInstance = new PartitionMetaProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PartitionMetaProto)
}
public interface MatrixMetaProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .MatrixContextProto matrixContext = 1;
/**
* required .MatrixContextProto matrixContext = 1;
*/
boolean hasMatrixContext();
/**
* required .MatrixContextProto matrixContext = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getMatrixContext();
/**
* required .MatrixContextProto matrixContext = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder getMatrixContextOrBuilder();
// repeated .PartitionMetaProto partMetas = 2;
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
java.util.List
getPartMetasList();
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto getPartMetas(int index);
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
int getPartMetasCount();
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder>
getPartMetasOrBuilderList();
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder getPartMetasOrBuilder(
int index);
}
/**
* Protobuf type {@code MatrixMetaProto}
*/
public static final class MatrixMetaProto extends
com.google.protobuf.GeneratedMessage
implements MatrixMetaProtoOrBuilder {
// Use MatrixMetaProto.newBuilder() to construct.
private MatrixMetaProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MatrixMetaProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MatrixMetaProto defaultInstance;
public static MatrixMetaProto getDefaultInstance() {
return defaultInstance;
}
public MatrixMetaProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MatrixMetaProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = matrixContext_.toBuilder();
}
matrixContext_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(matrixContext_);
matrixContext_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
partMetas_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
partMetas_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
partMetas_ = java.util.Collections.unmodifiableList(partMetas_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixMetaProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixMetaProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.class, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MatrixMetaProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MatrixMetaProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .MatrixContextProto matrixContext = 1;
public static final int MATRIXCONTEXT_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto matrixContext_;
/**
* required .MatrixContextProto matrixContext = 1;
*/
public boolean hasMatrixContext() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getMatrixContext() {
return matrixContext_;
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder getMatrixContextOrBuilder() {
return matrixContext_;
}
// repeated .PartitionMetaProto partMetas = 2;
public static final int PARTMETAS_FIELD_NUMBER = 2;
private java.util.List partMetas_;
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public java.util.List getPartMetasList() {
return partMetas_;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder>
getPartMetasOrBuilderList() {
return partMetas_;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public int getPartMetasCount() {
return partMetas_.size();
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto getPartMetas(int index) {
return partMetas_.get(index);
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder getPartMetasOrBuilder(
int index) {
return partMetas_.get(index);
}
private void initFields() {
matrixContext_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance();
partMetas_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasMatrixContext()) {
memoizedIsInitialized = 0;
return false;
}
if (!getMatrixContext().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getPartMetasCount(); i++) {
if (!getPartMetas(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, matrixContext_);
}
for (int i = 0; i < partMetas_.size(); i++) {
output.writeMessage(2, partMetas_.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, matrixContext_);
}
for (int i = 0; i < partMetas_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, partMetas_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto other = (com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto) obj;
boolean result = true;
result = result && (hasMatrixContext() == other.hasMatrixContext());
if (hasMatrixContext()) {
result = result && getMatrixContext()
.equals(other.getMatrixContext());
}
result = result && getPartMetasList()
.equals(other.getPartMetasList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasMatrixContext()) {
hash = (37 * hash) + MATRIXCONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getMatrixContext().hashCode();
}
if (getPartMetasCount() > 0) {
hash = (37 * hash) + PARTMETAS_FIELD_NUMBER;
hash = (53 * hash) + getPartMetasList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code MatrixMetaProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixMetaProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixMetaProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.class, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getMatrixContextFieldBuilder();
getPartMetasFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (matrixContextBuilder_ == null) {
matrixContext_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance();
} else {
matrixContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (partMetasBuilder_ == null) {
partMetas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
partMetasBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixMetaProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto build() {
com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto result = new com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (matrixContextBuilder_ == null) {
result.matrixContext_ = matrixContext_;
} else {
result.matrixContext_ = matrixContextBuilder_.build();
}
if (partMetasBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
partMetas_ = java.util.Collections.unmodifiableList(partMetas_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.partMetas_ = partMetas_;
} else {
result.partMetas_ = partMetasBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.getDefaultInstance()) return this;
if (other.hasMatrixContext()) {
mergeMatrixContext(other.getMatrixContext());
}
if (partMetasBuilder_ == null) {
if (!other.partMetas_.isEmpty()) {
if (partMetas_.isEmpty()) {
partMetas_ = other.partMetas_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePartMetasIsMutable();
partMetas_.addAll(other.partMetas_);
}
onChanged();
}
} else {
if (!other.partMetas_.isEmpty()) {
if (partMetasBuilder_.isEmpty()) {
partMetasBuilder_.dispose();
partMetasBuilder_ = null;
partMetas_ = other.partMetas_;
bitField0_ = (bitField0_ & ~0x00000002);
partMetasBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPartMetasFieldBuilder() : null;
} else {
partMetasBuilder_.addAllMessages(other.partMetas_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasMatrixContext()) {
return false;
}
if (!getMatrixContext().isInitialized()) {
return false;
}
for (int i = 0; i < getPartMetasCount(); i++) {
if (!getPartMetas(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .MatrixContextProto matrixContext = 1;
private com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto matrixContext_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder> matrixContextBuilder_;
/**
* required .MatrixContextProto matrixContext = 1;
*/
public boolean hasMatrixContext() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getMatrixContext() {
if (matrixContextBuilder_ == null) {
return matrixContext_;
} else {
return matrixContextBuilder_.getMessage();
}
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public Builder setMatrixContext(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto value) {
if (matrixContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
matrixContext_ = value;
onChanged();
} else {
matrixContextBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public Builder setMatrixContext(
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder builderForValue) {
if (matrixContextBuilder_ == null) {
matrixContext_ = builderForValue.build();
onChanged();
} else {
matrixContextBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public Builder mergeMatrixContext(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto value) {
if (matrixContextBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
matrixContext_ != com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance()) {
matrixContext_ =
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.newBuilder(matrixContext_).mergeFrom(value).buildPartial();
} else {
matrixContext_ = value;
}
onChanged();
} else {
matrixContextBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public Builder clearMatrixContext() {
if (matrixContextBuilder_ == null) {
matrixContext_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance();
onChanged();
} else {
matrixContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder getMatrixContextBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getMatrixContextFieldBuilder().getBuilder();
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder getMatrixContextOrBuilder() {
if (matrixContextBuilder_ != null) {
return matrixContextBuilder_.getMessageOrBuilder();
} else {
return matrixContext_;
}
}
/**
* required .MatrixContextProto matrixContext = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>
getMatrixContextFieldBuilder() {
if (matrixContextBuilder_ == null) {
matrixContextBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>(
matrixContext_,
getParentForChildren(),
isClean());
matrixContext_ = null;
}
return matrixContextBuilder_;
}
// repeated .PartitionMetaProto partMetas = 2;
private java.util.List partMetas_ =
java.util.Collections.emptyList();
private void ensurePartMetasIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
partMetas_ = new java.util.ArrayList(partMetas_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder> partMetasBuilder_;
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public java.util.List getPartMetasList() {
if (partMetasBuilder_ == null) {
return java.util.Collections.unmodifiableList(partMetas_);
} else {
return partMetasBuilder_.getMessageList();
}
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public int getPartMetasCount() {
if (partMetasBuilder_ == null) {
return partMetas_.size();
} else {
return partMetasBuilder_.getCount();
}
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto getPartMetas(int index) {
if (partMetasBuilder_ == null) {
return partMetas_.get(index);
} else {
return partMetasBuilder_.getMessage(index);
}
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder setPartMetas(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto value) {
if (partMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartMetasIsMutable();
partMetas_.set(index, value);
onChanged();
} else {
partMetasBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder setPartMetas(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder builderForValue) {
if (partMetasBuilder_ == null) {
ensurePartMetasIsMutable();
partMetas_.set(index, builderForValue.build());
onChanged();
} else {
partMetasBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder addPartMetas(com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto value) {
if (partMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartMetasIsMutable();
partMetas_.add(value);
onChanged();
} else {
partMetasBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder addPartMetas(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto value) {
if (partMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartMetasIsMutable();
partMetas_.add(index, value);
onChanged();
} else {
partMetasBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder addPartMetas(
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder builderForValue) {
if (partMetasBuilder_ == null) {
ensurePartMetasIsMutable();
partMetas_.add(builderForValue.build());
onChanged();
} else {
partMetasBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder addPartMetas(
int index, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder builderForValue) {
if (partMetasBuilder_ == null) {
ensurePartMetasIsMutable();
partMetas_.add(index, builderForValue.build());
onChanged();
} else {
partMetasBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder addAllPartMetas(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto> values) {
if (partMetasBuilder_ == null) {
ensurePartMetasIsMutable();
super.addAll(values, partMetas_);
onChanged();
} else {
partMetasBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder clearPartMetas() {
if (partMetasBuilder_ == null) {
partMetas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
partMetasBuilder_.clear();
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public Builder removePartMetas(int index) {
if (partMetasBuilder_ == null) {
ensurePartMetasIsMutable();
partMetas_.remove(index);
onChanged();
} else {
partMetasBuilder_.remove(index);
}
return this;
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder getPartMetasBuilder(
int index) {
return getPartMetasFieldBuilder().getBuilder(index);
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder getPartMetasOrBuilder(
int index) {
if (partMetasBuilder_ == null) {
return partMetas_.get(index); } else {
return partMetasBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder>
getPartMetasOrBuilderList() {
if (partMetasBuilder_ != null) {
return partMetasBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(partMetas_);
}
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder addPartMetasBuilder() {
return getPartMetasFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.getDefaultInstance());
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder addPartMetasBuilder(
int index) {
return getPartMetasFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.getDefaultInstance());
}
/**
* repeated .PartitionMetaProto partMetas = 2;
*/
public java.util.List
getPartMetasBuilderList() {
return getPartMetasFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder>
getPartMetasFieldBuilder() {
if (partMetasBuilder_ == null) {
partMetasBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PartitionMetaProtoOrBuilder>(
partMetas_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
partMetas_ = null;
}
return partMetasBuilder_;
}
// @@protoc_insertion_point(builder_scope:MatrixMetaProto)
}
static {
defaultInstance = new MatrixMetaProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MatrixMetaProto)
}
public interface MatrixClockOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 matrixId = 1;
/**
* required int32 matrixId = 1;
*/
boolean hasMatrixId();
/**
* required int32 matrixId = 1;
*/
int getMatrixId();
// required int32 clock = 2;
/**
* required int32 clock = 2;
*/
boolean hasClock();
/**
* required int32 clock = 2;
*/
int getClock();
}
/**
* Protobuf type {@code MatrixClock}
*/
public static final class MatrixClock extends
com.google.protobuf.GeneratedMessage
implements MatrixClockOrBuilder {
// Use MatrixClock.newBuilder() to construct.
private MatrixClock(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MatrixClock(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MatrixClock defaultInstance;
public static MatrixClock getDefaultInstance() {
return defaultInstance;
}
public MatrixClock getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MatrixClock(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
matrixId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
clock_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixClock_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixClock_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.class, com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MatrixClock parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MatrixClock(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 matrixId = 1;
public static final int MATRIXID_FIELD_NUMBER = 1;
private int matrixId_;
/**
* required int32 matrixId = 1;
*/
public boolean hasMatrixId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 matrixId = 1;
*/
public int getMatrixId() {
return matrixId_;
}
// required int32 clock = 2;
public static final int CLOCK_FIELD_NUMBER = 2;
private int clock_;
/**
* required int32 clock = 2;
*/
public boolean hasClock() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 clock = 2;
*/
public int getClock() {
return clock_;
}
private void initFields() {
matrixId_ = 0;
clock_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasMatrixId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasClock()) {
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, matrixId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, clock_);
}
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, matrixId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, clock_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.MatrixClock)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.MatrixClock other = (com.tencent.angel.protobuf.generated.MLProtos.MatrixClock) obj;
boolean result = true;
result = result && (hasMatrixId() == other.hasMatrixId());
if (hasMatrixId()) {
result = result && (getMatrixId()
== other.getMatrixId());
}
result = result && (hasClock() == other.hasClock());
if (hasClock()) {
result = result && (getClock()
== other.getClock());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasMatrixId()) {
hash = (37 * hash) + MATRIXID_FIELD_NUMBER;
hash = (53 * hash) + getMatrixId();
}
if (hasClock()) {
hash = (37 * hash) + CLOCK_FIELD_NUMBER;
hash = (53 * hash) + getClock();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.MatrixClock prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code MatrixClock}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixClock_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixClock_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.class, com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
matrixId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
clock_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_MatrixClock_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixClock getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixClock build() {
com.tencent.angel.protobuf.generated.MLProtos.MatrixClock result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.MatrixClock buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.MatrixClock result = new com.tencent.angel.protobuf.generated.MLProtos.MatrixClock(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.matrixId_ = matrixId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.clock_ = clock_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.MatrixClock) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.MatrixClock)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.MatrixClock other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance()) return this;
if (other.hasMatrixId()) {
setMatrixId(other.getMatrixId());
}
if (other.hasClock()) {
setClock(other.getClock());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasMatrixId()) {
return false;
}
if (!hasClock()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.MatrixClock parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.MatrixClock) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 matrixId = 1;
private int matrixId_ ;
/**
* required int32 matrixId = 1;
*/
public boolean hasMatrixId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 matrixId = 1;
*/
public int getMatrixId() {
return matrixId_;
}
/**
* required int32 matrixId = 1;
*/
public Builder setMatrixId(int value) {
bitField0_ |= 0x00000001;
matrixId_ = value;
onChanged();
return this;
}
/**
* required int32 matrixId = 1;
*/
public Builder clearMatrixId() {
bitField0_ = (bitField0_ & ~0x00000001);
matrixId_ = 0;
onChanged();
return this;
}
// required int32 clock = 2;
private int clock_ ;
/**
* required int32 clock = 2;
*/
public boolean hasClock() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 clock = 2;
*/
public int getClock() {
return clock_;
}
/**
* required int32 clock = 2;
*/
public Builder setClock(int value) {
bitField0_ |= 0x00000002;
clock_ = value;
onChanged();
return this;
}
/**
* required int32 clock = 2;
*/
public Builder clearClock() {
bitField0_ = (bitField0_ & ~0x00000002);
clock_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:MatrixClock)
}
static {
defaultInstance = new MatrixClock(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MatrixClock)
}
public interface LocationProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string ip = 1;
/**
* required string ip = 1;
*/
boolean hasIp();
/**
* required string ip = 1;
*/
java.lang.String getIp();
/**
* required string ip = 1;
*/
com.google.protobuf.ByteString
getIpBytes();
// required int32 port = 2;
/**
* required int32 port = 2;
*/
boolean hasPort();
/**
* required int32 port = 2;
*/
int getPort();
}
/**
* Protobuf type {@code LocationProto}
*/
public static final class LocationProto extends
com.google.protobuf.GeneratedMessage
implements LocationProtoOrBuilder {
// Use LocationProto.newBuilder() to construct.
private LocationProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private LocationProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final LocationProto defaultInstance;
public static LocationProto getDefaultInstance() {
return defaultInstance;
}
public LocationProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LocationProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
ip_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
port_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_LocationProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_LocationProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.class, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public LocationProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LocationProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string ip = 1;
public static final int IP_FIELD_NUMBER = 1;
private java.lang.Object ip_;
/**
* required string ip = 1;
*/
public boolean hasIp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ip = 1;
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
}
}
/**
* required string ip = 1;
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int32 port = 2;
public static final int PORT_FIELD_NUMBER = 2;
private int port_;
/**
* required int32 port = 2;
*/
public boolean hasPort() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 port = 2;
*/
public int getPort() {
return port_;
}
private void initFields() {
ip_ = "";
port_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasIp()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPort()) {
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, getIpBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, port_);
}
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, getIpBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, port_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.LocationProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.LocationProto other = (com.tencent.angel.protobuf.generated.MLProtos.LocationProto) obj;
boolean result = true;
result = result && (hasIp() == other.hasIp());
if (hasIp()) {
result = result && getIp()
.equals(other.getIp());
}
result = result && (hasPort() == other.hasPort());
if (hasPort()) {
result = result && (getPort()
== other.getPort());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasIp()) {
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
}
if (hasPort()) {
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.LocationProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.LocationProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code LocationProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_LocationProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_LocationProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.class, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.LocationProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
ip_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
port_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_LocationProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto build() {
com.tencent.angel.protobuf.generated.MLProtos.LocationProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.LocationProto result = new com.tencent.angel.protobuf.generated.MLProtos.LocationProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ip_ = ip_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.port_ = port_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.LocationProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.LocationProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.LocationProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance()) return this;
if (other.hasIp()) {
bitField0_ |= 0x00000001;
ip_ = other.ip_;
onChanged();
}
if (other.hasPort()) {
setPort(other.getPort());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasIp()) {
return false;
}
if (!hasPort()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.LocationProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.LocationProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string ip = 1;
private java.lang.Object ip_ = "";
/**
* required string ip = 1;
*/
public boolean hasIp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ip = 1;
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
ip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string ip = 1;
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string ip = 1;
*/
public Builder setIp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ip_ = value;
onChanged();
return this;
}
/**
* required string ip = 1;
*/
public Builder clearIp() {
bitField0_ = (bitField0_ & ~0x00000001);
ip_ = getDefaultInstance().getIp();
onChanged();
return this;
}
/**
* required string ip = 1;
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ip_ = value;
onChanged();
return this;
}
// required int32 port = 2;
private int port_ ;
/**
* required int32 port = 2;
*/
public boolean hasPort() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 port = 2;
*/
public int getPort() {
return port_;
}
/**
* required int32 port = 2;
*/
public Builder setPort(int value) {
bitField0_ |= 0x00000002;
port_ = value;
onChanged();
return this;
}
/**
* required int32 port = 2;
*/
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000002);
port_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:LocationProto)
}
static {
defaultInstance = new LocationProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:LocationProto)
}
public interface PSAgentLocationProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSAgentIdProto psAgentId = 1;
/**
* required .PSAgentIdProto psAgentId = 1;
*/
boolean hasPsAgentId();
/**
* required .PSAgentIdProto psAgentId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getPsAgentId();
/**
* required .PSAgentIdProto psAgentId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder getPsAgentIdOrBuilder();
// required .PSAgentStatus psAgentStatus = 2;
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
boolean hasPsAgentStatus();
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus getPsAgentStatus();
// optional .LocationProto location = 3;
/**
* optional .LocationProto location = 3;
*/
boolean hasLocation();
/**
* optional .LocationProto location = 3;
*/
com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation();
/**
* optional .LocationProto location = 3;
*/
com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder();
}
/**
* Protobuf type {@code PSAgentLocationProto}
*/
public static final class PSAgentLocationProto extends
com.google.protobuf.GeneratedMessage
implements PSAgentLocationProtoOrBuilder {
// Use PSAgentLocationProto.newBuilder() to construct.
private PSAgentLocationProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSAgentLocationProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSAgentLocationProto defaultInstance;
public static PSAgentLocationProto getDefaultInstance() {
return defaultInstance;
}
public PSAgentLocationProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSAgentLocationProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psAgentId_.toBuilder();
}
psAgentId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psAgentId_);
psAgentId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
int rawValue = input.readEnum();
com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus value = com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
psAgentStatus_ = value;
}
break;
}
case 26: {
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = location_.toBuilder();
}
location_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.LocationProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(location_);
location_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentLocationProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentLocationProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSAgentLocationProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSAgentLocationProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSAgentIdProto psAgentId = 1;
public static final int PSAGENTID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto psAgentId_;
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public boolean hasPsAgentId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getPsAgentId() {
return psAgentId_;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder getPsAgentIdOrBuilder() {
return psAgentId_;
}
// required .PSAgentStatus psAgentStatus = 2;
public static final int PSAGENTSTATUS_FIELD_NUMBER = 2;
private com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus psAgentStatus_;
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
public boolean hasPsAgentStatus() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus getPsAgentStatus() {
return psAgentStatus_;
}
// optional .LocationProto location = 3;
public static final int LOCATION_FIELD_NUMBER = 3;
private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_;
/**
* optional .LocationProto location = 3;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
return location_;
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
return location_;
}
private void initFields() {
psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
psAgentStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus.PSAGENT_OK;
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsAgentId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPsAgentStatus()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsAgentId().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (hasLocation()) {
if (!getLocation().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, psAgentId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, psAgentStatus_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, location_);
}
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, psAgentId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, psAgentStatus_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, location_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto) obj;
boolean result = true;
result = result && (hasPsAgentId() == other.hasPsAgentId());
if (hasPsAgentId()) {
result = result && getPsAgentId()
.equals(other.getPsAgentId());
}
result = result && (hasPsAgentStatus() == other.hasPsAgentStatus());
if (hasPsAgentStatus()) {
result = result &&
(getPsAgentStatus() == other.getPsAgentStatus());
}
result = result && (hasLocation() == other.hasLocation());
if (hasLocation()) {
result = result && getLocation()
.equals(other.getLocation());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsAgentId()) {
hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
hash = (53 * hash) + getPsAgentId().hashCode();
}
if (hasPsAgentStatus()) {
hash = (37 * hash) + PSAGENTSTATUS_FIELD_NUMBER;
hash = (53 * hash) + hashEnum(getPsAgentStatus());
}
if (hasLocation()) {
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSAgentLocationProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentLocationProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentLocationProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsAgentIdFieldBuilder();
getLocationFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psAgentIdBuilder_ == null) {
psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
} else {
psAgentIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
psAgentStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus.PSAGENT_OK;
bitField0_ = (bitField0_ & ~0x00000002);
if (locationBuilder_ == null) {
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSAgentLocationProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psAgentIdBuilder_ == null) {
result.psAgentId_ = psAgentId_;
} else {
result.psAgentId_ = psAgentIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.psAgentStatus_ = psAgentStatus_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.getDefaultInstance()) return this;
if (other.hasPsAgentId()) {
mergePsAgentId(other.getPsAgentId());
}
if (other.hasPsAgentStatus()) {
setPsAgentStatus(other.getPsAgentStatus());
}
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsAgentId()) {
return false;
}
if (!hasPsAgentStatus()) {
return false;
}
if (!getPsAgentId().isInitialized()) {
return false;
}
if (hasLocation()) {
if (!getLocation().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSAgentIdProto psAgentId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder> psAgentIdBuilder_;
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public boolean hasPsAgentId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto getPsAgentId() {
if (psAgentIdBuilder_ == null) {
return psAgentId_;
} else {
return psAgentIdBuilder_.getMessage();
}
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder setPsAgentId(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto value) {
if (psAgentIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psAgentId_ = value;
onChanged();
} else {
psAgentIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder setPsAgentId(
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder builderForValue) {
if (psAgentIdBuilder_ == null) {
psAgentId_ = builderForValue.build();
onChanged();
} else {
psAgentIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder mergePsAgentId(com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto value) {
if (psAgentIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psAgentId_ != com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance()) {
psAgentId_ =
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.newBuilder(psAgentId_).mergeFrom(value).buildPartial();
} else {
psAgentId_ = value;
}
onChanged();
} else {
psAgentIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public Builder clearPsAgentId() {
if (psAgentIdBuilder_ == null) {
psAgentId_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.getDefaultInstance();
onChanged();
} else {
psAgentIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder getPsAgentIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsAgentIdFieldBuilder().getBuilder();
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder getPsAgentIdOrBuilder() {
if (psAgentIdBuilder_ != null) {
return psAgentIdBuilder_.getMessageOrBuilder();
} else {
return psAgentId_;
}
}
/**
* required .PSAgentIdProto psAgentId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder>
getPsAgentIdFieldBuilder() {
if (psAgentIdBuilder_ == null) {
psAgentIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentIdProtoOrBuilder>(
psAgentId_,
getParentForChildren(),
isClean());
psAgentId_ = null;
}
return psAgentIdBuilder_;
}
// required .PSAgentStatus psAgentStatus = 2;
private com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus psAgentStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus.PSAGENT_OK;
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
public boolean hasPsAgentStatus() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus getPsAgentStatus() {
return psAgentStatus_;
}
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
public Builder setPsAgentStatus(com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
psAgentStatus_ = value;
onChanged();
return this;
}
/**
* required .PSAgentStatus psAgentStatus = 2;
*/
public Builder clearPsAgentStatus() {
bitField0_ = (bitField0_ & ~0x00000002);
psAgentStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSAgentStatus.PSAGENT_OK;
onChanged();
return this;
}
// optional .LocationProto location = 3;
private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder> locationBuilder_;
/**
* optional .LocationProto location = 3;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
if (locationBuilder_ == null) {
return location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* optional .LocationProto location = 3;
*/
public Builder setLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .LocationProto location = 3;
*/
public Builder setLocation(
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .LocationProto location = 3;
*/
public Builder mergeLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
if (locationBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
location_ != com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance()) {
location_ =
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .LocationProto location = 3;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
onChanged();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder getLocationBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_;
}
}
/**
* optional .LocationProto location = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>(
location_,
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
// @@protoc_insertion_point(builder_scope:PSAgentLocationProto)
}
static {
defaultInstance = new PSAgentLocationProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSAgentLocationProto)
}
public interface PSLocationProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSIdProto psId = 1;
/**
* required .PSIdProto psId = 1;
*/
boolean hasPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder();
// required .PSStatus psStatus = 2;
/**
* required .PSStatus psStatus = 2;
*/
boolean hasPsStatus();
/**
* required .PSStatus psStatus = 2;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSStatus getPsStatus();
// optional .LocationProto location = 3;
/**
* optional .LocationProto location = 3;
*/
boolean hasLocation();
/**
* optional .LocationProto location = 3;
*/
com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation();
/**
* optional .LocationProto location = 3;
*/
com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder();
}
/**
* Protobuf type {@code PSLocationProto}
*/
public static final class PSLocationProto extends
com.google.protobuf.GeneratedMessage
implements PSLocationProtoOrBuilder {
// Use PSLocationProto.newBuilder() to construct.
private PSLocationProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSLocationProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSLocationProto defaultInstance;
public static PSLocationProto getDefaultInstance() {
return defaultInstance;
}
public PSLocationProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSLocationProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psId_.toBuilder();
}
psId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psId_);
psId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
int rawValue = input.readEnum();
com.tencent.angel.protobuf.generated.MLProtos.PSStatus value = com.tencent.angel.protobuf.generated.MLProtos.PSStatus.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
psStatus_ = value;
}
break;
}
case 26: {
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = location_.toBuilder();
}
location_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.LocationProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(location_);
location_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSLocationProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSLocationProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSLocationProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSLocationProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSIdProto psId = 1;
public static final int PSID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
return psId_;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
return psId_;
}
// required .PSStatus psStatus = 2;
public static final int PSSTATUS_FIELD_NUMBER = 2;
private com.tencent.angel.protobuf.generated.MLProtos.PSStatus psStatus_;
/**
* required .PSStatus psStatus = 2;
*/
public boolean hasPsStatus() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .PSStatus psStatus = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSStatus getPsStatus() {
return psStatus_;
}
// optional .LocationProto location = 3;
public static final int LOCATION_FIELD_NUMBER = 3;
private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_;
/**
* optional .LocationProto location = 3;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
return location_;
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
return location_;
}
private void initFields() {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
psStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSStatus.PS_OK;
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPsStatus()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsId().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (hasLocation()) {
if (!getLocation().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, psId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, psStatus_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, location_);
}
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, psId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, psStatus_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, location_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto) obj;
boolean result = true;
result = result && (hasPsId() == other.hasPsId());
if (hasPsId()) {
result = result && getPsId()
.equals(other.getPsId());
}
result = result && (hasPsStatus() == other.hasPsStatus());
if (hasPsStatus()) {
result = result &&
(getPsStatus() == other.getPsStatus());
}
result = result && (hasLocation() == other.hasLocation());
if (hasLocation()) {
result = result && getLocation()
.equals(other.getLocation());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsId()) {
hash = (37 * hash) + PSID_FIELD_NUMBER;
hash = (53 * hash) + getPsId().hashCode();
}
if (hasPsStatus()) {
hash = (37 * hash) + PSSTATUS_FIELD_NUMBER;
hash = (53 * hash) + hashEnum(getPsStatus());
}
if (hasLocation()) {
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSLocationProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSLocationProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSLocationProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsIdFieldBuilder();
getLocationFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
psStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSStatus.PS_OK;
bitField0_ = (bitField0_ & ~0x00000002);
if (locationBuilder_ == null) {
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSLocationProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psIdBuilder_ == null) {
result.psId_ = psId_;
} else {
result.psId_ = psIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.psStatus_ = psStatus_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance()) return this;
if (other.hasPsId()) {
mergePsId(other.getPsId());
}
if (other.hasPsStatus()) {
setPsStatus(other.getPsStatus());
}
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsId()) {
return false;
}
if (!hasPsStatus()) {
return false;
}
if (!getPsId().isInitialized()) {
return false;
}
if (hasLocation()) {
if (!getLocation().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSIdProto psId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder> psIdBuilder_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
if (psIdBuilder_ == null) {
return psId_;
} else {
return psIdBuilder_.getMessage();
}
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psId_ = value;
onChanged();
} else {
psIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdBuilder_ == null) {
psId_ = builderForValue.build();
onChanged();
} else {
psIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder mergePsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psId_ != com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance()) {
psId_ =
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.newBuilder(psId_).mergeFrom(value).buildPartial();
} else {
psId_ = value;
}
onChanged();
} else {
psIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder clearPsId() {
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
onChanged();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder getPsIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsIdFieldBuilder().getBuilder();
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
if (psIdBuilder_ != null) {
return psIdBuilder_.getMessageOrBuilder();
} else {
return psId_;
}
}
/**
* required .PSIdProto psId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdFieldBuilder() {
if (psIdBuilder_ == null) {
psIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>(
psId_,
getParentForChildren(),
isClean());
psId_ = null;
}
return psIdBuilder_;
}
// required .PSStatus psStatus = 2;
private com.tencent.angel.protobuf.generated.MLProtos.PSStatus psStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSStatus.PS_OK;
/**
* required .PSStatus psStatus = 2;
*/
public boolean hasPsStatus() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .PSStatus psStatus = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSStatus getPsStatus() {
return psStatus_;
}
/**
* required .PSStatus psStatus = 2;
*/
public Builder setPsStatus(com.tencent.angel.protobuf.generated.MLProtos.PSStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
psStatus_ = value;
onChanged();
return this;
}
/**
* required .PSStatus psStatus = 2;
*/
public Builder clearPsStatus() {
bitField0_ = (bitField0_ & ~0x00000002);
psStatus_ = com.tencent.angel.protobuf.generated.MLProtos.PSStatus.PS_OK;
onChanged();
return this;
}
// optional .LocationProto location = 3;
private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder> locationBuilder_;
/**
* optional .LocationProto location = 3;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
if (locationBuilder_ == null) {
return location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* optional .LocationProto location = 3;
*/
public Builder setLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .LocationProto location = 3;
*/
public Builder setLocation(
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .LocationProto location = 3;
*/
public Builder mergeLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
if (locationBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
location_ != com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance()) {
location_ =
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .LocationProto location = 3;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
onChanged();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder getLocationBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* optional .LocationProto location = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_;
}
}
/**
* optional .LocationProto location = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>(
location_,
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
// @@protoc_insertion_point(builder_scope:PSLocationProto)
}
static {
defaultInstance = new PSLocationProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSLocationProto)
}
public interface CreateMatricesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .MatrixContextProto matrices = 1;
/**
* repeated .MatrixContextProto matrices = 1;
*/
java.util.List
getMatricesList();
/**
* repeated .MatrixContextProto matrices = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getMatrices(int index);
/**
* repeated .MatrixContextProto matrices = 1;
*/
int getMatricesCount();
/**
* repeated .MatrixContextProto matrices = 1;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>
getMatricesOrBuilderList();
/**
* repeated .MatrixContextProto matrices = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder getMatricesOrBuilder(
int index);
}
/**
* Protobuf type {@code CreateMatricesRequest}
*
*
* used by client and psagent
*
*/
public static final class CreateMatricesRequest extends
com.google.protobuf.GeneratedMessage
implements CreateMatricesRequestOrBuilder {
// Use CreateMatricesRequest.newBuilder() to construct.
private CreateMatricesRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CreateMatricesRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CreateMatricesRequest defaultInstance;
public static CreateMatricesRequest getDefaultInstance() {
return defaultInstance;
}
public CreateMatricesRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateMatricesRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
matrices_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
matrices_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
matrices_ = java.util.Collections.unmodifiableList(matrices_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.class, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CreateMatricesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateMatricesRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .MatrixContextProto matrices = 1;
public static final int MATRICES_FIELD_NUMBER = 1;
private java.util.List matrices_;
/**
* repeated .MatrixContextProto matrices = 1;
*/
public java.util.List getMatricesList() {
return matrices_;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>
getMatricesOrBuilderList() {
return matrices_;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public int getMatricesCount() {
return matrices_.size();
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getMatrices(int index) {
return matrices_.get(index);
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder getMatricesOrBuilder(
int index) {
return matrices_.get(index);
}
private void initFields() {
matrices_ = 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 < getMatricesCount(); i++) {
if (!getMatrices(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 < matrices_.size(); i++) {
output.writeMessage(1, matrices_.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 < matrices_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, matrices_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest other = (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest) obj;
boolean result = true;
result = result && getMatricesList()
.equals(other.getMatricesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getMatricesCount() > 0) {
hash = (37 * hash) + MATRICES_FIELD_NUMBER;
hash = (53 * hash) + getMatricesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CreateMatricesRequest}
*
*
* used by client and psagent
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.class, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getMatricesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (matricesBuilder_ == null) {
matrices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
matricesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest result = new com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest(this);
int from_bitField0_ = bitField0_;
if (matricesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
matrices_ = java.util.Collections.unmodifiableList(matrices_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.matrices_ = matrices_;
} else {
result.matrices_ = matricesBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.getDefaultInstance()) return this;
if (matricesBuilder_ == null) {
if (!other.matrices_.isEmpty()) {
if (matrices_.isEmpty()) {
matrices_ = other.matrices_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMatricesIsMutable();
matrices_.addAll(other.matrices_);
}
onChanged();
}
} else {
if (!other.matrices_.isEmpty()) {
if (matricesBuilder_.isEmpty()) {
matricesBuilder_.dispose();
matricesBuilder_ = null;
matrices_ = other.matrices_;
bitField0_ = (bitField0_ & ~0x00000001);
matricesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getMatricesFieldBuilder() : null;
} else {
matricesBuilder_.addAllMessages(other.matrices_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getMatricesCount(); i++) {
if (!getMatrices(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .MatrixContextProto matrices = 1;
private java.util.List matrices_ =
java.util.Collections.emptyList();
private void ensureMatricesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
matrices_ = new java.util.ArrayList(matrices_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder> matricesBuilder_;
/**
* repeated .MatrixContextProto matrices = 1;
*/
public java.util.List getMatricesList() {
if (matricesBuilder_ == null) {
return java.util.Collections.unmodifiableList(matrices_);
} else {
return matricesBuilder_.getMessageList();
}
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public int getMatricesCount() {
if (matricesBuilder_ == null) {
return matrices_.size();
} else {
return matricesBuilder_.getCount();
}
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto getMatrices(int index) {
if (matricesBuilder_ == null) {
return matrices_.get(index);
} else {
return matricesBuilder_.getMessage(index);
}
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder setMatrices(
int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto value) {
if (matricesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMatricesIsMutable();
matrices_.set(index, value);
onChanged();
} else {
matricesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder setMatrices(
int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder builderForValue) {
if (matricesBuilder_ == null) {
ensureMatricesIsMutable();
matrices_.set(index, builderForValue.build());
onChanged();
} else {
matricesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder addMatrices(com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto value) {
if (matricesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMatricesIsMutable();
matrices_.add(value);
onChanged();
} else {
matricesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder addMatrices(
int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto value) {
if (matricesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMatricesIsMutable();
matrices_.add(index, value);
onChanged();
} else {
matricesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder addMatrices(
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder builderForValue) {
if (matricesBuilder_ == null) {
ensureMatricesIsMutable();
matrices_.add(builderForValue.build());
onChanged();
} else {
matricesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder addMatrices(
int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder builderForValue) {
if (matricesBuilder_ == null) {
ensureMatricesIsMutable();
matrices_.add(index, builderForValue.build());
onChanged();
} else {
matricesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder addAllMatrices(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto> values) {
if (matricesBuilder_ == null) {
ensureMatricesIsMutable();
super.addAll(values, matrices_);
onChanged();
} else {
matricesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder clearMatrices() {
if (matricesBuilder_ == null) {
matrices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
matricesBuilder_.clear();
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public Builder removeMatrices(int index) {
if (matricesBuilder_ == null) {
ensureMatricesIsMutable();
matrices_.remove(index);
onChanged();
} else {
matricesBuilder_.remove(index);
}
return this;
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder getMatricesBuilder(
int index) {
return getMatricesFieldBuilder().getBuilder(index);
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder getMatricesOrBuilder(
int index) {
if (matricesBuilder_ == null) {
return matrices_.get(index); } else {
return matricesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>
getMatricesOrBuilderList() {
if (matricesBuilder_ != null) {
return matricesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(matrices_);
}
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder addMatricesBuilder() {
return getMatricesFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance());
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder addMatricesBuilder(
int index) {
return getMatricesFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.getDefaultInstance());
}
/**
* repeated .MatrixContextProto matrices = 1;
*/
public java.util.List
getMatricesBuilderList() {
return getMatricesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>
getMatricesFieldBuilder() {
if (matricesBuilder_ == null) {
matricesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixContextProtoOrBuilder>(
matrices_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
matrices_ = null;
}
return matricesBuilder_;
}
// @@protoc_insertion_point(builder_scope:CreateMatricesRequest)
}
static {
defaultInstance = new CreateMatricesRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CreateMatricesRequest)
}
public interface CreateMatricesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CreateMatricesResponse}
*/
public static final class CreateMatricesResponse extends
com.google.protobuf.GeneratedMessage
implements CreateMatricesResponseOrBuilder {
// Use CreateMatricesResponse.newBuilder() to construct.
private CreateMatricesResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CreateMatricesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CreateMatricesResponse defaultInstance;
public static CreateMatricesResponse getDefaultInstance() {
return defaultInstance;
}
public CreateMatricesResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateMatricesResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.class, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CreateMatricesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateMatricesResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
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();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse other = (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CreateMatricesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.class, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CreateMatricesResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse build() {
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse result = new com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance()) return this;
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.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:CreateMatricesResponse)
}
static {
defaultInstance = new CreateMatricesResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CreateMatricesResponse)
}
public interface GetAllPSLocationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code GetAllPSLocationRequest}
*/
public static final class GetAllPSLocationRequest extends
com.google.protobuf.GeneratedMessage
implements GetAllPSLocationRequestOrBuilder {
// Use GetAllPSLocationRequest.newBuilder() to construct.
private GetAllPSLocationRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetAllPSLocationRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetAllPSLocationRequest defaultInstance;
public static GetAllPSLocationRequest getDefaultInstance() {
return defaultInstance;
}
public GetAllPSLocationRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAllPSLocationRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetAllPSLocationRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAllPSLocationRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
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();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest other = (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetAllPSLocationRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest result = new com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.getDefaultInstance()) return this;
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.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:GetAllPSLocationRequest)
}
static {
defaultInstance = new GetAllPSLocationRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetAllPSLocationRequest)
}
public interface GetAllPSLocationResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .PSLocationProto psLocations = 1;
/**
* repeated .PSLocationProto psLocations = 1;
*/
java.util.List
getPsLocationsList();
/**
* repeated .PSLocationProto psLocations = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLocations(int index);
/**
* repeated .PSLocationProto psLocations = 1;
*/
int getPsLocationsCount();
/**
* repeated .PSLocationProto psLocations = 1;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getPsLocationsOrBuilderList();
/**
* repeated .PSLocationProto psLocations = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocationsOrBuilder(
int index);
}
/**
* Protobuf type {@code GetAllPSLocationResponse}
*/
public static final class GetAllPSLocationResponse extends
com.google.protobuf.GeneratedMessage
implements GetAllPSLocationResponseOrBuilder {
// Use GetAllPSLocationResponse.newBuilder() to construct.
private GetAllPSLocationResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetAllPSLocationResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetAllPSLocationResponse defaultInstance;
public static GetAllPSLocationResponse getDefaultInstance() {
return defaultInstance;
}
public GetAllPSLocationResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAllPSLocationResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
psLocations_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
psLocations_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
psLocations_ = java.util.Collections.unmodifiableList(psLocations_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetAllPSLocationResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAllPSLocationResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .PSLocationProto psLocations = 1;
public static final int PSLOCATIONS_FIELD_NUMBER = 1;
private java.util.List psLocations_;
/**
* repeated .PSLocationProto psLocations = 1;
*/
public java.util.List getPsLocationsList() {
return psLocations_;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getPsLocationsOrBuilderList() {
return psLocations_;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public int getPsLocationsCount() {
return psLocations_.size();
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLocations(int index) {
return psLocations_.get(index);
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocationsOrBuilder(
int index) {
return psLocations_.get(index);
}
private void initFields() {
psLocations_ = 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 < getPsLocationsCount(); i++) {
if (!getPsLocations(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 < psLocations_.size(); i++) {
output.writeMessage(1, psLocations_.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 < psLocations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, psLocations_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse other = (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse) obj;
boolean result = true;
result = result && getPsLocationsList()
.equals(other.getPsLocationsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getPsLocationsCount() > 0) {
hash = (37 * hash) + PSLOCATIONS_FIELD_NUMBER;
hash = (53 * hash) + getPsLocationsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetAllPSLocationResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsLocationsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psLocationsBuilder_ == null) {
psLocations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
psLocationsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetAllPSLocationResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse build() {
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse result = new com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse(this);
int from_bitField0_ = bitField0_;
if (psLocationsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
psLocations_ = java.util.Collections.unmodifiableList(psLocations_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.psLocations_ = psLocations_;
} else {
result.psLocations_ = psLocationsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance()) return this;
if (psLocationsBuilder_ == null) {
if (!other.psLocations_.isEmpty()) {
if (psLocations_.isEmpty()) {
psLocations_ = other.psLocations_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePsLocationsIsMutable();
psLocations_.addAll(other.psLocations_);
}
onChanged();
}
} else {
if (!other.psLocations_.isEmpty()) {
if (psLocationsBuilder_.isEmpty()) {
psLocationsBuilder_.dispose();
psLocationsBuilder_ = null;
psLocations_ = other.psLocations_;
bitField0_ = (bitField0_ & ~0x00000001);
psLocationsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPsLocationsFieldBuilder() : null;
} else {
psLocationsBuilder_.addAllMessages(other.psLocations_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getPsLocationsCount(); i++) {
if (!getPsLocations(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .PSLocationProto psLocations = 1;
private java.util.List psLocations_ =
java.util.Collections.emptyList();
private void ensurePsLocationsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
psLocations_ = new java.util.ArrayList(psLocations_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> psLocationsBuilder_;
/**
* repeated .PSLocationProto psLocations = 1;
*/
public java.util.List getPsLocationsList() {
if (psLocationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(psLocations_);
} else {
return psLocationsBuilder_.getMessageList();
}
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public int getPsLocationsCount() {
if (psLocationsBuilder_ == null) {
return psLocations_.size();
} else {
return psLocationsBuilder_.getCount();
}
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLocations(int index) {
if (psLocationsBuilder_ == null) {
return psLocations_.get(index);
} else {
return psLocationsBuilder_.getMessage(index);
}
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder setPsLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsLocationsIsMutable();
psLocations_.set(index, value);
onChanged();
} else {
psLocationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder setPsLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (psLocationsBuilder_ == null) {
ensurePsLocationsIsMutable();
psLocations_.set(index, builderForValue.build());
onChanged();
} else {
psLocationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder addPsLocations(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsLocationsIsMutable();
psLocations_.add(value);
onChanged();
} else {
psLocationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder addPsLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsLocationsIsMutable();
psLocations_.add(index, value);
onChanged();
} else {
psLocationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder addPsLocations(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (psLocationsBuilder_ == null) {
ensurePsLocationsIsMutable();
psLocations_.add(builderForValue.build());
onChanged();
} else {
psLocationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder addPsLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (psLocationsBuilder_ == null) {
ensurePsLocationsIsMutable();
psLocations_.add(index, builderForValue.build());
onChanged();
} else {
psLocationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder addAllPsLocations(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto> values) {
if (psLocationsBuilder_ == null) {
ensurePsLocationsIsMutable();
super.addAll(values, psLocations_);
onChanged();
} else {
psLocationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder clearPsLocations() {
if (psLocationsBuilder_ == null) {
psLocations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
psLocationsBuilder_.clear();
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public Builder removePsLocations(int index) {
if (psLocationsBuilder_ == null) {
ensurePsLocationsIsMutable();
psLocations_.remove(index);
onChanged();
} else {
psLocationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder getPsLocationsBuilder(
int index) {
return getPsLocationsFieldBuilder().getBuilder(index);
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocationsOrBuilder(
int index) {
if (psLocationsBuilder_ == null) {
return psLocations_.get(index); } else {
return psLocationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getPsLocationsOrBuilderList() {
if (psLocationsBuilder_ != null) {
return psLocationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(psLocations_);
}
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder addPsLocationsBuilder() {
return getPsLocationsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance());
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder addPsLocationsBuilder(
int index) {
return getPsLocationsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance());
}
/**
* repeated .PSLocationProto psLocations = 1;
*/
public java.util.List
getPsLocationsBuilderList() {
return getPsLocationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getPsLocationsFieldBuilder() {
if (psLocationsBuilder_ == null) {
psLocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>(
psLocations_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
psLocations_ = null;
}
return psLocationsBuilder_;
}
// @@protoc_insertion_point(builder_scope:GetAllPSLocationResponse)
}
static {
defaultInstance = new GetAllPSLocationResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetAllPSLocationResponse)
}
public interface GetPSLocationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSIdProto psId = 1;
/**
* required .PSIdProto psId = 1;
*/
boolean hasPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder();
}
/**
* Protobuf type {@code GetPSLocationRequest}
*/
public static final class GetPSLocationRequest extends
com.google.protobuf.GeneratedMessage
implements GetPSLocationRequestOrBuilder {
// Use GetPSLocationRequest.newBuilder() to construct.
private GetPSLocationRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetPSLocationRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetPSLocationRequest defaultInstance;
public static GetPSLocationRequest getDefaultInstance() {
return defaultInstance;
}
public GetPSLocationRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetPSLocationRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psId_.toBuilder();
}
psId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psId_);
psId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetPSLocationRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetPSLocationRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSIdProto psId = 1;
public static final int PSID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
return psId_;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
return psId_;
}
private void initFields() {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsId()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsId().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, psId_);
}
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, psId_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest other = (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest) obj;
boolean result = true;
result = result && (hasPsId() == other.hasPsId());
if (hasPsId()) {
result = result && getPsId()
.equals(other.getPsId());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsId()) {
hash = (37 * hash) + PSID_FIELD_NUMBER;
hash = (53 * hash) + getPsId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetPSLocationRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest result = new com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psIdBuilder_ == null) {
result.psId_ = psId_;
} else {
result.psId_ = psIdBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.getDefaultInstance()) return this;
if (other.hasPsId()) {
mergePsId(other.getPsId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsId()) {
return false;
}
if (!getPsId().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSIdProto psId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder> psIdBuilder_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
if (psIdBuilder_ == null) {
return psId_;
} else {
return psIdBuilder_.getMessage();
}
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psId_ = value;
onChanged();
} else {
psIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdBuilder_ == null) {
psId_ = builderForValue.build();
onChanged();
} else {
psIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder mergePsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psId_ != com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance()) {
psId_ =
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.newBuilder(psId_).mergeFrom(value).buildPartial();
} else {
psId_ = value;
}
onChanged();
} else {
psIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder clearPsId() {
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
onChanged();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder getPsIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsIdFieldBuilder().getBuilder();
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
if (psIdBuilder_ != null) {
return psIdBuilder_.getMessageOrBuilder();
} else {
return psId_;
}
}
/**
* required .PSIdProto psId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdFieldBuilder() {
if (psIdBuilder_ == null) {
psIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>(
psId_,
getParentForChildren(),
isClean());
psId_ = null;
}
return psIdBuilder_;
}
// @@protoc_insertion_point(builder_scope:GetPSLocationRequest)
}
static {
defaultInstance = new GetPSLocationRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetPSLocationRequest)
}
public interface GetPSLocationReponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSLocationProto psLocation = 1;
/**
* required .PSLocationProto psLocation = 1;
*/
boolean hasPsLocation();
/**
* required .PSLocationProto psLocation = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLocation();
/**
* required .PSLocationProto psLocation = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocationOrBuilder();
}
/**
* Protobuf type {@code GetPSLocationReponse}
*/
public static final class GetPSLocationReponse extends
com.google.protobuf.GeneratedMessage
implements GetPSLocationReponseOrBuilder {
// Use GetPSLocationReponse.newBuilder() to construct.
private GetPSLocationReponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetPSLocationReponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetPSLocationReponse defaultInstance;
public static GetPSLocationReponse getDefaultInstance() {
return defaultInstance;
}
public GetPSLocationReponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetPSLocationReponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psLocation_.toBuilder();
}
psLocation_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psLocation_);
psLocation_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationReponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationReponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetPSLocationReponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetPSLocationReponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSLocationProto psLocation = 1;
public static final int PSLOCATION_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLocation_;
/**
* required .PSLocationProto psLocation = 1;
*/
public boolean hasPsLocation() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSLocationProto psLocation = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLocation() {
return psLocation_;
}
/**
* required .PSLocationProto psLocation = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocationOrBuilder() {
return psLocation_;
}
private void initFields() {
psLocation_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsLocation()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsLocation().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, psLocation_);
}
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, psLocation_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse other = (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse) obj;
boolean result = true;
result = result && (hasPsLocation() == other.hasPsLocation());
if (hasPsLocation()) {
result = result && getPsLocation()
.equals(other.getPsLocation());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsLocation()) {
hash = (37 * hash) + PSLOCATION_FIELD_NUMBER;
hash = (53 * hash) + getPsLocation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetPSLocationReponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationReponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationReponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsLocationFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psLocationBuilder_ == null) {
psLocation_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
} else {
psLocationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPSLocationReponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse build() {
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse result = new com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psLocationBuilder_ == null) {
result.psLocation_ = psLocation_;
} else {
result.psLocation_ = psLocationBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance()) return this;
if (other.hasPsLocation()) {
mergePsLocation(other.getPsLocation());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsLocation()) {
return false;
}
if (!getPsLocation().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSLocationProto psLocation = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLocation_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> psLocationBuilder_;
/**
* required .PSLocationProto psLocation = 1;
*/
public boolean hasPsLocation() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSLocationProto psLocation = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLocation() {
if (psLocationBuilder_ == null) {
return psLocation_;
} else {
return psLocationBuilder_.getMessage();
}
}
/**
* required .PSLocationProto psLocation = 1;
*/
public Builder setPsLocation(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psLocation_ = value;
onChanged();
} else {
psLocationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSLocationProto psLocation = 1;
*/
public Builder setPsLocation(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (psLocationBuilder_ == null) {
psLocation_ = builderForValue.build();
onChanged();
} else {
psLocationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSLocationProto psLocation = 1;
*/
public Builder mergePsLocation(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocationBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psLocation_ != com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance()) {
psLocation_ =
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.newBuilder(psLocation_).mergeFrom(value).buildPartial();
} else {
psLocation_ = value;
}
onChanged();
} else {
psLocationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSLocationProto psLocation = 1;
*/
public Builder clearPsLocation() {
if (psLocationBuilder_ == null) {
psLocation_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
onChanged();
} else {
psLocationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSLocationProto psLocation = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder getPsLocationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsLocationFieldBuilder().getBuilder();
}
/**
* required .PSLocationProto psLocation = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocationOrBuilder() {
if (psLocationBuilder_ != null) {
return psLocationBuilder_.getMessageOrBuilder();
} else {
return psLocation_;
}
}
/**
* required .PSLocationProto psLocation = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getPsLocationFieldBuilder() {
if (psLocationBuilder_ == null) {
psLocationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>(
psLocation_,
getParentForChildren(),
isClean());
psLocation_ = null;
}
return psLocationBuilder_;
}
// @@protoc_insertion_point(builder_scope:GetPSLocationReponse)
}
static {
defaultInstance = new GetPSLocationReponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetPSLocationReponse)
}
public interface CheckMatricesCreatedRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated string matrixNames = 1;
/**
* repeated string matrixNames = 1;
*/
java.util.List
getMatrixNamesList();
/**
* repeated string matrixNames = 1;
*/
int getMatrixNamesCount();
/**
* repeated string matrixNames = 1;
*/
java.lang.String getMatrixNames(int index);
/**
* repeated string matrixNames = 1;
*/
com.google.protobuf.ByteString
getMatrixNamesBytes(int index);
}
/**
* Protobuf type {@code CheckMatricesCreatedRequest}
*/
public static final class CheckMatricesCreatedRequest extends
com.google.protobuf.GeneratedMessage
implements CheckMatricesCreatedRequestOrBuilder {
// Use CheckMatricesCreatedRequest.newBuilder() to construct.
private CheckMatricesCreatedRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CheckMatricesCreatedRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CheckMatricesCreatedRequest defaultInstance;
public static CheckMatricesCreatedRequest getDefaultInstance() {
return defaultInstance;
}
public CheckMatricesCreatedRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CheckMatricesCreatedRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
matrixNames_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
matrixNames_.add(input.readBytes());
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
matrixNames_ = new com.google.protobuf.UnmodifiableLazyStringList(matrixNames_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.class, com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CheckMatricesCreatedRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckMatricesCreatedRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated string matrixNames = 1;
public static final int MATRIXNAMES_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList matrixNames_;
/**
* repeated string matrixNames = 1;
*/
public java.util.List
getMatrixNamesList() {
return matrixNames_;
}
/**
* repeated string matrixNames = 1;
*/
public int getMatrixNamesCount() {
return matrixNames_.size();
}
/**
* repeated string matrixNames = 1;
*/
public java.lang.String getMatrixNames(int index) {
return matrixNames_.get(index);
}
/**
* repeated string matrixNames = 1;
*/
public com.google.protobuf.ByteString
getMatrixNamesBytes(int index) {
return matrixNames_.getByteString(index);
}
private void initFields() {
matrixNames_ = 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 < matrixNames_.size(); i++) {
output.writeBytes(1, matrixNames_.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 < matrixNames_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(matrixNames_.getByteString(i));
}
size += dataSize;
size += 1 * getMatrixNamesList().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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest other = (com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest) obj;
boolean result = true;
result = result && getMatrixNamesList()
.equals(other.getMatrixNamesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getMatrixNamesCount() > 0) {
hash = (37 * hash) + MATRIXNAMES_FIELD_NUMBER;
hash = (53 * hash) + getMatrixNamesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CheckMatricesCreatedRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.class, com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
matrixNames_ = 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.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest result = new com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
matrixNames_ = new com.google.protobuf.UnmodifiableLazyStringList(
matrixNames_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.matrixNames_ = matrixNames_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest.getDefaultInstance()) return this;
if (!other.matrixNames_.isEmpty()) {
if (matrixNames_.isEmpty()) {
matrixNames_ = other.matrixNames_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMatrixNamesIsMutable();
matrixNames_.addAll(other.matrixNames_);
}
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.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated string matrixNames = 1;
private com.google.protobuf.LazyStringList matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMatrixNamesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
matrixNames_ = new com.google.protobuf.LazyStringArrayList(matrixNames_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string matrixNames = 1;
*/
public java.util.List
getMatrixNamesList() {
return java.util.Collections.unmodifiableList(matrixNames_);
}
/**
* repeated string matrixNames = 1;
*/
public int getMatrixNamesCount() {
return matrixNames_.size();
}
/**
* repeated string matrixNames = 1;
*/
public java.lang.String getMatrixNames(int index) {
return matrixNames_.get(index);
}
/**
* repeated string matrixNames = 1;
*/
public com.google.protobuf.ByteString
getMatrixNamesBytes(int index) {
return matrixNames_.getByteString(index);
}
/**
* repeated string matrixNames = 1;
*/
public Builder setMatrixNames(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMatrixNamesIsMutable();
matrixNames_.set(index, value);
onChanged();
return this;
}
/**
* repeated string matrixNames = 1;
*/
public Builder addMatrixNames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMatrixNamesIsMutable();
matrixNames_.add(value);
onChanged();
return this;
}
/**
* repeated string matrixNames = 1;
*/
public Builder addAllMatrixNames(
java.lang.Iterable values) {
ensureMatrixNamesIsMutable();
super.addAll(values, matrixNames_);
onChanged();
return this;
}
/**
* repeated string matrixNames = 1;
*/
public Builder clearMatrixNames() {
matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string matrixNames = 1;
*/
public Builder addMatrixNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureMatrixNamesIsMutable();
matrixNames_.add(value);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CheckMatricesCreatedRequest)
}
static {
defaultInstance = new CheckMatricesCreatedRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CheckMatricesCreatedRequest)
}
public interface CheckMatricesCreatedResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 status = 1;
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
boolean hasStatus();
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
int getStatus();
// optional string log = 2;
/**
* optional string log = 2;
*/
boolean hasLog();
/**
* optional string log = 2;
*/
java.lang.String getLog();
/**
* optional string log = 2;
*/
com.google.protobuf.ByteString
getLogBytes();
}
/**
* Protobuf type {@code CheckMatricesCreatedResponse}
*/
public static final class CheckMatricesCreatedResponse extends
com.google.protobuf.GeneratedMessage
implements CheckMatricesCreatedResponseOrBuilder {
// Use CheckMatricesCreatedResponse.newBuilder() to construct.
private CheckMatricesCreatedResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CheckMatricesCreatedResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CheckMatricesCreatedResponse defaultInstance;
public static CheckMatricesCreatedResponse getDefaultInstance() {
return defaultInstance;
}
public CheckMatricesCreatedResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CheckMatricesCreatedResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
status_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
log_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.class, com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CheckMatricesCreatedResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckMatricesCreatedResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 status = 1;
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
public int getStatus() {
return status_;
}
// optional string log = 2;
public static final int LOG_FIELD_NUMBER = 2;
private java.lang.Object log_;
/**
* optional string log = 2;
*/
public boolean hasLog() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string log = 2;
*/
public java.lang.String getLog() {
java.lang.Object ref = log_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
log_ = s;
}
return s;
}
}
/**
* optional string log = 2;
*/
public com.google.protobuf.ByteString
getLogBytes() {
java.lang.Object ref = log_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
log_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
status_ = 0;
log_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasStatus()) {
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, status_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getLogBytes());
}
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, status_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getLogBytes());
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse other = (com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse) obj;
boolean result = true;
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && (getStatus()
== other.getStatus());
}
result = result && (hasLog() == other.hasLog());
if (hasLog()) {
result = result && getLog()
.equals(other.getLog());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
}
if (hasLog()) {
hash = (37 * hash) + LOG_FIELD_NUMBER;
hash = (53 * hash) + getLog().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CheckMatricesCreatedResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.class, com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
status_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
log_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_CheckMatricesCreatedResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse build() {
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse result = new com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.log_ = log_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasLog()) {
bitField0_ |= 0x00000002;
log_ = other.log_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasStatus()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.CheckMatricesCreatedResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 status = 1;
private int status_ ;
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
public int getStatus() {
return status_;
}
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
public Builder setStatus(int value) {
bitField0_ |= 0x00000001;
status_ = value;
onChanged();
return this;
}
/**
* required int32 status = 1;
*
*
* -1: create failed, 0: creating, 1:create success
*
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = 0;
onChanged();
return this;
}
// optional string log = 2;
private java.lang.Object log_ = "";
/**
* optional string log = 2;
*/
public boolean hasLog() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string log = 2;
*/
public java.lang.String getLog() {
java.lang.Object ref = log_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
log_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string log = 2;
*/
public com.google.protobuf.ByteString
getLogBytes() {
java.lang.Object ref = log_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
log_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string log = 2;
*/
public Builder setLog(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
log_ = value;
onChanged();
return this;
}
/**
* optional string log = 2;
*/
public Builder clearLog() {
bitField0_ = (bitField0_ & ~0x00000002);
log_ = getDefaultInstance().getLog();
onChanged();
return this;
}
/**
* optional string log = 2;
*/
public Builder setLogBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
log_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CheckMatricesCreatedResponse)
}
static {
defaultInstance = new CheckMatricesCreatedResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CheckMatricesCreatedResponse)
}
public interface IntKeyCounterOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 key = 1;
/**
* required int32 key = 1;
*/
boolean hasKey();
/**
* required int32 key = 1;
*/
int getKey();
// required int32 counter = 2;
/**
* required int32 counter = 2;
*/
boolean hasCounter();
/**
* required int32 counter = 2;
*/
int getCounter();
}
/**
* Protobuf type {@code IntKeyCounter}
*/
public static final class IntKeyCounter extends
com.google.protobuf.GeneratedMessage
implements IntKeyCounterOrBuilder {
// Use IntKeyCounter.newBuilder() to construct.
private IntKeyCounter(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private IntKeyCounter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final IntKeyCounter defaultInstance;
public static IntKeyCounter getDefaultInstance() {
return defaultInstance;
}
public IntKeyCounter getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IntKeyCounter(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
key_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
counter_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_IntKeyCounter_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_IntKeyCounter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.class, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public IntKeyCounter parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new IntKeyCounter(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private int key_;
/**
* required int32 key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 key = 1;
*/
public int getKey() {
return key_;
}
// required int32 counter = 2;
public static final int COUNTER_FIELD_NUMBER = 2;
private int counter_;
/**
* required int32 counter = 2;
*/
public boolean hasCounter() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 counter = 2;
*/
public int getCounter() {
return counter_;
}
private void initFields() {
key_ = 0;
counter_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCounter()) {
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, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, counter_);
}
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, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, counter_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter other = (com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter) obj;
boolean result = true;
result = result && (hasKey() == other.hasKey());
if (hasKey()) {
result = result && (getKey()
== other.getKey());
}
result = result && (hasCounter() == other.hasCounter());
if (hasCounter()) {
result = result && (getCounter()
== other.getCounter());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey();
}
if (hasCounter()) {
hash = (37 * hash) + COUNTER_FIELD_NUMBER;
hash = (53 * hash) + getCounter();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code IntKeyCounter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_IntKeyCounter_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_IntKeyCounter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.class, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
key_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
counter_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_IntKeyCounter_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter build() {
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter result = new com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.counter_ = counter_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.getDefaultInstance()) return this;
if (other.hasKey()) {
setKey(other.getKey());
}
if (other.hasCounter()) {
setCounter(other.getCounter());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasCounter()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 key = 1;
private int key_ ;
/**
* required int32 key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 key = 1;
*/
public int getKey() {
return key_;
}
/**
* required int32 key = 1;
*/
public Builder setKey(int value) {
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* required int32 key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = 0;
onChanged();
return this;
}
// required int32 counter = 2;
private int counter_ ;
/**
* required int32 counter = 2;
*/
public boolean hasCounter() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 counter = 2;
*/
public int getCounter() {
return counter_;
}
/**
* required int32 counter = 2;
*/
public Builder setCounter(int value) {
bitField0_ |= 0x00000002;
counter_ = value;
onChanged();
return this;
}
/**
* required int32 counter = 2;
*/
public Builder clearCounter() {
bitField0_ = (bitField0_ & ~0x00000002);
counter_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:IntKeyCounter)
}
static {
defaultInstance = new IntKeyCounter(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:IntKeyCounter)
}
public interface ServerFailedReportProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSIdProto psId = 1;
/**
* required .PSIdProto psId = 1;
*/
boolean hasPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId();
/**
* required .PSIdProto psId = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder();
// required .LocationProto location = 2;
/**
* required .LocationProto location = 2;
*/
boolean hasLocation();
/**
* required .LocationProto location = 2;
*/
com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation();
/**
* required .LocationProto location = 2;
*/
com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder();
// repeated .IntKeyCounter counters = 3;
/**
* repeated .IntKeyCounter counters = 3;
*/
java.util.List
getCountersList();
/**
* repeated .IntKeyCounter counters = 3;
*/
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter getCounters(int index);
/**
* repeated .IntKeyCounter counters = 3;
*/
int getCountersCount();
/**
* repeated .IntKeyCounter counters = 3;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder>
getCountersOrBuilderList();
/**
* repeated .IntKeyCounter counters = 3;
*/
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder getCountersOrBuilder(
int index);
}
/**
* Protobuf type {@code ServerFailedReportProto}
*/
public static final class ServerFailedReportProto extends
com.google.protobuf.GeneratedMessage
implements ServerFailedReportProtoOrBuilder {
// Use ServerFailedReportProto.newBuilder() to construct.
private ServerFailedReportProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ServerFailedReportProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ServerFailedReportProto defaultInstance;
public static ServerFailedReportProto getDefaultInstance() {
return defaultInstance;
}
public ServerFailedReportProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServerFailedReportProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psId_.toBuilder();
}
psId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psId_);
psId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = location_.toBuilder();
}
location_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.LocationProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(location_);
location_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
counters_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
counters_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
counters_ = java.util.Collections.unmodifiableList(counters_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.class, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ServerFailedReportProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServerFailedReportProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSIdProto psId = 1;
public static final int PSID_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
return psId_;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
return psId_;
}
// required .LocationProto location = 2;
public static final int LOCATION_FIELD_NUMBER = 2;
private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_;
/**
* required .LocationProto location = 2;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .LocationProto location = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
return location_;
}
/**
* required .LocationProto location = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
return location_;
}
// repeated .IntKeyCounter counters = 3;
public static final int COUNTERS_FIELD_NUMBER = 3;
private java.util.List counters_;
/**
* repeated .IntKeyCounter counters = 3;
*/
public java.util.List getCountersList() {
return counters_;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder>
getCountersOrBuilderList() {
return counters_;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public int getCountersCount() {
return counters_.size();
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter getCounters(int index) {
return counters_.get(index);
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder getCountersOrBuilder(
int index) {
return counters_.get(index);
}
private void initFields() {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
counters_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasLocation()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsId().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getLocation().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getCountersCount(); i++) {
if (!getCounters(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, psId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, location_);
}
for (int i = 0; i < counters_.size(); i++) {
output.writeMessage(3, counters_.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, psId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, location_);
}
for (int i = 0; i < counters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, counters_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto other = (com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto) obj;
boolean result = true;
result = result && (hasPsId() == other.hasPsId());
if (hasPsId()) {
result = result && getPsId()
.equals(other.getPsId());
}
result = result && (hasLocation() == other.hasLocation());
if (hasLocation()) {
result = result && getLocation()
.equals(other.getLocation());
}
result = result && getCountersList()
.equals(other.getCountersList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsId()) {
hash = (37 * hash) + PSID_FIELD_NUMBER;
hash = (53 * hash) + getPsId().hashCode();
}
if (hasLocation()) {
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
}
if (getCountersCount() > 0) {
hash = (37 * hash) + COUNTERS_FIELD_NUMBER;
hash = (53 * hash) + getCountersList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ServerFailedReportProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.class, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsIdFieldBuilder();
getLocationFieldBuilder();
getCountersFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (locationBuilder_ == null) {
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (countersBuilder_ == null) {
counters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
countersBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto build() {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto result = new com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psIdBuilder_ == null) {
result.psId_ = psId_;
} else {
result.psId_ = psIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
if (countersBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
counters_ = java.util.Collections.unmodifiableList(counters_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.counters_ = counters_;
} else {
result.counters_ = countersBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.getDefaultInstance()) return this;
if (other.hasPsId()) {
mergePsId(other.getPsId());
}
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
if (countersBuilder_ == null) {
if (!other.counters_.isEmpty()) {
if (counters_.isEmpty()) {
counters_ = other.counters_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureCountersIsMutable();
counters_.addAll(other.counters_);
}
onChanged();
}
} else {
if (!other.counters_.isEmpty()) {
if (countersBuilder_.isEmpty()) {
countersBuilder_.dispose();
countersBuilder_ = null;
counters_ = other.counters_;
bitField0_ = (bitField0_ & ~0x00000004);
countersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCountersFieldBuilder() : null;
} else {
countersBuilder_.addAllMessages(other.counters_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsId()) {
return false;
}
if (!hasLocation()) {
return false;
}
if (!getPsId().isInitialized()) {
return false;
}
if (!getLocation().isInitialized()) {
return false;
}
for (int i = 0; i < getCountersCount(); i++) {
if (!getCounters(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSIdProto psId = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSIdProto psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder> psIdBuilder_;
/**
* required .PSIdProto psId = 1;
*/
public boolean hasPsId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsId() {
if (psIdBuilder_ == null) {
return psId_;
} else {
return psIdBuilder_.getMessage();
}
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psId_ = value;
onChanged();
} else {
psIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder setPsId(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdBuilder_ == null) {
psId_ = builderForValue.build();
onChanged();
} else {
psIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder mergePsId(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psId_ != com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance()) {
psId_ =
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.newBuilder(psId_).mergeFrom(value).buildPartial();
} else {
psId_ = value;
}
onChanged();
} else {
psIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public Builder clearPsId() {
if (psIdBuilder_ == null) {
psId_ = com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance();
onChanged();
} else {
psIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder getPsIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsIdFieldBuilder().getBuilder();
}
/**
* required .PSIdProto psId = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdOrBuilder() {
if (psIdBuilder_ != null) {
return psIdBuilder_.getMessageOrBuilder();
} else {
return psId_;
}
}
/**
* required .PSIdProto psId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdFieldBuilder() {
if (psIdBuilder_ == null) {
psIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>(
psId_,
getParentForChildren(),
isClean());
psId_ = null;
}
return psIdBuilder_;
}
// required .LocationProto location = 2;
private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder> locationBuilder_;
/**
* required .LocationProto location = 2;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .LocationProto location = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
if (locationBuilder_ == null) {
return location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* required .LocationProto location = 2;
*/
public Builder setLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .LocationProto location = 2;
*/
public Builder setLocation(
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .LocationProto location = 2;
*/
public Builder mergeLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
if (locationBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
location_ != com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance()) {
location_ =
com.tencent.angel.protobuf.generated.MLProtos.LocationProto.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .LocationProto location = 2;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
onChanged();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* required .LocationProto location = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder getLocationBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* required .LocationProto location = 2;
*/
public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_;
}
}
/**
* required .LocationProto location = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>(
location_,
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
// repeated .IntKeyCounter counters = 3;
private java.util.List counters_ =
java.util.Collections.emptyList();
private void ensureCountersIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
counters_ = new java.util.ArrayList(counters_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder> countersBuilder_;
/**
* repeated .IntKeyCounter counters = 3;
*/
public java.util.List getCountersList() {
if (countersBuilder_ == null) {
return java.util.Collections.unmodifiableList(counters_);
} else {
return countersBuilder_.getMessageList();
}
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public int getCountersCount() {
if (countersBuilder_ == null) {
return counters_.size();
} else {
return countersBuilder_.getCount();
}
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter getCounters(int index) {
if (countersBuilder_ == null) {
return counters_.get(index);
} else {
return countersBuilder_.getMessage(index);
}
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder setCounters(
int index, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter value) {
if (countersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCountersIsMutable();
counters_.set(index, value);
onChanged();
} else {
countersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder setCounters(
int index, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder builderForValue) {
if (countersBuilder_ == null) {
ensureCountersIsMutable();
counters_.set(index, builderForValue.build());
onChanged();
} else {
countersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder addCounters(com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter value) {
if (countersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCountersIsMutable();
counters_.add(value);
onChanged();
} else {
countersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder addCounters(
int index, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter value) {
if (countersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCountersIsMutable();
counters_.add(index, value);
onChanged();
} else {
countersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder addCounters(
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder builderForValue) {
if (countersBuilder_ == null) {
ensureCountersIsMutable();
counters_.add(builderForValue.build());
onChanged();
} else {
countersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder addCounters(
int index, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder builderForValue) {
if (countersBuilder_ == null) {
ensureCountersIsMutable();
counters_.add(index, builderForValue.build());
onChanged();
} else {
countersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder addAllCounters(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter> values) {
if (countersBuilder_ == null) {
ensureCountersIsMutable();
super.addAll(values, counters_);
onChanged();
} else {
countersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder clearCounters() {
if (countersBuilder_ == null) {
counters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
countersBuilder_.clear();
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public Builder removeCounters(int index) {
if (countersBuilder_ == null) {
ensureCountersIsMutable();
counters_.remove(index);
onChanged();
} else {
countersBuilder_.remove(index);
}
return this;
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder getCountersBuilder(
int index) {
return getCountersFieldBuilder().getBuilder(index);
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder getCountersOrBuilder(
int index) {
if (countersBuilder_ == null) {
return counters_.get(index); } else {
return countersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder>
getCountersOrBuilderList() {
if (countersBuilder_ != null) {
return countersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(counters_);
}
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder addCountersBuilder() {
return getCountersFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.getDefaultInstance());
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder addCountersBuilder(
int index) {
return getCountersFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.getDefaultInstance());
}
/**
* repeated .IntKeyCounter counters = 3;
*/
public java.util.List
getCountersBuilderList() {
return getCountersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder>
getCountersFieldBuilder() {
if (countersBuilder_ == null) {
countersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounter.Builder, com.tencent.angel.protobuf.generated.MLProtos.IntKeyCounterOrBuilder>(
counters_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
counters_ = null;
}
return countersBuilder_;
}
// @@protoc_insertion_point(builder_scope:ServerFailedReportProto)
}
static {
defaultInstance = new ServerFailedReportProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ServerFailedReportProto)
}
public interface ServerFailedReportRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .ServerFailedReportProto reports = 1;
/**
* repeated .ServerFailedReportProto reports = 1;
*/
java.util.List
getReportsList();
/**
* repeated .ServerFailedReportProto reports = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto getReports(int index);
/**
* repeated .ServerFailedReportProto reports = 1;
*/
int getReportsCount();
/**
* repeated .ServerFailedReportProto reports = 1;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder>
getReportsOrBuilderList();
/**
* repeated .ServerFailedReportProto reports = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder getReportsOrBuilder(
int index);
}
/**
* Protobuf type {@code ServerFailedReportRequest}
*/
public static final class ServerFailedReportRequest extends
com.google.protobuf.GeneratedMessage
implements ServerFailedReportRequestOrBuilder {
// Use ServerFailedReportRequest.newBuilder() to construct.
private ServerFailedReportRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ServerFailedReportRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ServerFailedReportRequest defaultInstance;
public static ServerFailedReportRequest getDefaultInstance() {
return defaultInstance;
}
public ServerFailedReportRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServerFailedReportRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
reports_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
reports_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
reports_ = java.util.Collections.unmodifiableList(reports_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.class, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ServerFailedReportRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServerFailedReportRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .ServerFailedReportProto reports = 1;
public static final int REPORTS_FIELD_NUMBER = 1;
private java.util.List reports_;
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public java.util.List getReportsList() {
return reports_;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder>
getReportsOrBuilderList() {
return reports_;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public int getReportsCount() {
return reports_.size();
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto getReports(int index) {
return reports_.get(index);
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder getReportsOrBuilder(
int index) {
return reports_.get(index);
}
private void initFields() {
reports_ = 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 < getReportsCount(); i++) {
if (!getReports(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 < reports_.size(); i++) {
output.writeMessage(1, reports_.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 < reports_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, reports_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest other = (com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest) obj;
boolean result = true;
result = result && getReportsList()
.equals(other.getReportsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getReportsCount() > 0) {
hash = (37 * hash) + REPORTS_FIELD_NUMBER;
hash = (53 * hash) + getReportsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ServerFailedReportRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.class, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getReportsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (reportsBuilder_ == null) {
reports_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
reportsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest result = new com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest(this);
int from_bitField0_ = bitField0_;
if (reportsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
reports_ = java.util.Collections.unmodifiableList(reports_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.reports_ = reports_;
} else {
result.reports_ = reportsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest.getDefaultInstance()) return this;
if (reportsBuilder_ == null) {
if (!other.reports_.isEmpty()) {
if (reports_.isEmpty()) {
reports_ = other.reports_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureReportsIsMutable();
reports_.addAll(other.reports_);
}
onChanged();
}
} else {
if (!other.reports_.isEmpty()) {
if (reportsBuilder_.isEmpty()) {
reportsBuilder_.dispose();
reportsBuilder_ = null;
reports_ = other.reports_;
bitField0_ = (bitField0_ & ~0x00000001);
reportsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getReportsFieldBuilder() : null;
} else {
reportsBuilder_.addAllMessages(other.reports_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getReportsCount(); i++) {
if (!getReports(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .ServerFailedReportProto reports = 1;
private java.util.List reports_ =
java.util.Collections.emptyList();
private void ensureReportsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
reports_ = new java.util.ArrayList(reports_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder> reportsBuilder_;
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public java.util.List getReportsList() {
if (reportsBuilder_ == null) {
return java.util.Collections.unmodifiableList(reports_);
} else {
return reportsBuilder_.getMessageList();
}
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public int getReportsCount() {
if (reportsBuilder_ == null) {
return reports_.size();
} else {
return reportsBuilder_.getCount();
}
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto getReports(int index) {
if (reportsBuilder_ == null) {
return reports_.get(index);
} else {
return reportsBuilder_.getMessage(index);
}
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder setReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto value) {
if (reportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReportsIsMutable();
reports_.set(index, value);
onChanged();
} else {
reportsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder setReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder builderForValue) {
if (reportsBuilder_ == null) {
ensureReportsIsMutable();
reports_.set(index, builderForValue.build());
onChanged();
} else {
reportsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder addReports(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto value) {
if (reportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReportsIsMutable();
reports_.add(value);
onChanged();
} else {
reportsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder addReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto value) {
if (reportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReportsIsMutable();
reports_.add(index, value);
onChanged();
} else {
reportsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder addReports(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder builderForValue) {
if (reportsBuilder_ == null) {
ensureReportsIsMutable();
reports_.add(builderForValue.build());
onChanged();
} else {
reportsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder addReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder builderForValue) {
if (reportsBuilder_ == null) {
ensureReportsIsMutable();
reports_.add(index, builderForValue.build());
onChanged();
} else {
reportsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder addAllReports(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto> values) {
if (reportsBuilder_ == null) {
ensureReportsIsMutable();
super.addAll(values, reports_);
onChanged();
} else {
reportsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder clearReports() {
if (reportsBuilder_ == null) {
reports_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
reportsBuilder_.clear();
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public Builder removeReports(int index) {
if (reportsBuilder_ == null) {
ensureReportsIsMutable();
reports_.remove(index);
onChanged();
} else {
reportsBuilder_.remove(index);
}
return this;
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder getReportsBuilder(
int index) {
return getReportsFieldBuilder().getBuilder(index);
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder getReportsOrBuilder(
int index) {
if (reportsBuilder_ == null) {
return reports_.get(index); } else {
return reportsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder>
getReportsOrBuilderList() {
if (reportsBuilder_ != null) {
return reportsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(reports_);
}
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder addReportsBuilder() {
return getReportsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.getDefaultInstance());
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder addReportsBuilder(
int index) {
return getReportsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.getDefaultInstance());
}
/**
* repeated .ServerFailedReportProto reports = 1;
*/
public java.util.List
getReportsBuilderList() {
return getReportsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder>
getReportsFieldBuilder() {
if (reportsBuilder_ == null) {
reportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportProtoOrBuilder>(
reports_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
reports_ = null;
}
return reportsBuilder_;
}
// @@protoc_insertion_point(builder_scope:ServerFailedReportRequest)
}
static {
defaultInstance = new ServerFailedReportRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ServerFailedReportRequest)
}
public interface ServerFailedReportResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code ServerFailedReportResponse}
*/
public static final class ServerFailedReportResponse extends
com.google.protobuf.GeneratedMessage
implements ServerFailedReportResponseOrBuilder {
// Use ServerFailedReportResponse.newBuilder() to construct.
private ServerFailedReportResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ServerFailedReportResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ServerFailedReportResponse defaultInstance;
public static ServerFailedReportResponse getDefaultInstance() {
return defaultInstance;
}
public ServerFailedReportResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServerFailedReportResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.class, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ServerFailedReportResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServerFailedReportResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
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();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse other = (com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ServerFailedReportResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.class, com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_ServerFailedReportResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse build() {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse result = new com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse.getDefaultInstance()) return this;
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.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.ServerFailedReportResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:ServerFailedReportResponse)
}
static {
defaultInstance = new ServerFailedReportResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ServerFailedReportResponse)
}
public interface GetPartLocationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 matrixId = 1;
/**
* required int32 matrixId = 1;
*/
boolean hasMatrixId();
/**
* required int32 matrixId = 1;
*/
int getMatrixId();
// required int32 partId = 2;
/**
* required int32 partId = 2;
*/
boolean hasPartId();
/**
* required int32 partId = 2;
*/
int getPartId();
}
/**
* Protobuf type {@code GetPartLocationRequest}
*/
public static final class GetPartLocationRequest extends
com.google.protobuf.GeneratedMessage
implements GetPartLocationRequestOrBuilder {
// Use GetPartLocationRequest.newBuilder() to construct.
private GetPartLocationRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetPartLocationRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetPartLocationRequest defaultInstance;
public static GetPartLocationRequest getDefaultInstance() {
return defaultInstance;
}
public GetPartLocationRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetPartLocationRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
matrixId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
partId_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetPartLocationRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetPartLocationRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 matrixId = 1;
public static final int MATRIXID_FIELD_NUMBER = 1;
private int matrixId_;
/**
* required int32 matrixId = 1;
*/
public boolean hasMatrixId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 matrixId = 1;
*/
public int getMatrixId() {
return matrixId_;
}
// required int32 partId = 2;
public static final int PARTID_FIELD_NUMBER = 2;
private int partId_;
/**
* required int32 partId = 2;
*/
public boolean hasPartId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 partId = 2;
*/
public int getPartId() {
return partId_;
}
private void initFields() {
matrixId_ = 0;
partId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasMatrixId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPartId()) {
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, matrixId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, partId_);
}
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, matrixId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, partId_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest other = (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest) obj;
boolean result = true;
result = result && (hasMatrixId() == other.hasMatrixId());
if (hasMatrixId()) {
result = result && (getMatrixId()
== other.getMatrixId());
}
result = result && (hasPartId() == other.hasPartId());
if (hasPartId()) {
result = result && (getPartId()
== other.getPartId());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasMatrixId()) {
hash = (37 * hash) + MATRIXID_FIELD_NUMBER;
hash = (53 * hash) + getMatrixId();
}
if (hasPartId()) {
hash = (37 * hash) + PARTID_FIELD_NUMBER;
hash = (53 * hash) + getPartId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetPartLocationRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
matrixId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
partId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest result = new com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.matrixId_ = matrixId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.partId_ = partId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.getDefaultInstance()) return this;
if (other.hasMatrixId()) {
setMatrixId(other.getMatrixId());
}
if (other.hasPartId()) {
setPartId(other.getPartId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasMatrixId()) {
return false;
}
if (!hasPartId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 matrixId = 1;
private int matrixId_ ;
/**
* required int32 matrixId = 1;
*/
public boolean hasMatrixId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 matrixId = 1;
*/
public int getMatrixId() {
return matrixId_;
}
/**
* required int32 matrixId = 1;
*/
public Builder setMatrixId(int value) {
bitField0_ |= 0x00000001;
matrixId_ = value;
onChanged();
return this;
}
/**
* required int32 matrixId = 1;
*/
public Builder clearMatrixId() {
bitField0_ = (bitField0_ & ~0x00000001);
matrixId_ = 0;
onChanged();
return this;
}
// required int32 partId = 2;
private int partId_ ;
/**
* required int32 partId = 2;
*/
public boolean hasPartId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 partId = 2;
*/
public int getPartId() {
return partId_;
}
/**
* required int32 partId = 2;
*/
public Builder setPartId(int value) {
bitField0_ |= 0x00000002;
partId_ = value;
onChanged();
return this;
}
/**
* required int32 partId = 2;
*/
public Builder clearPartId() {
bitField0_ = (bitField0_ & ~0x00000002);
partId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:GetPartLocationRequest)
}
static {
defaultInstance = new GetPartLocationRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetPartLocationRequest)
}
public interface GetPartLocationResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .PSLocationProto locations = 1;
/**
* repeated .PSLocationProto locations = 1;
*/
java.util.List
getLocationsList();
/**
* repeated .PSLocationProto locations = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getLocations(int index);
/**
* repeated .PSLocationProto locations = 1;
*/
int getLocationsCount();
/**
* repeated .PSLocationProto locations = 1;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getLocationsOrBuilderList();
/**
* repeated .PSLocationProto locations = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getLocationsOrBuilder(
int index);
}
/**
* Protobuf type {@code GetPartLocationResponse}
*/
public static final class GetPartLocationResponse extends
com.google.protobuf.GeneratedMessage
implements GetPartLocationResponseOrBuilder {
// Use GetPartLocationResponse.newBuilder() to construct.
private GetPartLocationResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetPartLocationResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetPartLocationResponse defaultInstance;
public static GetPartLocationResponse getDefaultInstance() {
return defaultInstance;
}
public GetPartLocationResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetPartLocationResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
locations_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locations_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
locations_ = java.util.Collections.unmodifiableList(locations_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetPartLocationResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetPartLocationResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .PSLocationProto locations = 1;
public static final int LOCATIONS_FIELD_NUMBER = 1;
private java.util.List locations_;
/**
* repeated .PSLocationProto locations = 1;
*/
public java.util.List getLocationsList() {
return locations_;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getLocationsOrBuilderList() {
return locations_;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public int getLocationsCount() {
return locations_.size();
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getLocations(int index) {
return locations_.get(index);
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getLocationsOrBuilder(
int index) {
return locations_.get(index);
}
private void initFields() {
locations_ = 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 < getLocationsCount(); i++) {
if (!getLocations(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 < locations_.size(); i++) {
output.writeMessage(1, locations_.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 < locations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locations_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse other = (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse) obj;
boolean result = true;
result = result && getLocationsList()
.equals(other.getLocationsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getLocationsCount() > 0) {
hash = (37 * hash) + LOCATIONS_FIELD_NUMBER;
hash = (53 * hash) + getLocationsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetPartLocationResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getLocationsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (locationsBuilder_ == null) {
locations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locationsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetPartLocationResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse build() {
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse result = new com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse(this);
int from_bitField0_ = bitField0_;
if (locationsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
locations_ = java.util.Collections.unmodifiableList(locations_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locations_ = locations_;
} else {
result.locations_ = locationsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance()) return this;
if (locationsBuilder_ == null) {
if (!other.locations_.isEmpty()) {
if (locations_.isEmpty()) {
locations_ = other.locations_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocationsIsMutable();
locations_.addAll(other.locations_);
}
onChanged();
}
} else {
if (!other.locations_.isEmpty()) {
if (locationsBuilder_.isEmpty()) {
locationsBuilder_.dispose();
locationsBuilder_ = null;
locations_ = other.locations_;
bitField0_ = (bitField0_ & ~0x00000001);
locationsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getLocationsFieldBuilder() : null;
} else {
locationsBuilder_.addAllMessages(other.locations_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getLocationsCount(); i++) {
if (!getLocations(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .PSLocationProto locations = 1;
private java.util.List locations_ =
java.util.Collections.emptyList();
private void ensureLocationsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
locations_ = new java.util.ArrayList(locations_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> locationsBuilder_;
/**
* repeated .PSLocationProto locations = 1;
*/
public java.util.List getLocationsList() {
if (locationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locations_);
} else {
return locationsBuilder_.getMessageList();
}
}
/**
* repeated .PSLocationProto locations = 1;
*/
public int getLocationsCount() {
if (locationsBuilder_ == null) {
return locations_.size();
} else {
return locationsBuilder_.getCount();
}
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getLocations(int index) {
if (locationsBuilder_ == null) {
return locations_.get(index);
} else {
return locationsBuilder_.getMessage(index);
}
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder setLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (locationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocationsIsMutable();
locations_.set(index, value);
onChanged();
} else {
locationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder setLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.set(index, builderForValue.build());
onChanged();
} else {
locationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder addLocations(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (locationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocationsIsMutable();
locations_.add(value);
onChanged();
} else {
locationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder addLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (locationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocationsIsMutable();
locations_.add(index, value);
onChanged();
} else {
locationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder addLocations(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.add(builderForValue.build());
onChanged();
} else {
locationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder addLocations(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.add(index, builderForValue.build());
onChanged();
} else {
locationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder addAllLocations(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto> values) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
super.addAll(values, locations_);
onChanged();
} else {
locationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder clearLocations() {
if (locationsBuilder_ == null) {
locations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locationsBuilder_.clear();
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public Builder removeLocations(int index) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.remove(index);
onChanged();
} else {
locationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder getLocationsBuilder(
int index) {
return getLocationsFieldBuilder().getBuilder(index);
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getLocationsOrBuilder(
int index) {
if (locationsBuilder_ == null) {
return locations_.get(index); } else {
return locationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PSLocationProto locations = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getLocationsOrBuilderList() {
if (locationsBuilder_ != null) {
return locationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locations_);
}
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder addLocationsBuilder() {
return getLocationsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance());
}
/**
* repeated .PSLocationProto locations = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder addLocationsBuilder(
int index) {
return getLocationsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance());
}
/**
* repeated .PSLocationProto locations = 1;
*/
public java.util.List
getLocationsBuilderList() {
return getLocationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getLocationsFieldBuilder() {
if (locationsBuilder_ == null) {
locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>(
locations_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
locations_ = null;
}
return locationsBuilder_;
}
// @@protoc_insertion_point(builder_scope:GetPartLocationResponse)
}
static {
defaultInstance = new GetPartLocationResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetPartLocationResponse)
}
public interface GetStoredPssRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 matrixId = 1;
/**
* required int32 matrixId = 1;
*/
boolean hasMatrixId();
/**
* required int32 matrixId = 1;
*/
int getMatrixId();
// required int32 partId = 2;
/**
* required int32 partId = 2;
*/
boolean hasPartId();
/**
* required int32 partId = 2;
*/
int getPartId();
}
/**
* Protobuf type {@code GetStoredPssRequest}
*/
public static final class GetStoredPssRequest extends
com.google.protobuf.GeneratedMessage
implements GetStoredPssRequestOrBuilder {
// Use GetStoredPssRequest.newBuilder() to construct.
private GetStoredPssRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetStoredPssRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetStoredPssRequest defaultInstance;
public static GetStoredPssRequest getDefaultInstance() {
return defaultInstance;
}
public GetStoredPssRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetStoredPssRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
matrixId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
partId_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetStoredPssRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetStoredPssRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 matrixId = 1;
public static final int MATRIXID_FIELD_NUMBER = 1;
private int matrixId_;
/**
* required int32 matrixId = 1;
*/
public boolean hasMatrixId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 matrixId = 1;
*/
public int getMatrixId() {
return matrixId_;
}
// required int32 partId = 2;
public static final int PARTID_FIELD_NUMBER = 2;
private int partId_;
/**
* required int32 partId = 2;
*/
public boolean hasPartId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 partId = 2;
*/
public int getPartId() {
return partId_;
}
private void initFields() {
matrixId_ = 0;
partId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasMatrixId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPartId()) {
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, matrixId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, partId_);
}
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, matrixId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, partId_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest other = (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest) obj;
boolean result = true;
result = result && (hasMatrixId() == other.hasMatrixId());
if (hasMatrixId()) {
result = result && (getMatrixId()
== other.getMatrixId());
}
result = result && (hasPartId() == other.hasPartId());
if (hasPartId()) {
result = result && (getPartId()
== other.getPartId());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasMatrixId()) {
hash = (37 * hash) + MATRIXID_FIELD_NUMBER;
hash = (53 * hash) + getMatrixId();
}
if (hasPartId()) {
hash = (37 * hash) + PARTID_FIELD_NUMBER;
hash = (53 * hash) + getPartId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetStoredPssRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.class, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
matrixId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
partId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest build() {
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest result = new com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.matrixId_ = matrixId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.partId_ = partId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.getDefaultInstance()) return this;
if (other.hasMatrixId()) {
setMatrixId(other.getMatrixId());
}
if (other.hasPartId()) {
setPartId(other.getPartId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasMatrixId()) {
return false;
}
if (!hasPartId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 matrixId = 1;
private int matrixId_ ;
/**
* required int32 matrixId = 1;
*/
public boolean hasMatrixId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 matrixId = 1;
*/
public int getMatrixId() {
return matrixId_;
}
/**
* required int32 matrixId = 1;
*/
public Builder setMatrixId(int value) {
bitField0_ |= 0x00000001;
matrixId_ = value;
onChanged();
return this;
}
/**
* required int32 matrixId = 1;
*/
public Builder clearMatrixId() {
bitField0_ = (bitField0_ & ~0x00000001);
matrixId_ = 0;
onChanged();
return this;
}
// required int32 partId = 2;
private int partId_ ;
/**
* required int32 partId = 2;
*/
public boolean hasPartId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 partId = 2;
*/
public int getPartId() {
return partId_;
}
/**
* required int32 partId = 2;
*/
public Builder setPartId(int value) {
bitField0_ |= 0x00000002;
partId_ = value;
onChanged();
return this;
}
/**
* required int32 partId = 2;
*/
public Builder clearPartId() {
bitField0_ = (bitField0_ & ~0x00000002);
partId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:GetStoredPssRequest)
}
static {
defaultInstance = new GetStoredPssRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetStoredPssRequest)
}
public interface GetStoredPssResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .PSIdProto psIds = 1;
/**
* repeated .PSIdProto psIds = 1;
*/
java.util.List
getPsIdsList();
/**
* repeated .PSIdProto psIds = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsIds(int index);
/**
* repeated .PSIdProto psIds = 1;
*/
int getPsIdsCount();
/**
* repeated .PSIdProto psIds = 1;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdsOrBuilderList();
/**
* repeated .PSIdProto psIds = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdsOrBuilder(
int index);
}
/**
* Protobuf type {@code GetStoredPssResponse}
*/
public static final class GetStoredPssResponse extends
com.google.protobuf.GeneratedMessage
implements GetStoredPssResponseOrBuilder {
// Use GetStoredPssResponse.newBuilder() to construct.
private GetStoredPssResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetStoredPssResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetStoredPssResponse defaultInstance;
public static GetStoredPssResponse getDefaultInstance() {
return defaultInstance;
}
public GetStoredPssResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetStoredPssResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
psIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
psIds_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
psIds_ = java.util.Collections.unmodifiableList(psIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetStoredPssResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetStoredPssResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .PSIdProto psIds = 1;
public static final int PSIDS_FIELD_NUMBER = 1;
private java.util.List psIds_;
/**
* repeated .PSIdProto psIds = 1;
*/
public java.util.List getPsIdsList() {
return psIds_;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdsOrBuilderList() {
return psIds_;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public int getPsIdsCount() {
return psIds_.size();
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsIds(int index) {
return psIds_.get(index);
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdsOrBuilder(
int index) {
return psIds_.get(index);
}
private void initFields() {
psIds_ = 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 < getPsIdsCount(); i++) {
if (!getPsIds(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 < psIds_.size(); i++) {
output.writeMessage(1, psIds_.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 < psIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, psIds_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse other = (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse) obj;
boolean result = true;
result = result && getPsIdsList()
.equals(other.getPsIdsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getPsIdsCount() > 0) {
hash = (37 * hash) + PSIDS_FIELD_NUMBER;
hash = (53 * hash) + getPsIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code GetStoredPssResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsIdsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psIdsBuilder_ == null) {
psIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
psIdsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_GetStoredPssResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse build() {
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse result = new com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse(this);
int from_bitField0_ = bitField0_;
if (psIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
psIds_ = java.util.Collections.unmodifiableList(psIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.psIds_ = psIds_;
} else {
result.psIds_ = psIdsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance()) return this;
if (psIdsBuilder_ == null) {
if (!other.psIds_.isEmpty()) {
if (psIds_.isEmpty()) {
psIds_ = other.psIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePsIdsIsMutable();
psIds_.addAll(other.psIds_);
}
onChanged();
}
} else {
if (!other.psIds_.isEmpty()) {
if (psIdsBuilder_.isEmpty()) {
psIdsBuilder_.dispose();
psIdsBuilder_ = null;
psIds_ = other.psIds_;
bitField0_ = (bitField0_ & ~0x00000001);
psIdsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPsIdsFieldBuilder() : null;
} else {
psIdsBuilder_.addAllMessages(other.psIds_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getPsIdsCount(); i++) {
if (!getPsIds(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .PSIdProto psIds = 1;
private java.util.List psIds_ =
java.util.Collections.emptyList();
private void ensurePsIdsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
psIds_ = new java.util.ArrayList(psIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder> psIdsBuilder_;
/**
* repeated .PSIdProto psIds = 1;
*/
public java.util.List getPsIdsList() {
if (psIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(psIds_);
} else {
return psIdsBuilder_.getMessageList();
}
}
/**
* repeated .PSIdProto psIds = 1;
*/
public int getPsIdsCount() {
if (psIdsBuilder_ == null) {
return psIds_.size();
} else {
return psIdsBuilder_.getCount();
}
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto getPsIds(int index) {
if (psIdsBuilder_ == null) {
return psIds_.get(index);
} else {
return psIdsBuilder_.getMessage(index);
}
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder setPsIds(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsIdsIsMutable();
psIds_.set(index, value);
onChanged();
} else {
psIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder setPsIds(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdsBuilder_ == null) {
ensurePsIdsIsMutable();
psIds_.set(index, builderForValue.build());
onChanged();
} else {
psIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder addPsIds(com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsIdsIsMutable();
psIds_.add(value);
onChanged();
} else {
psIdsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder addPsIds(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto value) {
if (psIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsIdsIsMutable();
psIds_.add(index, value);
onChanged();
} else {
psIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder addPsIds(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdsBuilder_ == null) {
ensurePsIdsIsMutable();
psIds_.add(builderForValue.build());
onChanged();
} else {
psIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder addPsIds(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder builderForValue) {
if (psIdsBuilder_ == null) {
ensurePsIdsIsMutable();
psIds_.add(index, builderForValue.build());
onChanged();
} else {
psIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder addAllPsIds(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProto> values) {
if (psIdsBuilder_ == null) {
ensurePsIdsIsMutable();
super.addAll(values, psIds_);
onChanged();
} else {
psIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder clearPsIds() {
if (psIdsBuilder_ == null) {
psIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
psIdsBuilder_.clear();
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public Builder removePsIds(int index) {
if (psIdsBuilder_ == null) {
ensurePsIdsIsMutable();
psIds_.remove(index);
onChanged();
} else {
psIdsBuilder_.remove(index);
}
return this;
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder getPsIdsBuilder(
int index) {
return getPsIdsFieldBuilder().getBuilder(index);
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder getPsIdsOrBuilder(
int index) {
if (psIdsBuilder_ == null) {
return psIds_.get(index); } else {
return psIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PSIdProto psIds = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdsOrBuilderList() {
if (psIdsBuilder_ != null) {
return psIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(psIds_);
}
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder addPsIdsBuilder() {
return getPsIdsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance());
}
/**
* repeated .PSIdProto psIds = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder addPsIdsBuilder(
int index) {
return getPsIdsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.getDefaultInstance());
}
/**
* repeated .PSIdProto psIds = 1;
*/
public java.util.List
getPsIdsBuilderList() {
return getPsIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>
getPsIdsFieldBuilder() {
if (psIdsBuilder_ == null) {
psIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSIdProto, com.tencent.angel.protobuf.generated.MLProtos.PSIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSIdProtoOrBuilder>(
psIds_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
psIds_ = null;
}
return psIdsBuilder_;
}
// @@protoc_insertion_point(builder_scope:GetStoredPssResponse)
}
static {
defaultInstance = new GetStoredPssResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetStoredPssResponse)
}
public interface PSFailedReportsProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .PSFailedReportProto psFailedReports = 1;
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
java.util.List
getPsFailedReportsList();
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto getPsFailedReports(int index);
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
int getPsFailedReportsCount();
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder>
getPsFailedReportsOrBuilderList();
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder getPsFailedReportsOrBuilder(
int index);
}
/**
* Protobuf type {@code PSFailedReportsProto}
*/
public static final class PSFailedReportsProto extends
com.google.protobuf.GeneratedMessage
implements PSFailedReportsProtoOrBuilder {
// Use PSFailedReportsProto.newBuilder() to construct.
private PSFailedReportsProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSFailedReportsProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSFailedReportsProto defaultInstance;
public static PSFailedReportsProto getDefaultInstance() {
return defaultInstance;
}
public PSFailedReportsProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSFailedReportsProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
psFailedReports_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
psFailedReports_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
psFailedReports_ = java.util.Collections.unmodifiableList(psFailedReports_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportsProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSFailedReportsProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSFailedReportsProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .PSFailedReportProto psFailedReports = 1;
public static final int PSFAILEDREPORTS_FIELD_NUMBER = 1;
private java.util.List psFailedReports_;
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public java.util.List getPsFailedReportsList() {
return psFailedReports_;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder>
getPsFailedReportsOrBuilderList() {
return psFailedReports_;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public int getPsFailedReportsCount() {
return psFailedReports_.size();
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto getPsFailedReports(int index) {
return psFailedReports_.get(index);
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder getPsFailedReportsOrBuilder(
int index) {
return psFailedReports_.get(index);
}
private void initFields() {
psFailedReports_ = 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 < getPsFailedReportsCount(); i++) {
if (!getPsFailedReports(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 < psFailedReports_.size(); i++) {
output.writeMessage(1, psFailedReports_.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 < psFailedReports_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, psFailedReports_.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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto) obj;
boolean result = true;
result = result && getPsFailedReportsList()
.equals(other.getPsFailedReportsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getPsFailedReportsCount() > 0) {
hash = (37 * hash) + PSFAILEDREPORTS_FIELD_NUMBER;
hash = (53 * hash) + getPsFailedReportsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSFailedReportsProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportsProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsFailedReportsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psFailedReportsBuilder_ == null) {
psFailedReports_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
psFailedReportsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportsProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto(this);
int from_bitField0_ = bitField0_;
if (psFailedReportsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
psFailedReports_ = java.util.Collections.unmodifiableList(psFailedReports_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.psFailedReports_ = psFailedReports_;
} else {
result.psFailedReports_ = psFailedReportsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto.getDefaultInstance()) return this;
if (psFailedReportsBuilder_ == null) {
if (!other.psFailedReports_.isEmpty()) {
if (psFailedReports_.isEmpty()) {
psFailedReports_ = other.psFailedReports_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePsFailedReportsIsMutable();
psFailedReports_.addAll(other.psFailedReports_);
}
onChanged();
}
} else {
if (!other.psFailedReports_.isEmpty()) {
if (psFailedReportsBuilder_.isEmpty()) {
psFailedReportsBuilder_.dispose();
psFailedReportsBuilder_ = null;
psFailedReports_ = other.psFailedReports_;
bitField0_ = (bitField0_ & ~0x00000001);
psFailedReportsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPsFailedReportsFieldBuilder() : null;
} else {
psFailedReportsBuilder_.addAllMessages(other.psFailedReports_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getPsFailedReportsCount(); i++) {
if (!getPsFailedReports(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportsProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .PSFailedReportProto psFailedReports = 1;
private java.util.List psFailedReports_ =
java.util.Collections.emptyList();
private void ensurePsFailedReportsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
psFailedReports_ = new java.util.ArrayList(psFailedReports_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder> psFailedReportsBuilder_;
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public java.util.List getPsFailedReportsList() {
if (psFailedReportsBuilder_ == null) {
return java.util.Collections.unmodifiableList(psFailedReports_);
} else {
return psFailedReportsBuilder_.getMessageList();
}
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public int getPsFailedReportsCount() {
if (psFailedReportsBuilder_ == null) {
return psFailedReports_.size();
} else {
return psFailedReportsBuilder_.getCount();
}
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto getPsFailedReports(int index) {
if (psFailedReportsBuilder_ == null) {
return psFailedReports_.get(index);
} else {
return psFailedReportsBuilder_.getMessage(index);
}
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder setPsFailedReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto value) {
if (psFailedReportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsFailedReportsIsMutable();
psFailedReports_.set(index, value);
onChanged();
} else {
psFailedReportsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder setPsFailedReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder builderForValue) {
if (psFailedReportsBuilder_ == null) {
ensurePsFailedReportsIsMutable();
psFailedReports_.set(index, builderForValue.build());
onChanged();
} else {
psFailedReportsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder addPsFailedReports(com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto value) {
if (psFailedReportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsFailedReportsIsMutable();
psFailedReports_.add(value);
onChanged();
} else {
psFailedReportsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder addPsFailedReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto value) {
if (psFailedReportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePsFailedReportsIsMutable();
psFailedReports_.add(index, value);
onChanged();
} else {
psFailedReportsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder addPsFailedReports(
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder builderForValue) {
if (psFailedReportsBuilder_ == null) {
ensurePsFailedReportsIsMutable();
psFailedReports_.add(builderForValue.build());
onChanged();
} else {
psFailedReportsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder addPsFailedReports(
int index, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder builderForValue) {
if (psFailedReportsBuilder_ == null) {
ensurePsFailedReportsIsMutable();
psFailedReports_.add(index, builderForValue.build());
onChanged();
} else {
psFailedReportsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder addAllPsFailedReports(
java.lang.Iterable extends com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto> values) {
if (psFailedReportsBuilder_ == null) {
ensurePsFailedReportsIsMutable();
super.addAll(values, psFailedReports_);
onChanged();
} else {
psFailedReportsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder clearPsFailedReports() {
if (psFailedReportsBuilder_ == null) {
psFailedReports_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
psFailedReportsBuilder_.clear();
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public Builder removePsFailedReports(int index) {
if (psFailedReportsBuilder_ == null) {
ensurePsFailedReportsIsMutable();
psFailedReports_.remove(index);
onChanged();
} else {
psFailedReportsBuilder_.remove(index);
}
return this;
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder getPsFailedReportsBuilder(
int index) {
return getPsFailedReportsFieldBuilder().getBuilder(index);
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder getPsFailedReportsOrBuilder(
int index) {
if (psFailedReportsBuilder_ == null) {
return psFailedReports_.get(index); } else {
return psFailedReportsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public java.util.List extends com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder>
getPsFailedReportsOrBuilderList() {
if (psFailedReportsBuilder_ != null) {
return psFailedReportsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(psFailedReports_);
}
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder addPsFailedReportsBuilder() {
return getPsFailedReportsFieldBuilder().addBuilder(
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.getDefaultInstance());
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder addPsFailedReportsBuilder(
int index) {
return getPsFailedReportsFieldBuilder().addBuilder(
index, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.getDefaultInstance());
}
/**
* repeated .PSFailedReportProto psFailedReports = 1;
*/
public java.util.List
getPsFailedReportsBuilderList() {
return getPsFailedReportsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder>
getPsFailedReportsFieldBuilder() {
if (psFailedReportsBuilder_ == null) {
psFailedReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder>(
psFailedReports_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
psFailedReports_ = null;
}
return psFailedReportsBuilder_;
}
// @@protoc_insertion_point(builder_scope:PSFailedReportsProto)
}
static {
defaultInstance = new PSFailedReportsProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSFailedReportsProto)
}
public interface PSFailedReportProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .PSLocationProto psLoc = 1;
/**
* required .PSLocationProto psLoc = 1;
*/
boolean hasPsLoc();
/**
* required .PSLocationProto psLoc = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc();
/**
* required .PSLocationProto psLoc = 1;
*/
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder();
// required int32 failedCounter = 2;
/**
* required int32 failedCounter = 2;
*/
boolean hasFailedCounter();
/**
* required int32 failedCounter = 2;
*/
int getFailedCounter();
}
/**
* Protobuf type {@code PSFailedReportProto}
*/
public static final class PSFailedReportProto extends
com.google.protobuf.GeneratedMessage
implements PSFailedReportProtoOrBuilder {
// Use PSFailedReportProto.newBuilder() to construct.
private PSFailedReportProto(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PSFailedReportProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PSFailedReportProto defaultInstance;
public static PSFailedReportProto getDefaultInstance() {
return defaultInstance;
}
public PSFailedReportProto getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PSFailedReportProto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = psLoc_.toBuilder();
}
psLoc_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(psLoc_);
psLoc_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
failedCounter_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PSFailedReportProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PSFailedReportProto(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .PSLocationProto psLoc = 1;
public static final int PSLOC_FIELD_NUMBER = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLoc_;
/**
* required .PSLocationProto psLoc = 1;
*/
public boolean hasPsLoc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSLocationProto psLoc = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc() {
return psLoc_;
}
/**
* required .PSLocationProto psLoc = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder() {
return psLoc_;
}
// required int32 failedCounter = 2;
public static final int FAILEDCOUNTER_FIELD_NUMBER = 2;
private int failedCounter_;
/**
* required int32 failedCounter = 2;
*/
public boolean hasFailedCounter() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 failedCounter = 2;
*/
public int getFailedCounter() {
return failedCounter_;
}
private void initFields() {
psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
failedCounter_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPsLoc()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasFailedCounter()) {
memoizedIsInitialized = 0;
return false;
}
if (!getPsLoc().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, psLoc_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, failedCounter_);
}
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, psLoc_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, failedCounter_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto other = (com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto) obj;
boolean result = true;
result = result && (hasPsLoc() == other.hasPsLoc());
if (hasPsLoc()) {
result = result && getPsLoc()
.equals(other.getPsLoc());
}
result = result && (hasFailedCounter() == other.hasFailedCounter());
if (hasFailedCounter()) {
result = result && (getFailedCounter()
== other.getFailedCounter());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPsLoc()) {
hash = (37 * hash) + PSLOC_FIELD_NUMBER;
hash = (53 * hash) + getPsLoc().hashCode();
}
if (hasFailedCounter()) {
hash = (37 * hash) + FAILEDCOUNTER_FIELD_NUMBER;
hash = (53 * hash) + getFailedCounter();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PSFailedReportProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportProto_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.class, com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPsLocFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (psLocBuilder_ == null) {
psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
} else {
psLocBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
failedCounter_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.angel.protobuf.generated.MLProtos.internal_static_PSFailedReportProto_descriptor;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto build() {
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto buildPartial() {
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto result = new com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (psLocBuilder_ == null) {
result.psLoc_ = psLoc_;
} else {
result.psLoc_ = psLocBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.failedCounter_ = failedCounter_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto) {
return mergeFrom((com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto other) {
if (other == com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto.getDefaultInstance()) return this;
if (other.hasPsLoc()) {
mergePsLoc(other.getPsLoc());
}
if (other.hasFailedCounter()) {
setFailedCounter(other.getFailedCounter());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPsLoc()) {
return false;
}
if (!hasFailedCounter()) {
return false;
}
if (!getPsLoc().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.MLProtos.PSFailedReportProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .PSLocationProto psLoc = 1;
private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> psLocBuilder_;
/**
* required .PSLocationProto psLoc = 1;
*/
public boolean hasPsLoc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .PSLocationProto psLoc = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc() {
if (psLocBuilder_ == null) {
return psLoc_;
} else {
return psLocBuilder_.getMessage();
}
}
/**
* required .PSLocationProto psLoc = 1;
*/
public Builder setPsLoc(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
psLoc_ = value;
onChanged();
} else {
psLocBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSLocationProto psLoc = 1;
*/
public Builder setPsLoc(
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
if (psLocBuilder_ == null) {
psLoc_ = builderForValue.build();
onChanged();
} else {
psLocBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSLocationProto psLoc = 1;
*/
public Builder mergePsLoc(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
if (psLocBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
psLoc_ != com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance()) {
psLoc_ =
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.newBuilder(psLoc_).mergeFrom(value).buildPartial();
} else {
psLoc_ = value;
}
onChanged();
} else {
psLocBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .PSLocationProto psLoc = 1;
*/
public Builder clearPsLoc() {
if (psLocBuilder_ == null) {
psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
onChanged();
} else {
psLocBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .PSLocationProto psLoc = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder getPsLocBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPsLocFieldBuilder().getBuilder();
}
/**
* required .PSLocationProto psLoc = 1;
*/
public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder() {
if (psLocBuilder_ != null) {
return psLocBuilder_.getMessageOrBuilder();
} else {
return psLoc_;
}
}
/**
* required .PSLocationProto psLoc = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>
getPsLocFieldBuilder() {
if (psLocBuilder_ == null) {
psLocBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>(
psLoc_,
getParentForChildren(),
isClean());
psLoc_ = null;
}
return psLocBuilder_;
}
// required int32 failedCounter = 2;
private int failedCounter_ ;
/**
* required int32 failedCounter = 2;
*/
public boolean hasFailedCounter() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 failedCounter = 2;
*/
public int getFailedCounter() {
return failedCounter_;
}
/**
* required int32 failedCounter = 2;
*/
public Builder setFailedCounter(int value) {
bitField0_ |= 0x00000002;
failedCounter_ = value;
onChanged();
return this;
}
/**
* required int32 failedCounter = 2;
*/
public Builder clearFailedCounter() {
bitField0_ = (bitField0_ & ~0x00000002);
failedCounter_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PSFailedReportProto)
}
static {
defaultInstance = new PSFailedReportProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PSFailedReportProto)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_Pair_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Pair_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_WorkerGroupIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_WorkerGroupIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_WorkerIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_WorkerIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_WorkerAttemptIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_WorkerAttemptIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_TaskIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_TaskIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSAttemptIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSAttemptIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSAgentIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSAgentIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSAgentAttemptIdProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSAgentAttemptIdProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_MatrixContextProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_MatrixContextProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PartContextProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PartContextProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PartitionMetaProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PartitionMetaProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_MatrixMetaProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_MatrixMetaProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_MatrixClock_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_MatrixClock_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_LocationProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_LocationProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSAgentLocationProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSAgentLocationProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSLocationProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSLocationProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_CreateMatricesRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CreateMatricesRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_CreateMatricesResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CreateMatricesResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetAllPSLocationRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetAllPSLocationRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetAllPSLocationResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetAllPSLocationResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetPSLocationRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetPSLocationRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetPSLocationReponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetPSLocationReponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_CheckMatricesCreatedRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CheckMatricesCreatedRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_CheckMatricesCreatedResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CheckMatricesCreatedResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_IntKeyCounter_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_IntKeyCounter_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_ServerFailedReportProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ServerFailedReportProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_ServerFailedReportRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ServerFailedReportRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_ServerFailedReportResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ServerFailedReportResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetPartLocationRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetPartLocationRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetPartLocationResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetPartLocationResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetStoredPssRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetStoredPssRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetStoredPssResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetStoredPssResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSFailedReportsProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSFailedReportsProto_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PSFailedReportProto_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PSFailedReportProto_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\010ML.proto\"\"\n\004Pair\022\013\n\003key\030\001 \002(\t\022\r\n\005value" +
"\030\002 \002(\t\".\n\022WorkerGroupIdProto\022\030\n\020workerGr" +
"oupIndex\030\001 \002(\005\"P\n\rWorkerIdProto\022*\n\rworke" +
"rGroupId\030\001 \002(\0132\023.WorkerGroupIdProto\022\023\n\013w" +
"orkerIndex\030\002 \002(\005\"N\n\024WorkerAttemptIdProto" +
"\022 \n\010workerId\030\001 \002(\0132\016.WorkerIdProto\022\024\n\014at" +
"temptIndex\030\002 \002(\005\" \n\013TaskIdProto\022\021\n\ttaskI" +
"ndex\030\001 \002(\005\"\034\n\tPSIdProto\022\017\n\007psIndex\030\001 \002(\005" +
"\"B\n\020PSAttemptIdProto\022\030\n\004psId\030\001 \002(\0132\n.PSI" +
"dProto\022\024\n\014attemptIndex\030\002 \002(\005\"&\n\016PSAgentI",
"dProto\022\024\n\014psAgentIndex\030\001 \002(\005\"Q\n\025PSAgentA" +
"ttemptIdProto\022\"\n\tpsAgentId\030\001 \002(\0132\017.PSAge" +
"ntIdProto\022\024\n\014attemptIndex\030\002 \002(\005\"\262\002\n\022Matr" +
"ixContextProto\022\n\n\002id\030\001 \002(\005\022\014\n\004name\030\002 \002(\t" +
"\022\016\n\006rowNum\030\003 \002(\005\022\016\n\006colNum\030\004 \002(\003\022\022\n\ninde" +
"xStart\030\005 \002(\003\022\020\n\010indexEnd\030\006 \002(\003\022\025\n\rvalidI" +
"ndexNum\030\007 \002(\003\022\023\n\013blockRowNum\030\010 \002(\005\022\023\n\013bl" +
"ockColNum\030\t \002(\003\022\017\n\007rowType\030\n \002(\005\022\034\n\024part" +
"itionerClassName\030\013 \002(\t\022 \n\005parts\030\014 \003(\0132\021." +
"PartContextProto\022\030\n\tattribute\030\r \003(\0132\005.Pa",
"ir\022\020\n\010initFunc\030\016 \001(\014\"h\n\020PartContextProto" +
"\022\020\n\010startRow\030\001 \002(\005\022\020\n\010startCol\030\002 \002(\003\022\016\n\006" +
"endRow\030\003 \002(\005\022\016\n\006endCol\030\004 \002(\003\022\020\n\010indexNum" +
"\030\005 \002(\005\"\235\001\n\022PartitionMetaProto\022\023\n\013partiti" +
"onId\030\001 \002(\005\022\020\n\010startRow\030\002 \002(\005\022\020\n\010startCol" +
"\030\003 \002(\003\022\016\n\006endRow\030\004 \002(\005\022\016\n\006endCol\030\005 \002(\003\022\020" +
"\n\010indexNum\030\006 \002(\005\022\034\n\010storedPs\030\007 \003(\0132\n.PSI" +
"dProto\"e\n\017MatrixMetaProto\022*\n\rmatrixConte" +
"xt\030\001 \002(\0132\023.MatrixContextProto\022&\n\tpartMet" +
"as\030\002 \003(\0132\023.PartitionMetaProto\".\n\013MatrixC",
"lock\022\020\n\010matrixId\030\001 \002(\005\022\r\n\005clock\030\002 \002(\005\")\n" +
"\rLocationProto\022\n\n\002ip\030\001 \002(\t\022\014\n\004port\030\002 \002(\005" +
"\"\203\001\n\024PSAgentLocationProto\022\"\n\tpsAgentId\030\001" +
" \002(\0132\017.PSAgentIdProto\022%\n\rpsAgentStatus\030\002" +
" \002(\0162\016.PSAgentStatus\022 \n\010location\030\003 \001(\0132\016" +
".LocationProto\"j\n\017PSLocationProto\022\030\n\004psI" +
"d\030\001 \002(\0132\n.PSIdProto\022\033\n\010psStatus\030\002 \002(\0162\t." +
"PSStatus\022 \n\010location\030\003 \001(\0132\016.LocationPro" +
"to\">\n\025CreateMatricesRequest\022%\n\010matrices\030" +
"\001 \003(\0132\023.MatrixContextProto\"\030\n\026CreateMatr",
"icesResponse\"\031\n\027GetAllPSLocationRequest\"" +
"A\n\030GetAllPSLocationResponse\022%\n\013psLocatio" +
"ns\030\001 \003(\0132\020.PSLocationProto\"0\n\024GetPSLocat" +
"ionRequest\022\030\n\004psId\030\001 \002(\0132\n.PSIdProto\"<\n\024" +
"GetPSLocationReponse\022$\n\npsLocation\030\001 \002(\013" +
"2\020.PSLocationProto\"2\n\033CheckMatricesCreat" +
"edRequest\022\023\n\013matrixNames\030\001 \003(\t\";\n\034CheckM" +
"atricesCreatedResponse\022\016\n\006status\030\001 \002(\005\022\013" +
"\n\003log\030\002 \001(\t\"-\n\rIntKeyCounter\022\013\n\003key\030\001 \002(" +
"\005\022\017\n\007counter\030\002 \002(\005\"w\n\027ServerFailedReport",
"Proto\022\030\n\004psId\030\001 \002(\0132\n.PSIdProto\022 \n\010locat" +
"ion\030\002 \002(\0132\016.LocationProto\022 \n\010counters\030\003 " +
"\003(\0132\016.IntKeyCounter\"F\n\031ServerFailedRepor" +
"tRequest\022)\n\007reports\030\001 \003(\0132\030.ServerFailed" +
"ReportProto\"\034\n\032ServerFailedReportRespons" +
"e\":\n\026GetPartLocationRequest\022\020\n\010matrixId\030" +
"\001 \002(\005\022\016\n\006partId\030\002 \002(\005\">\n\027GetPartLocation" +
"Response\022#\n\tlocations\030\001 \003(\0132\020.PSLocation" +
"Proto\"7\n\023GetStoredPssRequest\022\020\n\010matrixId" +
"\030\001 \002(\005\022\016\n\006partId\030\002 \002(\005\"1\n\024GetStoredPssRe",
"sponse\022\031\n\005psIds\030\001 \003(\0132\n.PSIdProto\"E\n\024PSF" +
"ailedReportsProto\022-\n\017psFailedReports\030\001 \003" +
"(\0132\024.PSFailedReportProto\"M\n\023PSFailedRepo" +
"rtProto\022\037\n\005psLoc\030\001 \002(\0132\020.PSLocationProto" +
"\022\025\n\rfailedCounter\030\002 \002(\005*)\n\014MatrixStatus\022" +
"\017\n\013M_NOT_READY\020\001\022\010\n\004M_OK\020\002*&\n\010PSStatus\022\t" +
"\n\005PS_OK\020\001\022\017\n\013PS_NOTREADY\020\002*5\n\rPSAgentSta" +
"tus\022\016\n\nPSAGENT_OK\020\001\022\024\n\020PSAGENT_NOTREADY\020" +
"\002*O\n\014CommitStatus\022\017\n\013CommitReady\020\001\022\016\n\nCo" +
"mmitBusy\020\002\022\021\n\rCommitExpired\020\003\022\013\n\007Invalid",
"\020\004B8\n$com.tencent.angel.protobuf.generat" +
"edB\010MLProtosH\001\210\001\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_Pair_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Pair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Pair_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_WorkerGroupIdProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_WorkerGroupIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_WorkerGroupIdProto_descriptor,
new java.lang.String[] { "WorkerGroupIndex", });
internal_static_WorkerIdProto_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_WorkerIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_WorkerIdProto_descriptor,
new java.lang.String[] { "WorkerGroupId", "WorkerIndex", });
internal_static_WorkerAttemptIdProto_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_WorkerAttemptIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_WorkerAttemptIdProto_descriptor,
new java.lang.String[] { "WorkerId", "AttemptIndex", });
internal_static_TaskIdProto_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_TaskIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_TaskIdProto_descriptor,
new java.lang.String[] { "TaskIndex", });
internal_static_PSIdProto_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_PSIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSIdProto_descriptor,
new java.lang.String[] { "PsIndex", });
internal_static_PSAttemptIdProto_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_PSAttemptIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSAttemptIdProto_descriptor,
new java.lang.String[] { "PsId", "AttemptIndex", });
internal_static_PSAgentIdProto_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_PSAgentIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSAgentIdProto_descriptor,
new java.lang.String[] { "PsAgentIndex", });
internal_static_PSAgentAttemptIdProto_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_PSAgentAttemptIdProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSAgentAttemptIdProto_descriptor,
new java.lang.String[] { "PsAgentId", "AttemptIndex", });
internal_static_MatrixContextProto_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_MatrixContextProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_MatrixContextProto_descriptor,
new java.lang.String[] { "Id", "Name", "RowNum", "ColNum", "IndexStart", "IndexEnd", "ValidIndexNum", "BlockRowNum", "BlockColNum", "RowType", "PartitionerClassName", "Parts", "Attribute", "InitFunc", });
internal_static_PartContextProto_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_PartContextProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PartContextProto_descriptor,
new java.lang.String[] { "StartRow", "StartCol", "EndRow", "EndCol", "IndexNum", });
internal_static_PartitionMetaProto_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_PartitionMetaProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PartitionMetaProto_descriptor,
new java.lang.String[] { "PartitionId", "StartRow", "StartCol", "EndRow", "EndCol", "IndexNum", "StoredPs", });
internal_static_MatrixMetaProto_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_MatrixMetaProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_MatrixMetaProto_descriptor,
new java.lang.String[] { "MatrixContext", "PartMetas", });
internal_static_MatrixClock_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_MatrixClock_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_MatrixClock_descriptor,
new java.lang.String[] { "MatrixId", "Clock", });
internal_static_LocationProto_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_LocationProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_LocationProto_descriptor,
new java.lang.String[] { "Ip", "Port", });
internal_static_PSAgentLocationProto_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_PSAgentLocationProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSAgentLocationProto_descriptor,
new java.lang.String[] { "PsAgentId", "PsAgentStatus", "Location", });
internal_static_PSLocationProto_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_PSLocationProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSLocationProto_descriptor,
new java.lang.String[] { "PsId", "PsStatus", "Location", });
internal_static_CreateMatricesRequest_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_CreateMatricesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CreateMatricesRequest_descriptor,
new java.lang.String[] { "Matrices", });
internal_static_CreateMatricesResponse_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_CreateMatricesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CreateMatricesResponse_descriptor,
new java.lang.String[] { });
internal_static_GetAllPSLocationRequest_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_GetAllPSLocationRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetAllPSLocationRequest_descriptor,
new java.lang.String[] { });
internal_static_GetAllPSLocationResponse_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_GetAllPSLocationResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetAllPSLocationResponse_descriptor,
new java.lang.String[] { "PsLocations", });
internal_static_GetPSLocationRequest_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_GetPSLocationRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetPSLocationRequest_descriptor,
new java.lang.String[] { "PsId", });
internal_static_GetPSLocationReponse_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_GetPSLocationReponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetPSLocationReponse_descriptor,
new java.lang.String[] { "PsLocation", });
internal_static_CheckMatricesCreatedRequest_descriptor =
getDescriptor().getMessageTypes().get(23);
internal_static_CheckMatricesCreatedRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CheckMatricesCreatedRequest_descriptor,
new java.lang.String[] { "MatrixNames", });
internal_static_CheckMatricesCreatedResponse_descriptor =
getDescriptor().getMessageTypes().get(24);
internal_static_CheckMatricesCreatedResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CheckMatricesCreatedResponse_descriptor,
new java.lang.String[] { "Status", "Log", });
internal_static_IntKeyCounter_descriptor =
getDescriptor().getMessageTypes().get(25);
internal_static_IntKeyCounter_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_IntKeyCounter_descriptor,
new java.lang.String[] { "Key", "Counter", });
internal_static_ServerFailedReportProto_descriptor =
getDescriptor().getMessageTypes().get(26);
internal_static_ServerFailedReportProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ServerFailedReportProto_descriptor,
new java.lang.String[] { "PsId", "Location", "Counters", });
internal_static_ServerFailedReportRequest_descriptor =
getDescriptor().getMessageTypes().get(27);
internal_static_ServerFailedReportRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ServerFailedReportRequest_descriptor,
new java.lang.String[] { "Reports", });
internal_static_ServerFailedReportResponse_descriptor =
getDescriptor().getMessageTypes().get(28);
internal_static_ServerFailedReportResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ServerFailedReportResponse_descriptor,
new java.lang.String[] { });
internal_static_GetPartLocationRequest_descriptor =
getDescriptor().getMessageTypes().get(29);
internal_static_GetPartLocationRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetPartLocationRequest_descriptor,
new java.lang.String[] { "MatrixId", "PartId", });
internal_static_GetPartLocationResponse_descriptor =
getDescriptor().getMessageTypes().get(30);
internal_static_GetPartLocationResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetPartLocationResponse_descriptor,
new java.lang.String[] { "Locations", });
internal_static_GetStoredPssRequest_descriptor =
getDescriptor().getMessageTypes().get(31);
internal_static_GetStoredPssRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetStoredPssRequest_descriptor,
new java.lang.String[] { "MatrixId", "PartId", });
internal_static_GetStoredPssResponse_descriptor =
getDescriptor().getMessageTypes().get(32);
internal_static_GetStoredPssResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetStoredPssResponse_descriptor,
new java.lang.String[] { "PsIds", });
internal_static_PSFailedReportsProto_descriptor =
getDescriptor().getMessageTypes().get(33);
internal_static_PSFailedReportsProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSFailedReportsProto_descriptor,
new java.lang.String[] { "PsFailedReports", });
internal_static_PSFailedReportProto_descriptor =
getDescriptor().getMessageTypes().get(34);
internal_static_PSFailedReportProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PSFailedReportProto_descriptor,
new java.lang.String[] { "PsLoc", "FailedCounter", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy