com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PSAgentPSService.proto
package com.tencent.angel.protobuf.generated;
public final class PSAgentPSServiceProtos {
private PSAgentPSServiceProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface GetStateRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 clientId = 1;
/**
* required int32 clientId = 1;
*/
boolean hasClientId();
/**
* required int32 clientId = 1;
*/
int getClientId();
}
/**
* Protobuf type {@code GetStateRequest}
*/
public static final class GetStateRequest extends
com.google.protobuf.GeneratedMessage
implements GetStateRequestOrBuilder {
// Use GetStateRequest.newBuilder() to construct.
private GetStateRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetStateRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetStateRequest defaultInstance;
public static GetStateRequest getDefaultInstance() {
return defaultInstance;
}
public GetStateRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetStateRequest(
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;
clientId_ = 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.PSAgentPSServiceProtos.internal_static_GetStateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetStateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetStateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetStateRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 clientId = 1;
public static final int CLIENTID_FIELD_NUMBER = 1;
private int clientId_;
/**
* required int32 clientId = 1;
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 clientId = 1;
*/
public int getClientId() {
return clientId_;
}
private void initFields() {
clientId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasClientId()) {
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, clientId_);
}
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, clientId_);
}
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.PSAgentPSServiceProtos.GetStateRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest other = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest) obj;
boolean result = true;
result = result && (hasClientId() == other.hasClientId());
if (hasClientId()) {
result = result && (getClientId()
== other.getClientId());
}
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 (hasClientId()) {
hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
hash = (53 * hash) + getClientId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest 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.PSAgentPSServiceProtos.GetStateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest 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.PSAgentPSServiceProtos.GetStateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest 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.PSAgentPSServiceProtos.GetStateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest 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.PSAgentPSServiceProtos.GetStateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest 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.PSAgentPSServiceProtos.GetStateRequest 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 GetStateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetStateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetStateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.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();
clientId_ = 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.PSAgentPSServiceProtos.internal_static_GetStateRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest build() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest buildPartial() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest result = new com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.clientId_ = clientId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest other) {
if (other == com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.getDefaultInstance()) return this;
if (other.hasClientId()) {
setClientId(other.getClientId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasClientId()) {
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.PSAgentPSServiceProtos.GetStateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 clientId = 1;
private int clientId_ ;
/**
* required int32 clientId = 1;
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 clientId = 1;
*/
public int getClientId() {
return clientId_;
}
/**
* required int32 clientId = 1;
*/
public Builder setClientId(int value) {
bitField0_ |= 0x00000001;
clientId_ = value;
onChanged();
return this;
}
/**
* required int32 clientId = 1;
*/
public Builder clearClientId() {
bitField0_ = (bitField0_ & ~0x00000001);
clientId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:GetStateRequest)
}
static {
defaultInstance = new GetStateRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetStateRequest)
}
public interface GetStateResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 state = 1;
/**
* required int32 state = 1;
*/
boolean hasState();
/**
* required int32 state = 1;
*/
int getState();
}
/**
* Protobuf type {@code GetStateResponse}
*/
public static final class GetStateResponse extends
com.google.protobuf.GeneratedMessage
implements GetStateResponseOrBuilder {
// Use GetStateResponse.newBuilder() to construct.
private GetStateResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetStateResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetStateResponse defaultInstance;
public static GetStateResponse getDefaultInstance() {
return defaultInstance;
}
public GetStateResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetStateResponse(
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;
state_ = 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.PSAgentPSServiceProtos.internal_static_GetStateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetStateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetStateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetStateResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 state = 1;
public static final int STATE_FIELD_NUMBER = 1;
private int state_;
/**
* required int32 state = 1;
*/
public boolean hasState() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 state = 1;
*/
public int getState() {
return state_;
}
private void initFields() {
state_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasState()) {
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, state_);
}
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, state_);
}
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.PSAgentPSServiceProtos.GetStateResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse other = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse) obj;
boolean result = true;
result = result && (hasState() == other.hasState());
if (hasState()) {
result = result && (getState()
== other.getState());
}
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 (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse 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.PSAgentPSServiceProtos.GetStateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse 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.PSAgentPSServiceProtos.GetStateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse 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.PSAgentPSServiceProtos.GetStateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse 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.PSAgentPSServiceProtos.GetStateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse 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.PSAgentPSServiceProtos.GetStateResponse 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 GetStateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetStateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetStateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.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();
state_ = 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.PSAgentPSServiceProtos.internal_static_GetStateResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse build() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse buildPartial() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse result = new com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.state_ = state_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse other) {
if (other == com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance()) return this;
if (other.hasState()) {
setState(other.getState());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasState()) {
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.PSAgentPSServiceProtos.GetStateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 state = 1;
private int state_ ;
/**
* required int32 state = 1;
*/
public boolean hasState() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 state = 1;
*/
public int getState() {
return state_;
}
/**
* required int32 state = 1;
*/
public Builder setState(int value) {
bitField0_ |= 0x00000001;
state_ = value;
onChanged();
return this;
}
/**
* required int32 state = 1;
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000001);
state_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:GetStateResponse)
}
static {
defaultInstance = new GetStateResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetStateResponse)
}
public interface GetTokenRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 clientId = 1;
/**
* required int32 clientId = 1;
*/
boolean hasClientId();
/**
* required int32 clientId = 1;
*/
int getClientId();
// required int32 dataSize = 2;
/**
* required int32 dataSize = 2;
*/
boolean hasDataSize();
/**
* required int32 dataSize = 2;
*/
int getDataSize();
}
/**
* Protobuf type {@code GetTokenRequest}
*/
public static final class GetTokenRequest extends
com.google.protobuf.GeneratedMessage
implements GetTokenRequestOrBuilder {
// Use GetTokenRequest.newBuilder() to construct.
private GetTokenRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetTokenRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetTokenRequest defaultInstance;
public static GetTokenRequest getDefaultInstance() {
return defaultInstance;
}
public GetTokenRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTokenRequest(
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;
clientId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
dataSize_ = 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.PSAgentPSServiceProtos.internal_static_GetTokenRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetTokenRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetTokenRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTokenRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 clientId = 1;
public static final int CLIENTID_FIELD_NUMBER = 1;
private int clientId_;
/**
* required int32 clientId = 1;
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 clientId = 1;
*/
public int getClientId() {
return clientId_;
}
// required int32 dataSize = 2;
public static final int DATASIZE_FIELD_NUMBER = 2;
private int dataSize_;
/**
* required int32 dataSize = 2;
*/
public boolean hasDataSize() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 dataSize = 2;
*/
public int getDataSize() {
return dataSize_;
}
private void initFields() {
clientId_ = 0;
dataSize_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasClientId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasDataSize()) {
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, clientId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, dataSize_);
}
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, clientId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, dataSize_);
}
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.PSAgentPSServiceProtos.GetTokenRequest)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest other = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest) obj;
boolean result = true;
result = result && (hasClientId() == other.hasClientId());
if (hasClientId()) {
result = result && (getClientId()
== other.getClientId());
}
result = result && (hasDataSize() == other.hasDataSize());
if (hasDataSize()) {
result = result && (getDataSize()
== other.getDataSize());
}
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 (hasClientId()) {
hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
hash = (53 * hash) + getClientId();
}
if (hasDataSize()) {
hash = (37 * hash) + DATASIZE_FIELD_NUMBER;
hash = (53 * hash) + getDataSize();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest 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.PSAgentPSServiceProtos.GetTokenRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest 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.PSAgentPSServiceProtos.GetTokenRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest 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.PSAgentPSServiceProtos.GetTokenRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest 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.PSAgentPSServiceProtos.GetTokenRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest 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.PSAgentPSServiceProtos.GetTokenRequest 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 GetTokenRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetTokenRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetTokenRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.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();
clientId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
dataSize_ = 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.PSAgentPSServiceProtos.internal_static_GetTokenRequest_descriptor;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest build() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest buildPartial() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest result = new com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.clientId_ = clientId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.dataSize_ = dataSize_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest) {
return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest other) {
if (other == com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.getDefaultInstance()) return this;
if (other.hasClientId()) {
setClientId(other.getClientId());
}
if (other.hasDataSize()) {
setDataSize(other.getDataSize());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasClientId()) {
return false;
}
if (!hasDataSize()) {
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.PSAgentPSServiceProtos.GetTokenRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 clientId = 1;
private int clientId_ ;
/**
* required int32 clientId = 1;
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 clientId = 1;
*/
public int getClientId() {
return clientId_;
}
/**
* required int32 clientId = 1;
*/
public Builder setClientId(int value) {
bitField0_ |= 0x00000001;
clientId_ = value;
onChanged();
return this;
}
/**
* required int32 clientId = 1;
*/
public Builder clearClientId() {
bitField0_ = (bitField0_ & ~0x00000001);
clientId_ = 0;
onChanged();
return this;
}
// required int32 dataSize = 2;
private int dataSize_ ;
/**
* required int32 dataSize = 2;
*/
public boolean hasDataSize() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 dataSize = 2;
*/
public int getDataSize() {
return dataSize_;
}
/**
* required int32 dataSize = 2;
*/
public Builder setDataSize(int value) {
bitField0_ |= 0x00000002;
dataSize_ = value;
onChanged();
return this;
}
/**
* required int32 dataSize = 2;
*/
public Builder clearDataSize() {
bitField0_ = (bitField0_ & ~0x00000002);
dataSize_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:GetTokenRequest)
}
static {
defaultInstance = new GetTokenRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetTokenRequest)
}
public interface GetTokenResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 token = 1;
/**
* required int32 token = 1;
*/
boolean hasToken();
/**
* required int32 token = 1;
*/
int getToken();
}
/**
* Protobuf type {@code GetTokenResponse}
*/
public static final class GetTokenResponse extends
com.google.protobuf.GeneratedMessage
implements GetTokenResponseOrBuilder {
// Use GetTokenResponse.newBuilder() to construct.
private GetTokenResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetTokenResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetTokenResponse defaultInstance;
public static GetTokenResponse getDefaultInstance() {
return defaultInstance;
}
public GetTokenResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTokenResponse(
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;
token_ = 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.PSAgentPSServiceProtos.internal_static_GetTokenResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetTokenResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public GetTokenResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTokenResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 token = 1;
public static final int TOKEN_FIELD_NUMBER = 1;
private int token_;
/**
* required int32 token = 1;
*/
public boolean hasToken() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 token = 1;
*/
public int getToken() {
return token_;
}
private void initFields() {
token_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasToken()) {
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, token_);
}
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, token_);
}
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.PSAgentPSServiceProtos.GetTokenResponse)) {
return super.equals(obj);
}
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse other = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse) obj;
boolean result = true;
result = result && (hasToken() == other.hasToken());
if (hasToken()) {
result = result && (getToken()
== other.getToken());
}
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 (hasToken()) {
hash = (37 * hash) + TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getToken();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse 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.PSAgentPSServiceProtos.GetTokenResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse 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.PSAgentPSServiceProtos.GetTokenResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse 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.PSAgentPSServiceProtos.GetTokenResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse 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.PSAgentPSServiceProtos.GetTokenResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse 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.PSAgentPSServiceProtos.GetTokenResponse 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 GetTokenResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetTokenResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.internal_static_GetTokenResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.class, com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.Builder.class);
}
// Construct using com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.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();
token_ = 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.PSAgentPSServiceProtos.internal_static_GetTokenResponse_descriptor;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse getDefaultInstanceForType() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance();
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse build() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse buildPartial() {
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse result = new com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.token_ = token_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse) {
return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse other) {
if (other == com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance()) return this;
if (other.hasToken()) {
setToken(other.getToken());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasToken()) {
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.PSAgentPSServiceProtos.GetTokenResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 token = 1;
private int token_ ;
/**
* required int32 token = 1;
*/
public boolean hasToken() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 token = 1;
*/
public int getToken() {
return token_;
}
/**
* required int32 token = 1;
*/
public Builder setToken(int value) {
bitField0_ |= 0x00000001;
token_ = value;
onChanged();
return this;
}
/**
* required int32 token = 1;
*/
public Builder clearToken() {
bitField0_ = (bitField0_ & ~0x00000001);
token_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:GetTokenResponse)
}
static {
defaultInstance = new GetTokenResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GetTokenResponse)
}
/**
* Protobuf service {@code PSAgentPSService}
*/
public static abstract class PSAgentPSService
implements com.google.protobuf.Service {
protected PSAgentPSService() {}
public interface Interface {
/**
* rpc getState(.GetStateRequest) returns (.GetStateResponse);
*/
public abstract void getState(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest request,
com.google.protobuf.RpcCallback done);
/**
* rpc getToken(.GetTokenRequest) returns (.GetTokenResponse);
*/
public abstract void getToken(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest request,
com.google.protobuf.RpcCallback done);
}
public static com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new PSAgentPSService() {
@java.lang.Override
public void getState(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest request,
com.google.protobuf.RpcCallback done) {
impl.getState(controller, request, done);
}
@java.lang.Override
public void getToken(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest request,
com.google.protobuf.RpcCallback done) {
impl.getToken(controller, request, done);
}
};
}
public static com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new com.google.protobuf.BlockingService() {
public final com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final com.google.protobuf.Message callBlockingMethod(
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request)
throws com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.getState(controller, (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest)request);
case 1:
return impl.getToken(controller, (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getRequestPrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.getDefaultInstance();
case 1:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getResponsePrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance();
case 1:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc getState(.GetStateRequest) returns (.GetStateResponse);
*/
public abstract void getState(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest request,
com.google.protobuf.RpcCallback done);
/**
* rpc getToken(.GetTokenRequest) returns (.GetTokenResponse);
*/
public abstract void getToken(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest request,
com.google.protobuf.RpcCallback done);
public static final
com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.getDescriptor().getServices().get(0);
}
public final com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<
com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.getState(controller, (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.getToken(controller, (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getRequestPrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest.getDefaultInstance();
case 1:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getResponsePrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance();
case 1:
return com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.PSAgentPSService implements Interface {
private Stub(com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final com.google.protobuf.RpcChannel channel;
public com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void getState(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.class,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance()));
}
public void getToken(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.class,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse getState(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest request)
throws com.google.protobuf.ServiceException;
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse getToken(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest request)
throws com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final com.google.protobuf.BlockingRpcChannel channel;
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse getState(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateRequest request)
throws com.google.protobuf.ServiceException {
return (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetStateResponse.getDefaultInstance());
}
public com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse getToken(
com.google.protobuf.RpcController controller,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenRequest request)
throws com.google.protobuf.ServiceException {
return (com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
com.tencent.angel.protobuf.generated.PSAgentPSServiceProtos.GetTokenResponse.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:PSAgentPSService)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetStateRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetStateRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetStateResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetStateResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetTokenRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetTokenRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GetTokenResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GetTokenResponse_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\026PSAgentPSService.proto\032\010ML.proto\"#\n\017Ge" +
"tStateRequest\022\020\n\010clientId\030\001 \002(\005\"!\n\020GetSt" +
"ateResponse\022\r\n\005state\030\001 \002(\005\"5\n\017GetTokenRe" +
"quest\022\020\n\010clientId\030\001 \002(\005\022\020\n\010dataSize\030\002 \002(" +
"\005\"!\n\020GetTokenResponse\022\r\n\005token\030\001 \002(\0052t\n\020" +
"PSAgentPSService\022/\n\010getState\022\020.GetStateR" +
"equest\032\021.GetStateResponse\022/\n\010getToken\022\020." +
"GetTokenRequest\032\021.GetTokenResponseBF\n$co" +
"m.tencent.angel.protobuf.generatedB\026PSAg" +
"entPSServiceProtosH\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_GetStateRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GetStateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetStateRequest_descriptor,
new java.lang.String[] { "ClientId", });
internal_static_GetStateResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_GetStateResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetStateResponse_descriptor,
new java.lang.String[] { "State", });
internal_static_GetTokenRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_GetTokenRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetTokenRequest_descriptor,
new java.lang.String[] { "ClientId", "DataSize", });
internal_static_GetTokenResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_GetTokenResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetTokenResponse_descriptor,
new java.lang.String[] { "Token", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.tencent.angel.protobuf.generated.MLProtos.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}