in.dragonbra.javasteam.protobufs.tf.Steammessages Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: in/dragonbra/javasteam/protobufs/tf/steammessages.proto
// Protobuf Java Version: 4.28.0
package in.dragonbra.javasteam.protobufs.tf;
public final class Steammessages {
private Steammessages() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
Steammessages.class.getName());
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(in.dragonbra.javasteam.protobufs.tf.Steammessages.keyField);
registry.add(in.dragonbra.javasteam.protobufs.tf.Steammessages.msgpoolSoftLimit);
registry.add(in.dragonbra.javasteam.protobufs.tf.Steammessages.msgpoolHardLimit);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code GCProtoBufMsgSrc}
*/
public enum GCProtoBufMsgSrc
implements com.google.protobuf.ProtocolMessageEnum {
/**
* GCProtoBufMsgSrc_Unspecified = 0;
*/
GCProtoBufMsgSrc_Unspecified(0),
/**
* GCProtoBufMsgSrc_FromSystem = 1;
*/
GCProtoBufMsgSrc_FromSystem(1),
/**
* GCProtoBufMsgSrc_FromSteamID = 2;
*/
GCProtoBufMsgSrc_FromSteamID(2),
/**
* GCProtoBufMsgSrc_FromGC = 3;
*/
GCProtoBufMsgSrc_FromGC(3),
/**
* GCProtoBufMsgSrc_ReplySystem = 4;
*/
GCProtoBufMsgSrc_ReplySystem(4),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
GCProtoBufMsgSrc.class.getName());
}
/**
* GCProtoBufMsgSrc_Unspecified = 0;
*/
public static final int GCProtoBufMsgSrc_Unspecified_VALUE = 0;
/**
* GCProtoBufMsgSrc_FromSystem = 1;
*/
public static final int GCProtoBufMsgSrc_FromSystem_VALUE = 1;
/**
* GCProtoBufMsgSrc_FromSteamID = 2;
*/
public static final int GCProtoBufMsgSrc_FromSteamID_VALUE = 2;
/**
* GCProtoBufMsgSrc_FromGC = 3;
*/
public static final int GCProtoBufMsgSrc_FromGC_VALUE = 3;
/**
* GCProtoBufMsgSrc_ReplySystem = 4;
*/
public static final int GCProtoBufMsgSrc_ReplySystem_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GCProtoBufMsgSrc valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static GCProtoBufMsgSrc forNumber(int value) {
switch (value) {
case 0: return GCProtoBufMsgSrc_Unspecified;
case 1: return GCProtoBufMsgSrc_FromSystem;
case 2: return GCProtoBufMsgSrc_FromSteamID;
case 3: return GCProtoBufMsgSrc_FromGC;
case 4: return GCProtoBufMsgSrc_ReplySystem;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GCProtoBufMsgSrc> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public GCProtoBufMsgSrc findValueByNumber(int number) {
return GCProtoBufMsgSrc.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.getDescriptor().getEnumTypes().get(0);
}
private static final GCProtoBufMsgSrc[] VALUES = values();
public static GCProtoBufMsgSrc 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 value;
private GCProtoBufMsgSrc(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:GCProtoBufMsgSrc)
}
public interface CMsgProtoBufHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgProtoBufHeader)
com.google.protobuf.MessageOrBuilder {
/**
* optional fixed64 client_steam_id = 1;
* @return Whether the clientSteamId field is set.
*/
boolean hasClientSteamId();
/**
* optional fixed64 client_steam_id = 1;
* @return The clientSteamId.
*/
long getClientSteamId();
/**
* optional int32 client_session_id = 2;
* @return Whether the clientSessionId field is set.
*/
boolean hasClientSessionId();
/**
* optional int32 client_session_id = 2;
* @return The clientSessionId.
*/
int getClientSessionId();
/**
* optional uint32 source_app_id = 3;
* @return Whether the sourceAppId field is set.
*/
boolean hasSourceAppId();
/**
* optional uint32 source_app_id = 3;
* @return The sourceAppId.
*/
int getSourceAppId();
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return Whether the jobIdSource field is set.
*/
boolean hasJobIdSource();
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return The jobIdSource.
*/
long getJobIdSource();
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return Whether the jobIdTarget field is set.
*/
boolean hasJobIdTarget();
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return The jobIdTarget.
*/
long getJobIdTarget();
/**
* optional string target_job_name = 12;
* @return Whether the targetJobName field is set.
*/
boolean hasTargetJobName();
/**
* optional string target_job_name = 12;
* @return The targetJobName.
*/
java.lang.String getTargetJobName();
/**
* optional string target_job_name = 12;
* @return The bytes for targetJobName.
*/
com.google.protobuf.ByteString
getTargetJobNameBytes();
/**
* optional int32 eresult = 13 [default = 2];
* @return Whether the eresult field is set.
*/
boolean hasEresult();
/**
* optional int32 eresult = 13 [default = 2];
* @return The eresult.
*/
int getEresult();
/**
* optional string error_message = 14;
* @return Whether the errorMessage field is set.
*/
boolean hasErrorMessage();
/**
* optional string error_message = 14;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* optional string error_message = 14;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return Whether the gcMsgSrc field is set.
*/
boolean hasGcMsgSrc();
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return The gcMsgSrc.
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc getGcMsgSrc();
/**
* optional uint32 gc_dir_index_source = 201;
* @return Whether the gcDirIndexSource field is set.
*/
boolean hasGcDirIndexSource();
/**
* optional uint32 gc_dir_index_source = 201;
* @return The gcDirIndexSource.
*/
int getGcDirIndexSource();
}
/**
* Protobuf type {@code CMsgProtoBufHeader}
*/
public static final class CMsgProtoBufHeader extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgProtoBufHeader)
CMsgProtoBufHeaderOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgProtoBufHeader.class.getName());
}
// Use CMsgProtoBufHeader.newBuilder() to construct.
private CMsgProtoBufHeader(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgProtoBufHeader() {
jobIdSource_ = -1L;
jobIdTarget_ = -1L;
targetJobName_ = "";
eresult_ = 2;
errorMessage_ = "";
gcMsgSrc_ = 0;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgProtoBufHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgProtoBufHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.Builder.class);
}
private int bitField0_;
public static final int CLIENT_STEAM_ID_FIELD_NUMBER = 1;
private long clientSteamId_ = 0L;
/**
* optional fixed64 client_steam_id = 1;
* @return Whether the clientSteamId field is set.
*/
@java.lang.Override
public boolean hasClientSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 client_steam_id = 1;
* @return The clientSteamId.
*/
@java.lang.Override
public long getClientSteamId() {
return clientSteamId_;
}
public static final int CLIENT_SESSION_ID_FIELD_NUMBER = 2;
private int clientSessionId_ = 0;
/**
* optional int32 client_session_id = 2;
* @return Whether the clientSessionId field is set.
*/
@java.lang.Override
public boolean hasClientSessionId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 client_session_id = 2;
* @return The clientSessionId.
*/
@java.lang.Override
public int getClientSessionId() {
return clientSessionId_;
}
public static final int SOURCE_APP_ID_FIELD_NUMBER = 3;
private int sourceAppId_ = 0;
/**
* optional uint32 source_app_id = 3;
* @return Whether the sourceAppId field is set.
*/
@java.lang.Override
public boolean hasSourceAppId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 source_app_id = 3;
* @return The sourceAppId.
*/
@java.lang.Override
public int getSourceAppId() {
return sourceAppId_;
}
public static final int JOB_ID_SOURCE_FIELD_NUMBER = 10;
private long jobIdSource_ = -1L;
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return Whether the jobIdSource field is set.
*/
@java.lang.Override
public boolean hasJobIdSource() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return The jobIdSource.
*/
@java.lang.Override
public long getJobIdSource() {
return jobIdSource_;
}
public static final int JOB_ID_TARGET_FIELD_NUMBER = 11;
private long jobIdTarget_ = -1L;
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return Whether the jobIdTarget field is set.
*/
@java.lang.Override
public boolean hasJobIdTarget() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return The jobIdTarget.
*/
@java.lang.Override
public long getJobIdTarget() {
return jobIdTarget_;
}
public static final int TARGET_JOB_NAME_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object targetJobName_ = "";
/**
* optional string target_job_name = 12;
* @return Whether the targetJobName field is set.
*/
@java.lang.Override
public boolean hasTargetJobName() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string target_job_name = 12;
* @return The targetJobName.
*/
@java.lang.Override
public java.lang.String getTargetJobName() {
java.lang.Object ref = targetJobName_;
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()) {
targetJobName_ = s;
}
return s;
}
}
/**
* optional string target_job_name = 12;
* @return The bytes for targetJobName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetJobNameBytes() {
java.lang.Object ref = targetJobName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetJobName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERESULT_FIELD_NUMBER = 13;
private int eresult_ = 2;
/**
* optional int32 eresult = 13 [default = 2];
* @return Whether the eresult field is set.
*/
@java.lang.Override
public boolean hasEresult() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int32 eresult = 13 [default = 2];
* @return The eresult.
*/
@java.lang.Override
public int getEresult() {
return eresult_;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object errorMessage_ = "";
/**
* optional string error_message = 14;
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string error_message = 14;
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
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()) {
errorMessage_ = s;
}
return s;
}
}
/**
* optional string error_message = 14;
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GC_MSG_SRC_FIELD_NUMBER = 200;
private int gcMsgSrc_ = 0;
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return Whether the gcMsgSrc field is set.
*/
@java.lang.Override public boolean hasGcMsgSrc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return The gcMsgSrc.
*/
@java.lang.Override public in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc getGcMsgSrc() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc result = in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc.forNumber(gcMsgSrc_);
return result == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc.GCProtoBufMsgSrc_Unspecified : result;
}
public static final int GC_DIR_INDEX_SOURCE_FIELD_NUMBER = 201;
private int gcDirIndexSource_ = 0;
/**
* optional uint32 gc_dir_index_source = 201;
* @return Whether the gcDirIndexSource field is set.
*/
@java.lang.Override
public boolean hasGcDirIndexSource() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint32 gc_dir_index_source = 201;
* @return The gcDirIndexSource.
*/
@java.lang.Override
public int getGcDirIndexSource() {
return gcDirIndexSource_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeFixed64(1, clientSteamId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, clientSessionId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, sourceAppId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeFixed64(10, jobIdSource_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeFixed64(11, jobIdTarget_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 12, targetJobName_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt32(13, eresult_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 14, errorMessage_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeEnum(200, gcMsgSrc_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeUInt32(201, gcDirIndexSource_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(1, clientSteamId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, clientSessionId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, sourceAppId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(10, jobIdSource_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(11, jobIdTarget_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(12, targetJobName_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, eresult_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(14, errorMessage_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(200, gcMsgSrc_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(201, gcDirIndexSource_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader) obj;
if (hasClientSteamId() != other.hasClientSteamId()) return false;
if (hasClientSteamId()) {
if (getClientSteamId()
!= other.getClientSteamId()) return false;
}
if (hasClientSessionId() != other.hasClientSessionId()) return false;
if (hasClientSessionId()) {
if (getClientSessionId()
!= other.getClientSessionId()) return false;
}
if (hasSourceAppId() != other.hasSourceAppId()) return false;
if (hasSourceAppId()) {
if (getSourceAppId()
!= other.getSourceAppId()) return false;
}
if (hasJobIdSource() != other.hasJobIdSource()) return false;
if (hasJobIdSource()) {
if (getJobIdSource()
!= other.getJobIdSource()) return false;
}
if (hasJobIdTarget() != other.hasJobIdTarget()) return false;
if (hasJobIdTarget()) {
if (getJobIdTarget()
!= other.getJobIdTarget()) return false;
}
if (hasTargetJobName() != other.hasTargetJobName()) return false;
if (hasTargetJobName()) {
if (!getTargetJobName()
.equals(other.getTargetJobName())) return false;
}
if (hasEresult() != other.hasEresult()) return false;
if (hasEresult()) {
if (getEresult()
!= other.getEresult()) return false;
}
if (hasErrorMessage() != other.hasErrorMessage()) return false;
if (hasErrorMessage()) {
if (!getErrorMessage()
.equals(other.getErrorMessage())) return false;
}
if (hasGcMsgSrc() != other.hasGcMsgSrc()) return false;
if (hasGcMsgSrc()) {
if (gcMsgSrc_ != other.gcMsgSrc_) return false;
}
if (hasGcDirIndexSource() != other.hasGcDirIndexSource()) return false;
if (hasGcDirIndexSource()) {
if (getGcDirIndexSource()
!= other.getGcDirIndexSource()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasClientSteamId()) {
hash = (37 * hash) + CLIENT_STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getClientSteamId());
}
if (hasClientSessionId()) {
hash = (37 * hash) + CLIENT_SESSION_ID_FIELD_NUMBER;
hash = (53 * hash) + getClientSessionId();
}
if (hasSourceAppId()) {
hash = (37 * hash) + SOURCE_APP_ID_FIELD_NUMBER;
hash = (53 * hash) + getSourceAppId();
}
if (hasJobIdSource()) {
hash = (37 * hash) + JOB_ID_SOURCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJobIdSource());
}
if (hasJobIdTarget()) {
hash = (37 * hash) + JOB_ID_TARGET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJobIdTarget());
}
if (hasTargetJobName()) {
hash = (37 * hash) + TARGET_JOB_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTargetJobName().hashCode();
}
if (hasEresult()) {
hash = (37 * hash) + ERESULT_FIELD_NUMBER;
hash = (53 * hash) + getEresult();
}
if (hasErrorMessage()) {
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
}
if (hasGcMsgSrc()) {
hash = (37 * hash) + GC_MSG_SRC_FIELD_NUMBER;
hash = (53 * hash) + gcMsgSrc_;
}
if (hasGcDirIndexSource()) {
hash = (37 * hash) + GC_DIR_INDEX_SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getGcDirIndexSource();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgProtoBufHeader}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgProtoBufHeader)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeaderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgProtoBufHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgProtoBufHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
clientSteamId_ = 0L;
clientSessionId_ = 0;
sourceAppId_ = 0;
jobIdSource_ = -1L;
jobIdTarget_ = -1L;
targetJobName_ = "";
eresult_ = 2;
errorMessage_ = "";
gcMsgSrc_ = 0;
gcDirIndexSource_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgProtoBufHeader_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.clientSteamId_ = clientSteamId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.clientSessionId_ = clientSessionId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.sourceAppId_ = sourceAppId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.jobIdSource_ = jobIdSource_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.jobIdTarget_ = jobIdTarget_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.targetJobName_ = targetJobName_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.eresult_ = eresult_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.errorMessage_ = errorMessage_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.gcMsgSrc_ = gcMsgSrc_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.gcDirIndexSource_ = gcDirIndexSource_;
to_bitField0_ |= 0x00000200;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader.getDefaultInstance()) return this;
if (other.hasClientSteamId()) {
setClientSteamId(other.getClientSteamId());
}
if (other.hasClientSessionId()) {
setClientSessionId(other.getClientSessionId());
}
if (other.hasSourceAppId()) {
setSourceAppId(other.getSourceAppId());
}
if (other.hasJobIdSource()) {
setJobIdSource(other.getJobIdSource());
}
if (other.hasJobIdTarget()) {
setJobIdTarget(other.getJobIdTarget());
}
if (other.hasTargetJobName()) {
targetJobName_ = other.targetJobName_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasEresult()) {
setEresult(other.getEresult());
}
if (other.hasErrorMessage()) {
errorMessage_ = other.errorMessage_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasGcMsgSrc()) {
setGcMsgSrc(other.getGcMsgSrc());
}
if (other.hasGcDirIndexSource()) {
setGcDirIndexSource(other.getGcDirIndexSource());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
clientSteamId_ = input.readFixed64();
bitField0_ |= 0x00000001;
break;
} // case 9
case 16: {
clientSessionId_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
sourceAppId_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 81: {
jobIdSource_ = input.readFixed64();
bitField0_ |= 0x00000008;
break;
} // case 81
case 89: {
jobIdTarget_ = input.readFixed64();
bitField0_ |= 0x00000010;
break;
} // case 89
case 98: {
targetJobName_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 98
case 104: {
eresult_ = input.readInt32();
bitField0_ |= 0x00000040;
break;
} // case 104
case 114: {
errorMessage_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 114
case 1600: {
int tmpRaw = input.readEnum();
in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc tmpValue =
in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(200, tmpRaw);
} else {
gcMsgSrc_ = tmpRaw;
bitField0_ |= 0x00000100;
}
break;
} // case 1600
case 1608: {
gcDirIndexSource_ = input.readUInt32();
bitField0_ |= 0x00000200;
break;
} // case 1608
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long clientSteamId_ ;
/**
* optional fixed64 client_steam_id = 1;
* @return Whether the clientSteamId field is set.
*/
@java.lang.Override
public boolean hasClientSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 client_steam_id = 1;
* @return The clientSteamId.
*/
@java.lang.Override
public long getClientSteamId() {
return clientSteamId_;
}
/**
* optional fixed64 client_steam_id = 1;
* @param value The clientSteamId to set.
* @return This builder for chaining.
*/
public Builder setClientSteamId(long value) {
clientSteamId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional fixed64 client_steam_id = 1;
* @return This builder for chaining.
*/
public Builder clearClientSteamId() {
bitField0_ = (bitField0_ & ~0x00000001);
clientSteamId_ = 0L;
onChanged();
return this;
}
private int clientSessionId_ ;
/**
* optional int32 client_session_id = 2;
* @return Whether the clientSessionId field is set.
*/
@java.lang.Override
public boolean hasClientSessionId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 client_session_id = 2;
* @return The clientSessionId.
*/
@java.lang.Override
public int getClientSessionId() {
return clientSessionId_;
}
/**
* optional int32 client_session_id = 2;
* @param value The clientSessionId to set.
* @return This builder for chaining.
*/
public Builder setClientSessionId(int value) {
clientSessionId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional int32 client_session_id = 2;
* @return This builder for chaining.
*/
public Builder clearClientSessionId() {
bitField0_ = (bitField0_ & ~0x00000002);
clientSessionId_ = 0;
onChanged();
return this;
}
private int sourceAppId_ ;
/**
* optional uint32 source_app_id = 3;
* @return Whether the sourceAppId field is set.
*/
@java.lang.Override
public boolean hasSourceAppId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 source_app_id = 3;
* @return The sourceAppId.
*/
@java.lang.Override
public int getSourceAppId() {
return sourceAppId_;
}
/**
* optional uint32 source_app_id = 3;
* @param value The sourceAppId to set.
* @return This builder for chaining.
*/
public Builder setSourceAppId(int value) {
sourceAppId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 source_app_id = 3;
* @return This builder for chaining.
*/
public Builder clearSourceAppId() {
bitField0_ = (bitField0_ & ~0x00000004);
sourceAppId_ = 0;
onChanged();
return this;
}
private long jobIdSource_ = -1L;
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return Whether the jobIdSource field is set.
*/
@java.lang.Override
public boolean hasJobIdSource() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return The jobIdSource.
*/
@java.lang.Override
public long getJobIdSource() {
return jobIdSource_;
}
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @param value The jobIdSource to set.
* @return This builder for chaining.
*/
public Builder setJobIdSource(long value) {
jobIdSource_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional fixed64 job_id_source = 10 [default = 18446744073709551615];
* @return This builder for chaining.
*/
public Builder clearJobIdSource() {
bitField0_ = (bitField0_ & ~0x00000008);
jobIdSource_ = -1L;
onChanged();
return this;
}
private long jobIdTarget_ = -1L;
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return Whether the jobIdTarget field is set.
*/
@java.lang.Override
public boolean hasJobIdTarget() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return The jobIdTarget.
*/
@java.lang.Override
public long getJobIdTarget() {
return jobIdTarget_;
}
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @param value The jobIdTarget to set.
* @return This builder for chaining.
*/
public Builder setJobIdTarget(long value) {
jobIdTarget_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional fixed64 job_id_target = 11 [default = 18446744073709551615];
* @return This builder for chaining.
*/
public Builder clearJobIdTarget() {
bitField0_ = (bitField0_ & ~0x00000010);
jobIdTarget_ = -1L;
onChanged();
return this;
}
private java.lang.Object targetJobName_ = "";
/**
* optional string target_job_name = 12;
* @return Whether the targetJobName field is set.
*/
public boolean hasTargetJobName() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string target_job_name = 12;
* @return The targetJobName.
*/
public java.lang.String getTargetJobName() {
java.lang.Object ref = targetJobName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
targetJobName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string target_job_name = 12;
* @return The bytes for targetJobName.
*/
public com.google.protobuf.ByteString
getTargetJobNameBytes() {
java.lang.Object ref = targetJobName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetJobName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string target_job_name = 12;
* @param value The targetJobName to set.
* @return This builder for chaining.
*/
public Builder setTargetJobName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
targetJobName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional string target_job_name = 12;
* @return This builder for chaining.
*/
public Builder clearTargetJobName() {
targetJobName_ = getDefaultInstance().getTargetJobName();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* optional string target_job_name = 12;
* @param value The bytes for targetJobName to set.
* @return This builder for chaining.
*/
public Builder setTargetJobNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
targetJobName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private int eresult_ = 2;
/**
* optional int32 eresult = 13 [default = 2];
* @return Whether the eresult field is set.
*/
@java.lang.Override
public boolean hasEresult() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int32 eresult = 13 [default = 2];
* @return The eresult.
*/
@java.lang.Override
public int getEresult() {
return eresult_;
}
/**
* optional int32 eresult = 13 [default = 2];
* @param value The eresult to set.
* @return This builder for chaining.
*/
public Builder setEresult(int value) {
eresult_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional int32 eresult = 13 [default = 2];
* @return This builder for chaining.
*/
public Builder clearEresult() {
bitField0_ = (bitField0_ & ~0x00000040);
eresult_ = 2;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* optional string error_message = 14;
* @return Whether the errorMessage field is set.
*/
public boolean hasErrorMessage() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string error_message = 14;
* @return The errorMessage.
*/
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
errorMessage_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string error_message = 14;
* @return The bytes for errorMessage.
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string error_message = 14;
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
errorMessage_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional string error_message = 14;
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* optional string error_message = 14;
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
errorMessage_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private int gcMsgSrc_ = 0;
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return Whether the gcMsgSrc field is set.
*/
@java.lang.Override public boolean hasGcMsgSrc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return The gcMsgSrc.
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc getGcMsgSrc() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc result = in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc.forNumber(gcMsgSrc_);
return result == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc.GCProtoBufMsgSrc_Unspecified : result;
}
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @param value The gcMsgSrc to set.
* @return This builder for chaining.
*/
public Builder setGcMsgSrc(in.dragonbra.javasteam.protobufs.tf.Steammessages.GCProtoBufMsgSrc value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
gcMsgSrc_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
* @return This builder for chaining.
*/
public Builder clearGcMsgSrc() {
bitField0_ = (bitField0_ & ~0x00000100);
gcMsgSrc_ = 0;
onChanged();
return this;
}
private int gcDirIndexSource_ ;
/**
* optional uint32 gc_dir_index_source = 201;
* @return Whether the gcDirIndexSource field is set.
*/
@java.lang.Override
public boolean hasGcDirIndexSource() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint32 gc_dir_index_source = 201;
* @return The gcDirIndexSource.
*/
@java.lang.Override
public int getGcDirIndexSource() {
return gcDirIndexSource_;
}
/**
* optional uint32 gc_dir_index_source = 201;
* @param value The gcDirIndexSource to set.
* @return This builder for chaining.
*/
public Builder setGcDirIndexSource(int value) {
gcDirIndexSource_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional uint32 gc_dir_index_source = 201;
* @return This builder for chaining.
*/
public Builder clearGcDirIndexSource() {
bitField0_ = (bitField0_ & ~0x00000200);
gcDirIndexSource_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgProtoBufHeader)
}
// @@protoc_insertion_point(class_scope:CMsgProtoBufHeader)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgProtoBufHeader parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgProtoBufHeader getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgWebAPIKeyOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgWebAPIKey)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 status = 1 [default = 255];
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* optional uint32 status = 1 [default = 255];
* @return The status.
*/
int getStatus();
/**
* optional uint32 account_id = 2 [default = 0];
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 2 [default = 0];
* @return The accountId.
*/
int getAccountId();
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return Whether the publisherGroupId field is set.
*/
boolean hasPublisherGroupId();
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return The publisherGroupId.
*/
int getPublisherGroupId();
/**
* optional uint32 key_id = 4;
* @return Whether the keyId field is set.
*/
boolean hasKeyId();
/**
* optional uint32 key_id = 4;
* @return The keyId.
*/
int getKeyId();
/**
* optional string domain = 5;
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* optional string domain = 5;
* @return The domain.
*/
java.lang.String getDomain();
/**
* optional string domain = 5;
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* Protobuf type {@code CMsgWebAPIKey}
*/
public static final class CMsgWebAPIKey extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgWebAPIKey)
CMsgWebAPIKeyOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgWebAPIKey.class.getName());
}
// Use CMsgWebAPIKey.newBuilder() to construct.
private CMsgWebAPIKey(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgWebAPIKey() {
status_ = 255;
domain_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIKey_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private int status_ = 255;
/**
* optional uint32 status = 1 [default = 255];
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 status = 1 [default = 255];
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
public static final int ACCOUNT_ID_FIELD_NUMBER = 2;
private int accountId_ = 0;
/**
* optional uint32 account_id = 2 [default = 0];
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 account_id = 2 [default = 0];
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
public static final int PUBLISHER_GROUP_ID_FIELD_NUMBER = 3;
private int publisherGroupId_ = 0;
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return Whether the publisherGroupId field is set.
*/
@java.lang.Override
public boolean hasPublisherGroupId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return The publisherGroupId.
*/
@java.lang.Override
public int getPublisherGroupId() {
return publisherGroupId_;
}
public static final int KEY_ID_FIELD_NUMBER = 4;
private int keyId_ = 0;
/**
* optional uint32 key_id = 4;
* @return Whether the keyId field is set.
*/
@java.lang.Override
public boolean hasKeyId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 key_id = 4;
* @return The keyId.
*/
@java.lang.Override
public int getKeyId() {
return keyId_;
}
public static final int DOMAIN_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object domain_ = "";
/**
* optional string domain = 5;
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string domain = 5;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
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()) {
domain_ = s;
}
return s;
}
}
/**
* optional string domain = 5;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, status_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, accountId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, publisherGroupId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, keyId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, domain_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, status_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, accountId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, publisherGroupId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, keyId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, domain_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (getStatus()
!= other.getStatus()) return false;
}
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (getAccountId()
!= other.getAccountId()) return false;
}
if (hasPublisherGroupId() != other.hasPublisherGroupId()) return false;
if (hasPublisherGroupId()) {
if (getPublisherGroupId()
!= other.getPublisherGroupId()) return false;
}
if (hasKeyId() != other.hasKeyId()) return false;
if (hasKeyId()) {
if (getKeyId()
!= other.getKeyId()) return false;
}
if (hasDomain() != other.hasDomain()) return false;
if (hasDomain()) {
if (!getDomain()
.equals(other.getDomain())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
}
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId();
}
if (hasPublisherGroupId()) {
hash = (37 * hash) + PUBLISHER_GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getPublisherGroupId();
}
if (hasKeyId()) {
hash = (37 * hash) + KEY_ID_FIELD_NUMBER;
hash = (53 * hash) + getKeyId();
}
if (hasDomain()) {
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgWebAPIKey}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgWebAPIKey)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIKey_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = 255;
accountId_ = 0;
publisherGroupId_ = 0;
keyId_ = 0;
domain_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIKey_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.publisherGroupId_ = publisherGroupId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.keyId_ = keyId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.domain_ = domain_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance()) return this;
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
if (other.hasPublisherGroupId()) {
setPublisherGroupId(other.getPublisherGroupId());
}
if (other.hasKeyId()) {
setKeyId(other.getKeyId());
}
if (other.hasDomain()) {
domain_ = other.domain_;
bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
status_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
accountId_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
publisherGroupId_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
keyId_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
domain_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int status_ = 255;
/**
* optional uint32 status = 1 [default = 255];
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 status = 1 [default = 255];
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
/**
* optional uint32 status = 1 [default = 255];
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
status_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 status = 1 [default = 255];
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = 255;
onChanged();
return this;
}
private int accountId_ ;
/**
* optional uint32 account_id = 2 [default = 0];
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 account_id = 2 [default = 0];
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 2 [default = 0];
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(int value) {
accountId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 account_id = 2 [default = 0];
* @return This builder for chaining.
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000002);
accountId_ = 0;
onChanged();
return this;
}
private int publisherGroupId_ ;
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return Whether the publisherGroupId field is set.
*/
@java.lang.Override
public boolean hasPublisherGroupId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return The publisherGroupId.
*/
@java.lang.Override
public int getPublisherGroupId() {
return publisherGroupId_;
}
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @param value The publisherGroupId to set.
* @return This builder for chaining.
*/
public Builder setPublisherGroupId(int value) {
publisherGroupId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 publisher_group_id = 3 [default = 0];
* @return This builder for chaining.
*/
public Builder clearPublisherGroupId() {
bitField0_ = (bitField0_ & ~0x00000004);
publisherGroupId_ = 0;
onChanged();
return this;
}
private int keyId_ ;
/**
* optional uint32 key_id = 4;
* @return Whether the keyId field is set.
*/
@java.lang.Override
public boolean hasKeyId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 key_id = 4;
* @return The keyId.
*/
@java.lang.Override
public int getKeyId() {
return keyId_;
}
/**
* optional uint32 key_id = 4;
* @param value The keyId to set.
* @return This builder for chaining.
*/
public Builder setKeyId(int value) {
keyId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 key_id = 4;
* @return This builder for chaining.
*/
public Builder clearKeyId() {
bitField0_ = (bitField0_ & ~0x00000008);
keyId_ = 0;
onChanged();
return this;
}
private java.lang.Object domain_ = "";
/**
* optional string domain = 5;
* @return Whether the domain field is set.
*/
public boolean hasDomain() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string domain = 5;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
domain_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string domain = 5;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string domain = 5;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
domain_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional string domain = 5;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* optional string domain = 5;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
domain_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgWebAPIKey)
}
// @@protoc_insertion_point(class_scope:CMsgWebAPIKey)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgWebAPIKey parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgHttpRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgHttpRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 request_method = 1;
* @return Whether the requestMethod field is set.
*/
boolean hasRequestMethod();
/**
* optional uint32 request_method = 1;
* @return The requestMethod.
*/
int getRequestMethod();
/**
* optional string hostname = 2;
* @return Whether the hostname field is set.
*/
boolean hasHostname();
/**
* optional string hostname = 2;
* @return The hostname.
*/
java.lang.String getHostname();
/**
* optional string hostname = 2;
* @return The bytes for hostname.
*/
com.google.protobuf.ByteString
getHostnameBytes();
/**
* optional string url = 3;
* @return Whether the url field is set.
*/
boolean hasUrl();
/**
* optional string url = 3;
* @return The url.
*/
java.lang.String getUrl();
/**
* optional string url = 3;
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
java.util.List
getHeadersList();
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader getHeaders(int index);
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
int getHeadersCount();
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder>
getHeadersOrBuilderList();
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder getHeadersOrBuilder(
int index);
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
java.util.List
getGetParamsList();
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getGetParams(int index);
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
int getGetParamsCount();
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getGetParamsOrBuilderList();
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder getGetParamsOrBuilder(
int index);
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
java.util.List
getPostParamsList();
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getPostParams(int index);
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
int getPostParamsCount();
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getPostParamsOrBuilderList();
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder getPostParamsOrBuilder(
int index);
/**
* optional bytes body = 7;
* @return Whether the body field is set.
*/
boolean hasBody();
/**
* optional bytes body = 7;
* @return The body.
*/
com.google.protobuf.ByteString getBody();
/**
* optional uint32 absolute_timeout = 8;
* @return Whether the absoluteTimeout field is set.
*/
boolean hasAbsoluteTimeout();
/**
* optional uint32 absolute_timeout = 8;
* @return The absoluteTimeout.
*/
int getAbsoluteTimeout();
}
/**
* Protobuf type {@code CMsgHttpRequest}
*/
public static final class CMsgHttpRequest extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgHttpRequest)
CMsgHttpRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgHttpRequest.class.getName());
}
// Use CMsgHttpRequest.newBuilder() to construct.
private CMsgHttpRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgHttpRequest() {
hostname_ = "";
url_ = "";
headers_ = java.util.Collections.emptyList();
getParams_ = java.util.Collections.emptyList();
postParams_ = java.util.Collections.emptyList();
body_ = com.google.protobuf.ByteString.EMPTY;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder.class);
}
public interface RequestHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgHttpRequest.RequestHeader)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional string value = 2;
* @return The value.
*/
java.lang.String getValue();
/**
* optional string value = 2;
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code CMsgHttpRequest.RequestHeader}
*/
public static final class RequestHeader extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgHttpRequest.RequestHeader)
RequestHeaderOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
RequestHeader.class.getName());
}
// Use RequestHeader.newBuilder() to construct.
private RequestHeader(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private RequestHeader() {
name_ = "";
value_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_RequestHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_RequestHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
@java.lang.Override
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;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
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;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2;
* @return The value.
*/
@java.lang.Override
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;
}
}
/**
* optional string value = 2;
* @return The bytes for value.
*/
@java.lang.Override
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 byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().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 in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgHttpRequest.RequestHeader}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgHttpRequest.RequestHeader)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_RequestHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_RequestHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_RequestHeader_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.getDefaultInstance()) return this;
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasValue()) {
value_ = other.value_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
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;
}
}
/**
* optional string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string value = 2;
* @return The bytes for value.
*/
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;
}
}
/**
* optional string value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string value = 2;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgHttpRequest.RequestHeader)
}
// @@protoc_insertion_point(class_scope:CMsgHttpRequest.RequestHeader)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RequestHeader parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryParamOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgHttpRequest.QueryParam)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional bytes value = 2;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code CMsgHttpRequest.QueryParam}
*/
public static final class QueryParam extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgHttpRequest.QueryParam)
QueryParamOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
QueryParam.class.getName());
}
// Use QueryParam.newBuilder() to construct.
private QueryParam(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private QueryParam() {
name_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_QueryParam_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_QueryParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
@java.lang.Override
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;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
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;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().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 in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgHttpRequest.QueryParam}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgHttpRequest.QueryParam)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_QueryParam_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_QueryParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_QueryParam_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.getDefaultInstance()) return this;
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
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;
}
}
/**
* optional string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bytes value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgHttpRequest.QueryParam)
}
// @@protoc_insertion_point(class_scope:CMsgHttpRequest.QueryParam)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryParam parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int REQUEST_METHOD_FIELD_NUMBER = 1;
private int requestMethod_ = 0;
/**
* optional uint32 request_method = 1;
* @return Whether the requestMethod field is set.
*/
@java.lang.Override
public boolean hasRequestMethod() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 request_method = 1;
* @return The requestMethod.
*/
@java.lang.Override
public int getRequestMethod() {
return requestMethod_;
}
public static final int HOSTNAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object hostname_ = "";
/**
* optional string hostname = 2;
* @return Whether the hostname field is set.
*/
@java.lang.Override
public boolean hasHostname() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string hostname = 2;
* @return The hostname.
*/
@java.lang.Override
public java.lang.String getHostname() {
java.lang.Object ref = hostname_;
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()) {
hostname_ = s;
}
return s;
}
}
/**
* optional string hostname = 2;
* @return The bytes for hostname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostnameBytes() {
java.lang.Object ref = hostname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int URL_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object url_ = "";
/**
* optional string url = 3;
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string url = 3;
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
url_ = s;
}
return s;
}
}
/**
* optional string url = 3;
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HEADERS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List headers_;
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
@java.lang.Override
public java.util.List getHeadersList() {
return headers_;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder>
getHeadersOrBuilderList() {
return headers_;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
@java.lang.Override
public int getHeadersCount() {
return headers_.size();
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader getHeaders(int index) {
return headers_.get(index);
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder getHeadersOrBuilder(
int index) {
return headers_.get(index);
}
public static final int GET_PARAMS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List getParams_;
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
@java.lang.Override
public java.util.List getGetParamsList() {
return getParams_;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getGetParamsOrBuilderList() {
return getParams_;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
@java.lang.Override
public int getGetParamsCount() {
return getParams_.size();
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getGetParams(int index) {
return getParams_.get(index);
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder getGetParamsOrBuilder(
int index) {
return getParams_.get(index);
}
public static final int POST_PARAMS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List postParams_;
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
@java.lang.Override
public java.util.List getPostParamsList() {
return postParams_;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getPostParamsOrBuilderList() {
return postParams_;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
@java.lang.Override
public int getPostParamsCount() {
return postParams_.size();
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getPostParams(int index) {
return postParams_.get(index);
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder getPostParamsOrBuilder(
int index) {
return postParams_.get(index);
}
public static final int BODY_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes body = 7;
* @return Whether the body field is set.
*/
@java.lang.Override
public boolean hasBody() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bytes body = 7;
* @return The body.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBody() {
return body_;
}
public static final int ABSOLUTE_TIMEOUT_FIELD_NUMBER = 8;
private int absoluteTimeout_ = 0;
/**
* optional uint32 absolute_timeout = 8;
* @return Whether the absoluteTimeout field is set.
*/
@java.lang.Override
public boolean hasAbsoluteTimeout() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 absolute_timeout = 8;
* @return The absoluteTimeout.
*/
@java.lang.Override
public int getAbsoluteTimeout() {
return absoluteTimeout_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, requestMethod_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, url_);
}
for (int i = 0; i < headers_.size(); i++) {
output.writeMessage(4, headers_.get(i));
}
for (int i = 0; i < getParams_.size(); i++) {
output.writeMessage(5, getParams_.get(i));
}
for (int i = 0; i < postParams_.size(); i++) {
output.writeMessage(6, postParams_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBytes(7, body_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(8, absoluteTimeout_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, requestMethod_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, url_);
}
for (int i = 0; i < headers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, headers_.get(i));
}
for (int i = 0; i < getParams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getParams_.get(i));
}
for (int i = 0; i < postParams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, postParams_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, body_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, absoluteTimeout_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest) obj;
if (hasRequestMethod() != other.hasRequestMethod()) return false;
if (hasRequestMethod()) {
if (getRequestMethod()
!= other.getRequestMethod()) return false;
}
if (hasHostname() != other.hasHostname()) return false;
if (hasHostname()) {
if (!getHostname()
.equals(other.getHostname())) return false;
}
if (hasUrl() != other.hasUrl()) return false;
if (hasUrl()) {
if (!getUrl()
.equals(other.getUrl())) return false;
}
if (!getHeadersList()
.equals(other.getHeadersList())) return false;
if (!getGetParamsList()
.equals(other.getGetParamsList())) return false;
if (!getPostParamsList()
.equals(other.getPostParamsList())) return false;
if (hasBody() != other.hasBody()) return false;
if (hasBody()) {
if (!getBody()
.equals(other.getBody())) return false;
}
if (hasAbsoluteTimeout() != other.hasAbsoluteTimeout()) return false;
if (hasAbsoluteTimeout()) {
if (getAbsoluteTimeout()
!= other.getAbsoluteTimeout()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRequestMethod()) {
hash = (37 * hash) + REQUEST_METHOD_FIELD_NUMBER;
hash = (53 * hash) + getRequestMethod();
}
if (hasHostname()) {
hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
hash = (53 * hash) + getHostname().hashCode();
}
if (hasUrl()) {
hash = (37 * hash) + URL_FIELD_NUMBER;
hash = (53 * hash) + getUrl().hashCode();
}
if (getHeadersCount() > 0) {
hash = (37 * hash) + HEADERS_FIELD_NUMBER;
hash = (53 * hash) + getHeadersList().hashCode();
}
if (getGetParamsCount() > 0) {
hash = (37 * hash) + GET_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getGetParamsList().hashCode();
}
if (getPostParamsCount() > 0) {
hash = (37 * hash) + POST_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getPostParamsList().hashCode();
}
if (hasBody()) {
hash = (37 * hash) + BODY_FIELD_NUMBER;
hash = (53 * hash) + getBody().hashCode();
}
if (hasAbsoluteTimeout()) {
hash = (37 * hash) + ABSOLUTE_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getAbsoluteTimeout();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgHttpRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgHttpRequest)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
requestMethod_ = 0;
hostname_ = "";
url_ = "";
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
} else {
headers_ = null;
headersBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (getParamsBuilder_ == null) {
getParams_ = java.util.Collections.emptyList();
} else {
getParams_ = null;
getParamsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (postParamsBuilder_ == null) {
postParams_ = java.util.Collections.emptyList();
} else {
postParams_ = null;
postParamsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
body_ = com.google.protobuf.ByteString.EMPTY;
absoluteTimeout_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpRequest_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest result) {
if (headersBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
headers_ = java.util.Collections.unmodifiableList(headers_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.headers_ = headers_;
} else {
result.headers_ = headersBuilder_.build();
}
if (getParamsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
getParams_ = java.util.Collections.unmodifiableList(getParams_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.getParams_ = getParams_;
} else {
result.getParams_ = getParamsBuilder_.build();
}
if (postParamsBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
postParams_ = java.util.Collections.unmodifiableList(postParams_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.postParams_ = postParams_;
} else {
result.postParams_ = postParamsBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.requestMethod_ = requestMethod_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.hostname_ = hostname_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.url_ = url_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.body_ = body_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.absoluteTimeout_ = absoluteTimeout_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance()) return this;
if (other.hasRequestMethod()) {
setRequestMethod(other.getRequestMethod());
}
if (other.hasHostname()) {
hostname_ = other.hostname_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasUrl()) {
url_ = other.url_;
bitField0_ |= 0x00000004;
onChanged();
}
if (headersBuilder_ == null) {
if (!other.headers_.isEmpty()) {
if (headers_.isEmpty()) {
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureHeadersIsMutable();
headers_.addAll(other.headers_);
}
onChanged();
}
} else {
if (!other.headers_.isEmpty()) {
if (headersBuilder_.isEmpty()) {
headersBuilder_.dispose();
headersBuilder_ = null;
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00000008);
headersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getHeadersFieldBuilder() : null;
} else {
headersBuilder_.addAllMessages(other.headers_);
}
}
}
if (getParamsBuilder_ == null) {
if (!other.getParams_.isEmpty()) {
if (getParams_.isEmpty()) {
getParams_ = other.getParams_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureGetParamsIsMutable();
getParams_.addAll(other.getParams_);
}
onChanged();
}
} else {
if (!other.getParams_.isEmpty()) {
if (getParamsBuilder_.isEmpty()) {
getParamsBuilder_.dispose();
getParamsBuilder_ = null;
getParams_ = other.getParams_;
bitField0_ = (bitField0_ & ~0x00000010);
getParamsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getGetParamsFieldBuilder() : null;
} else {
getParamsBuilder_.addAllMessages(other.getParams_);
}
}
}
if (postParamsBuilder_ == null) {
if (!other.postParams_.isEmpty()) {
if (postParams_.isEmpty()) {
postParams_ = other.postParams_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensurePostParamsIsMutable();
postParams_.addAll(other.postParams_);
}
onChanged();
}
} else {
if (!other.postParams_.isEmpty()) {
if (postParamsBuilder_.isEmpty()) {
postParamsBuilder_.dispose();
postParamsBuilder_ = null;
postParams_ = other.postParams_;
bitField0_ = (bitField0_ & ~0x00000020);
postParamsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPostParamsFieldBuilder() : null;
} else {
postParamsBuilder_.addAllMessages(other.postParams_);
}
}
}
if (other.hasBody()) {
setBody(other.getBody());
}
if (other.hasAbsoluteTimeout()) {
setAbsoluteTimeout(other.getAbsoluteTimeout());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
requestMethod_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
hostname_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
url_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.parser(),
extensionRegistry);
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(m);
} else {
headersBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.parser(),
extensionRegistry);
if (getParamsBuilder_ == null) {
ensureGetParamsIsMutable();
getParams_.add(m);
} else {
getParamsBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.parser(),
extensionRegistry);
if (postParamsBuilder_ == null) {
ensurePostParamsIsMutable();
postParams_.add(m);
} else {
postParamsBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
body_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
case 64: {
absoluteTimeout_ = input.readUInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int requestMethod_ ;
/**
* optional uint32 request_method = 1;
* @return Whether the requestMethod field is set.
*/
@java.lang.Override
public boolean hasRequestMethod() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 request_method = 1;
* @return The requestMethod.
*/
@java.lang.Override
public int getRequestMethod() {
return requestMethod_;
}
/**
* optional uint32 request_method = 1;
* @param value The requestMethod to set.
* @return This builder for chaining.
*/
public Builder setRequestMethod(int value) {
requestMethod_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 request_method = 1;
* @return This builder for chaining.
*/
public Builder clearRequestMethod() {
bitField0_ = (bitField0_ & ~0x00000001);
requestMethod_ = 0;
onChanged();
return this;
}
private java.lang.Object hostname_ = "";
/**
* optional string hostname = 2;
* @return Whether the hostname field is set.
*/
public boolean hasHostname() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string hostname = 2;
* @return The hostname.
*/
public java.lang.String getHostname() {
java.lang.Object ref = hostname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hostname_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string hostname = 2;
* @return The bytes for hostname.
*/
public com.google.protobuf.ByteString
getHostnameBytes() {
java.lang.Object ref = hostname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string hostname = 2;
* @param value The hostname to set.
* @return This builder for chaining.
*/
public Builder setHostname(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string hostname = 2;
* @return This builder for chaining.
*/
public Builder clearHostname() {
hostname_ = getDefaultInstance().getHostname();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string hostname = 2;
* @param value The bytes for hostname to set.
* @return This builder for chaining.
*/
public Builder setHostnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object url_ = "";
/**
* optional string url = 3;
* @return Whether the url field is set.
*/
public boolean hasUrl() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string url = 3;
* @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
url_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string url = 3;
* @return The bytes for url.
*/
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string url = 3;
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
url_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string url = 3;
* @return This builder for chaining.
*/
public Builder clearUrl() {
url_ = getDefaultInstance().getUrl();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string url = 3;
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
url_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.util.List headers_ =
java.util.Collections.emptyList();
private void ensureHeadersIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
headers_ = new java.util.ArrayList(headers_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder> headersBuilder_;
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public java.util.List getHeadersList() {
if (headersBuilder_ == null) {
return java.util.Collections.unmodifiableList(headers_);
} else {
return headersBuilder_.getMessageList();
}
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public int getHeadersCount() {
if (headersBuilder_ == null) {
return headers_.size();
} else {
return headersBuilder_.getCount();
}
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader getHeaders(int index) {
if (headersBuilder_ == null) {
return headers_.get(index);
} else {
return headersBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder setHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.set(index, value);
onChanged();
} else {
headersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder setHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.set(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder addHeaders(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(value);
onChanged();
} else {
headersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder addHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(index, value);
onChanged();
} else {
headersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder addHeaders(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder addHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder addAllHeaders(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader> values) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, headers_);
onChanged();
} else {
headersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder clearHeaders() {
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
headersBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public Builder removeHeaders(int index) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.remove(index);
onChanged();
} else {
headersBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder getHeadersBuilder(
int index) {
return getHeadersFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder getHeadersOrBuilder(
int index) {
if (headersBuilder_ == null) {
return headers_.get(index); } else {
return headersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder>
getHeadersOrBuilderList() {
if (headersBuilder_ != null) {
return headersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(headers_);
}
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder addHeadersBuilder() {
return getHeadersFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.getDefaultInstance());
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder addHeadersBuilder(
int index) {
return getHeadersFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.getDefaultInstance());
}
/**
* repeated .CMsgHttpRequest.RequestHeader headers = 4;
*/
public java.util.List
getHeadersBuilderList() {
return getHeadersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder>
getHeadersFieldBuilder() {
if (headersBuilder_ == null) {
headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeader.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.RequestHeaderOrBuilder>(
headers_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
headers_ = null;
}
return headersBuilder_;
}
private java.util.List getParams_ =
java.util.Collections.emptyList();
private void ensureGetParamsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
getParams_ = new java.util.ArrayList(getParams_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder> getParamsBuilder_;
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public java.util.List getGetParamsList() {
if (getParamsBuilder_ == null) {
return java.util.Collections.unmodifiableList(getParams_);
} else {
return getParamsBuilder_.getMessageList();
}
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public int getGetParamsCount() {
if (getParamsBuilder_ == null) {
return getParams_.size();
} else {
return getParamsBuilder_.getCount();
}
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getGetParams(int index) {
if (getParamsBuilder_ == null) {
return getParams_.get(index);
} else {
return getParamsBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder setGetParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam value) {
if (getParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGetParamsIsMutable();
getParams_.set(index, value);
onChanged();
} else {
getParamsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder setGetParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder builderForValue) {
if (getParamsBuilder_ == null) {
ensureGetParamsIsMutable();
getParams_.set(index, builderForValue.build());
onChanged();
} else {
getParamsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder addGetParams(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam value) {
if (getParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGetParamsIsMutable();
getParams_.add(value);
onChanged();
} else {
getParamsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder addGetParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam value) {
if (getParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGetParamsIsMutable();
getParams_.add(index, value);
onChanged();
} else {
getParamsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder addGetParams(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder builderForValue) {
if (getParamsBuilder_ == null) {
ensureGetParamsIsMutable();
getParams_.add(builderForValue.build());
onChanged();
} else {
getParamsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder addGetParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder builderForValue) {
if (getParamsBuilder_ == null) {
ensureGetParamsIsMutable();
getParams_.add(index, builderForValue.build());
onChanged();
} else {
getParamsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder addAllGetParams(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam> values) {
if (getParamsBuilder_ == null) {
ensureGetParamsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, getParams_);
onChanged();
} else {
getParamsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder clearGetParams() {
if (getParamsBuilder_ == null) {
getParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
getParamsBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public Builder removeGetParams(int index) {
if (getParamsBuilder_ == null) {
ensureGetParamsIsMutable();
getParams_.remove(index);
onChanged();
} else {
getParamsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder getGetParamsBuilder(
int index) {
return getGetParamsFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder getGetParamsOrBuilder(
int index) {
if (getParamsBuilder_ == null) {
return getParams_.get(index); } else {
return getParamsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getGetParamsOrBuilderList() {
if (getParamsBuilder_ != null) {
return getParamsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(getParams_);
}
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder addGetParamsBuilder() {
return getGetParamsFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.getDefaultInstance());
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder addGetParamsBuilder(
int index) {
return getGetParamsFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.getDefaultInstance());
}
/**
* repeated .CMsgHttpRequest.QueryParam get_params = 5;
*/
public java.util.List
getGetParamsBuilderList() {
return getGetParamsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getGetParamsFieldBuilder() {
if (getParamsBuilder_ == null) {
getParamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>(
getParams_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
getParams_ = null;
}
return getParamsBuilder_;
}
private java.util.List postParams_ =
java.util.Collections.emptyList();
private void ensurePostParamsIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
postParams_ = new java.util.ArrayList(postParams_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder> postParamsBuilder_;
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public java.util.List getPostParamsList() {
if (postParamsBuilder_ == null) {
return java.util.Collections.unmodifiableList(postParams_);
} else {
return postParamsBuilder_.getMessageList();
}
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public int getPostParamsCount() {
if (postParamsBuilder_ == null) {
return postParams_.size();
} else {
return postParamsBuilder_.getCount();
}
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam getPostParams(int index) {
if (postParamsBuilder_ == null) {
return postParams_.get(index);
} else {
return postParamsBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder setPostParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam value) {
if (postParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePostParamsIsMutable();
postParams_.set(index, value);
onChanged();
} else {
postParamsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder setPostParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder builderForValue) {
if (postParamsBuilder_ == null) {
ensurePostParamsIsMutable();
postParams_.set(index, builderForValue.build());
onChanged();
} else {
postParamsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder addPostParams(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam value) {
if (postParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePostParamsIsMutable();
postParams_.add(value);
onChanged();
} else {
postParamsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder addPostParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam value) {
if (postParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePostParamsIsMutable();
postParams_.add(index, value);
onChanged();
} else {
postParamsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder addPostParams(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder builderForValue) {
if (postParamsBuilder_ == null) {
ensurePostParamsIsMutable();
postParams_.add(builderForValue.build());
onChanged();
} else {
postParamsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder addPostParams(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder builderForValue) {
if (postParamsBuilder_ == null) {
ensurePostParamsIsMutable();
postParams_.add(index, builderForValue.build());
onChanged();
} else {
postParamsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder addAllPostParams(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam> values) {
if (postParamsBuilder_ == null) {
ensurePostParamsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, postParams_);
onChanged();
} else {
postParamsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder clearPostParams() {
if (postParamsBuilder_ == null) {
postParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
postParamsBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public Builder removePostParams(int index) {
if (postParamsBuilder_ == null) {
ensurePostParamsIsMutable();
postParams_.remove(index);
onChanged();
} else {
postParamsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder getPostParamsBuilder(
int index) {
return getPostParamsFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder getPostParamsOrBuilder(
int index) {
if (postParamsBuilder_ == null) {
return postParams_.get(index); } else {
return postParamsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getPostParamsOrBuilderList() {
if (postParamsBuilder_ != null) {
return postParamsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(postParams_);
}
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder addPostParamsBuilder() {
return getPostParamsFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.getDefaultInstance());
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder addPostParamsBuilder(
int index) {
return getPostParamsFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.getDefaultInstance());
}
/**
* repeated .CMsgHttpRequest.QueryParam post_params = 6;
*/
public java.util.List
getPostParamsBuilderList() {
return getPostParamsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>
getPostParamsFieldBuilder() {
if (postParamsBuilder_ == null) {
postParamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParam.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.QueryParamOrBuilder>(
postParams_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
postParams_ = null;
}
return postParamsBuilder_;
}
private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes body = 7;
* @return Whether the body field is set.
*/
@java.lang.Override
public boolean hasBody() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional bytes body = 7;
* @return The body.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBody() {
return body_;
}
/**
* optional bytes body = 7;
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
body_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional bytes body = 7;
* @return This builder for chaining.
*/
public Builder clearBody() {
bitField0_ = (bitField0_ & ~0x00000040);
body_ = getDefaultInstance().getBody();
onChanged();
return this;
}
private int absoluteTimeout_ ;
/**
* optional uint32 absolute_timeout = 8;
* @return Whether the absoluteTimeout field is set.
*/
@java.lang.Override
public boolean hasAbsoluteTimeout() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 absolute_timeout = 8;
* @return The absoluteTimeout.
*/
@java.lang.Override
public int getAbsoluteTimeout() {
return absoluteTimeout_;
}
/**
* optional uint32 absolute_timeout = 8;
* @param value The absoluteTimeout to set.
* @return This builder for chaining.
*/
public Builder setAbsoluteTimeout(int value) {
absoluteTimeout_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional uint32 absolute_timeout = 8;
* @return This builder for chaining.
*/
public Builder clearAbsoluteTimeout() {
bitField0_ = (bitField0_ & ~0x00000080);
absoluteTimeout_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgHttpRequest)
}
// @@protoc_insertion_point(class_scope:CMsgHttpRequest)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgHttpRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgWebAPIRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgWebAPIRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional string UNUSED_job_name = 1;
* @return Whether the uNUSEDJobName field is set.
*/
boolean hasUNUSEDJobName();
/**
* optional string UNUSED_job_name = 1;
* @return The uNUSEDJobName.
*/
java.lang.String getUNUSEDJobName();
/**
* optional string UNUSED_job_name = 1;
* @return The bytes for uNUSEDJobName.
*/
com.google.protobuf.ByteString
getUNUSEDJobNameBytes();
/**
* optional string interface_name = 2;
* @return Whether the interfaceName field is set.
*/
boolean hasInterfaceName();
/**
* optional string interface_name = 2;
* @return The interfaceName.
*/
java.lang.String getInterfaceName();
/**
* optional string interface_name = 2;
* @return The bytes for interfaceName.
*/
com.google.protobuf.ByteString
getInterfaceNameBytes();
/**
* optional string method_name = 3;
* @return Whether the methodName field is set.
*/
boolean hasMethodName();
/**
* optional string method_name = 3;
* @return The methodName.
*/
java.lang.String getMethodName();
/**
* optional string method_name = 3;
* @return The bytes for methodName.
*/
com.google.protobuf.ByteString
getMethodNameBytes();
/**
* optional uint32 version = 4;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* optional uint32 version = 4;
* @return The version.
*/
int getVersion();
/**
* optional .CMsgWebAPIKey api_key = 5;
* @return Whether the apiKey field is set.
*/
boolean hasApiKey();
/**
* optional .CMsgWebAPIKey api_key = 5;
* @return The apiKey.
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey getApiKey();
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder getApiKeyOrBuilder();
/**
* optional .CMsgHttpRequest request = 6;
* @return Whether the request field is set.
*/
boolean hasRequest();
/**
* optional .CMsgHttpRequest request = 6;
* @return The request.
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest getRequest();
/**
* optional .CMsgHttpRequest request = 6;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder getRequestOrBuilder();
/**
* optional uint32 routing_app_id = 7;
* @return Whether the routingAppId field is set.
*/
boolean hasRoutingAppId();
/**
* optional uint32 routing_app_id = 7;
* @return The routingAppId.
*/
int getRoutingAppId();
}
/**
* Protobuf type {@code CMsgWebAPIRequest}
*/
public static final class CMsgWebAPIRequest extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgWebAPIRequest)
CMsgWebAPIRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgWebAPIRequest.class.getName());
}
// Use CMsgWebAPIRequest.newBuilder() to construct.
private CMsgWebAPIRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgWebAPIRequest() {
uNUSEDJobName_ = "";
interfaceName_ = "";
methodName_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.Builder.class);
}
private int bitField0_;
public static final int UNUSED_JOB_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object uNUSEDJobName_ = "";
/**
* optional string UNUSED_job_name = 1;
* @return Whether the uNUSEDJobName field is set.
*/
@java.lang.Override
public boolean hasUNUSEDJobName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string UNUSED_job_name = 1;
* @return The uNUSEDJobName.
*/
@java.lang.Override
public java.lang.String getUNUSEDJobName() {
java.lang.Object ref = uNUSEDJobName_;
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()) {
uNUSEDJobName_ = s;
}
return s;
}
}
/**
* optional string UNUSED_job_name = 1;
* @return The bytes for uNUSEDJobName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUNUSEDJobNameBytes() {
java.lang.Object ref = uNUSEDJobName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uNUSEDJobName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INTERFACE_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object interfaceName_ = "";
/**
* optional string interface_name = 2;
* @return Whether the interfaceName field is set.
*/
@java.lang.Override
public boolean hasInterfaceName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string interface_name = 2;
* @return The interfaceName.
*/
@java.lang.Override
public java.lang.String getInterfaceName() {
java.lang.Object ref = interfaceName_;
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()) {
interfaceName_ = s;
}
return s;
}
}
/**
* optional string interface_name = 2;
* @return The bytes for interfaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInterfaceNameBytes() {
java.lang.Object ref = interfaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
interfaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object methodName_ = "";
/**
* optional string method_name = 3;
* @return Whether the methodName field is set.
*/
@java.lang.Override
public boolean hasMethodName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string method_name = 3;
* @return The methodName.
*/
@java.lang.Override
public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
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()) {
methodName_ = s;
}
return s;
}
}
/**
* optional string method_name = 3;
* @return The bytes for methodName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 4;
private int version_ = 0;
/**
* optional uint32 version = 4;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 version = 4;
* @return The version.
*/
@java.lang.Override
public int getVersion() {
return version_;
}
public static final int API_KEY_FIELD_NUMBER = 5;
private in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey apiKey_;
/**
* optional .CMsgWebAPIKey api_key = 5;
* @return Whether the apiKey field is set.
*/
@java.lang.Override
public boolean hasApiKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .CMsgWebAPIKey api_key = 5;
* @return The apiKey.
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey getApiKey() {
return apiKey_ == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance() : apiKey_;
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder getApiKeyOrBuilder() {
return apiKey_ == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance() : apiKey_;
}
public static final int REQUEST_FIELD_NUMBER = 6;
private in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest request_;
/**
* optional .CMsgHttpRequest request = 6;
* @return Whether the request field is set.
*/
@java.lang.Override
public boolean hasRequest() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .CMsgHttpRequest request = 6;
* @return The request.
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest getRequest() {
return request_ == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance() : request_;
}
/**
* optional .CMsgHttpRequest request = 6;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder getRequestOrBuilder() {
return request_ == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance() : request_;
}
public static final int ROUTING_APP_ID_FIELD_NUMBER = 7;
private int routingAppId_ = 0;
/**
* optional uint32 routing_app_id = 7;
* @return Whether the routingAppId field is set.
*/
@java.lang.Override
public boolean hasRoutingAppId() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 routing_app_id = 7;
* @return The routingAppId.
*/
@java.lang.Override
public int getRoutingAppId() {
return routingAppId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, uNUSEDJobName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, interfaceName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, methodName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, version_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getApiKey());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getRequest());
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, routingAppId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, uNUSEDJobName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, interfaceName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, methodName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, version_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getApiKey());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getRequest());
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, routingAppId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest) obj;
if (hasUNUSEDJobName() != other.hasUNUSEDJobName()) return false;
if (hasUNUSEDJobName()) {
if (!getUNUSEDJobName()
.equals(other.getUNUSEDJobName())) return false;
}
if (hasInterfaceName() != other.hasInterfaceName()) return false;
if (hasInterfaceName()) {
if (!getInterfaceName()
.equals(other.getInterfaceName())) return false;
}
if (hasMethodName() != other.hasMethodName()) return false;
if (hasMethodName()) {
if (!getMethodName()
.equals(other.getMethodName())) return false;
}
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (getVersion()
!= other.getVersion()) return false;
}
if (hasApiKey() != other.hasApiKey()) return false;
if (hasApiKey()) {
if (!getApiKey()
.equals(other.getApiKey())) return false;
}
if (hasRequest() != other.hasRequest()) return false;
if (hasRequest()) {
if (!getRequest()
.equals(other.getRequest())) return false;
}
if (hasRoutingAppId() != other.hasRoutingAppId()) return false;
if (hasRoutingAppId()) {
if (getRoutingAppId()
!= other.getRoutingAppId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasUNUSEDJobName()) {
hash = (37 * hash) + UNUSED_JOB_NAME_FIELD_NUMBER;
hash = (53 * hash) + getUNUSEDJobName().hashCode();
}
if (hasInterfaceName()) {
hash = (37 * hash) + INTERFACE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getInterfaceName().hashCode();
}
if (hasMethodName()) {
hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMethodName().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion();
}
if (hasApiKey()) {
hash = (37 * hash) + API_KEY_FIELD_NUMBER;
hash = (53 * hash) + getApiKey().hashCode();
}
if (hasRequest()) {
hash = (37 * hash) + REQUEST_FIELD_NUMBER;
hash = (53 * hash) + getRequest().hashCode();
}
if (hasRoutingAppId()) {
hash = (37 * hash) + ROUTING_APP_ID_FIELD_NUMBER;
hash = (53 * hash) + getRoutingAppId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgWebAPIRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgWebAPIRequest)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getApiKeyFieldBuilder();
getRequestFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
uNUSEDJobName_ = "";
interfaceName_ = "";
methodName_ = "";
version_ = 0;
apiKey_ = null;
if (apiKeyBuilder_ != null) {
apiKeyBuilder_.dispose();
apiKeyBuilder_ = null;
}
request_ = null;
if (requestBuilder_ != null) {
requestBuilder_.dispose();
requestBuilder_ = null;
}
routingAppId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgWebAPIRequest_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.uNUSEDJobName_ = uNUSEDJobName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.interfaceName_ = interfaceName_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.methodName_ = methodName_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.version_ = version_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.apiKey_ = apiKeyBuilder_ == null
? apiKey_
: apiKeyBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.request_ = requestBuilder_ == null
? request_
: requestBuilder_.build();
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.routingAppId_ = routingAppId_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest.getDefaultInstance()) return this;
if (other.hasUNUSEDJobName()) {
uNUSEDJobName_ = other.uNUSEDJobName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasInterfaceName()) {
interfaceName_ = other.interfaceName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasMethodName()) {
methodName_ = other.methodName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasApiKey()) {
mergeApiKey(other.getApiKey());
}
if (other.hasRequest()) {
mergeRequest(other.getRequest());
}
if (other.hasRoutingAppId()) {
setRoutingAppId(other.getRoutingAppId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
uNUSEDJobName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
interfaceName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
methodName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
version_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
input.readMessage(
getApiKeyFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
input.readMessage(
getRequestFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
case 56: {
routingAppId_ = input.readUInt32();
bitField0_ |= 0x00000040;
break;
} // case 56
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object uNUSEDJobName_ = "";
/**
* optional string UNUSED_job_name = 1;
* @return Whether the uNUSEDJobName field is set.
*/
public boolean hasUNUSEDJobName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string UNUSED_job_name = 1;
* @return The uNUSEDJobName.
*/
public java.lang.String getUNUSEDJobName() {
java.lang.Object ref = uNUSEDJobName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
uNUSEDJobName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string UNUSED_job_name = 1;
* @return The bytes for uNUSEDJobName.
*/
public com.google.protobuf.ByteString
getUNUSEDJobNameBytes() {
java.lang.Object ref = uNUSEDJobName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uNUSEDJobName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string UNUSED_job_name = 1;
* @param value The uNUSEDJobName to set.
* @return This builder for chaining.
*/
public Builder setUNUSEDJobName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
uNUSEDJobName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string UNUSED_job_name = 1;
* @return This builder for chaining.
*/
public Builder clearUNUSEDJobName() {
uNUSEDJobName_ = getDefaultInstance().getUNUSEDJobName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string UNUSED_job_name = 1;
* @param value The bytes for uNUSEDJobName to set.
* @return This builder for chaining.
*/
public Builder setUNUSEDJobNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
uNUSEDJobName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object interfaceName_ = "";
/**
* optional string interface_name = 2;
* @return Whether the interfaceName field is set.
*/
public boolean hasInterfaceName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string interface_name = 2;
* @return The interfaceName.
*/
public java.lang.String getInterfaceName() {
java.lang.Object ref = interfaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
interfaceName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string interface_name = 2;
* @return The bytes for interfaceName.
*/
public com.google.protobuf.ByteString
getInterfaceNameBytes() {
java.lang.Object ref = interfaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
interfaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string interface_name = 2;
* @param value The interfaceName to set.
* @return This builder for chaining.
*/
public Builder setInterfaceName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
interfaceName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string interface_name = 2;
* @return This builder for chaining.
*/
public Builder clearInterfaceName() {
interfaceName_ = getDefaultInstance().getInterfaceName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string interface_name = 2;
* @param value The bytes for interfaceName to set.
* @return This builder for chaining.
*/
public Builder setInterfaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
interfaceName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object methodName_ = "";
/**
* optional string method_name = 3;
* @return Whether the methodName field is set.
*/
public boolean hasMethodName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string method_name = 3;
* @return The methodName.
*/
public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
methodName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string method_name = 3;
* @return The bytes for methodName.
*/
public com.google.protobuf.ByteString
getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string method_name = 3;
* @param value The methodName to set.
* @return This builder for chaining.
*/
public Builder setMethodName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
methodName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string method_name = 3;
* @return This builder for chaining.
*/
public Builder clearMethodName() {
methodName_ = getDefaultInstance().getMethodName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string method_name = 3;
* @param value The bytes for methodName to set.
* @return This builder for chaining.
*/
public Builder setMethodNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
methodName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int version_ ;
/**
* optional uint32 version = 4;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 version = 4;
* @return The version.
*/
@java.lang.Override
public int getVersion() {
return version_;
}
/**
* optional uint32 version = 4;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(int value) {
version_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 version = 4;
* @return This builder for chaining.
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
version_ = 0;
onChanged();
return this;
}
private in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey apiKey_;
private com.google.protobuf.SingleFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder> apiKeyBuilder_;
/**
* optional .CMsgWebAPIKey api_key = 5;
* @return Whether the apiKey field is set.
*/
public boolean hasApiKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .CMsgWebAPIKey api_key = 5;
* @return The apiKey.
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey getApiKey() {
if (apiKeyBuilder_ == null) {
return apiKey_ == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance() : apiKey_;
} else {
return apiKeyBuilder_.getMessage();
}
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
public Builder setApiKey(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey value) {
if (apiKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
apiKey_ = value;
} else {
apiKeyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
public Builder setApiKey(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder builderForValue) {
if (apiKeyBuilder_ == null) {
apiKey_ = builderForValue.build();
} else {
apiKeyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
public Builder mergeApiKey(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey value) {
if (apiKeyBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
apiKey_ != null &&
apiKey_ != in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance()) {
getApiKeyBuilder().mergeFrom(value);
} else {
apiKey_ = value;
}
} else {
apiKeyBuilder_.mergeFrom(value);
}
if (apiKey_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
public Builder clearApiKey() {
bitField0_ = (bitField0_ & ~0x00000010);
apiKey_ = null;
if (apiKeyBuilder_ != null) {
apiKeyBuilder_.dispose();
apiKeyBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder getApiKeyBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getApiKeyFieldBuilder().getBuilder();
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder getApiKeyOrBuilder() {
if (apiKeyBuilder_ != null) {
return apiKeyBuilder_.getMessageOrBuilder();
} else {
return apiKey_ == null ?
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.getDefaultInstance() : apiKey_;
}
}
/**
* optional .CMsgWebAPIKey api_key = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder>
getApiKeyFieldBuilder() {
if (apiKeyBuilder_ == null) {
apiKeyBuilder_ = new com.google.protobuf.SingleFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKey.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIKeyOrBuilder>(
getApiKey(),
getParentForChildren(),
isClean());
apiKey_ = null;
}
return apiKeyBuilder_;
}
private in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest request_;
private com.google.protobuf.SingleFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder> requestBuilder_;
/**
* optional .CMsgHttpRequest request = 6;
* @return Whether the request field is set.
*/
public boolean hasRequest() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .CMsgHttpRequest request = 6;
* @return The request.
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest getRequest() {
if (requestBuilder_ == null) {
return request_ == null ? in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance() : request_;
} else {
return requestBuilder_.getMessage();
}
}
/**
* optional .CMsgHttpRequest request = 6;
*/
public Builder setRequest(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest value) {
if (requestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
} else {
requestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional .CMsgHttpRequest request = 6;
*/
public Builder setRequest(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder builderForValue) {
if (requestBuilder_ == null) {
request_ = builderForValue.build();
} else {
requestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional .CMsgHttpRequest request = 6;
*/
public Builder mergeRequest(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest value) {
if (requestBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
request_ != null &&
request_ != in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance()) {
getRequestBuilder().mergeFrom(value);
} else {
request_ = value;
}
} else {
requestBuilder_.mergeFrom(value);
}
if (request_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* optional .CMsgHttpRequest request = 6;
*/
public Builder clearRequest() {
bitField0_ = (bitField0_ & ~0x00000020);
request_ = null;
if (requestBuilder_ != null) {
requestBuilder_.dispose();
requestBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .CMsgHttpRequest request = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder getRequestBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getRequestFieldBuilder().getBuilder();
}
/**
* optional .CMsgHttpRequest request = 6;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder();
} else {
return request_ == null ?
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.getDefaultInstance() : request_;
}
}
/**
* optional .CMsgHttpRequest request = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder>
getRequestFieldBuilder() {
if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequest.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpRequestOrBuilder>(
getRequest(),
getParentForChildren(),
isClean());
request_ = null;
}
return requestBuilder_;
}
private int routingAppId_ ;
/**
* optional uint32 routing_app_id = 7;
* @return Whether the routingAppId field is set.
*/
@java.lang.Override
public boolean hasRoutingAppId() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 routing_app_id = 7;
* @return The routingAppId.
*/
@java.lang.Override
public int getRoutingAppId() {
return routingAppId_;
}
/**
* optional uint32 routing_app_id = 7;
* @param value The routingAppId to set.
* @return This builder for chaining.
*/
public Builder setRoutingAppId(int value) {
routingAppId_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional uint32 routing_app_id = 7;
* @return This builder for chaining.
*/
public Builder clearRoutingAppId() {
bitField0_ = (bitField0_ & ~0x00000040);
routingAppId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgWebAPIRequest)
}
// @@protoc_insertion_point(class_scope:CMsgWebAPIRequest)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgWebAPIRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgWebAPIRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgHttpResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgHttpResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 status_code = 1;
* @return Whether the statusCode field is set.
*/
boolean hasStatusCode();
/**
* optional uint32 status_code = 1;
* @return The statusCode.
*/
int getStatusCode();
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
java.util.List
getHeadersList();
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader getHeaders(int index);
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
int getHeadersCount();
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder>
getHeadersOrBuilderList();
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder getHeadersOrBuilder(
int index);
/**
* optional bytes body = 3;
* @return Whether the body field is set.
*/
boolean hasBody();
/**
* optional bytes body = 3;
* @return The body.
*/
com.google.protobuf.ByteString getBody();
}
/**
* Protobuf type {@code CMsgHttpResponse}
*/
public static final class CMsgHttpResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgHttpResponse)
CMsgHttpResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgHttpResponse.class.getName());
}
// Use CMsgHttpResponse.newBuilder() to construct.
private CMsgHttpResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgHttpResponse() {
headers_ = java.util.Collections.emptyList();
body_ = com.google.protobuf.ByteString.EMPTY;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.Builder.class);
}
public interface ResponseHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgHttpResponse.ResponseHeader)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional string value = 2;
* @return The value.
*/
java.lang.String getValue();
/**
* optional string value = 2;
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code CMsgHttpResponse.ResponseHeader}
*/
public static final class ResponseHeader extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgHttpResponse.ResponseHeader)
ResponseHeaderOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ResponseHeader.class.getName());
}
// Use ResponseHeader.newBuilder() to construct.
private ResponseHeader(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ResponseHeader() {
name_ = "";
value_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_ResponseHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_ResponseHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
@java.lang.Override
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;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
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;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2;
* @return The value.
*/
@java.lang.Override
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;
}
}
/**
* optional string value = 2;
* @return The bytes for value.
*/
@java.lang.Override
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 byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().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 in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgHttpResponse.ResponseHeader}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgHttpResponse.ResponseHeader)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_ResponseHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_ResponseHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_ResponseHeader_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.getDefaultInstance()) return this;
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasValue()) {
value_ = other.value_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
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;
}
}
/**
* optional string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string value = 2;
* @return The bytes for value.
*/
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;
}
}
/**
* optional string value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string value = 2;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgHttpResponse.ResponseHeader)
}
// @@protoc_insertion_point(class_scope:CMsgHttpResponse.ResponseHeader)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ResponseHeader parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int STATUS_CODE_FIELD_NUMBER = 1;
private int statusCode_ = 0;
/**
* optional uint32 status_code = 1;
* @return Whether the statusCode field is set.
*/
@java.lang.Override
public boolean hasStatusCode() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 status_code = 1;
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
public static final int HEADERS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List headers_;
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
@java.lang.Override
public java.util.List getHeadersList() {
return headers_;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder>
getHeadersOrBuilderList() {
return headers_;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
@java.lang.Override
public int getHeadersCount() {
return headers_.size();
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader getHeaders(int index) {
return headers_.get(index);
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder getHeadersOrBuilder(
int index) {
return headers_.get(index);
}
public static final int BODY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes body = 3;
* @return Whether the body field is set.
*/
@java.lang.Override
public boolean hasBody() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes body = 3;
* @return The body.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBody() {
return body_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, statusCode_);
}
for (int i = 0; i < headers_.size(); i++) {
output.writeMessage(2, headers_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(3, body_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, statusCode_);
}
for (int i = 0; i < headers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, headers_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, body_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse) obj;
if (hasStatusCode() != other.hasStatusCode()) return false;
if (hasStatusCode()) {
if (getStatusCode()
!= other.getStatusCode()) return false;
}
if (!getHeadersList()
.equals(other.getHeadersList())) return false;
if (hasBody() != other.hasBody()) return false;
if (hasBody()) {
if (!getBody()
.equals(other.getBody())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatusCode()) {
hash = (37 * hash) + STATUS_CODE_FIELD_NUMBER;
hash = (53 * hash) + getStatusCode();
}
if (getHeadersCount() > 0) {
hash = (37 * hash) + HEADERS_FIELD_NUMBER;
hash = (53 * hash) + getHeadersList().hashCode();
}
if (hasBody()) {
hash = (37 * hash) + BODY_FIELD_NUMBER;
hash = (53 * hash) + getBody().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgHttpResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgHttpResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
statusCode_ = 0;
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
} else {
headers_ = null;
headersBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
body_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgHttpResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse result) {
if (headersBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
headers_ = java.util.Collections.unmodifiableList(headers_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.headers_ = headers_;
} else {
result.headers_ = headersBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.statusCode_ = statusCode_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.body_ = body_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.getDefaultInstance()) return this;
if (other.hasStatusCode()) {
setStatusCode(other.getStatusCode());
}
if (headersBuilder_ == null) {
if (!other.headers_.isEmpty()) {
if (headers_.isEmpty()) {
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureHeadersIsMutable();
headers_.addAll(other.headers_);
}
onChanged();
}
} else {
if (!other.headers_.isEmpty()) {
if (headersBuilder_.isEmpty()) {
headersBuilder_.dispose();
headersBuilder_ = null;
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00000002);
headersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getHeadersFieldBuilder() : null;
} else {
headersBuilder_.addAllMessages(other.headers_);
}
}
}
if (other.hasBody()) {
setBody(other.getBody());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
statusCode_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.parser(),
extensionRegistry);
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(m);
} else {
headersBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
body_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int statusCode_ ;
/**
* optional uint32 status_code = 1;
* @return Whether the statusCode field is set.
*/
@java.lang.Override
public boolean hasStatusCode() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 status_code = 1;
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
/**
* optional uint32 status_code = 1;
* @param value The statusCode to set.
* @return This builder for chaining.
*/
public Builder setStatusCode(int value) {
statusCode_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 status_code = 1;
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
bitField0_ = (bitField0_ & ~0x00000001);
statusCode_ = 0;
onChanged();
return this;
}
private java.util.List headers_ =
java.util.Collections.emptyList();
private void ensureHeadersIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
headers_ = new java.util.ArrayList(headers_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder> headersBuilder_;
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public java.util.List getHeadersList() {
if (headersBuilder_ == null) {
return java.util.Collections.unmodifiableList(headers_);
} else {
return headersBuilder_.getMessageList();
}
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public int getHeadersCount() {
if (headersBuilder_ == null) {
return headers_.size();
} else {
return headersBuilder_.getCount();
}
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader getHeaders(int index) {
if (headersBuilder_ == null) {
return headers_.get(index);
} else {
return headersBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder setHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.set(index, value);
onChanged();
} else {
headersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder setHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.set(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder addHeaders(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(value);
onChanged();
} else {
headersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder addHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(index, value);
onChanged();
} else {
headersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder addHeaders(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder addHeaders(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder addAllHeaders(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader> values) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, headers_);
onChanged();
} else {
headersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder clearHeaders() {
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
headersBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public Builder removeHeaders(int index) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.remove(index);
onChanged();
} else {
headersBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder getHeadersBuilder(
int index) {
return getHeadersFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder getHeadersOrBuilder(
int index) {
if (headersBuilder_ == null) {
return headers_.get(index); } else {
return headersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder>
getHeadersOrBuilderList() {
if (headersBuilder_ != null) {
return headersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(headers_);
}
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder addHeadersBuilder() {
return getHeadersFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.getDefaultInstance());
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder addHeadersBuilder(
int index) {
return getHeadersFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.getDefaultInstance());
}
/**
* repeated .CMsgHttpResponse.ResponseHeader headers = 2;
*/
public java.util.List
getHeadersBuilderList() {
return getHeadersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder>
getHeadersFieldBuilder() {
if (headersBuilder_ == null) {
headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeader.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse.ResponseHeaderOrBuilder>(
headers_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
headers_ = null;
}
return headersBuilder_;
}
private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes body = 3;
* @return Whether the body field is set.
*/
@java.lang.Override
public boolean hasBody() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes body = 3;
* @return The body.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBody() {
return body_;
}
/**
* optional bytes body = 3;
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
body_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional bytes body = 3;
* @return This builder for chaining.
*/
public Builder clearBody() {
bitField0_ = (bitField0_ & ~0x00000004);
body_ = getDefaultInstance().getBody();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgHttpResponse)
}
// @@protoc_insertion_point(class_scope:CMsgHttpResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgHttpResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgHttpResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMFindAccountsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMFindAccounts)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 search_type = 1;
* @return Whether the searchType field is set.
*/
boolean hasSearchType();
/**
* optional uint32 search_type = 1;
* @return The searchType.
*/
int getSearchType();
/**
* optional string search_string = 2;
* @return Whether the searchString field is set.
*/
boolean hasSearchString();
/**
* optional string search_string = 2;
* @return The searchString.
*/
java.lang.String getSearchString();
/**
* optional string search_string = 2;
* @return The bytes for searchString.
*/
com.google.protobuf.ByteString
getSearchStringBytes();
}
/**
* Protobuf type {@code CMsgAMFindAccounts}
*/
public static final class CMsgAMFindAccounts extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMFindAccounts)
CMsgAMFindAccountsOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMFindAccounts.class.getName());
}
// Use CMsgAMFindAccounts.newBuilder() to construct.
private CMsgAMFindAccounts(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMFindAccounts() {
searchString_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccounts_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccounts_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.Builder.class);
}
private int bitField0_;
public static final int SEARCH_TYPE_FIELD_NUMBER = 1;
private int searchType_ = 0;
/**
* optional uint32 search_type = 1;
* @return Whether the searchType field is set.
*/
@java.lang.Override
public boolean hasSearchType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 search_type = 1;
* @return The searchType.
*/
@java.lang.Override
public int getSearchType() {
return searchType_;
}
public static final int SEARCH_STRING_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object searchString_ = "";
/**
* optional string search_string = 2;
* @return Whether the searchString field is set.
*/
@java.lang.Override
public boolean hasSearchString() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string search_string = 2;
* @return The searchString.
*/
@java.lang.Override
public java.lang.String getSearchString() {
java.lang.Object ref = searchString_;
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()) {
searchString_ = s;
}
return s;
}
}
/**
* optional string search_string = 2;
* @return The bytes for searchString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchStringBytes() {
java.lang.Object ref = searchString_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, searchType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, searchString_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, searchType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, searchString_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts) obj;
if (hasSearchType() != other.hasSearchType()) return false;
if (hasSearchType()) {
if (getSearchType()
!= other.getSearchType()) return false;
}
if (hasSearchString() != other.hasSearchString()) return false;
if (hasSearchString()) {
if (!getSearchString()
.equals(other.getSearchString())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSearchType()) {
hash = (37 * hash) + SEARCH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getSearchType();
}
if (hasSearchString()) {
hash = (37 * hash) + SEARCH_STRING_FIELD_NUMBER;
hash = (53 * hash) + getSearchString().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMFindAccounts}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMFindAccounts)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccounts_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccounts_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
searchType_ = 0;
searchString_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccounts_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.searchType_ = searchType_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.searchString_ = searchString_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts.getDefaultInstance()) return this;
if (other.hasSearchType()) {
setSearchType(other.getSearchType());
}
if (other.hasSearchString()) {
searchString_ = other.searchString_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
searchType_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
searchString_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int searchType_ ;
/**
* optional uint32 search_type = 1;
* @return Whether the searchType field is set.
*/
@java.lang.Override
public boolean hasSearchType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 search_type = 1;
* @return The searchType.
*/
@java.lang.Override
public int getSearchType() {
return searchType_;
}
/**
* optional uint32 search_type = 1;
* @param value The searchType to set.
* @return This builder for chaining.
*/
public Builder setSearchType(int value) {
searchType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 search_type = 1;
* @return This builder for chaining.
*/
public Builder clearSearchType() {
bitField0_ = (bitField0_ & ~0x00000001);
searchType_ = 0;
onChanged();
return this;
}
private java.lang.Object searchString_ = "";
/**
* optional string search_string = 2;
* @return Whether the searchString field is set.
*/
public boolean hasSearchString() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string search_string = 2;
* @return The searchString.
*/
public java.lang.String getSearchString() {
java.lang.Object ref = searchString_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
searchString_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string search_string = 2;
* @return The bytes for searchString.
*/
public com.google.protobuf.ByteString
getSearchStringBytes() {
java.lang.Object ref = searchString_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string search_string = 2;
* @param value The searchString to set.
* @return This builder for chaining.
*/
public Builder setSearchString(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
searchString_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string search_string = 2;
* @return This builder for chaining.
*/
public Builder clearSearchString() {
searchString_ = getDefaultInstance().getSearchString();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string search_string = 2;
* @param value The bytes for searchString to set.
* @return This builder for chaining.
*/
public Builder setSearchStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
searchString_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMFindAccounts)
}
// @@protoc_insertion_point(class_scope:CMsgAMFindAccounts)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMFindAccounts parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccounts getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMFindAccountsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMFindAccountsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated fixed64 steam_id = 1;
* @return A list containing the steamId.
*/
java.util.List getSteamIdList();
/**
* repeated fixed64 steam_id = 1;
* @return The count of steamId.
*/
int getSteamIdCount();
/**
* repeated fixed64 steam_id = 1;
* @param index The index of the element to return.
* @return The steamId at the given index.
*/
long getSteamId(int index);
}
/**
* Protobuf type {@code CMsgAMFindAccountsResponse}
*/
public static final class CMsgAMFindAccountsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMFindAccountsResponse)
CMsgAMFindAccountsResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMFindAccountsResponse.class.getName());
}
// Use CMsgAMFindAccountsResponse.newBuilder() to construct.
private CMsgAMFindAccountsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMFindAccountsResponse() {
steamId_ = emptyLongList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccountsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccountsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.Builder.class);
}
public static final int STEAM_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList steamId_ =
emptyLongList();
/**
* repeated fixed64 steam_id = 1;
* @return A list containing the steamId.
*/
@java.lang.Override
public java.util.List
getSteamIdList() {
return steamId_;
}
/**
* repeated fixed64 steam_id = 1;
* @return The count of steamId.
*/
public int getSteamIdCount() {
return steamId_.size();
}
/**
* repeated fixed64 steam_id = 1;
* @param index The index of the element to return.
* @return The steamId at the given index.
*/
public long getSteamId(int index) {
return steamId_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < steamId_.size(); i++) {
output.writeFixed64(1, steamId_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
dataSize = 8 * getSteamIdList().size();
size += dataSize;
size += 1 * getSteamIdList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse) obj;
if (!getSteamIdList()
.equals(other.getSteamIdList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSteamIdCount() > 0) {
hash = (37 * hash) + STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + getSteamIdList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMFindAccountsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMFindAccountsResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccountsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccountsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
steamId_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMFindAccountsResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
steamId_.makeImmutable();
result.steamId_ = steamId_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse.getDefaultInstance()) return this;
if (!other.steamId_.isEmpty()) {
if (steamId_.isEmpty()) {
steamId_ = other.steamId_;
steamId_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureSteamIdIsMutable();
steamId_.addAll(other.steamId_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
long v = input.readFixed64();
ensureSteamIdIsMutable();
steamId_.addLong(v);
break;
} // case 9
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
int alloc = length > 4096 ? 4096 : length;
ensureSteamIdIsMutable(alloc / 8);
while (input.getBytesUntilLimit() > 0) {
steamId_.addLong(input.readFixed64());
}
input.popLimit(limit);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList steamId_ = emptyLongList();
private void ensureSteamIdIsMutable() {
if (!steamId_.isModifiable()) {
steamId_ = makeMutableCopy(steamId_);
}
bitField0_ |= 0x00000001;
}
private void ensureSteamIdIsMutable(int capacity) {
if (!steamId_.isModifiable()) {
steamId_ = makeMutableCopy(steamId_, capacity);
}
bitField0_ |= 0x00000001;
}
/**
* repeated fixed64 steam_id = 1;
* @return A list containing the steamId.
*/
public java.util.List
getSteamIdList() {
steamId_.makeImmutable();
return steamId_;
}
/**
* repeated fixed64 steam_id = 1;
* @return The count of steamId.
*/
public int getSteamIdCount() {
return steamId_.size();
}
/**
* repeated fixed64 steam_id = 1;
* @param index The index of the element to return.
* @return The steamId at the given index.
*/
public long getSteamId(int index) {
return steamId_.getLong(index);
}
/**
* repeated fixed64 steam_id = 1;
* @param index The index to set the value at.
* @param value The steamId to set.
* @return This builder for chaining.
*/
public Builder setSteamId(
int index, long value) {
ensureSteamIdIsMutable();
steamId_.setLong(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated fixed64 steam_id = 1;
* @param value The steamId to add.
* @return This builder for chaining.
*/
public Builder addSteamId(long value) {
ensureSteamIdIsMutable();
steamId_.addLong(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated fixed64 steam_id = 1;
* @param values The steamId to add.
* @return This builder for chaining.
*/
public Builder addAllSteamId(
java.lang.Iterable extends java.lang.Long> values) {
ensureSteamIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, steamId_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated fixed64 steam_id = 1;
* @return This builder for chaining.
*/
public Builder clearSteamId() {
steamId_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMFindAccountsResponse)
}
// @@protoc_insertion_point(class_scope:CMsgAMFindAccountsResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMFindAccountsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMFindAccountsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgNotifyWatchdogOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgNotifyWatchdog)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 source = 1;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* optional uint32 source = 1;
* @return The source.
*/
int getSource();
/**
* optional uint32 alert_type = 2;
* @return Whether the alertType field is set.
*/
boolean hasAlertType();
/**
* optional uint32 alert_type = 2;
* @return The alertType.
*/
int getAlertType();
/**
* optional uint32 alert_destination = 3;
* @return Whether the alertDestination field is set.
*/
boolean hasAlertDestination();
/**
* optional uint32 alert_destination = 3;
* @return The alertDestination.
*/
int getAlertDestination();
/**
* optional bool critical = 4;
* @return Whether the critical field is set.
*/
boolean hasCritical();
/**
* optional bool critical = 4;
* @return The critical.
*/
boolean getCritical();
/**
* optional uint32 time = 5;
* @return Whether the time field is set.
*/
boolean hasTime();
/**
* optional uint32 time = 5;
* @return The time.
*/
int getTime();
/**
* optional uint32 appid = 6;
* @return Whether the appid field is set.
*/
boolean hasAppid();
/**
* optional uint32 appid = 6;
* @return The appid.
*/
int getAppid();
/**
* optional string text = 7;
* @return Whether the text field is set.
*/
boolean hasText();
/**
* optional string text = 7;
* @return The text.
*/
java.lang.String getText();
/**
* optional string text = 7;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
}
/**
* Protobuf type {@code CMsgNotifyWatchdog}
*/
public static final class CMsgNotifyWatchdog extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgNotifyWatchdog)
CMsgNotifyWatchdogOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgNotifyWatchdog.class.getName());
}
// Use CMsgNotifyWatchdog.newBuilder() to construct.
private CMsgNotifyWatchdog(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgNotifyWatchdog() {
text_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgNotifyWatchdog_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgNotifyWatchdog_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.Builder.class);
}
private int bitField0_;
public static final int SOURCE_FIELD_NUMBER = 1;
private int source_ = 0;
/**
* optional uint32 source = 1;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 source = 1;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
public static final int ALERT_TYPE_FIELD_NUMBER = 2;
private int alertType_ = 0;
/**
* optional uint32 alert_type = 2;
* @return Whether the alertType field is set.
*/
@java.lang.Override
public boolean hasAlertType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 alert_type = 2;
* @return The alertType.
*/
@java.lang.Override
public int getAlertType() {
return alertType_;
}
public static final int ALERT_DESTINATION_FIELD_NUMBER = 3;
private int alertDestination_ = 0;
/**
* optional uint32 alert_destination = 3;
* @return Whether the alertDestination field is set.
*/
@java.lang.Override
public boolean hasAlertDestination() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 alert_destination = 3;
* @return The alertDestination.
*/
@java.lang.Override
public int getAlertDestination() {
return alertDestination_;
}
public static final int CRITICAL_FIELD_NUMBER = 4;
private boolean critical_ = false;
/**
* optional bool critical = 4;
* @return Whether the critical field is set.
*/
@java.lang.Override
public boolean hasCritical() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool critical = 4;
* @return The critical.
*/
@java.lang.Override
public boolean getCritical() {
return critical_;
}
public static final int TIME_FIELD_NUMBER = 5;
private int time_ = 0;
/**
* optional uint32 time = 5;
* @return Whether the time field is set.
*/
@java.lang.Override
public boolean hasTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 time = 5;
* @return The time.
*/
@java.lang.Override
public int getTime() {
return time_;
}
public static final int APPID_FIELD_NUMBER = 6;
private int appid_ = 0;
/**
* optional uint32 appid = 6;
* @return Whether the appid field is set.
*/
@java.lang.Override
public boolean hasAppid() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 appid = 6;
* @return The appid.
*/
@java.lang.Override
public int getAppid() {
return appid_;
}
public static final int TEXT_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object text_ = "";
/**
* optional string text = 7;
* @return Whether the text field is set.
*/
@java.lang.Override
public boolean hasText() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string text = 7;
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
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()) {
text_ = s;
}
return s;
}
}
/**
* optional string text = 7;
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, source_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, alertType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, alertDestination_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(4, critical_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, time_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, appid_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 7, text_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, source_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, alertType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, alertDestination_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, critical_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, time_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, appid_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(7, text_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog) obj;
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (getSource()
!= other.getSource()) return false;
}
if (hasAlertType() != other.hasAlertType()) return false;
if (hasAlertType()) {
if (getAlertType()
!= other.getAlertType()) return false;
}
if (hasAlertDestination() != other.hasAlertDestination()) return false;
if (hasAlertDestination()) {
if (getAlertDestination()
!= other.getAlertDestination()) return false;
}
if (hasCritical() != other.hasCritical()) return false;
if (hasCritical()) {
if (getCritical()
!= other.getCritical()) return false;
}
if (hasTime() != other.hasTime()) return false;
if (hasTime()) {
if (getTime()
!= other.getTime()) return false;
}
if (hasAppid() != other.hasAppid()) return false;
if (hasAppid()) {
if (getAppid()
!= other.getAppid()) return false;
}
if (hasText() != other.hasText()) return false;
if (hasText()) {
if (!getText()
.equals(other.getText())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource();
}
if (hasAlertType()) {
hash = (37 * hash) + ALERT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getAlertType();
}
if (hasAlertDestination()) {
hash = (37 * hash) + ALERT_DESTINATION_FIELD_NUMBER;
hash = (53 * hash) + getAlertDestination();
}
if (hasCritical()) {
hash = (37 * hash) + CRITICAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCritical());
}
if (hasTime()) {
hash = (37 * hash) + TIME_FIELD_NUMBER;
hash = (53 * hash) + getTime();
}
if (hasAppid()) {
hash = (37 * hash) + APPID_FIELD_NUMBER;
hash = (53 * hash) + getAppid();
}
if (hasText()) {
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgNotifyWatchdog}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgNotifyWatchdog)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdogOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgNotifyWatchdog_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgNotifyWatchdog_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
source_ = 0;
alertType_ = 0;
alertDestination_ = 0;
critical_ = false;
time_ = 0;
appid_ = 0;
text_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgNotifyWatchdog_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.alertType_ = alertType_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.alertDestination_ = alertDestination_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.critical_ = critical_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.time_ = time_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.appid_ = appid_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.text_ = text_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog.getDefaultInstance()) return this;
if (other.hasSource()) {
setSource(other.getSource());
}
if (other.hasAlertType()) {
setAlertType(other.getAlertType());
}
if (other.hasAlertDestination()) {
setAlertDestination(other.getAlertDestination());
}
if (other.hasCritical()) {
setCritical(other.getCritical());
}
if (other.hasTime()) {
setTime(other.getTime());
}
if (other.hasAppid()) {
setAppid(other.getAppid());
}
if (other.hasText()) {
text_ = other.text_;
bitField0_ |= 0x00000040;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
source_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
alertType_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
alertDestination_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
critical_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
time_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
appid_ = input.readUInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
text_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int source_ ;
/**
* optional uint32 source = 1;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 source = 1;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
/**
* optional uint32 source = 1;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(int value) {
source_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 source = 1;
* @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000001);
source_ = 0;
onChanged();
return this;
}
private int alertType_ ;
/**
* optional uint32 alert_type = 2;
* @return Whether the alertType field is set.
*/
@java.lang.Override
public boolean hasAlertType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 alert_type = 2;
* @return The alertType.
*/
@java.lang.Override
public int getAlertType() {
return alertType_;
}
/**
* optional uint32 alert_type = 2;
* @param value The alertType to set.
* @return This builder for chaining.
*/
public Builder setAlertType(int value) {
alertType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 alert_type = 2;
* @return This builder for chaining.
*/
public Builder clearAlertType() {
bitField0_ = (bitField0_ & ~0x00000002);
alertType_ = 0;
onChanged();
return this;
}
private int alertDestination_ ;
/**
* optional uint32 alert_destination = 3;
* @return Whether the alertDestination field is set.
*/
@java.lang.Override
public boolean hasAlertDestination() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 alert_destination = 3;
* @return The alertDestination.
*/
@java.lang.Override
public int getAlertDestination() {
return alertDestination_;
}
/**
* optional uint32 alert_destination = 3;
* @param value The alertDestination to set.
* @return This builder for chaining.
*/
public Builder setAlertDestination(int value) {
alertDestination_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 alert_destination = 3;
* @return This builder for chaining.
*/
public Builder clearAlertDestination() {
bitField0_ = (bitField0_ & ~0x00000004);
alertDestination_ = 0;
onChanged();
return this;
}
private boolean critical_ ;
/**
* optional bool critical = 4;
* @return Whether the critical field is set.
*/
@java.lang.Override
public boolean hasCritical() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool critical = 4;
* @return The critical.
*/
@java.lang.Override
public boolean getCritical() {
return critical_;
}
/**
* optional bool critical = 4;
* @param value The critical to set.
* @return This builder for chaining.
*/
public Builder setCritical(boolean value) {
critical_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional bool critical = 4;
* @return This builder for chaining.
*/
public Builder clearCritical() {
bitField0_ = (bitField0_ & ~0x00000008);
critical_ = false;
onChanged();
return this;
}
private int time_ ;
/**
* optional uint32 time = 5;
* @return Whether the time field is set.
*/
@java.lang.Override
public boolean hasTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 time = 5;
* @return The time.
*/
@java.lang.Override
public int getTime() {
return time_;
}
/**
* optional uint32 time = 5;
* @param value The time to set.
* @return This builder for chaining.
*/
public Builder setTime(int value) {
time_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional uint32 time = 5;
* @return This builder for chaining.
*/
public Builder clearTime() {
bitField0_ = (bitField0_ & ~0x00000010);
time_ = 0;
onChanged();
return this;
}
private int appid_ ;
/**
* optional uint32 appid = 6;
* @return Whether the appid field is set.
*/
@java.lang.Override
public boolean hasAppid() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 appid = 6;
* @return The appid.
*/
@java.lang.Override
public int getAppid() {
return appid_;
}
/**
* optional uint32 appid = 6;
* @param value The appid to set.
* @return This builder for chaining.
*/
public Builder setAppid(int value) {
appid_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional uint32 appid = 6;
* @return This builder for chaining.
*/
public Builder clearAppid() {
bitField0_ = (bitField0_ & ~0x00000020);
appid_ = 0;
onChanged();
return this;
}
private java.lang.Object text_ = "";
/**
* optional string text = 7;
* @return Whether the text field is set.
*/
public boolean hasText() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string text = 7;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
text_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string text = 7;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string text = 7;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
text_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional string text = 7;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* optional string text = 7;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
text_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgNotifyWatchdog)
}
// @@protoc_insertion_point(class_scope:CMsgNotifyWatchdog)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgNotifyWatchdog parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgNotifyWatchdog getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMGetLicensesOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMGetLicenses)
com.google.protobuf.MessageOrBuilder {
/**
* optional fixed64 steamid = 1;
* @return Whether the steamid field is set.
*/
boolean hasSteamid();
/**
* optional fixed64 steamid = 1;
* @return The steamid.
*/
long getSteamid();
}
/**
* Protobuf type {@code CMsgAMGetLicenses}
*/
public static final class CMsgAMGetLicenses extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMGetLicenses)
CMsgAMGetLicensesOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMGetLicenses.class.getName());
}
// Use CMsgAMGetLicenses.newBuilder() to construct.
private CMsgAMGetLicenses(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMGetLicenses() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicenses_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicenses_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.Builder.class);
}
private int bitField0_;
public static final int STEAMID_FIELD_NUMBER = 1;
private long steamid_ = 0L;
/**
* optional fixed64 steamid = 1;
* @return Whether the steamid field is set.
*/
@java.lang.Override
public boolean hasSteamid() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steamid = 1;
* @return The steamid.
*/
@java.lang.Override
public long getSteamid() {
return steamid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeFixed64(1, steamid_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(1, steamid_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses) obj;
if (hasSteamid() != other.hasSteamid()) return false;
if (hasSteamid()) {
if (getSteamid()
!= other.getSteamid()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSteamid()) {
hash = (37 * hash) + STEAMID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSteamid());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMGetLicenses}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMGetLicenses)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicenses_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicenses_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
steamid_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicenses_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.steamid_ = steamid_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses.getDefaultInstance()) return this;
if (other.hasSteamid()) {
setSteamid(other.getSteamid());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
steamid_ = input.readFixed64();
bitField0_ |= 0x00000001;
break;
} // case 9
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long steamid_ ;
/**
* optional fixed64 steamid = 1;
* @return Whether the steamid field is set.
*/
@java.lang.Override
public boolean hasSteamid() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steamid = 1;
* @return The steamid.
*/
@java.lang.Override
public long getSteamid() {
return steamid_;
}
/**
* optional fixed64 steamid = 1;
* @param value The steamid to set.
* @return This builder for chaining.
*/
public Builder setSteamid(long value) {
steamid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional fixed64 steamid = 1;
* @return This builder for chaining.
*/
public Builder clearSteamid() {
bitField0_ = (bitField0_ & ~0x00000001);
steamid_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMGetLicenses)
}
// @@protoc_insertion_point(class_scope:CMsgAMGetLicenses)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMGetLicenses parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicenses getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgPackageLicenseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgPackageLicense)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 package_id = 1;
* @return Whether the packageId field is set.
*/
boolean hasPackageId();
/**
* optional uint32 package_id = 1;
* @return The packageId.
*/
int getPackageId();
/**
* optional uint32 time_created = 2;
* @return Whether the timeCreated field is set.
*/
boolean hasTimeCreated();
/**
* optional uint32 time_created = 2;
* @return The timeCreated.
*/
int getTimeCreated();
/**
* optional uint32 owner_id = 3;
* @return Whether the ownerId field is set.
*/
boolean hasOwnerId();
/**
* optional uint32 owner_id = 3;
* @return The ownerId.
*/
int getOwnerId();
}
/**
* Protobuf type {@code CMsgPackageLicense}
*/
public static final class CMsgPackageLicense extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgPackageLicense)
CMsgPackageLicenseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgPackageLicense.class.getName());
}
// Use CMsgPackageLicense.newBuilder() to construct.
private CMsgPackageLicense(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgPackageLicense() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgPackageLicense_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgPackageLicense_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder.class);
}
private int bitField0_;
public static final int PACKAGE_ID_FIELD_NUMBER = 1;
private int packageId_ = 0;
/**
* optional uint32 package_id = 1;
* @return Whether the packageId field is set.
*/
@java.lang.Override
public boolean hasPackageId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 package_id = 1;
* @return The packageId.
*/
@java.lang.Override
public int getPackageId() {
return packageId_;
}
public static final int TIME_CREATED_FIELD_NUMBER = 2;
private int timeCreated_ = 0;
/**
* optional uint32 time_created = 2;
* @return Whether the timeCreated field is set.
*/
@java.lang.Override
public boolean hasTimeCreated() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 time_created = 2;
* @return The timeCreated.
*/
@java.lang.Override
public int getTimeCreated() {
return timeCreated_;
}
public static final int OWNER_ID_FIELD_NUMBER = 3;
private int ownerId_ = 0;
/**
* optional uint32 owner_id = 3;
* @return Whether the ownerId field is set.
*/
@java.lang.Override
public boolean hasOwnerId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 owner_id = 3;
* @return The ownerId.
*/
@java.lang.Override
public int getOwnerId() {
return ownerId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, packageId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, timeCreated_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, ownerId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, packageId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, timeCreated_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, ownerId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense) obj;
if (hasPackageId() != other.hasPackageId()) return false;
if (hasPackageId()) {
if (getPackageId()
!= other.getPackageId()) return false;
}
if (hasTimeCreated() != other.hasTimeCreated()) return false;
if (hasTimeCreated()) {
if (getTimeCreated()
!= other.getTimeCreated()) return false;
}
if (hasOwnerId() != other.hasOwnerId()) return false;
if (hasOwnerId()) {
if (getOwnerId()
!= other.getOwnerId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPackageId()) {
hash = (37 * hash) + PACKAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getPackageId();
}
if (hasTimeCreated()) {
hash = (37 * hash) + TIME_CREATED_FIELD_NUMBER;
hash = (53 * hash) + getTimeCreated();
}
if (hasOwnerId()) {
hash = (37 * hash) + OWNER_ID_FIELD_NUMBER;
hash = (53 * hash) + getOwnerId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgPackageLicense}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgPackageLicense)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgPackageLicense_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgPackageLicense_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
packageId_ = 0;
timeCreated_ = 0;
ownerId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgPackageLicense_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.packageId_ = packageId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.timeCreated_ = timeCreated_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.ownerId_ = ownerId_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.getDefaultInstance()) return this;
if (other.hasPackageId()) {
setPackageId(other.getPackageId());
}
if (other.hasTimeCreated()) {
setTimeCreated(other.getTimeCreated());
}
if (other.hasOwnerId()) {
setOwnerId(other.getOwnerId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
packageId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
timeCreated_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
ownerId_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int packageId_ ;
/**
* optional uint32 package_id = 1;
* @return Whether the packageId field is set.
*/
@java.lang.Override
public boolean hasPackageId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 package_id = 1;
* @return The packageId.
*/
@java.lang.Override
public int getPackageId() {
return packageId_;
}
/**
* optional uint32 package_id = 1;
* @param value The packageId to set.
* @return This builder for chaining.
*/
public Builder setPackageId(int value) {
packageId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 package_id = 1;
* @return This builder for chaining.
*/
public Builder clearPackageId() {
bitField0_ = (bitField0_ & ~0x00000001);
packageId_ = 0;
onChanged();
return this;
}
private int timeCreated_ ;
/**
* optional uint32 time_created = 2;
* @return Whether the timeCreated field is set.
*/
@java.lang.Override
public boolean hasTimeCreated() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 time_created = 2;
* @return The timeCreated.
*/
@java.lang.Override
public int getTimeCreated() {
return timeCreated_;
}
/**
* optional uint32 time_created = 2;
* @param value The timeCreated to set.
* @return This builder for chaining.
*/
public Builder setTimeCreated(int value) {
timeCreated_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 time_created = 2;
* @return This builder for chaining.
*/
public Builder clearTimeCreated() {
bitField0_ = (bitField0_ & ~0x00000002);
timeCreated_ = 0;
onChanged();
return this;
}
private int ownerId_ ;
/**
* optional uint32 owner_id = 3;
* @return Whether the ownerId field is set.
*/
@java.lang.Override
public boolean hasOwnerId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 owner_id = 3;
* @return The ownerId.
*/
@java.lang.Override
public int getOwnerId() {
return ownerId_;
}
/**
* optional uint32 owner_id = 3;
* @param value The ownerId to set.
* @return This builder for chaining.
*/
public Builder setOwnerId(int value) {
ownerId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 owner_id = 3;
* @return This builder for chaining.
*/
public Builder clearOwnerId() {
bitField0_ = (bitField0_ & ~0x00000004);
ownerId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgPackageLicense)
}
// @@protoc_insertion_point(class_scope:CMsgPackageLicense)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgPackageLicense parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMGetLicensesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMGetLicensesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CMsgPackageLicense license = 1;
*/
java.util.List
getLicenseList();
/**
* repeated .CMsgPackageLicense license = 1;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense getLicense(int index);
/**
* repeated .CMsgPackageLicense license = 1;
*/
int getLicenseCount();
/**
* repeated .CMsgPackageLicense license = 1;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder>
getLicenseOrBuilderList();
/**
* repeated .CMsgPackageLicense license = 1;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder getLicenseOrBuilder(
int index);
/**
* optional uint32 result = 2;
* @return Whether the result field is set.
*/
boolean hasResult();
/**
* optional uint32 result = 2;
* @return The result.
*/
int getResult();
}
/**
* Protobuf type {@code CMsgAMGetLicensesResponse}
*/
public static final class CMsgAMGetLicensesResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMGetLicensesResponse)
CMsgAMGetLicensesResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMGetLicensesResponse.class.getName());
}
// Use CMsgAMGetLicensesResponse.newBuilder() to construct.
private CMsgAMGetLicensesResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMGetLicensesResponse() {
license_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicensesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicensesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.Builder.class);
}
private int bitField0_;
public static final int LICENSE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List license_;
/**
* repeated .CMsgPackageLicense license = 1;
*/
@java.lang.Override
public java.util.List getLicenseList() {
return license_;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder>
getLicenseOrBuilderList() {
return license_;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
@java.lang.Override
public int getLicenseCount() {
return license_.size();
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense getLicense(int index) {
return license_.get(index);
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder getLicenseOrBuilder(
int index) {
return license_.get(index);
}
public static final int RESULT_FIELD_NUMBER = 2;
private int result_ = 0;
/**
* optional uint32 result = 2;
* @return Whether the result field is set.
*/
@java.lang.Override
public boolean hasResult() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 result = 2;
* @return The result.
*/
@java.lang.Override
public int getResult() {
return result_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < license_.size(); i++) {
output.writeMessage(1, license_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(2, result_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < license_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, license_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, result_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse) obj;
if (!getLicenseList()
.equals(other.getLicenseList())) return false;
if (hasResult() != other.hasResult()) return false;
if (hasResult()) {
if (getResult()
!= other.getResult()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLicenseCount() > 0) {
hash = (37 * hash) + LICENSE_FIELD_NUMBER;
hash = (53 * hash) + getLicenseList().hashCode();
}
if (hasResult()) {
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMGetLicensesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMGetLicensesResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicensesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicensesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (licenseBuilder_ == null) {
license_ = java.util.Collections.emptyList();
} else {
license_ = null;
licenseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
result_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetLicensesResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse result) {
if (licenseBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
license_ = java.util.Collections.unmodifiableList(license_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.license_ = license_;
} else {
result.license_ = licenseBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.result_ = result_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse.getDefaultInstance()) return this;
if (licenseBuilder_ == null) {
if (!other.license_.isEmpty()) {
if (license_.isEmpty()) {
license_ = other.license_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLicenseIsMutable();
license_.addAll(other.license_);
}
onChanged();
}
} else {
if (!other.license_.isEmpty()) {
if (licenseBuilder_.isEmpty()) {
licenseBuilder_.dispose();
licenseBuilder_ = null;
license_ = other.license_;
bitField0_ = (bitField0_ & ~0x00000001);
licenseBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getLicenseFieldBuilder() : null;
} else {
licenseBuilder_.addAllMessages(other.license_);
}
}
}
if (other.hasResult()) {
setResult(other.getResult());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.parser(),
extensionRegistry);
if (licenseBuilder_ == null) {
ensureLicenseIsMutable();
license_.add(m);
} else {
licenseBuilder_.addMessage(m);
}
break;
} // case 10
case 16: {
result_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List license_ =
java.util.Collections.emptyList();
private void ensureLicenseIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
license_ = new java.util.ArrayList(license_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder> licenseBuilder_;
/**
* repeated .CMsgPackageLicense license = 1;
*/
public java.util.List getLicenseList() {
if (licenseBuilder_ == null) {
return java.util.Collections.unmodifiableList(license_);
} else {
return licenseBuilder_.getMessageList();
}
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public int getLicenseCount() {
if (licenseBuilder_ == null) {
return license_.size();
} else {
return licenseBuilder_.getCount();
}
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense getLicense(int index) {
if (licenseBuilder_ == null) {
return license_.get(index);
} else {
return licenseBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder setLicense(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense value) {
if (licenseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLicenseIsMutable();
license_.set(index, value);
onChanged();
} else {
licenseBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder setLicense(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder builderForValue) {
if (licenseBuilder_ == null) {
ensureLicenseIsMutable();
license_.set(index, builderForValue.build());
onChanged();
} else {
licenseBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder addLicense(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense value) {
if (licenseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLicenseIsMutable();
license_.add(value);
onChanged();
} else {
licenseBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder addLicense(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense value) {
if (licenseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLicenseIsMutable();
license_.add(index, value);
onChanged();
} else {
licenseBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder addLicense(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder builderForValue) {
if (licenseBuilder_ == null) {
ensureLicenseIsMutable();
license_.add(builderForValue.build());
onChanged();
} else {
licenseBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder addLicense(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder builderForValue) {
if (licenseBuilder_ == null) {
ensureLicenseIsMutable();
license_.add(index, builderForValue.build());
onChanged();
} else {
licenseBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder addAllLicense(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense> values) {
if (licenseBuilder_ == null) {
ensureLicenseIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, license_);
onChanged();
} else {
licenseBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder clearLicense() {
if (licenseBuilder_ == null) {
license_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
licenseBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public Builder removeLicense(int index) {
if (licenseBuilder_ == null) {
ensureLicenseIsMutable();
license_.remove(index);
onChanged();
} else {
licenseBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder getLicenseBuilder(
int index) {
return getLicenseFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder getLicenseOrBuilder(
int index) {
if (licenseBuilder_ == null) {
return license_.get(index); } else {
return licenseBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder>
getLicenseOrBuilderList() {
if (licenseBuilder_ != null) {
return licenseBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(license_);
}
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder addLicenseBuilder() {
return getLicenseFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.getDefaultInstance());
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder addLicenseBuilder(
int index) {
return getLicenseFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.getDefaultInstance());
}
/**
* repeated .CMsgPackageLicense license = 1;
*/
public java.util.List
getLicenseBuilderList() {
return getLicenseFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder>
getLicenseFieldBuilder() {
if (licenseBuilder_ == null) {
licenseBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicense.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgPackageLicenseOrBuilder>(
license_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
license_ = null;
}
return licenseBuilder_;
}
private int result_ ;
/**
* optional uint32 result = 2;
* @return Whether the result field is set.
*/
@java.lang.Override
public boolean hasResult() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 result = 2;
* @return The result.
*/
@java.lang.Override
public int getResult() {
return result_;
}
/**
* optional uint32 result = 2;
* @param value The result to set.
* @return This builder for chaining.
*/
public Builder setResult(int value) {
result_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 result = 2;
* @return This builder for chaining.
*/
public Builder clearResult() {
bitField0_ = (bitField0_ & ~0x00000002);
result_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMGetLicensesResponse)
}
// @@protoc_insertion_point(class_scope:CMsgAMGetLicensesResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMGetLicensesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetLicensesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMGetUserGameStatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMGetUserGameStats)
com.google.protobuf.MessageOrBuilder {
/**
* optional fixed64 steam_id = 1;
* @return Whether the steamId field is set.
*/
boolean hasSteamId();
/**
* optional fixed64 steam_id = 1;
* @return The steamId.
*/
long getSteamId();
/**
* optional fixed64 game_id = 2;
* @return Whether the gameId field is set.
*/
boolean hasGameId();
/**
* optional fixed64 game_id = 2;
* @return The gameId.
*/
long getGameId();
/**
* repeated uint32 stats = 3;
* @return A list containing the stats.
*/
java.util.List getStatsList();
/**
* repeated uint32 stats = 3;
* @return The count of stats.
*/
int getStatsCount();
/**
* repeated uint32 stats = 3;
* @param index The index of the element to return.
* @return The stats at the given index.
*/
int getStats(int index);
}
/**
* Protobuf type {@code CMsgAMGetUserGameStats}
*/
public static final class CMsgAMGetUserGameStats extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMGetUserGameStats)
CMsgAMGetUserGameStatsOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMGetUserGameStats.class.getName());
}
// Use CMsgAMGetUserGameStats.newBuilder() to construct.
private CMsgAMGetUserGameStats(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMGetUserGameStats() {
stats_ = emptyIntList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.Builder.class);
}
private int bitField0_;
public static final int STEAM_ID_FIELD_NUMBER = 1;
private long steamId_ = 0L;
/**
* optional fixed64 steam_id = 1;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steam_id = 1;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
public static final int GAME_ID_FIELD_NUMBER = 2;
private long gameId_ = 0L;
/**
* optional fixed64 game_id = 2;
* @return Whether the gameId field is set.
*/
@java.lang.Override
public boolean hasGameId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional fixed64 game_id = 2;
* @return The gameId.
*/
@java.lang.Override
public long getGameId() {
return gameId_;
}
public static final int STATS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList stats_ =
emptyIntList();
/**
* repeated uint32 stats = 3;
* @return A list containing the stats.
*/
@java.lang.Override
public java.util.List
getStatsList() {
return stats_;
}
/**
* repeated uint32 stats = 3;
* @return The count of stats.
*/
public int getStatsCount() {
return stats_.size();
}
/**
* repeated uint32 stats = 3;
* @param index The index of the element to return.
* @return The stats at the given index.
*/
public int getStats(int index) {
return stats_.getInt(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeFixed64(1, steamId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeFixed64(2, gameId_);
}
for (int i = 0; i < stats_.size(); i++) {
output.writeUInt32(3, stats_.getInt(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(1, steamId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(2, gameId_);
}
{
int dataSize = 0;
for (int i = 0; i < stats_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(stats_.getInt(i));
}
size += dataSize;
size += 1 * getStatsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats) obj;
if (hasSteamId() != other.hasSteamId()) return false;
if (hasSteamId()) {
if (getSteamId()
!= other.getSteamId()) return false;
}
if (hasGameId() != other.hasGameId()) return false;
if (hasGameId()) {
if (getGameId()
!= other.getGameId()) return false;
}
if (!getStatsList()
.equals(other.getStatsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSteamId()) {
hash = (37 * hash) + STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSteamId());
}
if (hasGameId()) {
hash = (37 * hash) + GAME_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGameId());
}
if (getStatsCount() > 0) {
hash = (37 * hash) + STATS_FIELD_NUMBER;
hash = (53 * hash) + getStatsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMGetUserGameStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMGetUserGameStats)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
steamId_ = 0L;
gameId_ = 0L;
stats_ = emptyIntList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStats_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.steamId_ = steamId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.gameId_ = gameId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
stats_.makeImmutable();
result.stats_ = stats_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats.getDefaultInstance()) return this;
if (other.hasSteamId()) {
setSteamId(other.getSteamId());
}
if (other.hasGameId()) {
setGameId(other.getGameId());
}
if (!other.stats_.isEmpty()) {
if (stats_.isEmpty()) {
stats_ = other.stats_;
stats_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureStatsIsMutable();
stats_.addAll(other.stats_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
steamId_ = input.readFixed64();
bitField0_ |= 0x00000001;
break;
} // case 9
case 17: {
gameId_ = input.readFixed64();
bitField0_ |= 0x00000002;
break;
} // case 17
case 24: {
int v = input.readUInt32();
ensureStatsIsMutable();
stats_.addInt(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureStatsIsMutable();
while (input.getBytesUntilLimit() > 0) {
stats_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long steamId_ ;
/**
* optional fixed64 steam_id = 1;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steam_id = 1;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
/**
* optional fixed64 steam_id = 1;
* @param value The steamId to set.
* @return This builder for chaining.
*/
public Builder setSteamId(long value) {
steamId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional fixed64 steam_id = 1;
* @return This builder for chaining.
*/
public Builder clearSteamId() {
bitField0_ = (bitField0_ & ~0x00000001);
steamId_ = 0L;
onChanged();
return this;
}
private long gameId_ ;
/**
* optional fixed64 game_id = 2;
* @return Whether the gameId field is set.
*/
@java.lang.Override
public boolean hasGameId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional fixed64 game_id = 2;
* @return The gameId.
*/
@java.lang.Override
public long getGameId() {
return gameId_;
}
/**
* optional fixed64 game_id = 2;
* @param value The gameId to set.
* @return This builder for chaining.
*/
public Builder setGameId(long value) {
gameId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional fixed64 game_id = 2;
* @return This builder for chaining.
*/
public Builder clearGameId() {
bitField0_ = (bitField0_ & ~0x00000002);
gameId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList stats_ = emptyIntList();
private void ensureStatsIsMutable() {
if (!stats_.isModifiable()) {
stats_ = makeMutableCopy(stats_);
}
bitField0_ |= 0x00000004;
}
/**
* repeated uint32 stats = 3;
* @return A list containing the stats.
*/
public java.util.List
getStatsList() {
stats_.makeImmutable();
return stats_;
}
/**
* repeated uint32 stats = 3;
* @return The count of stats.
*/
public int getStatsCount() {
return stats_.size();
}
/**
* repeated uint32 stats = 3;
* @param index The index of the element to return.
* @return The stats at the given index.
*/
public int getStats(int index) {
return stats_.getInt(index);
}
/**
* repeated uint32 stats = 3;
* @param index The index to set the value at.
* @param value The stats to set.
* @return This builder for chaining.
*/
public Builder setStats(
int index, int value) {
ensureStatsIsMutable();
stats_.setInt(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated uint32 stats = 3;
* @param value The stats to add.
* @return This builder for chaining.
*/
public Builder addStats(int value) {
ensureStatsIsMutable();
stats_.addInt(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated uint32 stats = 3;
* @param values The stats to add.
* @return This builder for chaining.
*/
public Builder addAllStats(
java.lang.Iterable extends java.lang.Integer> values) {
ensureStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stats_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated uint32 stats = 3;
* @return This builder for chaining.
*/
public Builder clearStats() {
stats_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMGetUserGameStats)
}
// @@protoc_insertion_point(class_scope:CMsgAMGetUserGameStats)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMGetUserGameStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMGetUserGameStatsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMGetUserGameStatsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional fixed64 steam_id = 1;
* @return Whether the steamId field is set.
*/
boolean hasSteamId();
/**
* optional fixed64 steam_id = 1;
* @return The steamId.
*/
long getSteamId();
/**
* optional fixed64 game_id = 2;
* @return Whether the gameId field is set.
*/
boolean hasGameId();
/**
* optional fixed64 game_id = 2;
* @return The gameId.
*/
long getGameId();
/**
* optional int32 eresult = 3 [default = 2];
* @return Whether the eresult field is set.
*/
boolean hasEresult();
/**
* optional int32 eresult = 3 [default = 2];
* @return The eresult.
*/
int getEresult();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
java.util.List
getStatsList();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats getStats(int index);
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
int getStatsCount();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder>
getStatsOrBuilderList();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder getStatsOrBuilder(
int index);
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
java.util.List
getAchievementBlocksList();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks getAchievementBlocks(int index);
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
int getAchievementBlocksCount();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder>
getAchievementBlocksOrBuilderList();
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder getAchievementBlocksOrBuilder(
int index);
}
/**
* Protobuf type {@code CMsgAMGetUserGameStatsResponse}
*/
public static final class CMsgAMGetUserGameStatsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMGetUserGameStatsResponse)
CMsgAMGetUserGameStatsResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMGetUserGameStatsResponse.class.getName());
}
// Use CMsgAMGetUserGameStatsResponse.newBuilder() to construct.
private CMsgAMGetUserGameStatsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMGetUserGameStatsResponse() {
eresult_ = 2;
stats_ = java.util.Collections.emptyList();
achievementBlocks_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Builder.class);
}
public interface StatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMGetUserGameStatsResponse.Stats)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 stat_id = 1;
* @return Whether the statId field is set.
*/
boolean hasStatId();
/**
* optional uint32 stat_id = 1;
* @return The statId.
*/
int getStatId();
/**
* optional uint32 stat_value = 2;
* @return Whether the statValue field is set.
*/
boolean hasStatValue();
/**
* optional uint32 stat_value = 2;
* @return The statValue.
*/
int getStatValue();
}
/**
* Protobuf type {@code CMsgAMGetUserGameStatsResponse.Stats}
*/
public static final class Stats extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMGetUserGameStatsResponse.Stats)
StatsOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
Stats.class.getName());
}
// Use Stats.newBuilder() to construct.
private Stats(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Stats() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Stats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Stats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder.class);
}
private int bitField0_;
public static final int STAT_ID_FIELD_NUMBER = 1;
private int statId_ = 0;
/**
* optional uint32 stat_id = 1;
* @return Whether the statId field is set.
*/
@java.lang.Override
public boolean hasStatId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 stat_id = 1;
* @return The statId.
*/
@java.lang.Override
public int getStatId() {
return statId_;
}
public static final int STAT_VALUE_FIELD_NUMBER = 2;
private int statValue_ = 0;
/**
* optional uint32 stat_value = 2;
* @return Whether the statValue field is set.
*/
@java.lang.Override
public boolean hasStatValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 stat_value = 2;
* @return The statValue.
*/
@java.lang.Override
public int getStatValue() {
return statValue_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, statId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, statValue_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, statId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, statValue_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats) obj;
if (hasStatId() != other.hasStatId()) return false;
if (hasStatId()) {
if (getStatId()
!= other.getStatId()) return false;
}
if (hasStatValue() != other.hasStatValue()) return false;
if (hasStatValue()) {
if (getStatValue()
!= other.getStatValue()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatId()) {
hash = (37 * hash) + STAT_ID_FIELD_NUMBER;
hash = (53 * hash) + getStatId();
}
if (hasStatValue()) {
hash = (37 * hash) + STAT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getStatValue();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMGetUserGameStatsResponse.Stats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMGetUserGameStatsResponse.Stats)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Stats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Stats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
statId_ = 0;
statValue_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Stats_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.statId_ = statId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.statValue_ = statValue_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.getDefaultInstance()) return this;
if (other.hasStatId()) {
setStatId(other.getStatId());
}
if (other.hasStatValue()) {
setStatValue(other.getStatValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
statId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
statValue_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int statId_ ;
/**
* optional uint32 stat_id = 1;
* @return Whether the statId field is set.
*/
@java.lang.Override
public boolean hasStatId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 stat_id = 1;
* @return The statId.
*/
@java.lang.Override
public int getStatId() {
return statId_;
}
/**
* optional uint32 stat_id = 1;
* @param value The statId to set.
* @return This builder for chaining.
*/
public Builder setStatId(int value) {
statId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 stat_id = 1;
* @return This builder for chaining.
*/
public Builder clearStatId() {
bitField0_ = (bitField0_ & ~0x00000001);
statId_ = 0;
onChanged();
return this;
}
private int statValue_ ;
/**
* optional uint32 stat_value = 2;
* @return Whether the statValue field is set.
*/
@java.lang.Override
public boolean hasStatValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 stat_value = 2;
* @return The statValue.
*/
@java.lang.Override
public int getStatValue() {
return statValue_;
}
/**
* optional uint32 stat_value = 2;
* @param value The statValue to set.
* @return This builder for chaining.
*/
public Builder setStatValue(int value) {
statValue_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 stat_value = 2;
* @return This builder for chaining.
*/
public Builder clearStatValue() {
bitField0_ = (bitField0_ & ~0x00000002);
statValue_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMGetUserGameStatsResponse.Stats)
}
// @@protoc_insertion_point(class_scope:CMsgAMGetUserGameStatsResponse.Stats)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Stats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface Achievement_BlocksOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMGetUserGameStatsResponse.Achievement_Blocks)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 achievement_id = 1;
* @return Whether the achievementId field is set.
*/
boolean hasAchievementId();
/**
* optional uint32 achievement_id = 1;
* @return The achievementId.
*/
int getAchievementId();
/**
* optional uint32 achievement_bit_id = 2;
* @return Whether the achievementBitId field is set.
*/
boolean hasAchievementBitId();
/**
* optional uint32 achievement_bit_id = 2;
* @return The achievementBitId.
*/
int getAchievementBitId();
/**
* optional fixed32 unlock_time = 3;
* @return Whether the unlockTime field is set.
*/
boolean hasUnlockTime();
/**
* optional fixed32 unlock_time = 3;
* @return The unlockTime.
*/
int getUnlockTime();
}
/**
* Protobuf type {@code CMsgAMGetUserGameStatsResponse.Achievement_Blocks}
*/
public static final class Achievement_Blocks extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMGetUserGameStatsResponse.Achievement_Blocks)
Achievement_BlocksOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
Achievement_Blocks.class.getName());
}
// Use Achievement_Blocks.newBuilder() to construct.
private Achievement_Blocks(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Achievement_Blocks() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Achievement_Blocks_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder.class);
}
private int bitField0_;
public static final int ACHIEVEMENT_ID_FIELD_NUMBER = 1;
private int achievementId_ = 0;
/**
* optional uint32 achievement_id = 1;
* @return Whether the achievementId field is set.
*/
@java.lang.Override
public boolean hasAchievementId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 achievement_id = 1;
* @return The achievementId.
*/
@java.lang.Override
public int getAchievementId() {
return achievementId_;
}
public static final int ACHIEVEMENT_BIT_ID_FIELD_NUMBER = 2;
private int achievementBitId_ = 0;
/**
* optional uint32 achievement_bit_id = 2;
* @return Whether the achievementBitId field is set.
*/
@java.lang.Override
public boolean hasAchievementBitId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 achievement_bit_id = 2;
* @return The achievementBitId.
*/
@java.lang.Override
public int getAchievementBitId() {
return achievementBitId_;
}
public static final int UNLOCK_TIME_FIELD_NUMBER = 3;
private int unlockTime_ = 0;
/**
* optional fixed32 unlock_time = 3;
* @return Whether the unlockTime field is set.
*/
@java.lang.Override
public boolean hasUnlockTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed32 unlock_time = 3;
* @return The unlockTime.
*/
@java.lang.Override
public int getUnlockTime() {
return unlockTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, achievementId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, achievementBitId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeFixed32(3, unlockTime_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, achievementId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, achievementBitId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(3, unlockTime_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks) obj;
if (hasAchievementId() != other.hasAchievementId()) return false;
if (hasAchievementId()) {
if (getAchievementId()
!= other.getAchievementId()) return false;
}
if (hasAchievementBitId() != other.hasAchievementBitId()) return false;
if (hasAchievementBitId()) {
if (getAchievementBitId()
!= other.getAchievementBitId()) return false;
}
if (hasUnlockTime() != other.hasUnlockTime()) return false;
if (hasUnlockTime()) {
if (getUnlockTime()
!= other.getUnlockTime()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAchievementId()) {
hash = (37 * hash) + ACHIEVEMENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAchievementId();
}
if (hasAchievementBitId()) {
hash = (37 * hash) + ACHIEVEMENT_BIT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAchievementBitId();
}
if (hasUnlockTime()) {
hash = (37 * hash) + UNLOCK_TIME_FIELD_NUMBER;
hash = (53 * hash) + getUnlockTime();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMGetUserGameStatsResponse.Achievement_Blocks}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMGetUserGameStatsResponse.Achievement_Blocks)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Achievement_Blocks_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
achievementId_ = 0;
achievementBitId_ = 0;
unlockTime_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.achievementId_ = achievementId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.achievementBitId_ = achievementBitId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.unlockTime_ = unlockTime_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.getDefaultInstance()) return this;
if (other.hasAchievementId()) {
setAchievementId(other.getAchievementId());
}
if (other.hasAchievementBitId()) {
setAchievementBitId(other.getAchievementBitId());
}
if (other.hasUnlockTime()) {
setUnlockTime(other.getUnlockTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
achievementId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
achievementBitId_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 29: {
unlockTime_ = input.readFixed32();
bitField0_ |= 0x00000004;
break;
} // case 29
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int achievementId_ ;
/**
* optional uint32 achievement_id = 1;
* @return Whether the achievementId field is set.
*/
@java.lang.Override
public boolean hasAchievementId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 achievement_id = 1;
* @return The achievementId.
*/
@java.lang.Override
public int getAchievementId() {
return achievementId_;
}
/**
* optional uint32 achievement_id = 1;
* @param value The achievementId to set.
* @return This builder for chaining.
*/
public Builder setAchievementId(int value) {
achievementId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 achievement_id = 1;
* @return This builder for chaining.
*/
public Builder clearAchievementId() {
bitField0_ = (bitField0_ & ~0x00000001);
achievementId_ = 0;
onChanged();
return this;
}
private int achievementBitId_ ;
/**
* optional uint32 achievement_bit_id = 2;
* @return Whether the achievementBitId field is set.
*/
@java.lang.Override
public boolean hasAchievementBitId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 achievement_bit_id = 2;
* @return The achievementBitId.
*/
@java.lang.Override
public int getAchievementBitId() {
return achievementBitId_;
}
/**
* optional uint32 achievement_bit_id = 2;
* @param value The achievementBitId to set.
* @return This builder for chaining.
*/
public Builder setAchievementBitId(int value) {
achievementBitId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 achievement_bit_id = 2;
* @return This builder for chaining.
*/
public Builder clearAchievementBitId() {
bitField0_ = (bitField0_ & ~0x00000002);
achievementBitId_ = 0;
onChanged();
return this;
}
private int unlockTime_ ;
/**
* optional fixed32 unlock_time = 3;
* @return Whether the unlockTime field is set.
*/
@java.lang.Override
public boolean hasUnlockTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed32 unlock_time = 3;
* @return The unlockTime.
*/
@java.lang.Override
public int getUnlockTime() {
return unlockTime_;
}
/**
* optional fixed32 unlock_time = 3;
* @param value The unlockTime to set.
* @return This builder for chaining.
*/
public Builder setUnlockTime(int value) {
unlockTime_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional fixed32 unlock_time = 3;
* @return This builder for chaining.
*/
public Builder clearUnlockTime() {
bitField0_ = (bitField0_ & ~0x00000004);
unlockTime_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMGetUserGameStatsResponse.Achievement_Blocks)
}
// @@protoc_insertion_point(class_scope:CMsgAMGetUserGameStatsResponse.Achievement_Blocks)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Achievement_Blocks parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int STEAM_ID_FIELD_NUMBER = 1;
private long steamId_ = 0L;
/**
* optional fixed64 steam_id = 1;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steam_id = 1;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
public static final int GAME_ID_FIELD_NUMBER = 2;
private long gameId_ = 0L;
/**
* optional fixed64 game_id = 2;
* @return Whether the gameId field is set.
*/
@java.lang.Override
public boolean hasGameId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional fixed64 game_id = 2;
* @return The gameId.
*/
@java.lang.Override
public long getGameId() {
return gameId_;
}
public static final int ERESULT_FIELD_NUMBER = 3;
private int eresult_ = 2;
/**
* optional int32 eresult = 3 [default = 2];
* @return Whether the eresult field is set.
*/
@java.lang.Override
public boolean hasEresult() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 eresult = 3 [default = 2];
* @return The eresult.
*/
@java.lang.Override
public int getEresult() {
return eresult_;
}
public static final int STATS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List stats_;
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
@java.lang.Override
public java.util.List getStatsList() {
return stats_;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder>
getStatsOrBuilderList() {
return stats_;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
@java.lang.Override
public int getStatsCount() {
return stats_.size();
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats getStats(int index) {
return stats_.get(index);
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder getStatsOrBuilder(
int index) {
return stats_.get(index);
}
public static final int ACHIEVEMENT_BLOCKS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List achievementBlocks_;
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
@java.lang.Override
public java.util.List getAchievementBlocksList() {
return achievementBlocks_;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder>
getAchievementBlocksOrBuilderList() {
return achievementBlocks_;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
@java.lang.Override
public int getAchievementBlocksCount() {
return achievementBlocks_.size();
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks getAchievementBlocks(int index) {
return achievementBlocks_.get(index);
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder getAchievementBlocksOrBuilder(
int index) {
return achievementBlocks_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeFixed64(1, steamId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeFixed64(2, gameId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, eresult_);
}
for (int i = 0; i < stats_.size(); i++) {
output.writeMessage(4, stats_.get(i));
}
for (int i = 0; i < achievementBlocks_.size(); i++) {
output.writeMessage(5, achievementBlocks_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(1, steamId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(2, gameId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, eresult_);
}
for (int i = 0; i < stats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, stats_.get(i));
}
for (int i = 0; i < achievementBlocks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, achievementBlocks_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse) obj;
if (hasSteamId() != other.hasSteamId()) return false;
if (hasSteamId()) {
if (getSteamId()
!= other.getSteamId()) return false;
}
if (hasGameId() != other.hasGameId()) return false;
if (hasGameId()) {
if (getGameId()
!= other.getGameId()) return false;
}
if (hasEresult() != other.hasEresult()) return false;
if (hasEresult()) {
if (getEresult()
!= other.getEresult()) return false;
}
if (!getStatsList()
.equals(other.getStatsList())) return false;
if (!getAchievementBlocksList()
.equals(other.getAchievementBlocksList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSteamId()) {
hash = (37 * hash) + STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSteamId());
}
if (hasGameId()) {
hash = (37 * hash) + GAME_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGameId());
}
if (hasEresult()) {
hash = (37 * hash) + ERESULT_FIELD_NUMBER;
hash = (53 * hash) + getEresult();
}
if (getStatsCount() > 0) {
hash = (37 * hash) + STATS_FIELD_NUMBER;
hash = (53 * hash) + getStatsList().hashCode();
}
if (getAchievementBlocksCount() > 0) {
hash = (37 * hash) + ACHIEVEMENT_BLOCKS_FIELD_NUMBER;
hash = (53 * hash) + getAchievementBlocksList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMGetUserGameStatsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMGetUserGameStatsResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
steamId_ = 0L;
gameId_ = 0L;
eresult_ = 2;
if (statsBuilder_ == null) {
stats_ = java.util.Collections.emptyList();
} else {
stats_ = null;
statsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (achievementBlocksBuilder_ == null) {
achievementBlocks_ = java.util.Collections.emptyList();
} else {
achievementBlocks_ = null;
achievementBlocksBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMGetUserGameStatsResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse result) {
if (statsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
stats_ = java.util.Collections.unmodifiableList(stats_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.stats_ = stats_;
} else {
result.stats_ = statsBuilder_.build();
}
if (achievementBlocksBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
achievementBlocks_ = java.util.Collections.unmodifiableList(achievementBlocks_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.achievementBlocks_ = achievementBlocks_;
} else {
result.achievementBlocks_ = achievementBlocksBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.steamId_ = steamId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.gameId_ = gameId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.eresult_ = eresult_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.getDefaultInstance()) return this;
if (other.hasSteamId()) {
setSteamId(other.getSteamId());
}
if (other.hasGameId()) {
setGameId(other.getGameId());
}
if (other.hasEresult()) {
setEresult(other.getEresult());
}
if (statsBuilder_ == null) {
if (!other.stats_.isEmpty()) {
if (stats_.isEmpty()) {
stats_ = other.stats_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureStatsIsMutable();
stats_.addAll(other.stats_);
}
onChanged();
}
} else {
if (!other.stats_.isEmpty()) {
if (statsBuilder_.isEmpty()) {
statsBuilder_.dispose();
statsBuilder_ = null;
stats_ = other.stats_;
bitField0_ = (bitField0_ & ~0x00000008);
statsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStatsFieldBuilder() : null;
} else {
statsBuilder_.addAllMessages(other.stats_);
}
}
}
if (achievementBlocksBuilder_ == null) {
if (!other.achievementBlocks_.isEmpty()) {
if (achievementBlocks_.isEmpty()) {
achievementBlocks_ = other.achievementBlocks_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureAchievementBlocksIsMutable();
achievementBlocks_.addAll(other.achievementBlocks_);
}
onChanged();
}
} else {
if (!other.achievementBlocks_.isEmpty()) {
if (achievementBlocksBuilder_.isEmpty()) {
achievementBlocksBuilder_.dispose();
achievementBlocksBuilder_ = null;
achievementBlocks_ = other.achievementBlocks_;
bitField0_ = (bitField0_ & ~0x00000010);
achievementBlocksBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAchievementBlocksFieldBuilder() : null;
} else {
achievementBlocksBuilder_.addAllMessages(other.achievementBlocks_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
steamId_ = input.readFixed64();
bitField0_ |= 0x00000001;
break;
} // case 9
case 17: {
gameId_ = input.readFixed64();
bitField0_ |= 0x00000002;
break;
} // case 17
case 24: {
eresult_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.parser(),
extensionRegistry);
if (statsBuilder_ == null) {
ensureStatsIsMutable();
stats_.add(m);
} else {
statsBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.parser(),
extensionRegistry);
if (achievementBlocksBuilder_ == null) {
ensureAchievementBlocksIsMutable();
achievementBlocks_.add(m);
} else {
achievementBlocksBuilder_.addMessage(m);
}
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long steamId_ ;
/**
* optional fixed64 steam_id = 1;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steam_id = 1;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
/**
* optional fixed64 steam_id = 1;
* @param value The steamId to set.
* @return This builder for chaining.
*/
public Builder setSteamId(long value) {
steamId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional fixed64 steam_id = 1;
* @return This builder for chaining.
*/
public Builder clearSteamId() {
bitField0_ = (bitField0_ & ~0x00000001);
steamId_ = 0L;
onChanged();
return this;
}
private long gameId_ ;
/**
* optional fixed64 game_id = 2;
* @return Whether the gameId field is set.
*/
@java.lang.Override
public boolean hasGameId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional fixed64 game_id = 2;
* @return The gameId.
*/
@java.lang.Override
public long getGameId() {
return gameId_;
}
/**
* optional fixed64 game_id = 2;
* @param value The gameId to set.
* @return This builder for chaining.
*/
public Builder setGameId(long value) {
gameId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional fixed64 game_id = 2;
* @return This builder for chaining.
*/
public Builder clearGameId() {
bitField0_ = (bitField0_ & ~0x00000002);
gameId_ = 0L;
onChanged();
return this;
}
private int eresult_ = 2;
/**
* optional int32 eresult = 3 [default = 2];
* @return Whether the eresult field is set.
*/
@java.lang.Override
public boolean hasEresult() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 eresult = 3 [default = 2];
* @return The eresult.
*/
@java.lang.Override
public int getEresult() {
return eresult_;
}
/**
* optional int32 eresult = 3 [default = 2];
* @param value The eresult to set.
* @return This builder for chaining.
*/
public Builder setEresult(int value) {
eresult_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional int32 eresult = 3 [default = 2];
* @return This builder for chaining.
*/
public Builder clearEresult() {
bitField0_ = (bitField0_ & ~0x00000004);
eresult_ = 2;
onChanged();
return this;
}
private java.util.List stats_ =
java.util.Collections.emptyList();
private void ensureStatsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
stats_ = new java.util.ArrayList(stats_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder> statsBuilder_;
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public java.util.List getStatsList() {
if (statsBuilder_ == null) {
return java.util.Collections.unmodifiableList(stats_);
} else {
return statsBuilder_.getMessageList();
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public int getStatsCount() {
if (statsBuilder_ == null) {
return stats_.size();
} else {
return statsBuilder_.getCount();
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats getStats(int index) {
if (statsBuilder_ == null) {
return stats_.get(index);
} else {
return statsBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder setStats(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats value) {
if (statsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatsIsMutable();
stats_.set(index, value);
onChanged();
} else {
statsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder setStats(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder builderForValue) {
if (statsBuilder_ == null) {
ensureStatsIsMutable();
stats_.set(index, builderForValue.build());
onChanged();
} else {
statsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder addStats(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats value) {
if (statsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatsIsMutable();
stats_.add(value);
onChanged();
} else {
statsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder addStats(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats value) {
if (statsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatsIsMutable();
stats_.add(index, value);
onChanged();
} else {
statsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder addStats(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder builderForValue) {
if (statsBuilder_ == null) {
ensureStatsIsMutable();
stats_.add(builderForValue.build());
onChanged();
} else {
statsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder addStats(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder builderForValue) {
if (statsBuilder_ == null) {
ensureStatsIsMutable();
stats_.add(index, builderForValue.build());
onChanged();
} else {
statsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder addAllStats(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats> values) {
if (statsBuilder_ == null) {
ensureStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stats_);
onChanged();
} else {
statsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder clearStats() {
if (statsBuilder_ == null) {
stats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
statsBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public Builder removeStats(int index) {
if (statsBuilder_ == null) {
ensureStatsIsMutable();
stats_.remove(index);
onChanged();
} else {
statsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder getStatsBuilder(
int index) {
return getStatsFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder getStatsOrBuilder(
int index) {
if (statsBuilder_ == null) {
return stats_.get(index); } else {
return statsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder>
getStatsOrBuilderList() {
if (statsBuilder_ != null) {
return statsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stats_);
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder addStatsBuilder() {
return getStatsFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.getDefaultInstance());
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder addStatsBuilder(
int index) {
return getStatsFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.getDefaultInstance());
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
*/
public java.util.List
getStatsBuilderList() {
return getStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder>
getStatsFieldBuilder() {
if (statsBuilder_ == null) {
statsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Stats.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.StatsOrBuilder>(
stats_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
stats_ = null;
}
return statsBuilder_;
}
private java.util.List achievementBlocks_ =
java.util.Collections.emptyList();
private void ensureAchievementBlocksIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
achievementBlocks_ = new java.util.ArrayList(achievementBlocks_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder> achievementBlocksBuilder_;
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public java.util.List getAchievementBlocksList() {
if (achievementBlocksBuilder_ == null) {
return java.util.Collections.unmodifiableList(achievementBlocks_);
} else {
return achievementBlocksBuilder_.getMessageList();
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public int getAchievementBlocksCount() {
if (achievementBlocksBuilder_ == null) {
return achievementBlocks_.size();
} else {
return achievementBlocksBuilder_.getCount();
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks getAchievementBlocks(int index) {
if (achievementBlocksBuilder_ == null) {
return achievementBlocks_.get(index);
} else {
return achievementBlocksBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder setAchievementBlocks(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks value) {
if (achievementBlocksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAchievementBlocksIsMutable();
achievementBlocks_.set(index, value);
onChanged();
} else {
achievementBlocksBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder setAchievementBlocks(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder builderForValue) {
if (achievementBlocksBuilder_ == null) {
ensureAchievementBlocksIsMutable();
achievementBlocks_.set(index, builderForValue.build());
onChanged();
} else {
achievementBlocksBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder addAchievementBlocks(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks value) {
if (achievementBlocksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAchievementBlocksIsMutable();
achievementBlocks_.add(value);
onChanged();
} else {
achievementBlocksBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder addAchievementBlocks(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks value) {
if (achievementBlocksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAchievementBlocksIsMutable();
achievementBlocks_.add(index, value);
onChanged();
} else {
achievementBlocksBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder addAchievementBlocks(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder builderForValue) {
if (achievementBlocksBuilder_ == null) {
ensureAchievementBlocksIsMutable();
achievementBlocks_.add(builderForValue.build());
onChanged();
} else {
achievementBlocksBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder addAchievementBlocks(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder builderForValue) {
if (achievementBlocksBuilder_ == null) {
ensureAchievementBlocksIsMutable();
achievementBlocks_.add(index, builderForValue.build());
onChanged();
} else {
achievementBlocksBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder addAllAchievementBlocks(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks> values) {
if (achievementBlocksBuilder_ == null) {
ensureAchievementBlocksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, achievementBlocks_);
onChanged();
} else {
achievementBlocksBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder clearAchievementBlocks() {
if (achievementBlocksBuilder_ == null) {
achievementBlocks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
achievementBlocksBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public Builder removeAchievementBlocks(int index) {
if (achievementBlocksBuilder_ == null) {
ensureAchievementBlocksIsMutable();
achievementBlocks_.remove(index);
onChanged();
} else {
achievementBlocksBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder getAchievementBlocksBuilder(
int index) {
return getAchievementBlocksFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder getAchievementBlocksOrBuilder(
int index) {
if (achievementBlocksBuilder_ == null) {
return achievementBlocks_.get(index); } else {
return achievementBlocksBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder>
getAchievementBlocksOrBuilderList() {
if (achievementBlocksBuilder_ != null) {
return achievementBlocksBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(achievementBlocks_);
}
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder addAchievementBlocksBuilder() {
return getAchievementBlocksFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.getDefaultInstance());
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder addAchievementBlocksBuilder(
int index) {
return getAchievementBlocksFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.getDefaultInstance());
}
/**
* repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
*/
public java.util.List
getAchievementBlocksBuilderList() {
return getAchievementBlocksFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder>
getAchievementBlocksFieldBuilder() {
if (achievementBlocksBuilder_ == null) {
achievementBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_Blocks.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse.Achievement_BlocksOrBuilder>(
achievementBlocks_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
achievementBlocks_ = null;
}
return achievementBlocksBuilder_;
}
// @@protoc_insertion_point(builder_scope:CMsgAMGetUserGameStatsResponse)
}
// @@protoc_insertion_point(class_scope:CMsgAMGetUserGameStatsResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMGetUserGameStatsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMGetUserGameStatsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGCGetCommandListOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGCGetCommandList)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 app_id = 1;
* @return Whether the appId field is set.
*/
boolean hasAppId();
/**
* optional uint32 app_id = 1;
* @return The appId.
*/
int getAppId();
/**
* optional string command_prefix = 2;
* @return Whether the commandPrefix field is set.
*/
boolean hasCommandPrefix();
/**
* optional string command_prefix = 2;
* @return The commandPrefix.
*/
java.lang.String getCommandPrefix();
/**
* optional string command_prefix = 2;
* @return The bytes for commandPrefix.
*/
com.google.protobuf.ByteString
getCommandPrefixBytes();
}
/**
* Protobuf type {@code CMsgGCGetCommandList}
*/
public static final class CMsgGCGetCommandList extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGCGetCommandList)
CMsgGCGetCommandListOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGCGetCommandList.class.getName());
}
// Use CMsgGCGetCommandList.newBuilder() to construct.
private CMsgGCGetCommandList(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGCGetCommandList() {
commandPrefix_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.Builder.class);
}
private int bitField0_;
public static final int APP_ID_FIELD_NUMBER = 1;
private int appId_ = 0;
/**
* optional uint32 app_id = 1;
* @return Whether the appId field is set.
*/
@java.lang.Override
public boolean hasAppId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 app_id = 1;
* @return The appId.
*/
@java.lang.Override
public int getAppId() {
return appId_;
}
public static final int COMMAND_PREFIX_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object commandPrefix_ = "";
/**
* optional string command_prefix = 2;
* @return Whether the commandPrefix field is set.
*/
@java.lang.Override
public boolean hasCommandPrefix() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string command_prefix = 2;
* @return The commandPrefix.
*/
@java.lang.Override
public java.lang.String getCommandPrefix() {
java.lang.Object ref = commandPrefix_;
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()) {
commandPrefix_ = s;
}
return s;
}
}
/**
* optional string command_prefix = 2;
* @return The bytes for commandPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommandPrefixBytes() {
java.lang.Object ref = commandPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commandPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, appId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, commandPrefix_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, appId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, commandPrefix_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList) obj;
if (hasAppId() != other.hasAppId()) return false;
if (hasAppId()) {
if (getAppId()
!= other.getAppId()) return false;
}
if (hasCommandPrefix() != other.hasCommandPrefix()) return false;
if (hasCommandPrefix()) {
if (!getCommandPrefix()
.equals(other.getCommandPrefix())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAppId()) {
hash = (37 * hash) + APP_ID_FIELD_NUMBER;
hash = (53 * hash) + getAppId();
}
if (hasCommandPrefix()) {
hash = (37 * hash) + COMMAND_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getCommandPrefix().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGCGetCommandList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGCGetCommandList)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
appId_ = 0;
commandPrefix_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandList_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.appId_ = appId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.commandPrefix_ = commandPrefix_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList.getDefaultInstance()) return this;
if (other.hasAppId()) {
setAppId(other.getAppId());
}
if (other.hasCommandPrefix()) {
commandPrefix_ = other.commandPrefix_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
appId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
commandPrefix_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int appId_ ;
/**
* optional uint32 app_id = 1;
* @return Whether the appId field is set.
*/
@java.lang.Override
public boolean hasAppId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 app_id = 1;
* @return The appId.
*/
@java.lang.Override
public int getAppId() {
return appId_;
}
/**
* optional uint32 app_id = 1;
* @param value The appId to set.
* @return This builder for chaining.
*/
public Builder setAppId(int value) {
appId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 app_id = 1;
* @return This builder for chaining.
*/
public Builder clearAppId() {
bitField0_ = (bitField0_ & ~0x00000001);
appId_ = 0;
onChanged();
return this;
}
private java.lang.Object commandPrefix_ = "";
/**
* optional string command_prefix = 2;
* @return Whether the commandPrefix field is set.
*/
public boolean hasCommandPrefix() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string command_prefix = 2;
* @return The commandPrefix.
*/
public java.lang.String getCommandPrefix() {
java.lang.Object ref = commandPrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
commandPrefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string command_prefix = 2;
* @return The bytes for commandPrefix.
*/
public com.google.protobuf.ByteString
getCommandPrefixBytes() {
java.lang.Object ref = commandPrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commandPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string command_prefix = 2;
* @param value The commandPrefix to set.
* @return This builder for chaining.
*/
public Builder setCommandPrefix(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
commandPrefix_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string command_prefix = 2;
* @return This builder for chaining.
*/
public Builder clearCommandPrefix() {
commandPrefix_ = getDefaultInstance().getCommandPrefix();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string command_prefix = 2;
* @param value The bytes for commandPrefix to set.
* @return This builder for chaining.
*/
public Builder setCommandPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
commandPrefix_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGCGetCommandList)
}
// @@protoc_insertion_point(class_scope:CMsgGCGetCommandList)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGCGetCommandList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGCGetCommandListResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGCGetCommandListResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string command_name = 1;
* @return A list containing the commandName.
*/
java.util.List
getCommandNameList();
/**
* repeated string command_name = 1;
* @return The count of commandName.
*/
int getCommandNameCount();
/**
* repeated string command_name = 1;
* @param index The index of the element to return.
* @return The commandName at the given index.
*/
java.lang.String getCommandName(int index);
/**
* repeated string command_name = 1;
* @param index The index of the value to return.
* @return The bytes of the commandName at the given index.
*/
com.google.protobuf.ByteString
getCommandNameBytes(int index);
}
/**
* Protobuf type {@code CMsgGCGetCommandListResponse}
*/
public static final class CMsgGCGetCommandListResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGCGetCommandListResponse)
CMsgGCGetCommandListResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGCGetCommandListResponse.class.getName());
}
// Use CMsgGCGetCommandListResponse.newBuilder() to construct.
private CMsgGCGetCommandListResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGCGetCommandListResponse() {
commandName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.Builder.class);
}
public static final int COMMAND_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList commandName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string command_name = 1;
* @return A list containing the commandName.
*/
public com.google.protobuf.ProtocolStringList
getCommandNameList() {
return commandName_;
}
/**
* repeated string command_name = 1;
* @return The count of commandName.
*/
public int getCommandNameCount() {
return commandName_.size();
}
/**
* repeated string command_name = 1;
* @param index The index of the element to return.
* @return The commandName at the given index.
*/
public java.lang.String getCommandName(int index) {
return commandName_.get(index);
}
/**
* repeated string command_name = 1;
* @param index The index of the value to return.
* @return The bytes of the commandName at the given index.
*/
public com.google.protobuf.ByteString
getCommandNameBytes(int index) {
return commandName_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < commandName_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, commandName_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < commandName_.size(); i++) {
dataSize += computeStringSizeNoTag(commandName_.getRaw(i));
}
size += dataSize;
size += 1 * getCommandNameList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse) obj;
if (!getCommandNameList()
.equals(other.getCommandNameList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getCommandNameCount() > 0) {
hash = (37 * hash) + COMMAND_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCommandNameList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGCGetCommandListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGCGetCommandListResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
commandName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgGCGetCommandListResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
commandName_.makeImmutable();
result.commandName_ = commandName_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse.getDefaultInstance()) return this;
if (!other.commandName_.isEmpty()) {
if (commandName_.isEmpty()) {
commandName_ = other.commandName_;
bitField0_ |= 0x00000001;
} else {
ensureCommandNameIsMutable();
commandName_.addAll(other.commandName_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureCommandNameIsMutable();
commandName_.add(bs);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList commandName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCommandNameIsMutable() {
if (!commandName_.isModifiable()) {
commandName_ = new com.google.protobuf.LazyStringArrayList(commandName_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated string command_name = 1;
* @return A list containing the commandName.
*/
public com.google.protobuf.ProtocolStringList
getCommandNameList() {
commandName_.makeImmutable();
return commandName_;
}
/**
* repeated string command_name = 1;
* @return The count of commandName.
*/
public int getCommandNameCount() {
return commandName_.size();
}
/**
* repeated string command_name = 1;
* @param index The index of the element to return.
* @return The commandName at the given index.
*/
public java.lang.String getCommandName(int index) {
return commandName_.get(index);
}
/**
* repeated string command_name = 1;
* @param index The index of the value to return.
* @return The bytes of the commandName at the given index.
*/
public com.google.protobuf.ByteString
getCommandNameBytes(int index) {
return commandName_.getByteString(index);
}
/**
* repeated string command_name = 1;
* @param index The index to set the value at.
* @param value The commandName to set.
* @return This builder for chaining.
*/
public Builder setCommandName(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureCommandNameIsMutable();
commandName_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string command_name = 1;
* @param value The commandName to add.
* @return This builder for chaining.
*/
public Builder addCommandName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureCommandNameIsMutable();
commandName_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string command_name = 1;
* @param values The commandName to add.
* @return This builder for chaining.
*/
public Builder addAllCommandName(
java.lang.Iterable values) {
ensureCommandNameIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, commandName_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string command_name = 1;
* @return This builder for chaining.
*/
public Builder clearCommandName() {
commandName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* repeated string command_name = 1;
* @param value The bytes of the commandName to add.
* @return This builder for chaining.
*/
public Builder addCommandNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureCommandNameIsMutable();
commandName_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGCGetCommandListResponse)
}
// @@protoc_insertion_point(class_scope:CMsgGCGetCommandListResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGCGetCommandListResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgGCGetCommandListResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgMemCachedGetOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedGet)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string keys = 1;
* @return A list containing the keys.
*/
java.util.List
getKeysList();
/**
* repeated string keys = 1;
* @return The count of keys.
*/
int getKeysCount();
/**
* repeated string keys = 1;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
java.lang.String getKeys(int index);
/**
* repeated string keys = 1;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
com.google.protobuf.ByteString
getKeysBytes(int index);
}
/**
* Protobuf type {@code CGCMsgMemCachedGet}
*/
public static final class CGCMsgMemCachedGet extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedGet)
CGCMsgMemCachedGetOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgMemCachedGet.class.getName());
}
// Use CGCMsgMemCachedGet.newBuilder() to construct.
private CGCMsgMemCachedGet(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgMemCachedGet() {
keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.Builder.class);
}
public static final int KEYS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string keys = 1;
* @return A list containing the keys.
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
return keys_;
}
/**
* repeated string keys = 1;
* @return The count of keys.
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 1;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 1;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < keys_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, keys_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < keys_.size(); i++) {
dataSize += computeStringSizeNoTag(keys_.getRaw(i));
}
size += dataSize;
size += 1 * getKeysList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet) obj;
if (!getKeysList()
.equals(other.getKeysList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getKeysCount() > 0) {
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedGet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedGet)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGet_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
keys_.makeImmutable();
result.keys_ = keys_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet.getDefaultInstance()) return this;
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ |= 0x00000001;
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureKeysIsMutable();
keys_.add(bs);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureKeysIsMutable() {
if (!keys_.isModifiable()) {
keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated string keys = 1;
* @return A list containing the keys.
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
keys_.makeImmutable();
return keys_;
}
/**
* repeated string keys = 1;
* @return The count of keys.
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 1;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 1;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
/**
* repeated string keys = 1;
* @param index The index to set the value at.
* @param value The keys to set.
* @return This builder for chaining.
*/
public Builder setKeys(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureKeysIsMutable();
keys_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @param value The keys to add.
* @return This builder for chaining.
*/
public Builder addKeys(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureKeysIsMutable();
keys_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @param values The keys to add.
* @return This builder for chaining.
*/
public Builder addAllKeys(
java.lang.Iterable values) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @return This builder for chaining.
*/
public Builder clearKeys() {
keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @param value The bytes of the keys to add.
* @return This builder for chaining.
*/
public Builder addKeysBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureKeysIsMutable();
keys_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedGet)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedGet)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgMemCachedGet parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgMemCachedGetResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedGetResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
java.util.List
getValuesList();
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag getValues(int index);
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
int getValuesCount();
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder>
getValuesOrBuilderList();
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder getValuesOrBuilder(
int index);
}
/**
* Protobuf type {@code CGCMsgMemCachedGetResponse}
*/
public static final class CGCMsgMemCachedGetResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedGetResponse)
CGCMsgMemCachedGetResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgMemCachedGetResponse.class.getName());
}
// Use CGCMsgMemCachedGetResponse.newBuilder() to construct.
private CGCMsgMemCachedGetResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgMemCachedGetResponse() {
values_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.Builder.class);
}
public interface ValueTagOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedGetResponse.ValueTag)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool found = 1;
* @return Whether the found field is set.
*/
boolean hasFound();
/**
* optional bool found = 1;
* @return The found.
*/
boolean getFound();
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional bytes value = 2;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code CGCMsgMemCachedGetResponse.ValueTag}
*/
public static final class ValueTag extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedGetResponse.ValueTag)
ValueTagOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ValueTag.class.getName());
}
// Use ValueTag.newBuilder() to construct.
private ValueTag(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ValueTag() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_ValueTag_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_ValueTag_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder.class);
}
private int bitField0_;
public static final int FOUND_FIELD_NUMBER = 1;
private boolean found_ = false;
/**
* optional bool found = 1;
* @return Whether the found field is set.
*/
@java.lang.Override
public boolean hasFound() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool found = 1;
* @return The found.
*/
@java.lang.Override
public boolean getFound() {
return found_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, found_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, found_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag) obj;
if (hasFound() != other.hasFound()) return false;
if (hasFound()) {
if (getFound()
!= other.getFound()) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFound()) {
hash = (37 * hash) + FOUND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFound());
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedGetResponse.ValueTag}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedGetResponse.ValueTag)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_ValueTag_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_ValueTag_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
found_ = false;
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_ValueTag_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.found_ = found_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.getDefaultInstance()) return this;
if (other.hasFound()) {
setFound(other.getFound());
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
found_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean found_ ;
/**
* optional bool found = 1;
* @return Whether the found field is set.
*/
@java.lang.Override
public boolean hasFound() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool found = 1;
* @return The found.
*/
@java.lang.Override
public boolean getFound() {
return found_;
}
/**
* optional bool found = 1;
* @param value The found to set.
* @return This builder for chaining.
*/
public Builder setFound(boolean value) {
found_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool found = 1;
* @return This builder for chaining.
*/
public Builder clearFound() {
bitField0_ = (bitField0_ & ~0x00000001);
found_ = false;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bytes value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedGetResponse.ValueTag)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedGetResponse.ValueTag)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ValueTag parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int VALUES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List values_;
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
@java.lang.Override
public java.util.List getValuesList() {
return values_;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder>
getValuesOrBuilderList() {
return values_;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
@java.lang.Override
public int getValuesCount() {
return values_.size();
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag getValues(int index) {
return values_.get(index);
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder getValuesOrBuilder(
int index) {
return values_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < values_.size(); i++) {
output.writeMessage(1, values_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < values_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, values_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse) obj;
if (!getValuesList()
.equals(other.getValuesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getValuesCount() > 0) {
hash = (37 * hash) + VALUES_FIELD_NUMBER;
hash = (53 * hash) + getValuesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedGetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedGetResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (valuesBuilder_ == null) {
values_ = java.util.Collections.emptyList();
} else {
values_ = null;
valuesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedGetResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse result) {
if (valuesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
values_ = java.util.Collections.unmodifiableList(values_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.values_ = values_;
} else {
result.values_ = valuesBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.getDefaultInstance()) return this;
if (valuesBuilder_ == null) {
if (!other.values_.isEmpty()) {
if (values_.isEmpty()) {
values_ = other.values_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureValuesIsMutable();
values_.addAll(other.values_);
}
onChanged();
}
} else {
if (!other.values_.isEmpty()) {
if (valuesBuilder_.isEmpty()) {
valuesBuilder_.dispose();
valuesBuilder_ = null;
values_ = other.values_;
bitField0_ = (bitField0_ & ~0x00000001);
valuesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getValuesFieldBuilder() : null;
} else {
valuesBuilder_.addAllMessages(other.values_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.parser(),
extensionRegistry);
if (valuesBuilder_ == null) {
ensureValuesIsMutable();
values_.add(m);
} else {
valuesBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List values_ =
java.util.Collections.emptyList();
private void ensureValuesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
values_ = new java.util.ArrayList(values_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder> valuesBuilder_;
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public java.util.List getValuesList() {
if (valuesBuilder_ == null) {
return java.util.Collections.unmodifiableList(values_);
} else {
return valuesBuilder_.getMessageList();
}
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public int getValuesCount() {
if (valuesBuilder_ == null) {
return values_.size();
} else {
return valuesBuilder_.getCount();
}
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag getValues(int index) {
if (valuesBuilder_ == null) {
return values_.get(index);
} else {
return valuesBuilder_.getMessage(index);
}
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder setValues(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag value) {
if (valuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValuesIsMutable();
values_.set(index, value);
onChanged();
} else {
valuesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder setValues(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder builderForValue) {
if (valuesBuilder_ == null) {
ensureValuesIsMutable();
values_.set(index, builderForValue.build());
onChanged();
} else {
valuesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder addValues(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag value) {
if (valuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValuesIsMutable();
values_.add(value);
onChanged();
} else {
valuesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder addValues(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag value) {
if (valuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValuesIsMutable();
values_.add(index, value);
onChanged();
} else {
valuesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder addValues(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder builderForValue) {
if (valuesBuilder_ == null) {
ensureValuesIsMutable();
values_.add(builderForValue.build());
onChanged();
} else {
valuesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder addValues(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder builderForValue) {
if (valuesBuilder_ == null) {
ensureValuesIsMutable();
values_.add(index, builderForValue.build());
onChanged();
} else {
valuesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder addAllValues(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag> values) {
if (valuesBuilder_ == null) {
ensureValuesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, values_);
onChanged();
} else {
valuesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder clearValues() {
if (valuesBuilder_ == null) {
values_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
valuesBuilder_.clear();
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public Builder removeValues(int index) {
if (valuesBuilder_ == null) {
ensureValuesIsMutable();
values_.remove(index);
onChanged();
} else {
valuesBuilder_.remove(index);
}
return this;
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder getValuesBuilder(
int index) {
return getValuesFieldBuilder().getBuilder(index);
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder getValuesOrBuilder(
int index) {
if (valuesBuilder_ == null) {
return values_.get(index); } else {
return valuesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder>
getValuesOrBuilderList() {
if (valuesBuilder_ != null) {
return valuesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(values_);
}
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder addValuesBuilder() {
return getValuesFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.getDefaultInstance());
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder addValuesBuilder(
int index) {
return getValuesFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.getDefaultInstance());
}
/**
* repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
*/
public java.util.List
getValuesBuilderList() {
return getValuesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder>
getValuesFieldBuilder() {
if (valuesBuilder_ == null) {
valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTag.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse.ValueTagOrBuilder>(
values_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
values_ = null;
}
return valuesBuilder_;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedGetResponse)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedGetResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgMemCachedGetResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedGetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgMemCachedSetOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedSet)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
java.util.List
getKeysList();
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair getKeys(int index);
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
int getKeysCount();
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder>
getKeysOrBuilderList();
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder getKeysOrBuilder(
int index);
}
/**
* Protobuf type {@code CGCMsgMemCachedSet}
*/
public static final class CGCMsgMemCachedSet extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedSet)
CGCMsgMemCachedSetOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgMemCachedSet.class.getName());
}
// Use CGCMsgMemCachedSet.newBuilder() to construct.
private CGCMsgMemCachedSet(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgMemCachedSet() {
keys_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.Builder.class);
}
public interface KeyPairOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedSet.KeyPair)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional bytes value = 2;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code CGCMsgMemCachedSet.KeyPair}
*/
public static final class KeyPair extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedSet.KeyPair)
KeyPairOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
KeyPair.class.getName());
}
// Use KeyPair.newBuilder() to construct.
private KeyPair(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private KeyPair() {
name_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_KeyPair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_KeyPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
@java.lang.Override
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;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
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;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().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 in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedSet.KeyPair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedSet.KeyPair)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_KeyPair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_KeyPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_KeyPair_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.getDefaultInstance()) return this;
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
* @return The bytes for name.
*/
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;
}
}
/**
* optional string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bytes value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedSet.KeyPair)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedSet.KeyPair)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public KeyPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int KEYS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List keys_;
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
@java.lang.Override
public java.util.List getKeysList() {
return keys_;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder>
getKeysOrBuilderList() {
return keys_;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
@java.lang.Override
public int getKeysCount() {
return keys_.size();
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair getKeys(int index) {
return keys_.get(index);
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder getKeysOrBuilder(
int index) {
return keys_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < keys_.size(); i++) {
output.writeMessage(1, keys_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < keys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, keys_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet) obj;
if (!getKeysList()
.equals(other.getKeysList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getKeysCount() > 0) {
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedSet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedSet)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (keysBuilder_ == null) {
keys_ = java.util.Collections.emptyList();
} else {
keys_ = null;
keysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedSet_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet result) {
if (keysBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
keys_ = java.util.Collections.unmodifiableList(keys_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.keys_ = keys_;
} else {
result.keys_ = keysBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.getDefaultInstance()) return this;
if (keysBuilder_ == null) {
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
} else {
if (!other.keys_.isEmpty()) {
if (keysBuilder_.isEmpty()) {
keysBuilder_.dispose();
keysBuilder_ = null;
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000001);
keysBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getKeysFieldBuilder() : null;
} else {
keysBuilder_.addAllMessages(other.keys_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.parser(),
extensionRegistry);
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(m);
} else {
keysBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List keys_ =
java.util.Collections.emptyList();
private void ensureKeysIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
keys_ = new java.util.ArrayList(keys_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder> keysBuilder_;
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public java.util.List getKeysList() {
if (keysBuilder_ == null) {
return java.util.Collections.unmodifiableList(keys_);
} else {
return keysBuilder_.getMessageList();
}
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public int getKeysCount() {
if (keysBuilder_ == null) {
return keys_.size();
} else {
return keysBuilder_.getCount();
}
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair getKeys(int index) {
if (keysBuilder_ == null) {
return keys_.get(index);
} else {
return keysBuilder_.getMessage(index);
}
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder setKeys(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.set(index, value);
onChanged();
} else {
keysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder setKeys(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.set(index, builderForValue.build());
onChanged();
} else {
keysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder addKeys(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(value);
onChanged();
} else {
keysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder addKeys(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(index, value);
onChanged();
} else {
keysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder addKeys(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(builderForValue.build());
onChanged();
} else {
keysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder addKeys(
int index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(index, builderForValue.build());
onChanged();
} else {
keysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder addAllKeys(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair> values) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
onChanged();
} else {
keysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder clearKeys() {
if (keysBuilder_ == null) {
keys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
keysBuilder_.clear();
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public Builder removeKeys(int index) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.remove(index);
onChanged();
} else {
keysBuilder_.remove(index);
}
return this;
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder getKeysBuilder(
int index) {
return getKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder getKeysOrBuilder(
int index) {
if (keysBuilder_ == null) {
return keys_.get(index); } else {
return keysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder>
getKeysOrBuilderList() {
if (keysBuilder_ != null) {
return keysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(keys_);
}
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder addKeysBuilder() {
return getKeysFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.getDefaultInstance());
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder addKeysBuilder(
int index) {
return getKeysFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.getDefaultInstance());
}
/**
* repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
*/
public java.util.List
getKeysBuilderList() {
return getKeysFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder>
getKeysFieldBuilder() {
if (keysBuilder_ == null) {
keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPair.Builder, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet.KeyPairOrBuilder>(
keys_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
keys_ = null;
}
return keysBuilder_;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedSet)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedSet)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgMemCachedSet parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedSet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgMemCachedDeleteOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedDelete)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string keys = 1;
* @return A list containing the keys.
*/
java.util.List
getKeysList();
/**
* repeated string keys = 1;
* @return The count of keys.
*/
int getKeysCount();
/**
* repeated string keys = 1;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
java.lang.String getKeys(int index);
/**
* repeated string keys = 1;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
com.google.protobuf.ByteString
getKeysBytes(int index);
}
/**
* Protobuf type {@code CGCMsgMemCachedDelete}
*/
public static final class CGCMsgMemCachedDelete extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedDelete)
CGCMsgMemCachedDeleteOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgMemCachedDelete.class.getName());
}
// Use CGCMsgMemCachedDelete.newBuilder() to construct.
private CGCMsgMemCachedDelete(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgMemCachedDelete() {
keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedDelete_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedDelete_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.Builder.class);
}
public static final int KEYS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string keys = 1;
* @return A list containing the keys.
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
return keys_;
}
/**
* repeated string keys = 1;
* @return The count of keys.
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 1;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 1;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < keys_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, keys_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < keys_.size(); i++) {
dataSize += computeStringSizeNoTag(keys_.getRaw(i));
}
size += dataSize;
size += 1 * getKeysList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete) obj;
if (!getKeysList()
.equals(other.getKeysList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getKeysCount() > 0) {
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedDelete}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedDelete)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDeleteOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedDelete_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedDelete_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedDelete_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
keys_.makeImmutable();
result.keys_ = keys_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete.getDefaultInstance()) return this;
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ |= 0x00000001;
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureKeysIsMutable();
keys_.add(bs);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureKeysIsMutable() {
if (!keys_.isModifiable()) {
keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated string keys = 1;
* @return A list containing the keys.
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
keys_.makeImmutable();
return keys_;
}
/**
* repeated string keys = 1;
* @return The count of keys.
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 1;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 1;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
/**
* repeated string keys = 1;
* @param index The index to set the value at.
* @param value The keys to set.
* @return This builder for chaining.
*/
public Builder setKeys(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureKeysIsMutable();
keys_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @param value The keys to add.
* @return This builder for chaining.
*/
public Builder addKeys(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureKeysIsMutable();
keys_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @param values The keys to add.
* @return This builder for chaining.
*/
public Builder addAllKeys(
java.lang.Iterable values) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @return This builder for chaining.
*/
public Builder clearKeys() {
keys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* repeated string keys = 1;
* @param value The bytes of the keys to add.
* @return This builder for chaining.
*/
public Builder addKeysBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureKeysIsMutable();
keys_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedDelete)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedDelete)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgMemCachedDelete parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedDelete getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgMemCachedStatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedStats)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CGCMsgMemCachedStats}
*/
public static final class CGCMsgMemCachedStats extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedStats)
CGCMsgMemCachedStatsOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgMemCachedStats.class.getName());
}
// Use CGCMsgMemCachedStats.newBuilder() to construct.
private CGCMsgMemCachedStats(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgMemCachedStats() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedStats)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStats_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedStats)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedStats)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgMemCachedStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgMemCachedStatsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgMemCachedStatsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 curr_connections = 1;
* @return Whether the currConnections field is set.
*/
boolean hasCurrConnections();
/**
* optional uint64 curr_connections = 1;
* @return The currConnections.
*/
long getCurrConnections();
/**
* optional uint64 cmd_get = 2;
* @return Whether the cmdGet field is set.
*/
boolean hasCmdGet();
/**
* optional uint64 cmd_get = 2;
* @return The cmdGet.
*/
long getCmdGet();
/**
* optional uint64 cmd_set = 3;
* @return Whether the cmdSet field is set.
*/
boolean hasCmdSet();
/**
* optional uint64 cmd_set = 3;
* @return The cmdSet.
*/
long getCmdSet();
/**
* optional uint64 cmd_flush = 4;
* @return Whether the cmdFlush field is set.
*/
boolean hasCmdFlush();
/**
* optional uint64 cmd_flush = 4;
* @return The cmdFlush.
*/
long getCmdFlush();
/**
* optional uint64 get_hits = 5;
* @return Whether the getHits field is set.
*/
boolean hasGetHits();
/**
* optional uint64 get_hits = 5;
* @return The getHits.
*/
long getGetHits();
/**
* optional uint64 get_misses = 6;
* @return Whether the getMisses field is set.
*/
boolean hasGetMisses();
/**
* optional uint64 get_misses = 6;
* @return The getMisses.
*/
long getGetMisses();
/**
* optional uint64 delete_hits = 7;
* @return Whether the deleteHits field is set.
*/
boolean hasDeleteHits();
/**
* optional uint64 delete_hits = 7;
* @return The deleteHits.
*/
long getDeleteHits();
/**
* optional uint64 delete_misses = 8;
* @return Whether the deleteMisses field is set.
*/
boolean hasDeleteMisses();
/**
* optional uint64 delete_misses = 8;
* @return The deleteMisses.
*/
long getDeleteMisses();
/**
* optional uint64 bytes_read = 9;
* @return Whether the bytesRead field is set.
*/
boolean hasBytesRead();
/**
* optional uint64 bytes_read = 9;
* @return The bytesRead.
*/
long getBytesRead();
/**
* optional uint64 bytes_written = 10;
* @return Whether the bytesWritten field is set.
*/
boolean hasBytesWritten();
/**
* optional uint64 bytes_written = 10;
* @return The bytesWritten.
*/
long getBytesWritten();
/**
* optional uint64 limit_maxbytes = 11;
* @return Whether the limitMaxbytes field is set.
*/
boolean hasLimitMaxbytes();
/**
* optional uint64 limit_maxbytes = 11;
* @return The limitMaxbytes.
*/
long getLimitMaxbytes();
/**
* optional uint64 curr_items = 12;
* @return Whether the currItems field is set.
*/
boolean hasCurrItems();
/**
* optional uint64 curr_items = 12;
* @return The currItems.
*/
long getCurrItems();
/**
* optional uint64 evictions = 13;
* @return Whether the evictions field is set.
*/
boolean hasEvictions();
/**
* optional uint64 evictions = 13;
* @return The evictions.
*/
long getEvictions();
/**
* optional uint64 bytes = 14;
* @return Whether the bytes field is set.
*/
boolean hasBytes();
/**
* optional uint64 bytes = 14;
* @return The bytes.
*/
long getBytes();
}
/**
* Protobuf type {@code CGCMsgMemCachedStatsResponse}
*/
public static final class CGCMsgMemCachedStatsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgMemCachedStatsResponse)
CGCMsgMemCachedStatsResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgMemCachedStatsResponse.class.getName());
}
// Use CGCMsgMemCachedStatsResponse.newBuilder() to construct.
private CGCMsgMemCachedStatsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgMemCachedStatsResponse() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.Builder.class);
}
private int bitField0_;
public static final int CURR_CONNECTIONS_FIELD_NUMBER = 1;
private long currConnections_ = 0L;
/**
* optional uint64 curr_connections = 1;
* @return Whether the currConnections field is set.
*/
@java.lang.Override
public boolean hasCurrConnections() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 curr_connections = 1;
* @return The currConnections.
*/
@java.lang.Override
public long getCurrConnections() {
return currConnections_;
}
public static final int CMD_GET_FIELD_NUMBER = 2;
private long cmdGet_ = 0L;
/**
* optional uint64 cmd_get = 2;
* @return Whether the cmdGet field is set.
*/
@java.lang.Override
public boolean hasCmdGet() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint64 cmd_get = 2;
* @return The cmdGet.
*/
@java.lang.Override
public long getCmdGet() {
return cmdGet_;
}
public static final int CMD_SET_FIELD_NUMBER = 3;
private long cmdSet_ = 0L;
/**
* optional uint64 cmd_set = 3;
* @return Whether the cmdSet field is set.
*/
@java.lang.Override
public boolean hasCmdSet() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint64 cmd_set = 3;
* @return The cmdSet.
*/
@java.lang.Override
public long getCmdSet() {
return cmdSet_;
}
public static final int CMD_FLUSH_FIELD_NUMBER = 4;
private long cmdFlush_ = 0L;
/**
* optional uint64 cmd_flush = 4;
* @return Whether the cmdFlush field is set.
*/
@java.lang.Override
public boolean hasCmdFlush() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 cmd_flush = 4;
* @return The cmdFlush.
*/
@java.lang.Override
public long getCmdFlush() {
return cmdFlush_;
}
public static final int GET_HITS_FIELD_NUMBER = 5;
private long getHits_ = 0L;
/**
* optional uint64 get_hits = 5;
* @return Whether the getHits field is set.
*/
@java.lang.Override
public boolean hasGetHits() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint64 get_hits = 5;
* @return The getHits.
*/
@java.lang.Override
public long getGetHits() {
return getHits_;
}
public static final int GET_MISSES_FIELD_NUMBER = 6;
private long getMisses_ = 0L;
/**
* optional uint64 get_misses = 6;
* @return Whether the getMisses field is set.
*/
@java.lang.Override
public boolean hasGetMisses() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint64 get_misses = 6;
* @return The getMisses.
*/
@java.lang.Override
public long getGetMisses() {
return getMisses_;
}
public static final int DELETE_HITS_FIELD_NUMBER = 7;
private long deleteHits_ = 0L;
/**
* optional uint64 delete_hits = 7;
* @return Whether the deleteHits field is set.
*/
@java.lang.Override
public boolean hasDeleteHits() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint64 delete_hits = 7;
* @return The deleteHits.
*/
@java.lang.Override
public long getDeleteHits() {
return deleteHits_;
}
public static final int DELETE_MISSES_FIELD_NUMBER = 8;
private long deleteMisses_ = 0L;
/**
* optional uint64 delete_misses = 8;
* @return Whether the deleteMisses field is set.
*/
@java.lang.Override
public boolean hasDeleteMisses() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint64 delete_misses = 8;
* @return The deleteMisses.
*/
@java.lang.Override
public long getDeleteMisses() {
return deleteMisses_;
}
public static final int BYTES_READ_FIELD_NUMBER = 9;
private long bytesRead_ = 0L;
/**
* optional uint64 bytes_read = 9;
* @return Whether the bytesRead field is set.
*/
@java.lang.Override
public boolean hasBytesRead() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint64 bytes_read = 9;
* @return The bytesRead.
*/
@java.lang.Override
public long getBytesRead() {
return bytesRead_;
}
public static final int BYTES_WRITTEN_FIELD_NUMBER = 10;
private long bytesWritten_ = 0L;
/**
* optional uint64 bytes_written = 10;
* @return Whether the bytesWritten field is set.
*/
@java.lang.Override
public boolean hasBytesWritten() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint64 bytes_written = 10;
* @return The bytesWritten.
*/
@java.lang.Override
public long getBytesWritten() {
return bytesWritten_;
}
public static final int LIMIT_MAXBYTES_FIELD_NUMBER = 11;
private long limitMaxbytes_ = 0L;
/**
* optional uint64 limit_maxbytes = 11;
* @return Whether the limitMaxbytes field is set.
*/
@java.lang.Override
public boolean hasLimitMaxbytes() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint64 limit_maxbytes = 11;
* @return The limitMaxbytes.
*/
@java.lang.Override
public long getLimitMaxbytes() {
return limitMaxbytes_;
}
public static final int CURR_ITEMS_FIELD_NUMBER = 12;
private long currItems_ = 0L;
/**
* optional uint64 curr_items = 12;
* @return Whether the currItems field is set.
*/
@java.lang.Override
public boolean hasCurrItems() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional uint64 curr_items = 12;
* @return The currItems.
*/
@java.lang.Override
public long getCurrItems() {
return currItems_;
}
public static final int EVICTIONS_FIELD_NUMBER = 13;
private long evictions_ = 0L;
/**
* optional uint64 evictions = 13;
* @return Whether the evictions field is set.
*/
@java.lang.Override
public boolean hasEvictions() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint64 evictions = 13;
* @return The evictions.
*/
@java.lang.Override
public long getEvictions() {
return evictions_;
}
public static final int BYTES_FIELD_NUMBER = 14;
private long bytes_ = 0L;
/**
* optional uint64 bytes = 14;
* @return Whether the bytes field is set.
*/
@java.lang.Override
public boolean hasBytes() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional uint64 bytes = 14;
* @return The bytes.
*/
@java.lang.Override
public long getBytes() {
return bytes_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(1, currConnections_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, cmdGet_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt64(3, cmdSet_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt64(4, cmdFlush_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt64(5, getHits_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt64(6, getMisses_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt64(7, deleteHits_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt64(8, deleteMisses_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeUInt64(9, bytesRead_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeUInt64(10, bytesWritten_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeUInt64(11, limitMaxbytes_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeUInt64(12, currItems_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeUInt64(13, evictions_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeUInt64(14, bytes_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, currConnections_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, cmdGet_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, cmdSet_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, cmdFlush_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, getHits_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, getMisses_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, deleteHits_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, deleteMisses_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, bytesRead_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(10, bytesWritten_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, limitMaxbytes_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(12, currItems_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(13, evictions_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(14, bytes_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse) obj;
if (hasCurrConnections() != other.hasCurrConnections()) return false;
if (hasCurrConnections()) {
if (getCurrConnections()
!= other.getCurrConnections()) return false;
}
if (hasCmdGet() != other.hasCmdGet()) return false;
if (hasCmdGet()) {
if (getCmdGet()
!= other.getCmdGet()) return false;
}
if (hasCmdSet() != other.hasCmdSet()) return false;
if (hasCmdSet()) {
if (getCmdSet()
!= other.getCmdSet()) return false;
}
if (hasCmdFlush() != other.hasCmdFlush()) return false;
if (hasCmdFlush()) {
if (getCmdFlush()
!= other.getCmdFlush()) return false;
}
if (hasGetHits() != other.hasGetHits()) return false;
if (hasGetHits()) {
if (getGetHits()
!= other.getGetHits()) return false;
}
if (hasGetMisses() != other.hasGetMisses()) return false;
if (hasGetMisses()) {
if (getGetMisses()
!= other.getGetMisses()) return false;
}
if (hasDeleteHits() != other.hasDeleteHits()) return false;
if (hasDeleteHits()) {
if (getDeleteHits()
!= other.getDeleteHits()) return false;
}
if (hasDeleteMisses() != other.hasDeleteMisses()) return false;
if (hasDeleteMisses()) {
if (getDeleteMisses()
!= other.getDeleteMisses()) return false;
}
if (hasBytesRead() != other.hasBytesRead()) return false;
if (hasBytesRead()) {
if (getBytesRead()
!= other.getBytesRead()) return false;
}
if (hasBytesWritten() != other.hasBytesWritten()) return false;
if (hasBytesWritten()) {
if (getBytesWritten()
!= other.getBytesWritten()) return false;
}
if (hasLimitMaxbytes() != other.hasLimitMaxbytes()) return false;
if (hasLimitMaxbytes()) {
if (getLimitMaxbytes()
!= other.getLimitMaxbytes()) return false;
}
if (hasCurrItems() != other.hasCurrItems()) return false;
if (hasCurrItems()) {
if (getCurrItems()
!= other.getCurrItems()) return false;
}
if (hasEvictions() != other.hasEvictions()) return false;
if (hasEvictions()) {
if (getEvictions()
!= other.getEvictions()) return false;
}
if (hasBytes() != other.hasBytes()) return false;
if (hasBytes()) {
if (getBytes()
!= other.getBytes()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrConnections()) {
hash = (37 * hash) + CURR_CONNECTIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCurrConnections());
}
if (hasCmdGet()) {
hash = (37 * hash) + CMD_GET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCmdGet());
}
if (hasCmdSet()) {
hash = (37 * hash) + CMD_SET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCmdSet());
}
if (hasCmdFlush()) {
hash = (37 * hash) + CMD_FLUSH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCmdFlush());
}
if (hasGetHits()) {
hash = (37 * hash) + GET_HITS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGetHits());
}
if (hasGetMisses()) {
hash = (37 * hash) + GET_MISSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGetMisses());
}
if (hasDeleteHits()) {
hash = (37 * hash) + DELETE_HITS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDeleteHits());
}
if (hasDeleteMisses()) {
hash = (37 * hash) + DELETE_MISSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDeleteMisses());
}
if (hasBytesRead()) {
hash = (37 * hash) + BYTES_READ_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBytesRead());
}
if (hasBytesWritten()) {
hash = (37 * hash) + BYTES_WRITTEN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBytesWritten());
}
if (hasLimitMaxbytes()) {
hash = (37 * hash) + LIMIT_MAXBYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLimitMaxbytes());
}
if (hasCurrItems()) {
hash = (37 * hash) + CURR_ITEMS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCurrItems());
}
if (hasEvictions()) {
hash = (37 * hash) + EVICTIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEvictions());
}
if (hasBytes()) {
hash = (37 * hash) + BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBytes());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgMemCachedStatsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgMemCachedStatsResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
currConnections_ = 0L;
cmdGet_ = 0L;
cmdSet_ = 0L;
cmdFlush_ = 0L;
getHits_ = 0L;
getMisses_ = 0L;
deleteHits_ = 0L;
deleteMisses_ = 0L;
bytesRead_ = 0L;
bytesWritten_ = 0L;
limitMaxbytes_ = 0L;
currItems_ = 0L;
evictions_ = 0L;
bytes_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgMemCachedStatsResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.currConnections_ = currConnections_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cmdGet_ = cmdGet_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.cmdSet_ = cmdSet_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.cmdFlush_ = cmdFlush_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.getHits_ = getHits_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.getMisses_ = getMisses_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.deleteHits_ = deleteHits_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.deleteMisses_ = deleteMisses_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.bytesRead_ = bytesRead_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.bytesWritten_ = bytesWritten_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.limitMaxbytes_ = limitMaxbytes_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.currItems_ = currItems_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.evictions_ = evictions_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.bytes_ = bytes_;
to_bitField0_ |= 0x00002000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse.getDefaultInstance()) return this;
if (other.hasCurrConnections()) {
setCurrConnections(other.getCurrConnections());
}
if (other.hasCmdGet()) {
setCmdGet(other.getCmdGet());
}
if (other.hasCmdSet()) {
setCmdSet(other.getCmdSet());
}
if (other.hasCmdFlush()) {
setCmdFlush(other.getCmdFlush());
}
if (other.hasGetHits()) {
setGetHits(other.getGetHits());
}
if (other.hasGetMisses()) {
setGetMisses(other.getGetMisses());
}
if (other.hasDeleteHits()) {
setDeleteHits(other.getDeleteHits());
}
if (other.hasDeleteMisses()) {
setDeleteMisses(other.getDeleteMisses());
}
if (other.hasBytesRead()) {
setBytesRead(other.getBytesRead());
}
if (other.hasBytesWritten()) {
setBytesWritten(other.getBytesWritten());
}
if (other.hasLimitMaxbytes()) {
setLimitMaxbytes(other.getLimitMaxbytes());
}
if (other.hasCurrItems()) {
setCurrItems(other.getCurrItems());
}
if (other.hasEvictions()) {
setEvictions(other.getEvictions());
}
if (other.hasBytes()) {
setBytes(other.getBytes());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
currConnections_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
cmdGet_ = input.readUInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
cmdSet_ = input.readUInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
cmdFlush_ = input.readUInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
getHits_ = input.readUInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
getMisses_ = input.readUInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
deleteHits_ = input.readUInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
deleteMisses_ = input.readUInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
bytesRead_ = input.readUInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
bytesWritten_ = input.readUInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
limitMaxbytes_ = input.readUInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
currItems_ = input.readUInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
evictions_ = input.readUInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
bytes_ = input.readUInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long currConnections_ ;
/**
* optional uint64 curr_connections = 1;
* @return Whether the currConnections field is set.
*/
@java.lang.Override
public boolean hasCurrConnections() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 curr_connections = 1;
* @return The currConnections.
*/
@java.lang.Override
public long getCurrConnections() {
return currConnections_;
}
/**
* optional uint64 curr_connections = 1;
* @param value The currConnections to set.
* @return This builder for chaining.
*/
public Builder setCurrConnections(long value) {
currConnections_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint64 curr_connections = 1;
* @return This builder for chaining.
*/
public Builder clearCurrConnections() {
bitField0_ = (bitField0_ & ~0x00000001);
currConnections_ = 0L;
onChanged();
return this;
}
private long cmdGet_ ;
/**
* optional uint64 cmd_get = 2;
* @return Whether the cmdGet field is set.
*/
@java.lang.Override
public boolean hasCmdGet() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint64 cmd_get = 2;
* @return The cmdGet.
*/
@java.lang.Override
public long getCmdGet() {
return cmdGet_;
}
/**
* optional uint64 cmd_get = 2;
* @param value The cmdGet to set.
* @return This builder for chaining.
*/
public Builder setCmdGet(long value) {
cmdGet_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint64 cmd_get = 2;
* @return This builder for chaining.
*/
public Builder clearCmdGet() {
bitField0_ = (bitField0_ & ~0x00000002);
cmdGet_ = 0L;
onChanged();
return this;
}
private long cmdSet_ ;
/**
* optional uint64 cmd_set = 3;
* @return Whether the cmdSet field is set.
*/
@java.lang.Override
public boolean hasCmdSet() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint64 cmd_set = 3;
* @return The cmdSet.
*/
@java.lang.Override
public long getCmdSet() {
return cmdSet_;
}
/**
* optional uint64 cmd_set = 3;
* @param value The cmdSet to set.
* @return This builder for chaining.
*/
public Builder setCmdSet(long value) {
cmdSet_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint64 cmd_set = 3;
* @return This builder for chaining.
*/
public Builder clearCmdSet() {
bitField0_ = (bitField0_ & ~0x00000004);
cmdSet_ = 0L;
onChanged();
return this;
}
private long cmdFlush_ ;
/**
* optional uint64 cmd_flush = 4;
* @return Whether the cmdFlush field is set.
*/
@java.lang.Override
public boolean hasCmdFlush() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 cmd_flush = 4;
* @return The cmdFlush.
*/
@java.lang.Override
public long getCmdFlush() {
return cmdFlush_;
}
/**
* optional uint64 cmd_flush = 4;
* @param value The cmdFlush to set.
* @return This builder for chaining.
*/
public Builder setCmdFlush(long value) {
cmdFlush_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint64 cmd_flush = 4;
* @return This builder for chaining.
*/
public Builder clearCmdFlush() {
bitField0_ = (bitField0_ & ~0x00000008);
cmdFlush_ = 0L;
onChanged();
return this;
}
private long getHits_ ;
/**
* optional uint64 get_hits = 5;
* @return Whether the getHits field is set.
*/
@java.lang.Override
public boolean hasGetHits() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint64 get_hits = 5;
* @return The getHits.
*/
@java.lang.Override
public long getGetHits() {
return getHits_;
}
/**
* optional uint64 get_hits = 5;
* @param value The getHits to set.
* @return This builder for chaining.
*/
public Builder setGetHits(long value) {
getHits_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional uint64 get_hits = 5;
* @return This builder for chaining.
*/
public Builder clearGetHits() {
bitField0_ = (bitField0_ & ~0x00000010);
getHits_ = 0L;
onChanged();
return this;
}
private long getMisses_ ;
/**
* optional uint64 get_misses = 6;
* @return Whether the getMisses field is set.
*/
@java.lang.Override
public boolean hasGetMisses() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint64 get_misses = 6;
* @return The getMisses.
*/
@java.lang.Override
public long getGetMisses() {
return getMisses_;
}
/**
* optional uint64 get_misses = 6;
* @param value The getMisses to set.
* @return This builder for chaining.
*/
public Builder setGetMisses(long value) {
getMisses_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional uint64 get_misses = 6;
* @return This builder for chaining.
*/
public Builder clearGetMisses() {
bitField0_ = (bitField0_ & ~0x00000020);
getMisses_ = 0L;
onChanged();
return this;
}
private long deleteHits_ ;
/**
* optional uint64 delete_hits = 7;
* @return Whether the deleteHits field is set.
*/
@java.lang.Override
public boolean hasDeleteHits() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint64 delete_hits = 7;
* @return The deleteHits.
*/
@java.lang.Override
public long getDeleteHits() {
return deleteHits_;
}
/**
* optional uint64 delete_hits = 7;
* @param value The deleteHits to set.
* @return This builder for chaining.
*/
public Builder setDeleteHits(long value) {
deleteHits_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional uint64 delete_hits = 7;
* @return This builder for chaining.
*/
public Builder clearDeleteHits() {
bitField0_ = (bitField0_ & ~0x00000040);
deleteHits_ = 0L;
onChanged();
return this;
}
private long deleteMisses_ ;
/**
* optional uint64 delete_misses = 8;
* @return Whether the deleteMisses field is set.
*/
@java.lang.Override
public boolean hasDeleteMisses() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint64 delete_misses = 8;
* @return The deleteMisses.
*/
@java.lang.Override
public long getDeleteMisses() {
return deleteMisses_;
}
/**
* optional uint64 delete_misses = 8;
* @param value The deleteMisses to set.
* @return This builder for chaining.
*/
public Builder setDeleteMisses(long value) {
deleteMisses_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional uint64 delete_misses = 8;
* @return This builder for chaining.
*/
public Builder clearDeleteMisses() {
bitField0_ = (bitField0_ & ~0x00000080);
deleteMisses_ = 0L;
onChanged();
return this;
}
private long bytesRead_ ;
/**
* optional uint64 bytes_read = 9;
* @return Whether the bytesRead field is set.
*/
@java.lang.Override
public boolean hasBytesRead() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint64 bytes_read = 9;
* @return The bytesRead.
*/
@java.lang.Override
public long getBytesRead() {
return bytesRead_;
}
/**
* optional uint64 bytes_read = 9;
* @param value The bytesRead to set.
* @return This builder for chaining.
*/
public Builder setBytesRead(long value) {
bytesRead_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional uint64 bytes_read = 9;
* @return This builder for chaining.
*/
public Builder clearBytesRead() {
bitField0_ = (bitField0_ & ~0x00000100);
bytesRead_ = 0L;
onChanged();
return this;
}
private long bytesWritten_ ;
/**
* optional uint64 bytes_written = 10;
* @return Whether the bytesWritten field is set.
*/
@java.lang.Override
public boolean hasBytesWritten() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint64 bytes_written = 10;
* @return The bytesWritten.
*/
@java.lang.Override
public long getBytesWritten() {
return bytesWritten_;
}
/**
* optional uint64 bytes_written = 10;
* @param value The bytesWritten to set.
* @return This builder for chaining.
*/
public Builder setBytesWritten(long value) {
bytesWritten_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional uint64 bytes_written = 10;
* @return This builder for chaining.
*/
public Builder clearBytesWritten() {
bitField0_ = (bitField0_ & ~0x00000200);
bytesWritten_ = 0L;
onChanged();
return this;
}
private long limitMaxbytes_ ;
/**
* optional uint64 limit_maxbytes = 11;
* @return Whether the limitMaxbytes field is set.
*/
@java.lang.Override
public boolean hasLimitMaxbytes() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint64 limit_maxbytes = 11;
* @return The limitMaxbytes.
*/
@java.lang.Override
public long getLimitMaxbytes() {
return limitMaxbytes_;
}
/**
* optional uint64 limit_maxbytes = 11;
* @param value The limitMaxbytes to set.
* @return This builder for chaining.
*/
public Builder setLimitMaxbytes(long value) {
limitMaxbytes_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* optional uint64 limit_maxbytes = 11;
* @return This builder for chaining.
*/
public Builder clearLimitMaxbytes() {
bitField0_ = (bitField0_ & ~0x00000400);
limitMaxbytes_ = 0L;
onChanged();
return this;
}
private long currItems_ ;
/**
* optional uint64 curr_items = 12;
* @return Whether the currItems field is set.
*/
@java.lang.Override
public boolean hasCurrItems() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional uint64 curr_items = 12;
* @return The currItems.
*/
@java.lang.Override
public long getCurrItems() {
return currItems_;
}
/**
* optional uint64 curr_items = 12;
* @param value The currItems to set.
* @return This builder for chaining.
*/
public Builder setCurrItems(long value) {
currItems_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* optional uint64 curr_items = 12;
* @return This builder for chaining.
*/
public Builder clearCurrItems() {
bitField0_ = (bitField0_ & ~0x00000800);
currItems_ = 0L;
onChanged();
return this;
}
private long evictions_ ;
/**
* optional uint64 evictions = 13;
* @return Whether the evictions field is set.
*/
@java.lang.Override
public boolean hasEvictions() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint64 evictions = 13;
* @return The evictions.
*/
@java.lang.Override
public long getEvictions() {
return evictions_;
}
/**
* optional uint64 evictions = 13;
* @param value The evictions to set.
* @return This builder for chaining.
*/
public Builder setEvictions(long value) {
evictions_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* optional uint64 evictions = 13;
* @return This builder for chaining.
*/
public Builder clearEvictions() {
bitField0_ = (bitField0_ & ~0x00001000);
evictions_ = 0L;
onChanged();
return this;
}
private long bytes_ ;
/**
* optional uint64 bytes = 14;
* @return Whether the bytes field is set.
*/
@java.lang.Override
public boolean hasBytes() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional uint64 bytes = 14;
* @return The bytes.
*/
@java.lang.Override
public long getBytes() {
return bytes_;
}
/**
* optional uint64 bytes = 14;
* @param value The bytes to set.
* @return This builder for chaining.
*/
public Builder setBytes(long value) {
bytes_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* optional uint64 bytes = 14;
* @return This builder for chaining.
*/
public Builder clearBytes() {
bitField0_ = (bitField0_ & ~0x00002000);
bytes_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgMemCachedStatsResponse)
}
// @@protoc_insertion_point(class_scope:CGCMsgMemCachedStatsResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgMemCachedStatsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgMemCachedStatsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgSQLStatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgSQLStats)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 schema_catalog = 1;
* @return Whether the schemaCatalog field is set.
*/
boolean hasSchemaCatalog();
/**
* optional uint32 schema_catalog = 1;
* @return The schemaCatalog.
*/
int getSchemaCatalog();
}
/**
* Protobuf type {@code CGCMsgSQLStats}
*/
public static final class CGCMsgSQLStats extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgSQLStats)
CGCMsgSQLStatsOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgSQLStats.class.getName());
}
// Use CGCMsgSQLStats.newBuilder() to construct.
private CGCMsgSQLStats(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgSQLStats() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.Builder.class);
}
private int bitField0_;
public static final int SCHEMA_CATALOG_FIELD_NUMBER = 1;
private int schemaCatalog_ = 0;
/**
* optional uint32 schema_catalog = 1;
* @return Whether the schemaCatalog field is set.
*/
@java.lang.Override
public boolean hasSchemaCatalog() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 schema_catalog = 1;
* @return The schemaCatalog.
*/
@java.lang.Override
public int getSchemaCatalog() {
return schemaCatalog_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, schemaCatalog_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, schemaCatalog_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats) obj;
if (hasSchemaCatalog() != other.hasSchemaCatalog()) return false;
if (hasSchemaCatalog()) {
if (getSchemaCatalog()
!= other.getSchemaCatalog()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSchemaCatalog()) {
hash = (37 * hash) + SCHEMA_CATALOG_FIELD_NUMBER;
hash = (53 * hash) + getSchemaCatalog();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgSQLStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgSQLStats)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
schemaCatalog_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStats_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.schemaCatalog_ = schemaCatalog_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats.getDefaultInstance()) return this;
if (other.hasSchemaCatalog()) {
setSchemaCatalog(other.getSchemaCatalog());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
schemaCatalog_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int schemaCatalog_ ;
/**
* optional uint32 schema_catalog = 1;
* @return Whether the schemaCatalog field is set.
*/
@java.lang.Override
public boolean hasSchemaCatalog() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 schema_catalog = 1;
* @return The schemaCatalog.
*/
@java.lang.Override
public int getSchemaCatalog() {
return schemaCatalog_;
}
/**
* optional uint32 schema_catalog = 1;
* @param value The schemaCatalog to set.
* @return This builder for chaining.
*/
public Builder setSchemaCatalog(int value) {
schemaCatalog_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 schema_catalog = 1;
* @return This builder for chaining.
*/
public Builder clearSchemaCatalog() {
bitField0_ = (bitField0_ & ~0x00000001);
schemaCatalog_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgSQLStats)
}
// @@protoc_insertion_point(class_scope:CGCMsgSQLStats)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgSQLStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgSQLStatsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgSQLStatsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 threads = 1;
* @return Whether the threads field is set.
*/
boolean hasThreads();
/**
* optional uint32 threads = 1;
* @return The threads.
*/
int getThreads();
/**
* optional uint32 threads_connected = 2;
* @return Whether the threadsConnected field is set.
*/
boolean hasThreadsConnected();
/**
* optional uint32 threads_connected = 2;
* @return The threadsConnected.
*/
int getThreadsConnected();
/**
* optional uint32 threads_active = 3;
* @return Whether the threadsActive field is set.
*/
boolean hasThreadsActive();
/**
* optional uint32 threads_active = 3;
* @return The threadsActive.
*/
int getThreadsActive();
/**
* optional uint32 operations_submitted = 4;
* @return Whether the operationsSubmitted field is set.
*/
boolean hasOperationsSubmitted();
/**
* optional uint32 operations_submitted = 4;
* @return The operationsSubmitted.
*/
int getOperationsSubmitted();
/**
* optional uint32 prepared_statements_executed = 5;
* @return Whether the preparedStatementsExecuted field is set.
*/
boolean hasPreparedStatementsExecuted();
/**
* optional uint32 prepared_statements_executed = 5;
* @return The preparedStatementsExecuted.
*/
int getPreparedStatementsExecuted();
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return Whether the nonPreparedStatementsExecuted field is set.
*/
boolean hasNonPreparedStatementsExecuted();
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return The nonPreparedStatementsExecuted.
*/
int getNonPreparedStatementsExecuted();
/**
* optional uint32 deadlock_retries = 7;
* @return Whether the deadlockRetries field is set.
*/
boolean hasDeadlockRetries();
/**
* optional uint32 deadlock_retries = 7;
* @return The deadlockRetries.
*/
int getDeadlockRetries();
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return Whether the operationsTimedOutInQueue field is set.
*/
boolean hasOperationsTimedOutInQueue();
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return The operationsTimedOutInQueue.
*/
int getOperationsTimedOutInQueue();
/**
* optional uint32 errors = 9;
* @return Whether the errors field is set.
*/
boolean hasErrors();
/**
* optional uint32 errors = 9;
* @return The errors.
*/
int getErrors();
}
/**
* Protobuf type {@code CGCMsgSQLStatsResponse}
*/
public static final class CGCMsgSQLStatsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgSQLStatsResponse)
CGCMsgSQLStatsResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgSQLStatsResponse.class.getName());
}
// Use CGCMsgSQLStatsResponse.newBuilder() to construct.
private CGCMsgSQLStatsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgSQLStatsResponse() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.Builder.class);
}
private int bitField0_;
public static final int THREADS_FIELD_NUMBER = 1;
private int threads_ = 0;
/**
* optional uint32 threads = 1;
* @return Whether the threads field is set.
*/
@java.lang.Override
public boolean hasThreads() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 threads = 1;
* @return The threads.
*/
@java.lang.Override
public int getThreads() {
return threads_;
}
public static final int THREADS_CONNECTED_FIELD_NUMBER = 2;
private int threadsConnected_ = 0;
/**
* optional uint32 threads_connected = 2;
* @return Whether the threadsConnected field is set.
*/
@java.lang.Override
public boolean hasThreadsConnected() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 threads_connected = 2;
* @return The threadsConnected.
*/
@java.lang.Override
public int getThreadsConnected() {
return threadsConnected_;
}
public static final int THREADS_ACTIVE_FIELD_NUMBER = 3;
private int threadsActive_ = 0;
/**
* optional uint32 threads_active = 3;
* @return Whether the threadsActive field is set.
*/
@java.lang.Override
public boolean hasThreadsActive() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 threads_active = 3;
* @return The threadsActive.
*/
@java.lang.Override
public int getThreadsActive() {
return threadsActive_;
}
public static final int OPERATIONS_SUBMITTED_FIELD_NUMBER = 4;
private int operationsSubmitted_ = 0;
/**
* optional uint32 operations_submitted = 4;
* @return Whether the operationsSubmitted field is set.
*/
@java.lang.Override
public boolean hasOperationsSubmitted() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 operations_submitted = 4;
* @return The operationsSubmitted.
*/
@java.lang.Override
public int getOperationsSubmitted() {
return operationsSubmitted_;
}
public static final int PREPARED_STATEMENTS_EXECUTED_FIELD_NUMBER = 5;
private int preparedStatementsExecuted_ = 0;
/**
* optional uint32 prepared_statements_executed = 5;
* @return Whether the preparedStatementsExecuted field is set.
*/
@java.lang.Override
public boolean hasPreparedStatementsExecuted() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 prepared_statements_executed = 5;
* @return The preparedStatementsExecuted.
*/
@java.lang.Override
public int getPreparedStatementsExecuted() {
return preparedStatementsExecuted_;
}
public static final int NON_PREPARED_STATEMENTS_EXECUTED_FIELD_NUMBER = 6;
private int nonPreparedStatementsExecuted_ = 0;
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return Whether the nonPreparedStatementsExecuted field is set.
*/
@java.lang.Override
public boolean hasNonPreparedStatementsExecuted() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return The nonPreparedStatementsExecuted.
*/
@java.lang.Override
public int getNonPreparedStatementsExecuted() {
return nonPreparedStatementsExecuted_;
}
public static final int DEADLOCK_RETRIES_FIELD_NUMBER = 7;
private int deadlockRetries_ = 0;
/**
* optional uint32 deadlock_retries = 7;
* @return Whether the deadlockRetries field is set.
*/
@java.lang.Override
public boolean hasDeadlockRetries() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 deadlock_retries = 7;
* @return The deadlockRetries.
*/
@java.lang.Override
public int getDeadlockRetries() {
return deadlockRetries_;
}
public static final int OPERATIONS_TIMED_OUT_IN_QUEUE_FIELD_NUMBER = 8;
private int operationsTimedOutInQueue_ = 0;
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return Whether the operationsTimedOutInQueue field is set.
*/
@java.lang.Override
public boolean hasOperationsTimedOutInQueue() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return The operationsTimedOutInQueue.
*/
@java.lang.Override
public int getOperationsTimedOutInQueue() {
return operationsTimedOutInQueue_;
}
public static final int ERRORS_FIELD_NUMBER = 9;
private int errors_ = 0;
/**
* optional uint32 errors = 9;
* @return Whether the errors field is set.
*/
@java.lang.Override
public boolean hasErrors() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint32 errors = 9;
* @return The errors.
*/
@java.lang.Override
public int getErrors() {
return errors_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, threads_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, threadsConnected_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, threadsActive_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, operationsSubmitted_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, preparedStatementsExecuted_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, nonPreparedStatementsExecuted_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, deadlockRetries_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt32(8, operationsTimedOutInQueue_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeUInt32(9, errors_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, threads_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, threadsConnected_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, threadsActive_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, operationsSubmitted_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, preparedStatementsExecuted_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, nonPreparedStatementsExecuted_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, deadlockRetries_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, operationsTimedOutInQueue_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, errors_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse) obj;
if (hasThreads() != other.hasThreads()) return false;
if (hasThreads()) {
if (getThreads()
!= other.getThreads()) return false;
}
if (hasThreadsConnected() != other.hasThreadsConnected()) return false;
if (hasThreadsConnected()) {
if (getThreadsConnected()
!= other.getThreadsConnected()) return false;
}
if (hasThreadsActive() != other.hasThreadsActive()) return false;
if (hasThreadsActive()) {
if (getThreadsActive()
!= other.getThreadsActive()) return false;
}
if (hasOperationsSubmitted() != other.hasOperationsSubmitted()) return false;
if (hasOperationsSubmitted()) {
if (getOperationsSubmitted()
!= other.getOperationsSubmitted()) return false;
}
if (hasPreparedStatementsExecuted() != other.hasPreparedStatementsExecuted()) return false;
if (hasPreparedStatementsExecuted()) {
if (getPreparedStatementsExecuted()
!= other.getPreparedStatementsExecuted()) return false;
}
if (hasNonPreparedStatementsExecuted() != other.hasNonPreparedStatementsExecuted()) return false;
if (hasNonPreparedStatementsExecuted()) {
if (getNonPreparedStatementsExecuted()
!= other.getNonPreparedStatementsExecuted()) return false;
}
if (hasDeadlockRetries() != other.hasDeadlockRetries()) return false;
if (hasDeadlockRetries()) {
if (getDeadlockRetries()
!= other.getDeadlockRetries()) return false;
}
if (hasOperationsTimedOutInQueue() != other.hasOperationsTimedOutInQueue()) return false;
if (hasOperationsTimedOutInQueue()) {
if (getOperationsTimedOutInQueue()
!= other.getOperationsTimedOutInQueue()) return false;
}
if (hasErrors() != other.hasErrors()) return false;
if (hasErrors()) {
if (getErrors()
!= other.getErrors()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasThreads()) {
hash = (37 * hash) + THREADS_FIELD_NUMBER;
hash = (53 * hash) + getThreads();
}
if (hasThreadsConnected()) {
hash = (37 * hash) + THREADS_CONNECTED_FIELD_NUMBER;
hash = (53 * hash) + getThreadsConnected();
}
if (hasThreadsActive()) {
hash = (37 * hash) + THREADS_ACTIVE_FIELD_NUMBER;
hash = (53 * hash) + getThreadsActive();
}
if (hasOperationsSubmitted()) {
hash = (37 * hash) + OPERATIONS_SUBMITTED_FIELD_NUMBER;
hash = (53 * hash) + getOperationsSubmitted();
}
if (hasPreparedStatementsExecuted()) {
hash = (37 * hash) + PREPARED_STATEMENTS_EXECUTED_FIELD_NUMBER;
hash = (53 * hash) + getPreparedStatementsExecuted();
}
if (hasNonPreparedStatementsExecuted()) {
hash = (37 * hash) + NON_PREPARED_STATEMENTS_EXECUTED_FIELD_NUMBER;
hash = (53 * hash) + getNonPreparedStatementsExecuted();
}
if (hasDeadlockRetries()) {
hash = (37 * hash) + DEADLOCK_RETRIES_FIELD_NUMBER;
hash = (53 * hash) + getDeadlockRetries();
}
if (hasOperationsTimedOutInQueue()) {
hash = (37 * hash) + OPERATIONS_TIMED_OUT_IN_QUEUE_FIELD_NUMBER;
hash = (53 * hash) + getOperationsTimedOutInQueue();
}
if (hasErrors()) {
hash = (37 * hash) + ERRORS_FIELD_NUMBER;
hash = (53 * hash) + getErrors();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgSQLStatsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgSQLStatsResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
threads_ = 0;
threadsConnected_ = 0;
threadsActive_ = 0;
operationsSubmitted_ = 0;
preparedStatementsExecuted_ = 0;
nonPreparedStatementsExecuted_ = 0;
deadlockRetries_ = 0;
operationsTimedOutInQueue_ = 0;
errors_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgSQLStatsResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.threads_ = threads_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.threadsConnected_ = threadsConnected_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.threadsActive_ = threadsActive_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.operationsSubmitted_ = operationsSubmitted_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.preparedStatementsExecuted_ = preparedStatementsExecuted_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.nonPreparedStatementsExecuted_ = nonPreparedStatementsExecuted_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.deadlockRetries_ = deadlockRetries_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.operationsTimedOutInQueue_ = operationsTimedOutInQueue_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.errors_ = errors_;
to_bitField0_ |= 0x00000100;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse.getDefaultInstance()) return this;
if (other.hasThreads()) {
setThreads(other.getThreads());
}
if (other.hasThreadsConnected()) {
setThreadsConnected(other.getThreadsConnected());
}
if (other.hasThreadsActive()) {
setThreadsActive(other.getThreadsActive());
}
if (other.hasOperationsSubmitted()) {
setOperationsSubmitted(other.getOperationsSubmitted());
}
if (other.hasPreparedStatementsExecuted()) {
setPreparedStatementsExecuted(other.getPreparedStatementsExecuted());
}
if (other.hasNonPreparedStatementsExecuted()) {
setNonPreparedStatementsExecuted(other.getNonPreparedStatementsExecuted());
}
if (other.hasDeadlockRetries()) {
setDeadlockRetries(other.getDeadlockRetries());
}
if (other.hasOperationsTimedOutInQueue()) {
setOperationsTimedOutInQueue(other.getOperationsTimedOutInQueue());
}
if (other.hasErrors()) {
setErrors(other.getErrors());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
threads_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
threadsConnected_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
threadsActive_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
operationsSubmitted_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
preparedStatementsExecuted_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
nonPreparedStatementsExecuted_ = input.readUInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
deadlockRetries_ = input.readUInt32();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
operationsTimedOutInQueue_ = input.readUInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
errors_ = input.readUInt32();
bitField0_ |= 0x00000100;
break;
} // case 72
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int threads_ ;
/**
* optional uint32 threads = 1;
* @return Whether the threads field is set.
*/
@java.lang.Override
public boolean hasThreads() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 threads = 1;
* @return The threads.
*/
@java.lang.Override
public int getThreads() {
return threads_;
}
/**
* optional uint32 threads = 1;
* @param value The threads to set.
* @return This builder for chaining.
*/
public Builder setThreads(int value) {
threads_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 threads = 1;
* @return This builder for chaining.
*/
public Builder clearThreads() {
bitField0_ = (bitField0_ & ~0x00000001);
threads_ = 0;
onChanged();
return this;
}
private int threadsConnected_ ;
/**
* optional uint32 threads_connected = 2;
* @return Whether the threadsConnected field is set.
*/
@java.lang.Override
public boolean hasThreadsConnected() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 threads_connected = 2;
* @return The threadsConnected.
*/
@java.lang.Override
public int getThreadsConnected() {
return threadsConnected_;
}
/**
* optional uint32 threads_connected = 2;
* @param value The threadsConnected to set.
* @return This builder for chaining.
*/
public Builder setThreadsConnected(int value) {
threadsConnected_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 threads_connected = 2;
* @return This builder for chaining.
*/
public Builder clearThreadsConnected() {
bitField0_ = (bitField0_ & ~0x00000002);
threadsConnected_ = 0;
onChanged();
return this;
}
private int threadsActive_ ;
/**
* optional uint32 threads_active = 3;
* @return Whether the threadsActive field is set.
*/
@java.lang.Override
public boolean hasThreadsActive() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 threads_active = 3;
* @return The threadsActive.
*/
@java.lang.Override
public int getThreadsActive() {
return threadsActive_;
}
/**
* optional uint32 threads_active = 3;
* @param value The threadsActive to set.
* @return This builder for chaining.
*/
public Builder setThreadsActive(int value) {
threadsActive_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 threads_active = 3;
* @return This builder for chaining.
*/
public Builder clearThreadsActive() {
bitField0_ = (bitField0_ & ~0x00000004);
threadsActive_ = 0;
onChanged();
return this;
}
private int operationsSubmitted_ ;
/**
* optional uint32 operations_submitted = 4;
* @return Whether the operationsSubmitted field is set.
*/
@java.lang.Override
public boolean hasOperationsSubmitted() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 operations_submitted = 4;
* @return The operationsSubmitted.
*/
@java.lang.Override
public int getOperationsSubmitted() {
return operationsSubmitted_;
}
/**
* optional uint32 operations_submitted = 4;
* @param value The operationsSubmitted to set.
* @return This builder for chaining.
*/
public Builder setOperationsSubmitted(int value) {
operationsSubmitted_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 operations_submitted = 4;
* @return This builder for chaining.
*/
public Builder clearOperationsSubmitted() {
bitField0_ = (bitField0_ & ~0x00000008);
operationsSubmitted_ = 0;
onChanged();
return this;
}
private int preparedStatementsExecuted_ ;
/**
* optional uint32 prepared_statements_executed = 5;
* @return Whether the preparedStatementsExecuted field is set.
*/
@java.lang.Override
public boolean hasPreparedStatementsExecuted() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 prepared_statements_executed = 5;
* @return The preparedStatementsExecuted.
*/
@java.lang.Override
public int getPreparedStatementsExecuted() {
return preparedStatementsExecuted_;
}
/**
* optional uint32 prepared_statements_executed = 5;
* @param value The preparedStatementsExecuted to set.
* @return This builder for chaining.
*/
public Builder setPreparedStatementsExecuted(int value) {
preparedStatementsExecuted_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional uint32 prepared_statements_executed = 5;
* @return This builder for chaining.
*/
public Builder clearPreparedStatementsExecuted() {
bitField0_ = (bitField0_ & ~0x00000010);
preparedStatementsExecuted_ = 0;
onChanged();
return this;
}
private int nonPreparedStatementsExecuted_ ;
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return Whether the nonPreparedStatementsExecuted field is set.
*/
@java.lang.Override
public boolean hasNonPreparedStatementsExecuted() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return The nonPreparedStatementsExecuted.
*/
@java.lang.Override
public int getNonPreparedStatementsExecuted() {
return nonPreparedStatementsExecuted_;
}
/**
* optional uint32 non_prepared_statements_executed = 6;
* @param value The nonPreparedStatementsExecuted to set.
* @return This builder for chaining.
*/
public Builder setNonPreparedStatementsExecuted(int value) {
nonPreparedStatementsExecuted_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional uint32 non_prepared_statements_executed = 6;
* @return This builder for chaining.
*/
public Builder clearNonPreparedStatementsExecuted() {
bitField0_ = (bitField0_ & ~0x00000020);
nonPreparedStatementsExecuted_ = 0;
onChanged();
return this;
}
private int deadlockRetries_ ;
/**
* optional uint32 deadlock_retries = 7;
* @return Whether the deadlockRetries field is set.
*/
@java.lang.Override
public boolean hasDeadlockRetries() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 deadlock_retries = 7;
* @return The deadlockRetries.
*/
@java.lang.Override
public int getDeadlockRetries() {
return deadlockRetries_;
}
/**
* optional uint32 deadlock_retries = 7;
* @param value The deadlockRetries to set.
* @return This builder for chaining.
*/
public Builder setDeadlockRetries(int value) {
deadlockRetries_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional uint32 deadlock_retries = 7;
* @return This builder for chaining.
*/
public Builder clearDeadlockRetries() {
bitField0_ = (bitField0_ & ~0x00000040);
deadlockRetries_ = 0;
onChanged();
return this;
}
private int operationsTimedOutInQueue_ ;
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return Whether the operationsTimedOutInQueue field is set.
*/
@java.lang.Override
public boolean hasOperationsTimedOutInQueue() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return The operationsTimedOutInQueue.
*/
@java.lang.Override
public int getOperationsTimedOutInQueue() {
return operationsTimedOutInQueue_;
}
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @param value The operationsTimedOutInQueue to set.
* @return This builder for chaining.
*/
public Builder setOperationsTimedOutInQueue(int value) {
operationsTimedOutInQueue_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional uint32 operations_timed_out_in_queue = 8;
* @return This builder for chaining.
*/
public Builder clearOperationsTimedOutInQueue() {
bitField0_ = (bitField0_ & ~0x00000080);
operationsTimedOutInQueue_ = 0;
onChanged();
return this;
}
private int errors_ ;
/**
* optional uint32 errors = 9;
* @return Whether the errors field is set.
*/
@java.lang.Override
public boolean hasErrors() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint32 errors = 9;
* @return The errors.
*/
@java.lang.Override
public int getErrors() {
return errors_;
}
/**
* optional uint32 errors = 9;
* @param value The errors to set.
* @return This builder for chaining.
*/
public Builder setErrors(int value) {
errors_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional uint32 errors = 9;
* @return This builder for chaining.
*/
public Builder clearErrors() {
bitField0_ = (bitField0_ & ~0x00000100);
errors_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgSQLStatsResponse)
}
// @@protoc_insertion_point(class_scope:CGCMsgSQLStatsResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgSQLStatsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgSQLStatsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMAddFreeLicenseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMAddFreeLicense)
com.google.protobuf.MessageOrBuilder {
/**
* optional fixed64 steamid = 1;
* @return Whether the steamid field is set.
*/
boolean hasSteamid();
/**
* optional fixed64 steamid = 1;
* @return The steamid.
*/
long getSteamid();
/**
* optional uint32 ip_public = 2;
* @return Whether the ipPublic field is set.
*/
boolean hasIpPublic();
/**
* optional uint32 ip_public = 2;
* @return The ipPublic.
*/
int getIpPublic();
/**
* optional uint32 packageid = 3;
* @return Whether the packageid field is set.
*/
boolean hasPackageid();
/**
* optional uint32 packageid = 3;
* @return The packageid.
*/
int getPackageid();
/**
* optional string store_country_code = 4;
* @return Whether the storeCountryCode field is set.
*/
boolean hasStoreCountryCode();
/**
* optional string store_country_code = 4;
* @return The storeCountryCode.
*/
java.lang.String getStoreCountryCode();
/**
* optional string store_country_code = 4;
* @return The bytes for storeCountryCode.
*/
com.google.protobuf.ByteString
getStoreCountryCodeBytes();
}
/**
* Protobuf type {@code CMsgAMAddFreeLicense}
*/
public static final class CMsgAMAddFreeLicense extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMAddFreeLicense)
CMsgAMAddFreeLicenseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMAddFreeLicense.class.getName());
}
// Use CMsgAMAddFreeLicense.newBuilder() to construct.
private CMsgAMAddFreeLicense(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMAddFreeLicense() {
storeCountryCode_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicense_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicense_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.Builder.class);
}
private int bitField0_;
public static final int STEAMID_FIELD_NUMBER = 1;
private long steamid_ = 0L;
/**
* optional fixed64 steamid = 1;
* @return Whether the steamid field is set.
*/
@java.lang.Override
public boolean hasSteamid() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steamid = 1;
* @return The steamid.
*/
@java.lang.Override
public long getSteamid() {
return steamid_;
}
public static final int IP_PUBLIC_FIELD_NUMBER = 2;
private int ipPublic_ = 0;
/**
* optional uint32 ip_public = 2;
* @return Whether the ipPublic field is set.
*/
@java.lang.Override
public boolean hasIpPublic() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 ip_public = 2;
* @return The ipPublic.
*/
@java.lang.Override
public int getIpPublic() {
return ipPublic_;
}
public static final int PACKAGEID_FIELD_NUMBER = 3;
private int packageid_ = 0;
/**
* optional uint32 packageid = 3;
* @return Whether the packageid field is set.
*/
@java.lang.Override
public boolean hasPackageid() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 packageid = 3;
* @return The packageid.
*/
@java.lang.Override
public int getPackageid() {
return packageid_;
}
public static final int STORE_COUNTRY_CODE_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object storeCountryCode_ = "";
/**
* optional string store_country_code = 4;
* @return Whether the storeCountryCode field is set.
*/
@java.lang.Override
public boolean hasStoreCountryCode() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string store_country_code = 4;
* @return The storeCountryCode.
*/
@java.lang.Override
public java.lang.String getStoreCountryCode() {
java.lang.Object ref = storeCountryCode_;
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()) {
storeCountryCode_ = s;
}
return s;
}
}
/**
* optional string store_country_code = 4;
* @return The bytes for storeCountryCode.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStoreCountryCodeBytes() {
java.lang.Object ref = storeCountryCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storeCountryCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeFixed64(1, steamid_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, ipPublic_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, packageid_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, storeCountryCode_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(1, steamid_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, ipPublic_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, packageid_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, storeCountryCode_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense) obj;
if (hasSteamid() != other.hasSteamid()) return false;
if (hasSteamid()) {
if (getSteamid()
!= other.getSteamid()) return false;
}
if (hasIpPublic() != other.hasIpPublic()) return false;
if (hasIpPublic()) {
if (getIpPublic()
!= other.getIpPublic()) return false;
}
if (hasPackageid() != other.hasPackageid()) return false;
if (hasPackageid()) {
if (getPackageid()
!= other.getPackageid()) return false;
}
if (hasStoreCountryCode() != other.hasStoreCountryCode()) return false;
if (hasStoreCountryCode()) {
if (!getStoreCountryCode()
.equals(other.getStoreCountryCode())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSteamid()) {
hash = (37 * hash) + STEAMID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSteamid());
}
if (hasIpPublic()) {
hash = (37 * hash) + IP_PUBLIC_FIELD_NUMBER;
hash = (53 * hash) + getIpPublic();
}
if (hasPackageid()) {
hash = (37 * hash) + PACKAGEID_FIELD_NUMBER;
hash = (53 * hash) + getPackageid();
}
if (hasStoreCountryCode()) {
hash = (37 * hash) + STORE_COUNTRY_CODE_FIELD_NUMBER;
hash = (53 * hash) + getStoreCountryCode().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMAddFreeLicense}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMAddFreeLicense)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicense_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicense_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
steamid_ = 0L;
ipPublic_ = 0;
packageid_ = 0;
storeCountryCode_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicense_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.steamid_ = steamid_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ipPublic_ = ipPublic_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.packageid_ = packageid_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.storeCountryCode_ = storeCountryCode_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense.getDefaultInstance()) return this;
if (other.hasSteamid()) {
setSteamid(other.getSteamid());
}
if (other.hasIpPublic()) {
setIpPublic(other.getIpPublic());
}
if (other.hasPackageid()) {
setPackageid(other.getPackageid());
}
if (other.hasStoreCountryCode()) {
storeCountryCode_ = other.storeCountryCode_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
steamid_ = input.readFixed64();
bitField0_ |= 0x00000001;
break;
} // case 9
case 16: {
ipPublic_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
packageid_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
storeCountryCode_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long steamid_ ;
/**
* optional fixed64 steamid = 1;
* @return Whether the steamid field is set.
*/
@java.lang.Override
public boolean hasSteamid() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed64 steamid = 1;
* @return The steamid.
*/
@java.lang.Override
public long getSteamid() {
return steamid_;
}
/**
* optional fixed64 steamid = 1;
* @param value The steamid to set.
* @return This builder for chaining.
*/
public Builder setSteamid(long value) {
steamid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional fixed64 steamid = 1;
* @return This builder for chaining.
*/
public Builder clearSteamid() {
bitField0_ = (bitField0_ & ~0x00000001);
steamid_ = 0L;
onChanged();
return this;
}
private int ipPublic_ ;
/**
* optional uint32 ip_public = 2;
* @return Whether the ipPublic field is set.
*/
@java.lang.Override
public boolean hasIpPublic() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 ip_public = 2;
* @return The ipPublic.
*/
@java.lang.Override
public int getIpPublic() {
return ipPublic_;
}
/**
* optional uint32 ip_public = 2;
* @param value The ipPublic to set.
* @return This builder for chaining.
*/
public Builder setIpPublic(int value) {
ipPublic_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 ip_public = 2;
* @return This builder for chaining.
*/
public Builder clearIpPublic() {
bitField0_ = (bitField0_ & ~0x00000002);
ipPublic_ = 0;
onChanged();
return this;
}
private int packageid_ ;
/**
* optional uint32 packageid = 3;
* @return Whether the packageid field is set.
*/
@java.lang.Override
public boolean hasPackageid() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 packageid = 3;
* @return The packageid.
*/
@java.lang.Override
public int getPackageid() {
return packageid_;
}
/**
* optional uint32 packageid = 3;
* @param value The packageid to set.
* @return This builder for chaining.
*/
public Builder setPackageid(int value) {
packageid_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 packageid = 3;
* @return This builder for chaining.
*/
public Builder clearPackageid() {
bitField0_ = (bitField0_ & ~0x00000004);
packageid_ = 0;
onChanged();
return this;
}
private java.lang.Object storeCountryCode_ = "";
/**
* optional string store_country_code = 4;
* @return Whether the storeCountryCode field is set.
*/
public boolean hasStoreCountryCode() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string store_country_code = 4;
* @return The storeCountryCode.
*/
public java.lang.String getStoreCountryCode() {
java.lang.Object ref = storeCountryCode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storeCountryCode_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string store_country_code = 4;
* @return The bytes for storeCountryCode.
*/
public com.google.protobuf.ByteString
getStoreCountryCodeBytes() {
java.lang.Object ref = storeCountryCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storeCountryCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string store_country_code = 4;
* @param value The storeCountryCode to set.
* @return This builder for chaining.
*/
public Builder setStoreCountryCode(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
storeCountryCode_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional string store_country_code = 4;
* @return This builder for chaining.
*/
public Builder clearStoreCountryCode() {
storeCountryCode_ = getDefaultInstance().getStoreCountryCode();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* optional string store_country_code = 4;
* @param value The bytes for storeCountryCode to set.
* @return This builder for chaining.
*/
public Builder setStoreCountryCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
storeCountryCode_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMAddFreeLicense)
}
// @@protoc_insertion_point(class_scope:CMsgAMAddFreeLicense)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMAddFreeLicense parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicense getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgAMAddFreeLicenseResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgAMAddFreeLicenseResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 eresult = 1 [default = 2];
* @return Whether the eresult field is set.
*/
boolean hasEresult();
/**
* optional int32 eresult = 1 [default = 2];
* @return The eresult.
*/
int getEresult();
/**
* optional int32 purchase_result_detail = 2;
* @return Whether the purchaseResultDetail field is set.
*/
boolean hasPurchaseResultDetail();
/**
* optional int32 purchase_result_detail = 2;
* @return The purchaseResultDetail.
*/
int getPurchaseResultDetail();
/**
* optional fixed64 transid = 3;
* @return Whether the transid field is set.
*/
boolean hasTransid();
/**
* optional fixed64 transid = 3;
* @return The transid.
*/
long getTransid();
}
/**
* Protobuf type {@code CMsgAMAddFreeLicenseResponse}
*/
public static final class CMsgAMAddFreeLicenseResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgAMAddFreeLicenseResponse)
CMsgAMAddFreeLicenseResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgAMAddFreeLicenseResponse.class.getName());
}
// Use CMsgAMAddFreeLicenseResponse.newBuilder() to construct.
private CMsgAMAddFreeLicenseResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgAMAddFreeLicenseResponse() {
eresult_ = 2;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicenseResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicenseResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.Builder.class);
}
private int bitField0_;
public static final int ERESULT_FIELD_NUMBER = 1;
private int eresult_ = 2;
/**
* optional int32 eresult = 1 [default = 2];
* @return Whether the eresult field is set.
*/
@java.lang.Override
public boolean hasEresult() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 eresult = 1 [default = 2];
* @return The eresult.
*/
@java.lang.Override
public int getEresult() {
return eresult_;
}
public static final int PURCHASE_RESULT_DETAIL_FIELD_NUMBER = 2;
private int purchaseResultDetail_ = 0;
/**
* optional int32 purchase_result_detail = 2;
* @return Whether the purchaseResultDetail field is set.
*/
@java.lang.Override
public boolean hasPurchaseResultDetail() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 purchase_result_detail = 2;
* @return The purchaseResultDetail.
*/
@java.lang.Override
public int getPurchaseResultDetail() {
return purchaseResultDetail_;
}
public static final int TRANSID_FIELD_NUMBER = 3;
private long transid_ = 0L;
/**
* optional fixed64 transid = 3;
* @return Whether the transid field is set.
*/
@java.lang.Override
public boolean hasTransid() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed64 transid = 3;
* @return The transid.
*/
@java.lang.Override
public long getTransid() {
return transid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, eresult_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, purchaseResultDetail_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeFixed64(3, transid_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, eresult_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, purchaseResultDetail_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(3, transid_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse) obj;
if (hasEresult() != other.hasEresult()) return false;
if (hasEresult()) {
if (getEresult()
!= other.getEresult()) return false;
}
if (hasPurchaseResultDetail() != other.hasPurchaseResultDetail()) return false;
if (hasPurchaseResultDetail()) {
if (getPurchaseResultDetail()
!= other.getPurchaseResultDetail()) return false;
}
if (hasTransid() != other.hasTransid()) return false;
if (hasTransid()) {
if (getTransid()
!= other.getTransid()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEresult()) {
hash = (37 * hash) + ERESULT_FIELD_NUMBER;
hash = (53 * hash) + getEresult();
}
if (hasPurchaseResultDetail()) {
hash = (37 * hash) + PURCHASE_RESULT_DETAIL_FIELD_NUMBER;
hash = (53 * hash) + getPurchaseResultDetail();
}
if (hasTransid()) {
hash = (37 * hash) + TRANSID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTransid());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgAMAddFreeLicenseResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgAMAddFreeLicenseResponse)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicenseResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicenseResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
eresult_ = 2;
purchaseResultDetail_ = 0;
transid_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CMsgAMAddFreeLicenseResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.eresult_ = eresult_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.purchaseResultDetail_ = purchaseResultDetail_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.transid_ = transid_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse.getDefaultInstance()) return this;
if (other.hasEresult()) {
setEresult(other.getEresult());
}
if (other.hasPurchaseResultDetail()) {
setPurchaseResultDetail(other.getPurchaseResultDetail());
}
if (other.hasTransid()) {
setTransid(other.getTransid());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
eresult_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
purchaseResultDetail_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 25: {
transid_ = input.readFixed64();
bitField0_ |= 0x00000004;
break;
} // case 25
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int eresult_ = 2;
/**
* optional int32 eresult = 1 [default = 2];
* @return Whether the eresult field is set.
*/
@java.lang.Override
public boolean hasEresult() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 eresult = 1 [default = 2];
* @return The eresult.
*/
@java.lang.Override
public int getEresult() {
return eresult_;
}
/**
* optional int32 eresult = 1 [default = 2];
* @param value The eresult to set.
* @return This builder for chaining.
*/
public Builder setEresult(int value) {
eresult_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional int32 eresult = 1 [default = 2];
* @return This builder for chaining.
*/
public Builder clearEresult() {
bitField0_ = (bitField0_ & ~0x00000001);
eresult_ = 2;
onChanged();
return this;
}
private int purchaseResultDetail_ ;
/**
* optional int32 purchase_result_detail = 2;
* @return Whether the purchaseResultDetail field is set.
*/
@java.lang.Override
public boolean hasPurchaseResultDetail() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 purchase_result_detail = 2;
* @return The purchaseResultDetail.
*/
@java.lang.Override
public int getPurchaseResultDetail() {
return purchaseResultDetail_;
}
/**
* optional int32 purchase_result_detail = 2;
* @param value The purchaseResultDetail to set.
* @return This builder for chaining.
*/
public Builder setPurchaseResultDetail(int value) {
purchaseResultDetail_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional int32 purchase_result_detail = 2;
* @return This builder for chaining.
*/
public Builder clearPurchaseResultDetail() {
bitField0_ = (bitField0_ & ~0x00000002);
purchaseResultDetail_ = 0;
onChanged();
return this;
}
private long transid_ ;
/**
* optional fixed64 transid = 3;
* @return Whether the transid field is set.
*/
@java.lang.Override
public boolean hasTransid() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed64 transid = 3;
* @return The transid.
*/
@java.lang.Override
public long getTransid() {
return transid_;
}
/**
* optional fixed64 transid = 3;
* @param value The transid to set.
* @return This builder for chaining.
*/
public Builder setTransid(long value) {
transid_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional fixed64 transid = 3;
* @return This builder for chaining.
*/
public Builder clearTransid() {
bitField0_ = (bitField0_ & ~0x00000004);
transid_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgAMAddFreeLicenseResponse)
}
// @@protoc_insertion_point(class_scope:CMsgAMAddFreeLicenseResponse)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgAMAddFreeLicenseResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CMsgAMAddFreeLicenseResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgGetIPLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgGetIPLocation)
com.google.protobuf.MessageOrBuilder {
/**
* repeated fixed32 ips = 1;
* @return A list containing the ips.
*/
java.util.List getIpsList();
/**
* repeated fixed32 ips = 1;
* @return The count of ips.
*/
int getIpsCount();
/**
* repeated fixed32 ips = 1;
* @param index The index of the element to return.
* @return The ips at the given index.
*/
int getIps(int index);
}
/**
* Protobuf type {@code CGCMsgGetIPLocation}
*/
public static final class CGCMsgGetIPLocation extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CGCMsgGetIPLocation)
CGCMsgGetIPLocationOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CGCMsgGetIPLocation.class.getName());
}
// Use CGCMsgGetIPLocation.newBuilder() to construct.
private CGCMsgGetIPLocation(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CGCMsgGetIPLocation() {
ips_ = emptyIntList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgGetIPLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgGetIPLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.Builder.class);
}
public static final int IPS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList ips_ =
emptyIntList();
/**
* repeated fixed32 ips = 1;
* @return A list containing the ips.
*/
@java.lang.Override
public java.util.List
getIpsList() {
return ips_;
}
/**
* repeated fixed32 ips = 1;
* @return The count of ips.
*/
public int getIpsCount() {
return ips_.size();
}
/**
* repeated fixed32 ips = 1;
* @param index The index of the element to return.
* @return The ips at the given index.
*/
public int getIps(int index) {
return ips_.getInt(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < ips_.size(); i++) {
output.writeFixed32(1, ips_.getInt(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
dataSize = 4 * getIpsList().size();
size += dataSize;
size += 1 * getIpsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation) obj;
if (!getIpsList()
.equals(other.getIpsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getIpsCount() > 0) {
hash = (37 * hash) + IPS_FIELD_NUMBER;
hash = (53 * hash) + getIpsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CGCMsgGetIPLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CGCMsgGetIPLocation)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgGetIPLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgGetIPLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
ips_ = emptyIntList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CGCMsgGetIPLocation_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
ips_.makeImmutable();
result.ips_ = ips_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation.getDefaultInstance()) return this;
if (!other.ips_.isEmpty()) {
if (ips_.isEmpty()) {
ips_ = other.ips_;
ips_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureIpsIsMutable();
ips_.addAll(other.ips_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 13: {
int v = input.readFixed32();
ensureIpsIsMutable();
ips_.addInt(v);
break;
} // case 13
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
int alloc = length > 4096 ? 4096 : length;
ensureIpsIsMutable(alloc / 4);
while (input.getBytesUntilLimit() > 0) {
ips_.addInt(input.readFixed32());
}
input.popLimit(limit);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList ips_ = emptyIntList();
private void ensureIpsIsMutable() {
if (!ips_.isModifiable()) {
ips_ = makeMutableCopy(ips_);
}
bitField0_ |= 0x00000001;
}
private void ensureIpsIsMutable(int capacity) {
if (!ips_.isModifiable()) {
ips_ = makeMutableCopy(ips_, capacity);
}
bitField0_ |= 0x00000001;
}
/**
* repeated fixed32 ips = 1;
* @return A list containing the ips.
*/
public java.util.List
getIpsList() {
ips_.makeImmutable();
return ips_;
}
/**
* repeated fixed32 ips = 1;
* @return The count of ips.
*/
public int getIpsCount() {
return ips_.size();
}
/**
* repeated fixed32 ips = 1;
* @param index The index of the element to return.
* @return The ips at the given index.
*/
public int getIps(int index) {
return ips_.getInt(index);
}
/**
* repeated fixed32 ips = 1;
* @param index The index to set the value at.
* @param value The ips to set.
* @return This builder for chaining.
*/
public Builder setIps(
int index, int value) {
ensureIpsIsMutable();
ips_.setInt(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated fixed32 ips = 1;
* @param value The ips to add.
* @return This builder for chaining.
*/
public Builder addIps(int value) {
ensureIpsIsMutable();
ips_.addInt(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated fixed32 ips = 1;
* @param values The ips to add.
* @return This builder for chaining.
*/
public Builder addAllIps(
java.lang.Iterable extends java.lang.Integer> values) {
ensureIpsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ips_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated fixed32 ips = 1;
* @return This builder for chaining.
*/
public Builder clearIps() {
ips_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CGCMsgGetIPLocation)
}
// @@protoc_insertion_point(class_scope:CGCMsgGetIPLocation)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CGCMsgGetIPLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CGCMsgGetIPLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CIPLocationInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CIPLocationInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 ip = 1;
* @return Whether the ip field is set.
*/
boolean hasIp();
/**
* optional uint32 ip = 1;
* @return The ip.
*/
int getIp();
/**
* optional float latitude = 2;
* @return Whether the latitude field is set.
*/
boolean hasLatitude();
/**
* optional float latitude = 2;
* @return The latitude.
*/
float getLatitude();
/**
* optional float longitude = 3;
* @return Whether the longitude field is set.
*/
boolean hasLongitude();
/**
* optional float longitude = 3;
* @return The longitude.
*/
float getLongitude();
/**
* optional string country = 4;
* @return Whether the country field is set.
*/
boolean hasCountry();
/**
* optional string country = 4;
* @return The country.
*/
java.lang.String getCountry();
/**
* optional string country = 4;
* @return The bytes for country.
*/
com.google.protobuf.ByteString
getCountryBytes();
/**
* optional string state = 5;
* @return Whether the state field is set.
*/
boolean hasState();
/**
* optional string state = 5;
* @return The state.
*/
java.lang.String getState();
/**
* optional string state = 5;
* @return The bytes for state.
*/
com.google.protobuf.ByteString
getStateBytes();
/**
* optional string city = 6;
* @return Whether the city field is set.
*/
boolean hasCity();
/**
* optional string city = 6;
* @return The city.
*/
java.lang.String getCity();
/**
* optional string city = 6;
* @return The bytes for city.
*/
com.google.protobuf.ByteString
getCityBytes();
}
/**
* Protobuf type {@code CIPLocationInfo}
*/
public static final class CIPLocationInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CIPLocationInfo)
CIPLocationInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CIPLocationInfo.class.getName());
}
// Use CIPLocationInfo.newBuilder() to construct.
private CIPLocationInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CIPLocationInfo() {
country_ = "";
state_ = "";
city_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CIPLocationInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CIPLocationInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.Builder.class);
}
private int bitField0_;
public static final int IP_FIELD_NUMBER = 1;
private int ip_ = 0;
/**
* optional uint32 ip = 1;
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 ip = 1;
* @return The ip.
*/
@java.lang.Override
public int getIp() {
return ip_;
}
public static final int LATITUDE_FIELD_NUMBER = 2;
private float latitude_ = 0F;
/**
* optional float latitude = 2;
* @return Whether the latitude field is set.
*/
@java.lang.Override
public boolean hasLatitude() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional float latitude = 2;
* @return The latitude.
*/
@java.lang.Override
public float getLatitude() {
return latitude_;
}
public static final int LONGITUDE_FIELD_NUMBER = 3;
private float longitude_ = 0F;
/**
* optional float longitude = 3;
* @return Whether the longitude field is set.
*/
@java.lang.Override
public boolean hasLongitude() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional float longitude = 3;
* @return The longitude.
*/
@java.lang.Override
public float getLongitude() {
return longitude_;
}
public static final int COUNTRY_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object country_ = "";
/**
* optional string country = 4;
* @return Whether the country field is set.
*/
@java.lang.Override
public boolean hasCountry() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string country = 4;
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
java.lang.Object ref = country_;
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()) {
country_ = s;
}
return s;
}
}
/**
* optional string country = 4;
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object state_ = "";
/**
* optional string state = 5;
* @return Whether the state field is set.
*/
@java.lang.Override
public boolean hasState() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string state = 5;
* @return The state.
*/
@java.lang.Override
public java.lang.String getState() {
java.lang.Object ref = state_;
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()) {
state_ = s;
}
return s;
}
}
/**
* optional string state = 5;
* @return The bytes for state.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CITY_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object city_ = "";
/**
* optional string city = 6;
* @return Whether the city field is set.
*/
@java.lang.Override
public boolean hasCity() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string city = 6;
* @return The city.
*/
@java.lang.Override
public java.lang.String getCity() {
java.lang.Object ref = city_;
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()) {
city_ = s;
}
return s;
}
}
/**
* optional string city = 6;
* @return The bytes for city.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, ip_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeFloat(2, latitude_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeFloat(3, longitude_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, country_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, state_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 6, city_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, ip_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, latitude_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, longitude_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, country_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, state_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(6, city_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo other = (in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo) obj;
if (hasIp() != other.hasIp()) return false;
if (hasIp()) {
if (getIp()
!= other.getIp()) return false;
}
if (hasLatitude() != other.hasLatitude()) return false;
if (hasLatitude()) {
if (java.lang.Float.floatToIntBits(getLatitude())
!= java.lang.Float.floatToIntBits(
other.getLatitude())) return false;
}
if (hasLongitude() != other.hasLongitude()) return false;
if (hasLongitude()) {
if (java.lang.Float.floatToIntBits(getLongitude())
!= java.lang.Float.floatToIntBits(
other.getLongitude())) return false;
}
if (hasCountry() != other.hasCountry()) return false;
if (hasCountry()) {
if (!getCountry()
.equals(other.getCountry())) return false;
}
if (hasState() != other.hasState()) return false;
if (hasState()) {
if (!getState()
.equals(other.getState())) return false;
}
if (hasCity() != other.hasCity()) return false;
if (hasCity()) {
if (!getCity()
.equals(other.getCity())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIp()) {
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp();
}
if (hasLatitude()) {
hash = (37 * hash) + LATITUDE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getLatitude());
}
if (hasLongitude()) {
hash = (37 * hash) + LONGITUDE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getLongitude());
}
if (hasCountry()) {
hash = (37 * hash) + COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getCountry().hashCode();
}
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState().hashCode();
}
if (hasCity()) {
hash = (37 * hash) + CITY_FIELD_NUMBER;
hash = (53 * hash) + getCity().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CIPLocationInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CIPLocationInfo)
in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CIPLocationInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CIPLocationInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.class, in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
ip_ = 0;
latitude_ = 0F;
longitude_ = 0F;
country_ = "";
state_ = "";
city_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.internal_static_CIPLocationInfo_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo build() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo buildPartial() {
in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo result = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.ip_ = ip_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.latitude_ = latitude_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.longitude_ = longitude_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.country_ = country_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.state_ = state_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.city_ = city_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo other) {
if (other == in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo.getDefaultInstance()) return this;
if (other.hasIp()) {
setIp(other.getIp());
}
if (other.hasLatitude()) {
setLatitude(other.getLatitude());
}
if (other.hasLongitude()) {
setLongitude(other.getLongitude());
}
if (other.hasCountry()) {
country_ = other.country_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasState()) {
state_ = other.state_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasCity()) {
city_ = other.city_;
bitField0_ |= 0x00000020;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
ip_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 21: {
latitude_ = input.readFloat();
bitField0_ |= 0x00000002;
break;
} // case 21
case 29: {
longitude_ = input.readFloat();
bitField0_ |= 0x00000004;
break;
} // case 29
case 34: {
country_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
state_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
city_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int ip_ ;
/**
* optional uint32 ip = 1;
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 ip = 1;
* @return The ip.
*/
@java.lang.Override
public int getIp() {
return ip_;
}
/**
* optional uint32 ip = 1;
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(int value) {
ip_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 ip = 1;
* @return This builder for chaining.
*/
public Builder clearIp() {
bitField0_ = (bitField0_ & ~0x00000001);
ip_ = 0;
onChanged();
return this;
}
private float latitude_ ;
/**
* optional float latitude = 2;
* @return Whether the latitude field is set.
*/
@java.lang.Override
public boolean hasLatitude() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional float latitude = 2;
* @return The latitude.
*/
@java.lang.Override
public float getLatitude() {
return latitude_;
}
/**
* optional float latitude = 2;
* @param value The latitude to set.
* @return This builder for chaining.
*/
public Builder setLatitude(float value) {
latitude_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional float latitude = 2;
* @return This builder for chaining.
*/
public Builder clearLatitude() {
bitField0_ = (bitField0_ & ~0x00000002);
latitude_ = 0F;
onChanged();
return this;
}
private float longitude_ ;
/**
* optional float longitude = 3;
* @return Whether the longitude field is set.
*/
@java.lang.Override
public boolean hasLongitude() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional float longitude = 3;
* @return The longitude.
*/
@java.lang.Override
public float getLongitude() {
return longitude_;
}
/**
* optional float longitude = 3;
* @param value The longitude to set.
* @return This builder for chaining.
*/
public Builder setLongitude(float value) {
longitude_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional float longitude = 3;
* @return This builder for chaining.
*/
public Builder clearLongitude() {
bitField0_ = (bitField0_ & ~0x00000004);
longitude_ = 0F;
onChanged();
return this;
}
private java.lang.Object country_ = "";
/**
* optional string country = 4;
* @return Whether the country field is set.
*/
public boolean hasCountry() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string country = 4;
* @return The country.
*/
public java.lang.String getCountry() {
java.lang.Object ref = country_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
country_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string country = 4;
* @return The bytes for country.
*/
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string country = 4;
* @param value The country to set.
* @return This builder for chaining.
*/
public Builder setCountry(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
country_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional string country = 4;
* @return This builder for chaining.
*/
public Builder clearCountry() {
country_ = getDefaultInstance().getCountry();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* optional string country = 4;
* @param value The bytes for country to set.
* @return This builder for chaining.
*/
public Builder setCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
country_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object state_ = "";
/**
* optional string state = 5;
* @return Whether the state field is set.
*/
public boolean hasState() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string state = 5;
* @return The state.
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
state_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string state = 5;
* @return The bytes for state.
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string state = 5;
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
state_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional string state = 5;
* @return This builder for chaining.
*/
public Builder clearState() {
state_ = getDefaultInstance().getState();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* optional string state = 5;
* @param value The bytes for state to set.
* @return This builder for chaining.
*/
public Builder setStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
state_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object city_ = "";
/**
* optional string city = 6;
* @return Whether the city field is set.
*/
public boolean hasCity() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string city = 6;
* @return The city.
*/
public java.lang.String getCity() {
java.lang.Object ref = city_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
city_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string city = 6;
* @return The bytes for city.
*/
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string city = 6;
* @param value The city to set.
* @return This builder for chaining.
*/
public Builder setCity(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
city_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional string city = 6;
* @return This builder for chaining.
*/
public Builder clearCity() {
city_ = getDefaultInstance().getCity();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* optional string city = 6;
* @param value The bytes for city to set.
* @return This builder for chaining.
*/
public Builder setCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
city_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CIPLocationInfo)
}
// @@protoc_insertion_point(class_scope:CIPLocationInfo)
private static final in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo();
}
public static in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CIPLocationInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.Steammessages.CIPLocationInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CGCMsgGetIPLocationResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CGCMsgGetIPLocationResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CIPLocationInfo infos = 1;
*/
java.util.List
getInfosList();
/**
*