Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.navercorp.pinpoint.grpc.trace.PAgentStat Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v1/Stat.proto
package com.navercorp.pinpoint.grpc.trace;
/**
* Protobuf type {@code v1.PAgentStat}
*/
public final class PAgentStat extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.PAgentStat)
PAgentStatOrBuilder {
private static final long serialVersionUID = 0L;
// Use PAgentStat.newBuilder() to construct.
private PAgentStat(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PAgentStat() {
metadata_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PAgentStat();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PAgentStat(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
timestamp_ = input.readInt64();
break;
}
case 16: {
collectInterval_ = input.readInt64();
break;
}
case 26: {
com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder subBuilder = null;
if (gc_ != null) {
subBuilder = gc_.toBuilder();
}
gc_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PJvmGc.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(gc_);
gc_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.navercorp.pinpoint.grpc.trace.PCpuLoad.Builder subBuilder = null;
if (cpuLoad_ != null) {
subBuilder = cpuLoad_.toBuilder();
}
cpuLoad_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PCpuLoad.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cpuLoad_);
cpuLoad_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.navercorp.pinpoint.grpc.trace.PTransaction.Builder subBuilder = null;
if (transaction_ != null) {
subBuilder = transaction_.toBuilder();
}
transaction_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PTransaction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transaction_);
transaction_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.navercorp.pinpoint.grpc.trace.PActiveTrace.Builder subBuilder = null;
if (activeTrace_ != null) {
subBuilder = activeTrace_.toBuilder();
}
activeTrace_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PActiveTrace.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(activeTrace_);
activeTrace_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.navercorp.pinpoint.grpc.trace.PDataSourceList.Builder subBuilder = null;
if (dataSourceList_ != null) {
subBuilder = dataSourceList_.toBuilder();
}
dataSourceList_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PDataSourceList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dataSourceList_);
dataSourceList_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.navercorp.pinpoint.grpc.trace.PResponseTime.Builder subBuilder = null;
if (responseTime_ != null) {
subBuilder = responseTime_.toBuilder();
}
responseTime_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PResponseTime.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(responseTime_);
responseTime_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.navercorp.pinpoint.grpc.trace.PDeadlock.Builder subBuilder = null;
if (deadlock_ != null) {
subBuilder = deadlock_.toBuilder();
}
deadlock_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PDeadlock.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deadlock_);
deadlock_ = subBuilder.buildPartial();
}
break;
}
case 82: {
com.navercorp.pinpoint.grpc.trace.PFileDescriptor.Builder subBuilder = null;
if (fileDescriptor_ != null) {
subBuilder = fileDescriptor_.toBuilder();
}
fileDescriptor_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PFileDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fileDescriptor_);
fileDescriptor_ = subBuilder.buildPartial();
}
break;
}
case 90: {
com.navercorp.pinpoint.grpc.trace.PDirectBuffer.Builder subBuilder = null;
if (directBuffer_ != null) {
subBuilder = directBuffer_.toBuilder();
}
directBuffer_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PDirectBuffer.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(directBuffer_);
directBuffer_ = subBuilder.buildPartial();
}
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
metadata_ = s;
break;
}
case 106: {
com.navercorp.pinpoint.grpc.trace.PTotalThread.Builder subBuilder = null;
if (totalThread_ != null) {
subBuilder = totalThread_.toBuilder();
}
totalThread_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PTotalThread.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalThread_);
totalThread_ = subBuilder.buildPartial();
}
break;
}
case 114: {
com.navercorp.pinpoint.grpc.trace.PLoadedClass.Builder subBuilder = null;
if (loadedClass_ != null) {
subBuilder = loadedClass_.toBuilder();
}
loadedClass_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PLoadedClass.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(loadedClass_);
loadedClass_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentStat_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentStat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PAgentStat.class, com.navercorp.pinpoint.grpc.trace.PAgentStat.Builder.class);
}
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private long timestamp_;
/**
* int64 timestamp = 1;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return timestamp_;
}
public static final int COLLECTINTERVAL_FIELD_NUMBER = 2;
private long collectInterval_;
/**
* int64 collectInterval = 2;
* @return The collectInterval.
*/
@java.lang.Override
public long getCollectInterval() {
return collectInterval_;
}
public static final int GC_FIELD_NUMBER = 3;
private com.navercorp.pinpoint.grpc.trace.PJvmGc gc_;
/**
* .v1.PJvmGc gc = 3;
* @return Whether the gc field is set.
*/
@java.lang.Override
public boolean hasGc() {
return gc_ != null;
}
/**
* .v1.PJvmGc gc = 3;
* @return The gc.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGc getGc() {
return gc_ == null ? com.navercorp.pinpoint.grpc.trace.PJvmGc.getDefaultInstance() : gc_;
}
/**
* .v1.PJvmGc gc = 3;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGcOrBuilder getGcOrBuilder() {
return getGc();
}
public static final int CPULOAD_FIELD_NUMBER = 4;
private com.navercorp.pinpoint.grpc.trace.PCpuLoad cpuLoad_;
/**
* .v1.PCpuLoad cpuLoad = 4;
* @return Whether the cpuLoad field is set.
*/
@java.lang.Override
public boolean hasCpuLoad() {
return cpuLoad_ != null;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
* @return The cpuLoad.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PCpuLoad getCpuLoad() {
return cpuLoad_ == null ? com.navercorp.pinpoint.grpc.trace.PCpuLoad.getDefaultInstance() : cpuLoad_;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PCpuLoadOrBuilder getCpuLoadOrBuilder() {
return getCpuLoad();
}
public static final int TRANSACTION_FIELD_NUMBER = 5;
private com.navercorp.pinpoint.grpc.trace.PTransaction transaction_;
/**
* .v1.PTransaction transaction = 5;
* @return Whether the transaction field is set.
*/
@java.lang.Override
public boolean hasTransaction() {
return transaction_ != null;
}
/**
* .v1.PTransaction transaction = 5;
* @return The transaction.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PTransaction getTransaction() {
return transaction_ == null ? com.navercorp.pinpoint.grpc.trace.PTransaction.getDefaultInstance() : transaction_;
}
/**
* .v1.PTransaction transaction = 5;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PTransactionOrBuilder getTransactionOrBuilder() {
return getTransaction();
}
public static final int ACTIVETRACE_FIELD_NUMBER = 6;
private com.navercorp.pinpoint.grpc.trace.PActiveTrace activeTrace_;
/**
* .v1.PActiveTrace activeTrace = 6;
* @return Whether the activeTrace field is set.
*/
@java.lang.Override
public boolean hasActiveTrace() {
return activeTrace_ != null;
}
/**
* .v1.PActiveTrace activeTrace = 6;
* @return The activeTrace.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PActiveTrace getActiveTrace() {
return activeTrace_ == null ? com.navercorp.pinpoint.grpc.trace.PActiveTrace.getDefaultInstance() : activeTrace_;
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PActiveTraceOrBuilder getActiveTraceOrBuilder() {
return getActiveTrace();
}
public static final int DATASOURCELIST_FIELD_NUMBER = 7;
private com.navercorp.pinpoint.grpc.trace.PDataSourceList dataSourceList_;
/**
* .v1.PDataSourceList dataSourceList = 7;
* @return Whether the dataSourceList field is set.
*/
@java.lang.Override
public boolean hasDataSourceList() {
return dataSourceList_ != null;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
* @return The dataSourceList.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PDataSourceList getDataSourceList() {
return dataSourceList_ == null ? com.navercorp.pinpoint.grpc.trace.PDataSourceList.getDefaultInstance() : dataSourceList_;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PDataSourceListOrBuilder getDataSourceListOrBuilder() {
return getDataSourceList();
}
public static final int RESPONSETIME_FIELD_NUMBER = 8;
private com.navercorp.pinpoint.grpc.trace.PResponseTime responseTime_;
/**
* .v1.PResponseTime responseTime = 8;
* @return Whether the responseTime field is set.
*/
@java.lang.Override
public boolean hasResponseTime() {
return responseTime_ != null;
}
/**
* .v1.PResponseTime responseTime = 8;
* @return The responseTime.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PResponseTime getResponseTime() {
return responseTime_ == null ? com.navercorp.pinpoint.grpc.trace.PResponseTime.getDefaultInstance() : responseTime_;
}
/**
* .v1.PResponseTime responseTime = 8;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PResponseTimeOrBuilder getResponseTimeOrBuilder() {
return getResponseTime();
}
public static final int DEADLOCK_FIELD_NUMBER = 9;
private com.navercorp.pinpoint.grpc.trace.PDeadlock deadlock_;
/**
* .v1.PDeadlock deadlock = 9;
* @return Whether the deadlock field is set.
*/
@java.lang.Override
public boolean hasDeadlock() {
return deadlock_ != null;
}
/**
* .v1.PDeadlock deadlock = 9;
* @return The deadlock.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PDeadlock getDeadlock() {
return deadlock_ == null ? com.navercorp.pinpoint.grpc.trace.PDeadlock.getDefaultInstance() : deadlock_;
}
/**
* .v1.PDeadlock deadlock = 9;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PDeadlockOrBuilder getDeadlockOrBuilder() {
return getDeadlock();
}
public static final int FILEDESCRIPTOR_FIELD_NUMBER = 10;
private com.navercorp.pinpoint.grpc.trace.PFileDescriptor fileDescriptor_;
/**
* .v1.PFileDescriptor fileDescriptor = 10;
* @return Whether the fileDescriptor field is set.
*/
@java.lang.Override
public boolean hasFileDescriptor() {
return fileDescriptor_ != null;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
* @return The fileDescriptor.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PFileDescriptor getFileDescriptor() {
return fileDescriptor_ == null ? com.navercorp.pinpoint.grpc.trace.PFileDescriptor.getDefaultInstance() : fileDescriptor_;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PFileDescriptorOrBuilder getFileDescriptorOrBuilder() {
return getFileDescriptor();
}
public static final int DIRECTBUFFER_FIELD_NUMBER = 11;
private com.navercorp.pinpoint.grpc.trace.PDirectBuffer directBuffer_;
/**
* .v1.PDirectBuffer directBuffer = 11;
* @return Whether the directBuffer field is set.
*/
@java.lang.Override
public boolean hasDirectBuffer() {
return directBuffer_ != null;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
* @return The directBuffer.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PDirectBuffer getDirectBuffer() {
return directBuffer_ == null ? com.navercorp.pinpoint.grpc.trace.PDirectBuffer.getDefaultInstance() : directBuffer_;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PDirectBufferOrBuilder getDirectBufferOrBuilder() {
return getDirectBuffer();
}
public static final int METADATA_FIELD_NUMBER = 12;
private volatile java.lang.Object metadata_;
/**
* string metadata = 12;
* @return The metadata.
*/
@java.lang.Override
public java.lang.String getMetadata() {
java.lang.Object ref = metadata_;
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();
metadata_ = s;
return s;
}
}
/**
* string metadata = 12;
* @return The bytes for metadata.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMetadataBytes() {
java.lang.Object ref = metadata_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metadata_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOTALTHREAD_FIELD_NUMBER = 13;
private com.navercorp.pinpoint.grpc.trace.PTotalThread totalThread_;
/**
* .v1.PTotalThread totalThread = 13;
* @return Whether the totalThread field is set.
*/
@java.lang.Override
public boolean hasTotalThread() {
return totalThread_ != null;
}
/**
* .v1.PTotalThread totalThread = 13;
* @return The totalThread.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PTotalThread getTotalThread() {
return totalThread_ == null ? com.navercorp.pinpoint.grpc.trace.PTotalThread.getDefaultInstance() : totalThread_;
}
/**
* .v1.PTotalThread totalThread = 13;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PTotalThreadOrBuilder getTotalThreadOrBuilder() {
return getTotalThread();
}
public static final int LOADEDCLASS_FIELD_NUMBER = 14;
private com.navercorp.pinpoint.grpc.trace.PLoadedClass loadedClass_;
/**
* .v1.PLoadedClass loadedClass = 14;
* @return Whether the loadedClass field is set.
*/
@java.lang.Override
public boolean hasLoadedClass() {
return loadedClass_ != null;
}
/**
* .v1.PLoadedClass loadedClass = 14;
* @return The loadedClass.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PLoadedClass getLoadedClass() {
return loadedClass_ == null ? com.navercorp.pinpoint.grpc.trace.PLoadedClass.getDefaultInstance() : loadedClass_;
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PLoadedClassOrBuilder getLoadedClassOrBuilder() {
return getLoadedClass();
}
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 (timestamp_ != 0L) {
output.writeInt64(1, timestamp_);
}
if (collectInterval_ != 0L) {
output.writeInt64(2, collectInterval_);
}
if (gc_ != null) {
output.writeMessage(3, getGc());
}
if (cpuLoad_ != null) {
output.writeMessage(4, getCpuLoad());
}
if (transaction_ != null) {
output.writeMessage(5, getTransaction());
}
if (activeTrace_ != null) {
output.writeMessage(6, getActiveTrace());
}
if (dataSourceList_ != null) {
output.writeMessage(7, getDataSourceList());
}
if (responseTime_ != null) {
output.writeMessage(8, getResponseTime());
}
if (deadlock_ != null) {
output.writeMessage(9, getDeadlock());
}
if (fileDescriptor_ != null) {
output.writeMessage(10, getFileDescriptor());
}
if (directBuffer_ != null) {
output.writeMessage(11, getDirectBuffer());
}
if (!getMetadataBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, metadata_);
}
if (totalThread_ != null) {
output.writeMessage(13, getTotalThread());
}
if (loadedClass_ != null) {
output.writeMessage(14, getLoadedClass());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (timestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, timestamp_);
}
if (collectInterval_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, collectInterval_);
}
if (gc_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getGc());
}
if (cpuLoad_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCpuLoad());
}
if (transaction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getTransaction());
}
if (activeTrace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getActiveTrace());
}
if (dataSourceList_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getDataSourceList());
}
if (responseTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getResponseTime());
}
if (deadlock_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getDeadlock());
}
if (fileDescriptor_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getFileDescriptor());
}
if (directBuffer_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getDirectBuffer());
}
if (!getMetadataBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, metadata_);
}
if (totalThread_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getTotalThread());
}
if (loadedClass_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getLoadedClass());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.navercorp.pinpoint.grpc.trace.PAgentStat)) {
return super.equals(obj);
}
com.navercorp.pinpoint.grpc.trace.PAgentStat other = (com.navercorp.pinpoint.grpc.trace.PAgentStat) obj;
if (getTimestamp()
!= other.getTimestamp()) return false;
if (getCollectInterval()
!= other.getCollectInterval()) return false;
if (hasGc() != other.hasGc()) return false;
if (hasGc()) {
if (!getGc()
.equals(other.getGc())) return false;
}
if (hasCpuLoad() != other.hasCpuLoad()) return false;
if (hasCpuLoad()) {
if (!getCpuLoad()
.equals(other.getCpuLoad())) return false;
}
if (hasTransaction() != other.hasTransaction()) return false;
if (hasTransaction()) {
if (!getTransaction()
.equals(other.getTransaction())) return false;
}
if (hasActiveTrace() != other.hasActiveTrace()) return false;
if (hasActiveTrace()) {
if (!getActiveTrace()
.equals(other.getActiveTrace())) return false;
}
if (hasDataSourceList() != other.hasDataSourceList()) return false;
if (hasDataSourceList()) {
if (!getDataSourceList()
.equals(other.getDataSourceList())) return false;
}
if (hasResponseTime() != other.hasResponseTime()) return false;
if (hasResponseTime()) {
if (!getResponseTime()
.equals(other.getResponseTime())) return false;
}
if (hasDeadlock() != other.hasDeadlock()) return false;
if (hasDeadlock()) {
if (!getDeadlock()
.equals(other.getDeadlock())) return false;
}
if (hasFileDescriptor() != other.hasFileDescriptor()) return false;
if (hasFileDescriptor()) {
if (!getFileDescriptor()
.equals(other.getFileDescriptor())) return false;
}
if (hasDirectBuffer() != other.hasDirectBuffer()) return false;
if (hasDirectBuffer()) {
if (!getDirectBuffer()
.equals(other.getDirectBuffer())) return false;
}
if (!getMetadata()
.equals(other.getMetadata())) return false;
if (hasTotalThread() != other.hasTotalThread()) return false;
if (hasTotalThread()) {
if (!getTotalThread()
.equals(other.getTotalThread())) return false;
}
if (hasLoadedClass() != other.hasLoadedClass()) return false;
if (hasLoadedClass()) {
if (!getLoadedClass()
.equals(other.getLoadedClass())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimestamp());
hash = (37 * hash) + COLLECTINTERVAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCollectInterval());
if (hasGc()) {
hash = (37 * hash) + GC_FIELD_NUMBER;
hash = (53 * hash) + getGc().hashCode();
}
if (hasCpuLoad()) {
hash = (37 * hash) + CPULOAD_FIELD_NUMBER;
hash = (53 * hash) + getCpuLoad().hashCode();
}
if (hasTransaction()) {
hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getTransaction().hashCode();
}
if (hasActiveTrace()) {
hash = (37 * hash) + ACTIVETRACE_FIELD_NUMBER;
hash = (53 * hash) + getActiveTrace().hashCode();
}
if (hasDataSourceList()) {
hash = (37 * hash) + DATASOURCELIST_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceList().hashCode();
}
if (hasResponseTime()) {
hash = (37 * hash) + RESPONSETIME_FIELD_NUMBER;
hash = (53 * hash) + getResponseTime().hashCode();
}
if (hasDeadlock()) {
hash = (37 * hash) + DEADLOCK_FIELD_NUMBER;
hash = (53 * hash) + getDeadlock().hashCode();
}
if (hasFileDescriptor()) {
hash = (37 * hash) + FILEDESCRIPTOR_FIELD_NUMBER;
hash = (53 * hash) + getFileDescriptor().hashCode();
}
if (hasDirectBuffer()) {
hash = (37 * hash) + DIRECTBUFFER_FIELD_NUMBER;
hash = (53 * hash) + getDirectBuffer().hashCode();
}
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
if (hasTotalThread()) {
hash = (37 * hash) + TOTALTHREAD_FIELD_NUMBER;
hash = (53 * hash) + getTotalThread().hashCode();
}
if (hasLoadedClass()) {
hash = (37 * hash) + LOADEDCLASS_FIELD_NUMBER;
hash = (53 * hash) + getLoadedClass().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.navercorp.pinpoint.grpc.trace.PAgentStat 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.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code v1.PAgentStat}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.PAgentStat)
com.navercorp.pinpoint.grpc.trace.PAgentStatOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentStat_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentStat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PAgentStat.class, com.navercorp.pinpoint.grpc.trace.PAgentStat.Builder.class);
}
// Construct using com.navercorp.pinpoint.grpc.trace.PAgentStat.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
timestamp_ = 0L;
collectInterval_ = 0L;
if (gcBuilder_ == null) {
gc_ = null;
} else {
gc_ = null;
gcBuilder_ = null;
}
if (cpuLoadBuilder_ == null) {
cpuLoad_ = null;
} else {
cpuLoad_ = null;
cpuLoadBuilder_ = null;
}
if (transactionBuilder_ == null) {
transaction_ = null;
} else {
transaction_ = null;
transactionBuilder_ = null;
}
if (activeTraceBuilder_ == null) {
activeTrace_ = null;
} else {
activeTrace_ = null;
activeTraceBuilder_ = null;
}
if (dataSourceListBuilder_ == null) {
dataSourceList_ = null;
} else {
dataSourceList_ = null;
dataSourceListBuilder_ = null;
}
if (responseTimeBuilder_ == null) {
responseTime_ = null;
} else {
responseTime_ = null;
responseTimeBuilder_ = null;
}
if (deadlockBuilder_ == null) {
deadlock_ = null;
} else {
deadlock_ = null;
deadlockBuilder_ = null;
}
if (fileDescriptorBuilder_ == null) {
fileDescriptor_ = null;
} else {
fileDescriptor_ = null;
fileDescriptorBuilder_ = null;
}
if (directBufferBuilder_ == null) {
directBuffer_ = null;
} else {
directBuffer_ = null;
directBufferBuilder_ = null;
}
metadata_ = "";
if (totalThreadBuilder_ == null) {
totalThread_ = null;
} else {
totalThread_ = null;
totalThreadBuilder_ = null;
}
if (loadedClassBuilder_ == null) {
loadedClass_ = null;
} else {
loadedClass_ = null;
loadedClassBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentStat_descriptor;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentStat getDefaultInstanceForType() {
return com.navercorp.pinpoint.grpc.trace.PAgentStat.getDefaultInstance();
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentStat build() {
com.navercorp.pinpoint.grpc.trace.PAgentStat result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentStat buildPartial() {
com.navercorp.pinpoint.grpc.trace.PAgentStat result = new com.navercorp.pinpoint.grpc.trace.PAgentStat(this);
result.timestamp_ = timestamp_;
result.collectInterval_ = collectInterval_;
if (gcBuilder_ == null) {
result.gc_ = gc_;
} else {
result.gc_ = gcBuilder_.build();
}
if (cpuLoadBuilder_ == null) {
result.cpuLoad_ = cpuLoad_;
} else {
result.cpuLoad_ = cpuLoadBuilder_.build();
}
if (transactionBuilder_ == null) {
result.transaction_ = transaction_;
} else {
result.transaction_ = transactionBuilder_.build();
}
if (activeTraceBuilder_ == null) {
result.activeTrace_ = activeTrace_;
} else {
result.activeTrace_ = activeTraceBuilder_.build();
}
if (dataSourceListBuilder_ == null) {
result.dataSourceList_ = dataSourceList_;
} else {
result.dataSourceList_ = dataSourceListBuilder_.build();
}
if (responseTimeBuilder_ == null) {
result.responseTime_ = responseTime_;
} else {
result.responseTime_ = responseTimeBuilder_.build();
}
if (deadlockBuilder_ == null) {
result.deadlock_ = deadlock_;
} else {
result.deadlock_ = deadlockBuilder_.build();
}
if (fileDescriptorBuilder_ == null) {
result.fileDescriptor_ = fileDescriptor_;
} else {
result.fileDescriptor_ = fileDescriptorBuilder_.build();
}
if (directBufferBuilder_ == null) {
result.directBuffer_ = directBuffer_;
} else {
result.directBuffer_ = directBufferBuilder_.build();
}
result.metadata_ = metadata_;
if (totalThreadBuilder_ == null) {
result.totalThread_ = totalThread_;
} else {
result.totalThread_ = totalThreadBuilder_.build();
}
if (loadedClassBuilder_ == null) {
result.loadedClass_ = loadedClass_;
} else {
result.loadedClass_ = loadedClassBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.navercorp.pinpoint.grpc.trace.PAgentStat) {
return mergeFrom((com.navercorp.pinpoint.grpc.trace.PAgentStat)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.navercorp.pinpoint.grpc.trace.PAgentStat other) {
if (other == com.navercorp.pinpoint.grpc.trace.PAgentStat.getDefaultInstance()) return this;
if (other.getTimestamp() != 0L) {
setTimestamp(other.getTimestamp());
}
if (other.getCollectInterval() != 0L) {
setCollectInterval(other.getCollectInterval());
}
if (other.hasGc()) {
mergeGc(other.getGc());
}
if (other.hasCpuLoad()) {
mergeCpuLoad(other.getCpuLoad());
}
if (other.hasTransaction()) {
mergeTransaction(other.getTransaction());
}
if (other.hasActiveTrace()) {
mergeActiveTrace(other.getActiveTrace());
}
if (other.hasDataSourceList()) {
mergeDataSourceList(other.getDataSourceList());
}
if (other.hasResponseTime()) {
mergeResponseTime(other.getResponseTime());
}
if (other.hasDeadlock()) {
mergeDeadlock(other.getDeadlock());
}
if (other.hasFileDescriptor()) {
mergeFileDescriptor(other.getFileDescriptor());
}
if (other.hasDirectBuffer()) {
mergeDirectBuffer(other.getDirectBuffer());
}
if (!other.getMetadata().isEmpty()) {
metadata_ = other.metadata_;
onChanged();
}
if (other.hasTotalThread()) {
mergeTotalThread(other.getTotalThread());
}
if (other.hasLoadedClass()) {
mergeLoadedClass(other.getLoadedClass());
}
this.mergeUnknownFields(other.unknownFields);
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 {
com.navercorp.pinpoint.grpc.trace.PAgentStat parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.navercorp.pinpoint.grpc.trace.PAgentStat) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long timestamp_ ;
/**
* int64 timestamp = 1;
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return timestamp_;
}
/**
* int64 timestamp = 1;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
timestamp_ = value;
onChanged();
return this;
}
/**
* int64 timestamp = 1;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
timestamp_ = 0L;
onChanged();
return this;
}
private long collectInterval_ ;
/**
* int64 collectInterval = 2;
* @return The collectInterval.
*/
@java.lang.Override
public long getCollectInterval() {
return collectInterval_;
}
/**
* int64 collectInterval = 2;
* @param value The collectInterval to set.
* @return This builder for chaining.
*/
public Builder setCollectInterval(long value) {
collectInterval_ = value;
onChanged();
return this;
}
/**
* int64 collectInterval = 2;
* @return This builder for chaining.
*/
public Builder clearCollectInterval() {
collectInterval_ = 0L;
onChanged();
return this;
}
private com.navercorp.pinpoint.grpc.trace.PJvmGc gc_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmGc, com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder, com.navercorp.pinpoint.grpc.trace.PJvmGcOrBuilder> gcBuilder_;
/**
* .v1.PJvmGc gc = 3;
* @return Whether the gc field is set.
*/
public boolean hasGc() {
return gcBuilder_ != null || gc_ != null;
}
/**
* .v1.PJvmGc gc = 3;
* @return The gc.
*/
public com.navercorp.pinpoint.grpc.trace.PJvmGc getGc() {
if (gcBuilder_ == null) {
return gc_ == null ? com.navercorp.pinpoint.grpc.trace.PJvmGc.getDefaultInstance() : gc_;
} else {
return gcBuilder_.getMessage();
}
}
/**
* .v1.PJvmGc gc = 3;
*/
public Builder setGc(com.navercorp.pinpoint.grpc.trace.PJvmGc value) {
if (gcBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
gc_ = value;
onChanged();
} else {
gcBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PJvmGc gc = 3;
*/
public Builder setGc(
com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder builderForValue) {
if (gcBuilder_ == null) {
gc_ = builderForValue.build();
onChanged();
} else {
gcBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PJvmGc gc = 3;
*/
public Builder mergeGc(com.navercorp.pinpoint.grpc.trace.PJvmGc value) {
if (gcBuilder_ == null) {
if (gc_ != null) {
gc_ =
com.navercorp.pinpoint.grpc.trace.PJvmGc.newBuilder(gc_).mergeFrom(value).buildPartial();
} else {
gc_ = value;
}
onChanged();
} else {
gcBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PJvmGc gc = 3;
*/
public Builder clearGc() {
if (gcBuilder_ == null) {
gc_ = null;
onChanged();
} else {
gc_ = null;
gcBuilder_ = null;
}
return this;
}
/**
* .v1.PJvmGc gc = 3;
*/
public com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder getGcBuilder() {
onChanged();
return getGcFieldBuilder().getBuilder();
}
/**
* .v1.PJvmGc gc = 3;
*/
public com.navercorp.pinpoint.grpc.trace.PJvmGcOrBuilder getGcOrBuilder() {
if (gcBuilder_ != null) {
return gcBuilder_.getMessageOrBuilder();
} else {
return gc_ == null ?
com.navercorp.pinpoint.grpc.trace.PJvmGc.getDefaultInstance() : gc_;
}
}
/**
* .v1.PJvmGc gc = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmGc, com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder, com.navercorp.pinpoint.grpc.trace.PJvmGcOrBuilder>
getGcFieldBuilder() {
if (gcBuilder_ == null) {
gcBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmGc, com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder, com.navercorp.pinpoint.grpc.trace.PJvmGcOrBuilder>(
getGc(),
getParentForChildren(),
isClean());
gc_ = null;
}
return gcBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PCpuLoad cpuLoad_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PCpuLoad, com.navercorp.pinpoint.grpc.trace.PCpuLoad.Builder, com.navercorp.pinpoint.grpc.trace.PCpuLoadOrBuilder> cpuLoadBuilder_;
/**
* .v1.PCpuLoad cpuLoad = 4;
* @return Whether the cpuLoad field is set.
*/
public boolean hasCpuLoad() {
return cpuLoadBuilder_ != null || cpuLoad_ != null;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
* @return The cpuLoad.
*/
public com.navercorp.pinpoint.grpc.trace.PCpuLoad getCpuLoad() {
if (cpuLoadBuilder_ == null) {
return cpuLoad_ == null ? com.navercorp.pinpoint.grpc.trace.PCpuLoad.getDefaultInstance() : cpuLoad_;
} else {
return cpuLoadBuilder_.getMessage();
}
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
public Builder setCpuLoad(com.navercorp.pinpoint.grpc.trace.PCpuLoad value) {
if (cpuLoadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cpuLoad_ = value;
onChanged();
} else {
cpuLoadBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
public Builder setCpuLoad(
com.navercorp.pinpoint.grpc.trace.PCpuLoad.Builder builderForValue) {
if (cpuLoadBuilder_ == null) {
cpuLoad_ = builderForValue.build();
onChanged();
} else {
cpuLoadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
public Builder mergeCpuLoad(com.navercorp.pinpoint.grpc.trace.PCpuLoad value) {
if (cpuLoadBuilder_ == null) {
if (cpuLoad_ != null) {
cpuLoad_ =
com.navercorp.pinpoint.grpc.trace.PCpuLoad.newBuilder(cpuLoad_).mergeFrom(value).buildPartial();
} else {
cpuLoad_ = value;
}
onChanged();
} else {
cpuLoadBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
public Builder clearCpuLoad() {
if (cpuLoadBuilder_ == null) {
cpuLoad_ = null;
onChanged();
} else {
cpuLoad_ = null;
cpuLoadBuilder_ = null;
}
return this;
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
public com.navercorp.pinpoint.grpc.trace.PCpuLoad.Builder getCpuLoadBuilder() {
onChanged();
return getCpuLoadFieldBuilder().getBuilder();
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
public com.navercorp.pinpoint.grpc.trace.PCpuLoadOrBuilder getCpuLoadOrBuilder() {
if (cpuLoadBuilder_ != null) {
return cpuLoadBuilder_.getMessageOrBuilder();
} else {
return cpuLoad_ == null ?
com.navercorp.pinpoint.grpc.trace.PCpuLoad.getDefaultInstance() : cpuLoad_;
}
}
/**
* .v1.PCpuLoad cpuLoad = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PCpuLoad, com.navercorp.pinpoint.grpc.trace.PCpuLoad.Builder, com.navercorp.pinpoint.grpc.trace.PCpuLoadOrBuilder>
getCpuLoadFieldBuilder() {
if (cpuLoadBuilder_ == null) {
cpuLoadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PCpuLoad, com.navercorp.pinpoint.grpc.trace.PCpuLoad.Builder, com.navercorp.pinpoint.grpc.trace.PCpuLoadOrBuilder>(
getCpuLoad(),
getParentForChildren(),
isClean());
cpuLoad_ = null;
}
return cpuLoadBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PTransaction transaction_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PTransaction, com.navercorp.pinpoint.grpc.trace.PTransaction.Builder, com.navercorp.pinpoint.grpc.trace.PTransactionOrBuilder> transactionBuilder_;
/**
* .v1.PTransaction transaction = 5;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transactionBuilder_ != null || transaction_ != null;
}
/**
* .v1.PTransaction transaction = 5;
* @return The transaction.
*/
public com.navercorp.pinpoint.grpc.trace.PTransaction getTransaction() {
if (transactionBuilder_ == null) {
return transaction_ == null ? com.navercorp.pinpoint.grpc.trace.PTransaction.getDefaultInstance() : transaction_;
} else {
return transactionBuilder_.getMessage();
}
}
/**
* .v1.PTransaction transaction = 5;
*/
public Builder setTransaction(com.navercorp.pinpoint.grpc.trace.PTransaction value) {
if (transactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transaction_ = value;
onChanged();
} else {
transactionBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PTransaction transaction = 5;
*/
public Builder setTransaction(
com.navercorp.pinpoint.grpc.trace.PTransaction.Builder builderForValue) {
if (transactionBuilder_ == null) {
transaction_ = builderForValue.build();
onChanged();
} else {
transactionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PTransaction transaction = 5;
*/
public Builder mergeTransaction(com.navercorp.pinpoint.grpc.trace.PTransaction value) {
if (transactionBuilder_ == null) {
if (transaction_ != null) {
transaction_ =
com.navercorp.pinpoint.grpc.trace.PTransaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
} else {
transaction_ = value;
}
onChanged();
} else {
transactionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PTransaction transaction = 5;
*/
public Builder clearTransaction() {
if (transactionBuilder_ == null) {
transaction_ = null;
onChanged();
} else {
transaction_ = null;
transactionBuilder_ = null;
}
return this;
}
/**
* .v1.PTransaction transaction = 5;
*/
public com.navercorp.pinpoint.grpc.trace.PTransaction.Builder getTransactionBuilder() {
onChanged();
return getTransactionFieldBuilder().getBuilder();
}
/**
* .v1.PTransaction transaction = 5;
*/
public com.navercorp.pinpoint.grpc.trace.PTransactionOrBuilder getTransactionOrBuilder() {
if (transactionBuilder_ != null) {
return transactionBuilder_.getMessageOrBuilder();
} else {
return transaction_ == null ?
com.navercorp.pinpoint.grpc.trace.PTransaction.getDefaultInstance() : transaction_;
}
}
/**
* .v1.PTransaction transaction = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PTransaction, com.navercorp.pinpoint.grpc.trace.PTransaction.Builder, com.navercorp.pinpoint.grpc.trace.PTransactionOrBuilder>
getTransactionFieldBuilder() {
if (transactionBuilder_ == null) {
transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PTransaction, com.navercorp.pinpoint.grpc.trace.PTransaction.Builder, com.navercorp.pinpoint.grpc.trace.PTransactionOrBuilder>(
getTransaction(),
getParentForChildren(),
isClean());
transaction_ = null;
}
return transactionBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PActiveTrace activeTrace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PActiveTrace, com.navercorp.pinpoint.grpc.trace.PActiveTrace.Builder, com.navercorp.pinpoint.grpc.trace.PActiveTraceOrBuilder> activeTraceBuilder_;
/**
* .v1.PActiveTrace activeTrace = 6;
* @return Whether the activeTrace field is set.
*/
public boolean hasActiveTrace() {
return activeTraceBuilder_ != null || activeTrace_ != null;
}
/**
* .v1.PActiveTrace activeTrace = 6;
* @return The activeTrace.
*/
public com.navercorp.pinpoint.grpc.trace.PActiveTrace getActiveTrace() {
if (activeTraceBuilder_ == null) {
return activeTrace_ == null ? com.navercorp.pinpoint.grpc.trace.PActiveTrace.getDefaultInstance() : activeTrace_;
} else {
return activeTraceBuilder_.getMessage();
}
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
public Builder setActiveTrace(com.navercorp.pinpoint.grpc.trace.PActiveTrace value) {
if (activeTraceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
activeTrace_ = value;
onChanged();
} else {
activeTraceBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
public Builder setActiveTrace(
com.navercorp.pinpoint.grpc.trace.PActiveTrace.Builder builderForValue) {
if (activeTraceBuilder_ == null) {
activeTrace_ = builderForValue.build();
onChanged();
} else {
activeTraceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
public Builder mergeActiveTrace(com.navercorp.pinpoint.grpc.trace.PActiveTrace value) {
if (activeTraceBuilder_ == null) {
if (activeTrace_ != null) {
activeTrace_ =
com.navercorp.pinpoint.grpc.trace.PActiveTrace.newBuilder(activeTrace_).mergeFrom(value).buildPartial();
} else {
activeTrace_ = value;
}
onChanged();
} else {
activeTraceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
public Builder clearActiveTrace() {
if (activeTraceBuilder_ == null) {
activeTrace_ = null;
onChanged();
} else {
activeTrace_ = null;
activeTraceBuilder_ = null;
}
return this;
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
public com.navercorp.pinpoint.grpc.trace.PActiveTrace.Builder getActiveTraceBuilder() {
onChanged();
return getActiveTraceFieldBuilder().getBuilder();
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
public com.navercorp.pinpoint.grpc.trace.PActiveTraceOrBuilder getActiveTraceOrBuilder() {
if (activeTraceBuilder_ != null) {
return activeTraceBuilder_.getMessageOrBuilder();
} else {
return activeTrace_ == null ?
com.navercorp.pinpoint.grpc.trace.PActiveTrace.getDefaultInstance() : activeTrace_;
}
}
/**
* .v1.PActiveTrace activeTrace = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PActiveTrace, com.navercorp.pinpoint.grpc.trace.PActiveTrace.Builder, com.navercorp.pinpoint.grpc.trace.PActiveTraceOrBuilder>
getActiveTraceFieldBuilder() {
if (activeTraceBuilder_ == null) {
activeTraceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PActiveTrace, com.navercorp.pinpoint.grpc.trace.PActiveTrace.Builder, com.navercorp.pinpoint.grpc.trace.PActiveTraceOrBuilder>(
getActiveTrace(),
getParentForChildren(),
isClean());
activeTrace_ = null;
}
return activeTraceBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PDataSourceList dataSourceList_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDataSourceList, com.navercorp.pinpoint.grpc.trace.PDataSourceList.Builder, com.navercorp.pinpoint.grpc.trace.PDataSourceListOrBuilder> dataSourceListBuilder_;
/**
* .v1.PDataSourceList dataSourceList = 7;
* @return Whether the dataSourceList field is set.
*/
public boolean hasDataSourceList() {
return dataSourceListBuilder_ != null || dataSourceList_ != null;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
* @return The dataSourceList.
*/
public com.navercorp.pinpoint.grpc.trace.PDataSourceList getDataSourceList() {
if (dataSourceListBuilder_ == null) {
return dataSourceList_ == null ? com.navercorp.pinpoint.grpc.trace.PDataSourceList.getDefaultInstance() : dataSourceList_;
} else {
return dataSourceListBuilder_.getMessage();
}
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
public Builder setDataSourceList(com.navercorp.pinpoint.grpc.trace.PDataSourceList value) {
if (dataSourceListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataSourceList_ = value;
onChanged();
} else {
dataSourceListBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
public Builder setDataSourceList(
com.navercorp.pinpoint.grpc.trace.PDataSourceList.Builder builderForValue) {
if (dataSourceListBuilder_ == null) {
dataSourceList_ = builderForValue.build();
onChanged();
} else {
dataSourceListBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
public Builder mergeDataSourceList(com.navercorp.pinpoint.grpc.trace.PDataSourceList value) {
if (dataSourceListBuilder_ == null) {
if (dataSourceList_ != null) {
dataSourceList_ =
com.navercorp.pinpoint.grpc.trace.PDataSourceList.newBuilder(dataSourceList_).mergeFrom(value).buildPartial();
} else {
dataSourceList_ = value;
}
onChanged();
} else {
dataSourceListBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
public Builder clearDataSourceList() {
if (dataSourceListBuilder_ == null) {
dataSourceList_ = null;
onChanged();
} else {
dataSourceList_ = null;
dataSourceListBuilder_ = null;
}
return this;
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
public com.navercorp.pinpoint.grpc.trace.PDataSourceList.Builder getDataSourceListBuilder() {
onChanged();
return getDataSourceListFieldBuilder().getBuilder();
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
public com.navercorp.pinpoint.grpc.trace.PDataSourceListOrBuilder getDataSourceListOrBuilder() {
if (dataSourceListBuilder_ != null) {
return dataSourceListBuilder_.getMessageOrBuilder();
} else {
return dataSourceList_ == null ?
com.navercorp.pinpoint.grpc.trace.PDataSourceList.getDefaultInstance() : dataSourceList_;
}
}
/**
* .v1.PDataSourceList dataSourceList = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDataSourceList, com.navercorp.pinpoint.grpc.trace.PDataSourceList.Builder, com.navercorp.pinpoint.grpc.trace.PDataSourceListOrBuilder>
getDataSourceListFieldBuilder() {
if (dataSourceListBuilder_ == null) {
dataSourceListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDataSourceList, com.navercorp.pinpoint.grpc.trace.PDataSourceList.Builder, com.navercorp.pinpoint.grpc.trace.PDataSourceListOrBuilder>(
getDataSourceList(),
getParentForChildren(),
isClean());
dataSourceList_ = null;
}
return dataSourceListBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PResponseTime responseTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PResponseTime, com.navercorp.pinpoint.grpc.trace.PResponseTime.Builder, com.navercorp.pinpoint.grpc.trace.PResponseTimeOrBuilder> responseTimeBuilder_;
/**
* .v1.PResponseTime responseTime = 8;
* @return Whether the responseTime field is set.
*/
public boolean hasResponseTime() {
return responseTimeBuilder_ != null || responseTime_ != null;
}
/**
* .v1.PResponseTime responseTime = 8;
* @return The responseTime.
*/
public com.navercorp.pinpoint.grpc.trace.PResponseTime getResponseTime() {
if (responseTimeBuilder_ == null) {
return responseTime_ == null ? com.navercorp.pinpoint.grpc.trace.PResponseTime.getDefaultInstance() : responseTime_;
} else {
return responseTimeBuilder_.getMessage();
}
}
/**
* .v1.PResponseTime responseTime = 8;
*/
public Builder setResponseTime(com.navercorp.pinpoint.grpc.trace.PResponseTime value) {
if (responseTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
responseTime_ = value;
onChanged();
} else {
responseTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PResponseTime responseTime = 8;
*/
public Builder setResponseTime(
com.navercorp.pinpoint.grpc.trace.PResponseTime.Builder builderForValue) {
if (responseTimeBuilder_ == null) {
responseTime_ = builderForValue.build();
onChanged();
} else {
responseTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PResponseTime responseTime = 8;
*/
public Builder mergeResponseTime(com.navercorp.pinpoint.grpc.trace.PResponseTime value) {
if (responseTimeBuilder_ == null) {
if (responseTime_ != null) {
responseTime_ =
com.navercorp.pinpoint.grpc.trace.PResponseTime.newBuilder(responseTime_).mergeFrom(value).buildPartial();
} else {
responseTime_ = value;
}
onChanged();
} else {
responseTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PResponseTime responseTime = 8;
*/
public Builder clearResponseTime() {
if (responseTimeBuilder_ == null) {
responseTime_ = null;
onChanged();
} else {
responseTime_ = null;
responseTimeBuilder_ = null;
}
return this;
}
/**
* .v1.PResponseTime responseTime = 8;
*/
public com.navercorp.pinpoint.grpc.trace.PResponseTime.Builder getResponseTimeBuilder() {
onChanged();
return getResponseTimeFieldBuilder().getBuilder();
}
/**
* .v1.PResponseTime responseTime = 8;
*/
public com.navercorp.pinpoint.grpc.trace.PResponseTimeOrBuilder getResponseTimeOrBuilder() {
if (responseTimeBuilder_ != null) {
return responseTimeBuilder_.getMessageOrBuilder();
} else {
return responseTime_ == null ?
com.navercorp.pinpoint.grpc.trace.PResponseTime.getDefaultInstance() : responseTime_;
}
}
/**
* .v1.PResponseTime responseTime = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PResponseTime, com.navercorp.pinpoint.grpc.trace.PResponseTime.Builder, com.navercorp.pinpoint.grpc.trace.PResponseTimeOrBuilder>
getResponseTimeFieldBuilder() {
if (responseTimeBuilder_ == null) {
responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PResponseTime, com.navercorp.pinpoint.grpc.trace.PResponseTime.Builder, com.navercorp.pinpoint.grpc.trace.PResponseTimeOrBuilder>(
getResponseTime(),
getParentForChildren(),
isClean());
responseTime_ = null;
}
return responseTimeBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PDeadlock deadlock_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDeadlock, com.navercorp.pinpoint.grpc.trace.PDeadlock.Builder, com.navercorp.pinpoint.grpc.trace.PDeadlockOrBuilder> deadlockBuilder_;
/**
* .v1.PDeadlock deadlock = 9;
* @return Whether the deadlock field is set.
*/
public boolean hasDeadlock() {
return deadlockBuilder_ != null || deadlock_ != null;
}
/**
* .v1.PDeadlock deadlock = 9;
* @return The deadlock.
*/
public com.navercorp.pinpoint.grpc.trace.PDeadlock getDeadlock() {
if (deadlockBuilder_ == null) {
return deadlock_ == null ? com.navercorp.pinpoint.grpc.trace.PDeadlock.getDefaultInstance() : deadlock_;
} else {
return deadlockBuilder_.getMessage();
}
}
/**
* .v1.PDeadlock deadlock = 9;
*/
public Builder setDeadlock(com.navercorp.pinpoint.grpc.trace.PDeadlock value) {
if (deadlockBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deadlock_ = value;
onChanged();
} else {
deadlockBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PDeadlock deadlock = 9;
*/
public Builder setDeadlock(
com.navercorp.pinpoint.grpc.trace.PDeadlock.Builder builderForValue) {
if (deadlockBuilder_ == null) {
deadlock_ = builderForValue.build();
onChanged();
} else {
deadlockBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PDeadlock deadlock = 9;
*/
public Builder mergeDeadlock(com.navercorp.pinpoint.grpc.trace.PDeadlock value) {
if (deadlockBuilder_ == null) {
if (deadlock_ != null) {
deadlock_ =
com.navercorp.pinpoint.grpc.trace.PDeadlock.newBuilder(deadlock_).mergeFrom(value).buildPartial();
} else {
deadlock_ = value;
}
onChanged();
} else {
deadlockBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PDeadlock deadlock = 9;
*/
public Builder clearDeadlock() {
if (deadlockBuilder_ == null) {
deadlock_ = null;
onChanged();
} else {
deadlock_ = null;
deadlockBuilder_ = null;
}
return this;
}
/**
* .v1.PDeadlock deadlock = 9;
*/
public com.navercorp.pinpoint.grpc.trace.PDeadlock.Builder getDeadlockBuilder() {
onChanged();
return getDeadlockFieldBuilder().getBuilder();
}
/**
* .v1.PDeadlock deadlock = 9;
*/
public com.navercorp.pinpoint.grpc.trace.PDeadlockOrBuilder getDeadlockOrBuilder() {
if (deadlockBuilder_ != null) {
return deadlockBuilder_.getMessageOrBuilder();
} else {
return deadlock_ == null ?
com.navercorp.pinpoint.grpc.trace.PDeadlock.getDefaultInstance() : deadlock_;
}
}
/**
* .v1.PDeadlock deadlock = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDeadlock, com.navercorp.pinpoint.grpc.trace.PDeadlock.Builder, com.navercorp.pinpoint.grpc.trace.PDeadlockOrBuilder>
getDeadlockFieldBuilder() {
if (deadlockBuilder_ == null) {
deadlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDeadlock, com.navercorp.pinpoint.grpc.trace.PDeadlock.Builder, com.navercorp.pinpoint.grpc.trace.PDeadlockOrBuilder>(
getDeadlock(),
getParentForChildren(),
isClean());
deadlock_ = null;
}
return deadlockBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PFileDescriptor fileDescriptor_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PFileDescriptor, com.navercorp.pinpoint.grpc.trace.PFileDescriptor.Builder, com.navercorp.pinpoint.grpc.trace.PFileDescriptorOrBuilder> fileDescriptorBuilder_;
/**
* .v1.PFileDescriptor fileDescriptor = 10;
* @return Whether the fileDescriptor field is set.
*/
public boolean hasFileDescriptor() {
return fileDescriptorBuilder_ != null || fileDescriptor_ != null;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
* @return The fileDescriptor.
*/
public com.navercorp.pinpoint.grpc.trace.PFileDescriptor getFileDescriptor() {
if (fileDescriptorBuilder_ == null) {
return fileDescriptor_ == null ? com.navercorp.pinpoint.grpc.trace.PFileDescriptor.getDefaultInstance() : fileDescriptor_;
} else {
return fileDescriptorBuilder_.getMessage();
}
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
public Builder setFileDescriptor(com.navercorp.pinpoint.grpc.trace.PFileDescriptor value) {
if (fileDescriptorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileDescriptor_ = value;
onChanged();
} else {
fileDescriptorBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
public Builder setFileDescriptor(
com.navercorp.pinpoint.grpc.trace.PFileDescriptor.Builder builderForValue) {
if (fileDescriptorBuilder_ == null) {
fileDescriptor_ = builderForValue.build();
onChanged();
} else {
fileDescriptorBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
public Builder mergeFileDescriptor(com.navercorp.pinpoint.grpc.trace.PFileDescriptor value) {
if (fileDescriptorBuilder_ == null) {
if (fileDescriptor_ != null) {
fileDescriptor_ =
com.navercorp.pinpoint.grpc.trace.PFileDescriptor.newBuilder(fileDescriptor_).mergeFrom(value).buildPartial();
} else {
fileDescriptor_ = value;
}
onChanged();
} else {
fileDescriptorBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
public Builder clearFileDescriptor() {
if (fileDescriptorBuilder_ == null) {
fileDescriptor_ = null;
onChanged();
} else {
fileDescriptor_ = null;
fileDescriptorBuilder_ = null;
}
return this;
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
public com.navercorp.pinpoint.grpc.trace.PFileDescriptor.Builder getFileDescriptorBuilder() {
onChanged();
return getFileDescriptorFieldBuilder().getBuilder();
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
public com.navercorp.pinpoint.grpc.trace.PFileDescriptorOrBuilder getFileDescriptorOrBuilder() {
if (fileDescriptorBuilder_ != null) {
return fileDescriptorBuilder_.getMessageOrBuilder();
} else {
return fileDescriptor_ == null ?
com.navercorp.pinpoint.grpc.trace.PFileDescriptor.getDefaultInstance() : fileDescriptor_;
}
}
/**
* .v1.PFileDescriptor fileDescriptor = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PFileDescriptor, com.navercorp.pinpoint.grpc.trace.PFileDescriptor.Builder, com.navercorp.pinpoint.grpc.trace.PFileDescriptorOrBuilder>
getFileDescriptorFieldBuilder() {
if (fileDescriptorBuilder_ == null) {
fileDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PFileDescriptor, com.navercorp.pinpoint.grpc.trace.PFileDescriptor.Builder, com.navercorp.pinpoint.grpc.trace.PFileDescriptorOrBuilder>(
getFileDescriptor(),
getParentForChildren(),
isClean());
fileDescriptor_ = null;
}
return fileDescriptorBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PDirectBuffer directBuffer_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDirectBuffer, com.navercorp.pinpoint.grpc.trace.PDirectBuffer.Builder, com.navercorp.pinpoint.grpc.trace.PDirectBufferOrBuilder> directBufferBuilder_;
/**
* .v1.PDirectBuffer directBuffer = 11;
* @return Whether the directBuffer field is set.
*/
public boolean hasDirectBuffer() {
return directBufferBuilder_ != null || directBuffer_ != null;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
* @return The directBuffer.
*/
public com.navercorp.pinpoint.grpc.trace.PDirectBuffer getDirectBuffer() {
if (directBufferBuilder_ == null) {
return directBuffer_ == null ? com.navercorp.pinpoint.grpc.trace.PDirectBuffer.getDefaultInstance() : directBuffer_;
} else {
return directBufferBuilder_.getMessage();
}
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
public Builder setDirectBuffer(com.navercorp.pinpoint.grpc.trace.PDirectBuffer value) {
if (directBufferBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
directBuffer_ = value;
onChanged();
} else {
directBufferBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
public Builder setDirectBuffer(
com.navercorp.pinpoint.grpc.trace.PDirectBuffer.Builder builderForValue) {
if (directBufferBuilder_ == null) {
directBuffer_ = builderForValue.build();
onChanged();
} else {
directBufferBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
public Builder mergeDirectBuffer(com.navercorp.pinpoint.grpc.trace.PDirectBuffer value) {
if (directBufferBuilder_ == null) {
if (directBuffer_ != null) {
directBuffer_ =
com.navercorp.pinpoint.grpc.trace.PDirectBuffer.newBuilder(directBuffer_).mergeFrom(value).buildPartial();
} else {
directBuffer_ = value;
}
onChanged();
} else {
directBufferBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
public Builder clearDirectBuffer() {
if (directBufferBuilder_ == null) {
directBuffer_ = null;
onChanged();
} else {
directBuffer_ = null;
directBufferBuilder_ = null;
}
return this;
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
public com.navercorp.pinpoint.grpc.trace.PDirectBuffer.Builder getDirectBufferBuilder() {
onChanged();
return getDirectBufferFieldBuilder().getBuilder();
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
public com.navercorp.pinpoint.grpc.trace.PDirectBufferOrBuilder getDirectBufferOrBuilder() {
if (directBufferBuilder_ != null) {
return directBufferBuilder_.getMessageOrBuilder();
} else {
return directBuffer_ == null ?
com.navercorp.pinpoint.grpc.trace.PDirectBuffer.getDefaultInstance() : directBuffer_;
}
}
/**
* .v1.PDirectBuffer directBuffer = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDirectBuffer, com.navercorp.pinpoint.grpc.trace.PDirectBuffer.Builder, com.navercorp.pinpoint.grpc.trace.PDirectBufferOrBuilder>
getDirectBufferFieldBuilder() {
if (directBufferBuilder_ == null) {
directBufferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PDirectBuffer, com.navercorp.pinpoint.grpc.trace.PDirectBuffer.Builder, com.navercorp.pinpoint.grpc.trace.PDirectBufferOrBuilder>(
getDirectBuffer(),
getParentForChildren(),
isClean());
directBuffer_ = null;
}
return directBufferBuilder_;
}
private java.lang.Object metadata_ = "";
/**
* string metadata = 12;
* @return The metadata.
*/
public java.lang.String getMetadata() {
java.lang.Object ref = metadata_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metadata_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string metadata = 12;
* @return The bytes for metadata.
*/
public com.google.protobuf.ByteString
getMetadataBytes() {
java.lang.Object ref = metadata_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metadata_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string metadata = 12;
* @param value The metadata to set.
* @return This builder for chaining.
*/
public Builder setMetadata(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
onChanged();
return this;
}
/**
* string metadata = 12;
* @return This builder for chaining.
*/
public Builder clearMetadata() {
metadata_ = getDefaultInstance().getMetadata();
onChanged();
return this;
}
/**
* string metadata = 12;
* @param value The bytes for metadata to set.
* @return This builder for chaining.
*/
public Builder setMetadataBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
metadata_ = value;
onChanged();
return this;
}
private com.navercorp.pinpoint.grpc.trace.PTotalThread totalThread_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PTotalThread, com.navercorp.pinpoint.grpc.trace.PTotalThread.Builder, com.navercorp.pinpoint.grpc.trace.PTotalThreadOrBuilder> totalThreadBuilder_;
/**
* .v1.PTotalThread totalThread = 13;
* @return Whether the totalThread field is set.
*/
public boolean hasTotalThread() {
return totalThreadBuilder_ != null || totalThread_ != null;
}
/**
* .v1.PTotalThread totalThread = 13;
* @return The totalThread.
*/
public com.navercorp.pinpoint.grpc.trace.PTotalThread getTotalThread() {
if (totalThreadBuilder_ == null) {
return totalThread_ == null ? com.navercorp.pinpoint.grpc.trace.PTotalThread.getDefaultInstance() : totalThread_;
} else {
return totalThreadBuilder_.getMessage();
}
}
/**
* .v1.PTotalThread totalThread = 13;
*/
public Builder setTotalThread(com.navercorp.pinpoint.grpc.trace.PTotalThread value) {
if (totalThreadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalThread_ = value;
onChanged();
} else {
totalThreadBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PTotalThread totalThread = 13;
*/
public Builder setTotalThread(
com.navercorp.pinpoint.grpc.trace.PTotalThread.Builder builderForValue) {
if (totalThreadBuilder_ == null) {
totalThread_ = builderForValue.build();
onChanged();
} else {
totalThreadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PTotalThread totalThread = 13;
*/
public Builder mergeTotalThread(com.navercorp.pinpoint.grpc.trace.PTotalThread value) {
if (totalThreadBuilder_ == null) {
if (totalThread_ != null) {
totalThread_ =
com.navercorp.pinpoint.grpc.trace.PTotalThread.newBuilder(totalThread_).mergeFrom(value).buildPartial();
} else {
totalThread_ = value;
}
onChanged();
} else {
totalThreadBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PTotalThread totalThread = 13;
*/
public Builder clearTotalThread() {
if (totalThreadBuilder_ == null) {
totalThread_ = null;
onChanged();
} else {
totalThread_ = null;
totalThreadBuilder_ = null;
}
return this;
}
/**
* .v1.PTotalThread totalThread = 13;
*/
public com.navercorp.pinpoint.grpc.trace.PTotalThread.Builder getTotalThreadBuilder() {
onChanged();
return getTotalThreadFieldBuilder().getBuilder();
}
/**
* .v1.PTotalThread totalThread = 13;
*/
public com.navercorp.pinpoint.grpc.trace.PTotalThreadOrBuilder getTotalThreadOrBuilder() {
if (totalThreadBuilder_ != null) {
return totalThreadBuilder_.getMessageOrBuilder();
} else {
return totalThread_ == null ?
com.navercorp.pinpoint.grpc.trace.PTotalThread.getDefaultInstance() : totalThread_;
}
}
/**
* .v1.PTotalThread totalThread = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PTotalThread, com.navercorp.pinpoint.grpc.trace.PTotalThread.Builder, com.navercorp.pinpoint.grpc.trace.PTotalThreadOrBuilder>
getTotalThreadFieldBuilder() {
if (totalThreadBuilder_ == null) {
totalThreadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PTotalThread, com.navercorp.pinpoint.grpc.trace.PTotalThread.Builder, com.navercorp.pinpoint.grpc.trace.PTotalThreadOrBuilder>(
getTotalThread(),
getParentForChildren(),
isClean());
totalThread_ = null;
}
return totalThreadBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PLoadedClass loadedClass_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PLoadedClass, com.navercorp.pinpoint.grpc.trace.PLoadedClass.Builder, com.navercorp.pinpoint.grpc.trace.PLoadedClassOrBuilder> loadedClassBuilder_;
/**
* .v1.PLoadedClass loadedClass = 14;
* @return Whether the loadedClass field is set.
*/
public boolean hasLoadedClass() {
return loadedClassBuilder_ != null || loadedClass_ != null;
}
/**
* .v1.PLoadedClass loadedClass = 14;
* @return The loadedClass.
*/
public com.navercorp.pinpoint.grpc.trace.PLoadedClass getLoadedClass() {
if (loadedClassBuilder_ == null) {
return loadedClass_ == null ? com.navercorp.pinpoint.grpc.trace.PLoadedClass.getDefaultInstance() : loadedClass_;
} else {
return loadedClassBuilder_.getMessage();
}
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
public Builder setLoadedClass(com.navercorp.pinpoint.grpc.trace.PLoadedClass value) {
if (loadedClassBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
loadedClass_ = value;
onChanged();
} else {
loadedClassBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
public Builder setLoadedClass(
com.navercorp.pinpoint.grpc.trace.PLoadedClass.Builder builderForValue) {
if (loadedClassBuilder_ == null) {
loadedClass_ = builderForValue.build();
onChanged();
} else {
loadedClassBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
public Builder mergeLoadedClass(com.navercorp.pinpoint.grpc.trace.PLoadedClass value) {
if (loadedClassBuilder_ == null) {
if (loadedClass_ != null) {
loadedClass_ =
com.navercorp.pinpoint.grpc.trace.PLoadedClass.newBuilder(loadedClass_).mergeFrom(value).buildPartial();
} else {
loadedClass_ = value;
}
onChanged();
} else {
loadedClassBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
public Builder clearLoadedClass() {
if (loadedClassBuilder_ == null) {
loadedClass_ = null;
onChanged();
} else {
loadedClass_ = null;
loadedClassBuilder_ = null;
}
return this;
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PLoadedClass.Builder getLoadedClassBuilder() {
onChanged();
return getLoadedClassFieldBuilder().getBuilder();
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PLoadedClassOrBuilder getLoadedClassOrBuilder() {
if (loadedClassBuilder_ != null) {
return loadedClassBuilder_.getMessageOrBuilder();
} else {
return loadedClass_ == null ?
com.navercorp.pinpoint.grpc.trace.PLoadedClass.getDefaultInstance() : loadedClass_;
}
}
/**
* .v1.PLoadedClass loadedClass = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PLoadedClass, com.navercorp.pinpoint.grpc.trace.PLoadedClass.Builder, com.navercorp.pinpoint.grpc.trace.PLoadedClassOrBuilder>
getLoadedClassFieldBuilder() {
if (loadedClassBuilder_ == null) {
loadedClassBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PLoadedClass, com.navercorp.pinpoint.grpc.trace.PLoadedClass.Builder, com.navercorp.pinpoint.grpc.trace.PLoadedClassOrBuilder>(
getLoadedClass(),
getParentForChildren(),
isClean());
loadedClass_ = null;
}
return loadedClassBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:v1.PAgentStat)
}
// @@protoc_insertion_point(class_scope:v1.PAgentStat)
private static final com.navercorp.pinpoint.grpc.trace.PAgentStat DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.navercorp.pinpoint.grpc.trace.PAgentStat();
}
public static com.navercorp.pinpoint.grpc.trace.PAgentStat getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PAgentStat parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PAgentStat(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentStat getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}