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.PThreadDump Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v1/ThreadDump.proto
package com.navercorp.pinpoint.grpc.trace;
/**
* Protobuf type {@code v1.PThreadDump}
*/
public final class PThreadDump extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.PThreadDump)
PThreadDumpOrBuilder {
private static final long serialVersionUID = 0L;
// Use PThreadDump.newBuilder() to construct.
private PThreadDump(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PThreadDump() {
threadName_ = "";
lockName_ = "";
lockOwnerName_ = "";
threadState_ = 0;
stackTrace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
lockedMonitor_ = java.util.Collections.emptyList();
lockedSynchronizer_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PThreadDump();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PThreadDump(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
threadName_ = s;
break;
}
case 16: {
threadId_ = input.readInt64();
break;
}
case 24: {
blockedTime_ = input.readInt64();
break;
}
case 32: {
blockedCount_ = input.readInt64();
break;
}
case 40: {
waitedTime_ = input.readInt64();
break;
}
case 48: {
waitedCount_ = input.readInt64();
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
lockName_ = s;
break;
}
case 64: {
lockOwnerId_ = input.readInt64();
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
lockOwnerName_ = s;
break;
}
case 80: {
inNative_ = input.readBool();
break;
}
case 88: {
suspended_ = input.readBool();
break;
}
case 96: {
int rawValue = input.readEnum();
threadState_ = rawValue;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
stackTrace_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
stackTrace_.add(s);
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
lockedMonitor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
lockedMonitor_.add(
input.readMessage(com.navercorp.pinpoint.grpc.trace.PMonitorInfo.parser(), extensionRegistry));
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
lockedSynchronizer_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
lockedSynchronizer_.add(s);
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
stackTrace_ = stackTrace_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
lockedMonitor_ = java.util.Collections.unmodifiableList(lockedMonitor_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
lockedSynchronizer_ = lockedSynchronizer_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.ThreadDumpProto.internal_static_v1_PThreadDump_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.ThreadDumpProto.internal_static_v1_PThreadDump_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PThreadDump.class, com.navercorp.pinpoint.grpc.trace.PThreadDump.Builder.class);
}
public static final int THREADNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object threadName_;
/**
* string threadName = 1;
* @return The threadName.
*/
@java.lang.Override
public java.lang.String getThreadName() {
java.lang.Object ref = threadName_;
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();
threadName_ = s;
return s;
}
}
/**
* string threadName = 1;
* @return The bytes for threadName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getThreadNameBytes() {
java.lang.Object ref = threadName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
threadName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int THREADID_FIELD_NUMBER = 2;
private long threadId_;
/**
* int64 threadId = 2;
* @return The threadId.
*/
@java.lang.Override
public long getThreadId() {
return threadId_;
}
public static final int BLOCKEDTIME_FIELD_NUMBER = 3;
private long blockedTime_;
/**
* int64 blockedTime = 3;
* @return The blockedTime.
*/
@java.lang.Override
public long getBlockedTime() {
return blockedTime_;
}
public static final int BLOCKEDCOUNT_FIELD_NUMBER = 4;
private long blockedCount_;
/**
* int64 blockedCount = 4;
* @return The blockedCount.
*/
@java.lang.Override
public long getBlockedCount() {
return blockedCount_;
}
public static final int WAITEDTIME_FIELD_NUMBER = 5;
private long waitedTime_;
/**
* int64 waitedTime = 5;
* @return The waitedTime.
*/
@java.lang.Override
public long getWaitedTime() {
return waitedTime_;
}
public static final int WAITEDCOUNT_FIELD_NUMBER = 6;
private long waitedCount_;
/**
* int64 waitedCount = 6;
* @return The waitedCount.
*/
@java.lang.Override
public long getWaitedCount() {
return waitedCount_;
}
public static final int LOCKNAME_FIELD_NUMBER = 7;
private volatile java.lang.Object lockName_;
/**
* string lockName = 7;
* @return The lockName.
*/
@java.lang.Override
public java.lang.String getLockName() {
java.lang.Object ref = lockName_;
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();
lockName_ = s;
return s;
}
}
/**
* string lockName = 7;
* @return The bytes for lockName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLockNameBytes() {
java.lang.Object ref = lockName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lockName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCKOWNERID_FIELD_NUMBER = 8;
private long lockOwnerId_;
/**
* int64 lockOwnerId = 8;
* @return The lockOwnerId.
*/
@java.lang.Override
public long getLockOwnerId() {
return lockOwnerId_;
}
public static final int LOCKOWNERNAME_FIELD_NUMBER = 9;
private volatile java.lang.Object lockOwnerName_;
/**
* string lockOwnerName = 9;
* @return The lockOwnerName.
*/
@java.lang.Override
public java.lang.String getLockOwnerName() {
java.lang.Object ref = lockOwnerName_;
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();
lockOwnerName_ = s;
return s;
}
}
/**
* string lockOwnerName = 9;
* @return The bytes for lockOwnerName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLockOwnerNameBytes() {
java.lang.Object ref = lockOwnerName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lockOwnerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INNATIVE_FIELD_NUMBER = 10;
private boolean inNative_;
/**
* bool inNative = 10;
* @return The inNative.
*/
@java.lang.Override
public boolean getInNative() {
return inNative_;
}
public static final int SUSPENDED_FIELD_NUMBER = 11;
private boolean suspended_;
/**
* bool suspended = 11;
* @return The suspended.
*/
@java.lang.Override
public boolean getSuspended() {
return suspended_;
}
public static final int THREADSTATE_FIELD_NUMBER = 12;
private int threadState_;
/**
* .v1.PThreadState threadState = 12;
* @return The enum numeric value on the wire for threadState.
*/
@java.lang.Override public int getThreadStateValue() {
return threadState_;
}
/**
* .v1.PThreadState threadState = 12;
* @return The threadState.
*/
@java.lang.Override public com.navercorp.pinpoint.grpc.trace.PThreadState getThreadState() {
@SuppressWarnings("deprecation")
com.navercorp.pinpoint.grpc.trace.PThreadState result = com.navercorp.pinpoint.grpc.trace.PThreadState.valueOf(threadState_);
return result == null ? com.navercorp.pinpoint.grpc.trace.PThreadState.UNRECOGNIZED : result;
}
public static final int STACKTRACE_FIELD_NUMBER = 13;
private com.google.protobuf.LazyStringList stackTrace_;
/**
* repeated string stackTrace = 13;
* @return A list containing the stackTrace.
*/
public com.google.protobuf.ProtocolStringList
getStackTraceList() {
return stackTrace_;
}
/**
* repeated string stackTrace = 13;
* @return The count of stackTrace.
*/
public int getStackTraceCount() {
return stackTrace_.size();
}
/**
* repeated string stackTrace = 13;
* @param index The index of the element to return.
* @return The stackTrace at the given index.
*/
public java.lang.String getStackTrace(int index) {
return stackTrace_.get(index);
}
/**
* repeated string stackTrace = 13;
* @param index The index of the value to return.
* @return The bytes of the stackTrace at the given index.
*/
public com.google.protobuf.ByteString
getStackTraceBytes(int index) {
return stackTrace_.getByteString(index);
}
public static final int LOCKEDMONITOR_FIELD_NUMBER = 14;
private java.util.List lockedMonitor_;
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
@java.lang.Override
public java.util.List getLockedMonitorList() {
return lockedMonitor_;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
@java.lang.Override
public java.util.List
getLockedMonitorOrBuilderList() {
return lockedMonitor_;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
@java.lang.Override
public int getLockedMonitorCount() {
return lockedMonitor_.size();
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PMonitorInfo getLockedMonitor(int index) {
return lockedMonitor_.get(index);
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PMonitorInfoOrBuilder getLockedMonitorOrBuilder(
int index) {
return lockedMonitor_.get(index);
}
public static final int LOCKEDSYNCHRONIZER_FIELD_NUMBER = 15;
private com.google.protobuf.LazyStringList lockedSynchronizer_;
/**
* repeated string lockedSynchronizer = 15;
* @return A list containing the lockedSynchronizer.
*/
public com.google.protobuf.ProtocolStringList
getLockedSynchronizerList() {
return lockedSynchronizer_;
}
/**
* repeated string lockedSynchronizer = 15;
* @return The count of lockedSynchronizer.
*/
public int getLockedSynchronizerCount() {
return lockedSynchronizer_.size();
}
/**
* repeated string lockedSynchronizer = 15;
* @param index The index of the element to return.
* @return The lockedSynchronizer at the given index.
*/
public java.lang.String getLockedSynchronizer(int index) {
return lockedSynchronizer_.get(index);
}
/**
* repeated string lockedSynchronizer = 15;
* @param index The index of the value to return.
* @return The bytes of the lockedSynchronizer at the given index.
*/
public com.google.protobuf.ByteString
getLockedSynchronizerBytes(int index) {
return lockedSynchronizer_.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 {
if (!getThreadNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, threadName_);
}
if (threadId_ != 0L) {
output.writeInt64(2, threadId_);
}
if (blockedTime_ != 0L) {
output.writeInt64(3, blockedTime_);
}
if (blockedCount_ != 0L) {
output.writeInt64(4, blockedCount_);
}
if (waitedTime_ != 0L) {
output.writeInt64(5, waitedTime_);
}
if (waitedCount_ != 0L) {
output.writeInt64(6, waitedCount_);
}
if (!getLockNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, lockName_);
}
if (lockOwnerId_ != 0L) {
output.writeInt64(8, lockOwnerId_);
}
if (!getLockOwnerNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, lockOwnerName_);
}
if (inNative_ != false) {
output.writeBool(10, inNative_);
}
if (suspended_ != false) {
output.writeBool(11, suspended_);
}
if (threadState_ != com.navercorp.pinpoint.grpc.trace.PThreadState.THREAD_STATE_NEW.getNumber()) {
output.writeEnum(12, threadState_);
}
for (int i = 0; i < stackTrace_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, stackTrace_.getRaw(i));
}
for (int i = 0; i < lockedMonitor_.size(); i++) {
output.writeMessage(14, lockedMonitor_.get(i));
}
for (int i = 0; i < lockedSynchronizer_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, lockedSynchronizer_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getThreadNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, threadName_);
}
if (threadId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, threadId_);
}
if (blockedTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, blockedTime_);
}
if (blockedCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, blockedCount_);
}
if (waitedTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, waitedTime_);
}
if (waitedCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, waitedCount_);
}
if (!getLockNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, lockName_);
}
if (lockOwnerId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, lockOwnerId_);
}
if (!getLockOwnerNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, lockOwnerName_);
}
if (inNative_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, inNative_);
}
if (suspended_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, suspended_);
}
if (threadState_ != com.navercorp.pinpoint.grpc.trace.PThreadState.THREAD_STATE_NEW.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(12, threadState_);
}
{
int dataSize = 0;
for (int i = 0; i < stackTrace_.size(); i++) {
dataSize += computeStringSizeNoTag(stackTrace_.getRaw(i));
}
size += dataSize;
size += 1 * getStackTraceList().size();
}
for (int i = 0; i < lockedMonitor_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, lockedMonitor_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < lockedSynchronizer_.size(); i++) {
dataSize += computeStringSizeNoTag(lockedSynchronizer_.getRaw(i));
}
size += dataSize;
size += 1 * getLockedSynchronizerList().size();
}
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.PThreadDump)) {
return super.equals(obj);
}
com.navercorp.pinpoint.grpc.trace.PThreadDump other = (com.navercorp.pinpoint.grpc.trace.PThreadDump) obj;
if (!getThreadName()
.equals(other.getThreadName())) return false;
if (getThreadId()
!= other.getThreadId()) return false;
if (getBlockedTime()
!= other.getBlockedTime()) return false;
if (getBlockedCount()
!= other.getBlockedCount()) return false;
if (getWaitedTime()
!= other.getWaitedTime()) return false;
if (getWaitedCount()
!= other.getWaitedCount()) return false;
if (!getLockName()
.equals(other.getLockName())) return false;
if (getLockOwnerId()
!= other.getLockOwnerId()) return false;
if (!getLockOwnerName()
.equals(other.getLockOwnerName())) return false;
if (getInNative()
!= other.getInNative()) return false;
if (getSuspended()
!= other.getSuspended()) return false;
if (threadState_ != other.threadState_) return false;
if (!getStackTraceList()
.equals(other.getStackTraceList())) return false;
if (!getLockedMonitorList()
.equals(other.getLockedMonitorList())) return false;
if (!getLockedSynchronizerList()
.equals(other.getLockedSynchronizerList())) 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) + THREADNAME_FIELD_NUMBER;
hash = (53 * hash) + getThreadName().hashCode();
hash = (37 * hash) + THREADID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getThreadId());
hash = (37 * hash) + BLOCKEDTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlockedTime());
hash = (37 * hash) + BLOCKEDCOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlockedCount());
hash = (37 * hash) + WAITEDTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWaitedTime());
hash = (37 * hash) + WAITEDCOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWaitedCount());
hash = (37 * hash) + LOCKNAME_FIELD_NUMBER;
hash = (53 * hash) + getLockName().hashCode();
hash = (37 * hash) + LOCKOWNERID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLockOwnerId());
hash = (37 * hash) + LOCKOWNERNAME_FIELD_NUMBER;
hash = (53 * hash) + getLockOwnerName().hashCode();
hash = (37 * hash) + INNATIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getInNative());
hash = (37 * hash) + SUSPENDED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSuspended());
hash = (37 * hash) + THREADSTATE_FIELD_NUMBER;
hash = (53 * hash) + threadState_;
if (getStackTraceCount() > 0) {
hash = (37 * hash) + STACKTRACE_FIELD_NUMBER;
hash = (53 * hash) + getStackTraceList().hashCode();
}
if (getLockedMonitorCount() > 0) {
hash = (37 * hash) + LOCKEDMONITOR_FIELD_NUMBER;
hash = (53 * hash) + getLockedMonitorList().hashCode();
}
if (getLockedSynchronizerCount() > 0) {
hash = (37 * hash) + LOCKEDSYNCHRONIZER_FIELD_NUMBER;
hash = (53 * hash) + getLockedSynchronizerList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump 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.PThreadDump parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump 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.PThreadDump parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump 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.PThreadDump parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump 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.PThreadDump parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump 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.PThreadDump 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.PThreadDump 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.PThreadDump 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.PThreadDump}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.PThreadDump)
com.navercorp.pinpoint.grpc.trace.PThreadDumpOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.ThreadDumpProto.internal_static_v1_PThreadDump_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.ThreadDumpProto.internal_static_v1_PThreadDump_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PThreadDump.class, com.navercorp.pinpoint.grpc.trace.PThreadDump.Builder.class);
}
// Construct using com.navercorp.pinpoint.grpc.trace.PThreadDump.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLockedMonitorFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
threadName_ = "";
threadId_ = 0L;
blockedTime_ = 0L;
blockedCount_ = 0L;
waitedTime_ = 0L;
waitedCount_ = 0L;
lockName_ = "";
lockOwnerId_ = 0L;
lockOwnerName_ = "";
inNative_ = false;
suspended_ = false;
threadState_ = 0;
stackTrace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
if (lockedMonitorBuilder_ == null) {
lockedMonitor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
lockedMonitorBuilder_.clear();
}
lockedSynchronizer_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.navercorp.pinpoint.grpc.trace.ThreadDumpProto.internal_static_v1_PThreadDump_descriptor;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PThreadDump getDefaultInstanceForType() {
return com.navercorp.pinpoint.grpc.trace.PThreadDump.getDefaultInstance();
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PThreadDump build() {
com.navercorp.pinpoint.grpc.trace.PThreadDump result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PThreadDump buildPartial() {
com.navercorp.pinpoint.grpc.trace.PThreadDump result = new com.navercorp.pinpoint.grpc.trace.PThreadDump(this);
int from_bitField0_ = bitField0_;
result.threadName_ = threadName_;
result.threadId_ = threadId_;
result.blockedTime_ = blockedTime_;
result.blockedCount_ = blockedCount_;
result.waitedTime_ = waitedTime_;
result.waitedCount_ = waitedCount_;
result.lockName_ = lockName_;
result.lockOwnerId_ = lockOwnerId_;
result.lockOwnerName_ = lockOwnerName_;
result.inNative_ = inNative_;
result.suspended_ = suspended_;
result.threadState_ = threadState_;
if (((bitField0_ & 0x00000001) != 0)) {
stackTrace_ = stackTrace_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.stackTrace_ = stackTrace_;
if (lockedMonitorBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
lockedMonitor_ = java.util.Collections.unmodifiableList(lockedMonitor_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.lockedMonitor_ = lockedMonitor_;
} else {
result.lockedMonitor_ = lockedMonitorBuilder_.build();
}
if (((bitField0_ & 0x00000004) != 0)) {
lockedSynchronizer_ = lockedSynchronizer_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.lockedSynchronizer_ = lockedSynchronizer_;
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.PThreadDump) {
return mergeFrom((com.navercorp.pinpoint.grpc.trace.PThreadDump)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.navercorp.pinpoint.grpc.trace.PThreadDump other) {
if (other == com.navercorp.pinpoint.grpc.trace.PThreadDump.getDefaultInstance()) return this;
if (!other.getThreadName().isEmpty()) {
threadName_ = other.threadName_;
onChanged();
}
if (other.getThreadId() != 0L) {
setThreadId(other.getThreadId());
}
if (other.getBlockedTime() != 0L) {
setBlockedTime(other.getBlockedTime());
}
if (other.getBlockedCount() != 0L) {
setBlockedCount(other.getBlockedCount());
}
if (other.getWaitedTime() != 0L) {
setWaitedTime(other.getWaitedTime());
}
if (other.getWaitedCount() != 0L) {
setWaitedCount(other.getWaitedCount());
}
if (!other.getLockName().isEmpty()) {
lockName_ = other.lockName_;
onChanged();
}
if (other.getLockOwnerId() != 0L) {
setLockOwnerId(other.getLockOwnerId());
}
if (!other.getLockOwnerName().isEmpty()) {
lockOwnerName_ = other.lockOwnerName_;
onChanged();
}
if (other.getInNative() != false) {
setInNative(other.getInNative());
}
if (other.getSuspended() != false) {
setSuspended(other.getSuspended());
}
if (other.threadState_ != 0) {
setThreadStateValue(other.getThreadStateValue());
}
if (!other.stackTrace_.isEmpty()) {
if (stackTrace_.isEmpty()) {
stackTrace_ = other.stackTrace_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStackTraceIsMutable();
stackTrace_.addAll(other.stackTrace_);
}
onChanged();
}
if (lockedMonitorBuilder_ == null) {
if (!other.lockedMonitor_.isEmpty()) {
if (lockedMonitor_.isEmpty()) {
lockedMonitor_ = other.lockedMonitor_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureLockedMonitorIsMutable();
lockedMonitor_.addAll(other.lockedMonitor_);
}
onChanged();
}
} else {
if (!other.lockedMonitor_.isEmpty()) {
if (lockedMonitorBuilder_.isEmpty()) {
lockedMonitorBuilder_.dispose();
lockedMonitorBuilder_ = null;
lockedMonitor_ = other.lockedMonitor_;
bitField0_ = (bitField0_ & ~0x00000002);
lockedMonitorBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLockedMonitorFieldBuilder() : null;
} else {
lockedMonitorBuilder_.addAllMessages(other.lockedMonitor_);
}
}
}
if (!other.lockedSynchronizer_.isEmpty()) {
if (lockedSynchronizer_.isEmpty()) {
lockedSynchronizer_ = other.lockedSynchronizer_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureLockedSynchronizerIsMutable();
lockedSynchronizer_.addAll(other.lockedSynchronizer_);
}
onChanged();
}
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.PThreadDump parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.navercorp.pinpoint.grpc.trace.PThreadDump) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object threadName_ = "";
/**
* string threadName = 1;
* @return The threadName.
*/
public java.lang.String getThreadName() {
java.lang.Object ref = threadName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
threadName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string threadName = 1;
* @return The bytes for threadName.
*/
public com.google.protobuf.ByteString
getThreadNameBytes() {
java.lang.Object ref = threadName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
threadName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string threadName = 1;
* @param value The threadName to set.
* @return This builder for chaining.
*/
public Builder setThreadName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
threadName_ = value;
onChanged();
return this;
}
/**
* string threadName = 1;
* @return This builder for chaining.
*/
public Builder clearThreadName() {
threadName_ = getDefaultInstance().getThreadName();
onChanged();
return this;
}
/**
* string threadName = 1;
* @param value The bytes for threadName to set.
* @return This builder for chaining.
*/
public Builder setThreadNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
threadName_ = value;
onChanged();
return this;
}
private long threadId_ ;
/**
* int64 threadId = 2;
* @return The threadId.
*/
@java.lang.Override
public long getThreadId() {
return threadId_;
}
/**
* int64 threadId = 2;
* @param value The threadId to set.
* @return This builder for chaining.
*/
public Builder setThreadId(long value) {
threadId_ = value;
onChanged();
return this;
}
/**
* int64 threadId = 2;
* @return This builder for chaining.
*/
public Builder clearThreadId() {
threadId_ = 0L;
onChanged();
return this;
}
private long blockedTime_ ;
/**
* int64 blockedTime = 3;
* @return The blockedTime.
*/
@java.lang.Override
public long getBlockedTime() {
return blockedTime_;
}
/**
* int64 blockedTime = 3;
* @param value The blockedTime to set.
* @return This builder for chaining.
*/
public Builder setBlockedTime(long value) {
blockedTime_ = value;
onChanged();
return this;
}
/**
* int64 blockedTime = 3;
* @return This builder for chaining.
*/
public Builder clearBlockedTime() {
blockedTime_ = 0L;
onChanged();
return this;
}
private long blockedCount_ ;
/**
* int64 blockedCount = 4;
* @return The blockedCount.
*/
@java.lang.Override
public long getBlockedCount() {
return blockedCount_;
}
/**
* int64 blockedCount = 4;
* @param value The blockedCount to set.
* @return This builder for chaining.
*/
public Builder setBlockedCount(long value) {
blockedCount_ = value;
onChanged();
return this;
}
/**
* int64 blockedCount = 4;
* @return This builder for chaining.
*/
public Builder clearBlockedCount() {
blockedCount_ = 0L;
onChanged();
return this;
}
private long waitedTime_ ;
/**
* int64 waitedTime = 5;
* @return The waitedTime.
*/
@java.lang.Override
public long getWaitedTime() {
return waitedTime_;
}
/**
* int64 waitedTime = 5;
* @param value The waitedTime to set.
* @return This builder for chaining.
*/
public Builder setWaitedTime(long value) {
waitedTime_ = value;
onChanged();
return this;
}
/**
* int64 waitedTime = 5;
* @return This builder for chaining.
*/
public Builder clearWaitedTime() {
waitedTime_ = 0L;
onChanged();
return this;
}
private long waitedCount_ ;
/**
* int64 waitedCount = 6;
* @return The waitedCount.
*/
@java.lang.Override
public long getWaitedCount() {
return waitedCount_;
}
/**
* int64 waitedCount = 6;
* @param value The waitedCount to set.
* @return This builder for chaining.
*/
public Builder setWaitedCount(long value) {
waitedCount_ = value;
onChanged();
return this;
}
/**
* int64 waitedCount = 6;
* @return This builder for chaining.
*/
public Builder clearWaitedCount() {
waitedCount_ = 0L;
onChanged();
return this;
}
private java.lang.Object lockName_ = "";
/**
* string lockName = 7;
* @return The lockName.
*/
public java.lang.String getLockName() {
java.lang.Object ref = lockName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lockName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string lockName = 7;
* @return The bytes for lockName.
*/
public com.google.protobuf.ByteString
getLockNameBytes() {
java.lang.Object ref = lockName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lockName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string lockName = 7;
* @param value The lockName to set.
* @return This builder for chaining.
*/
public Builder setLockName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lockName_ = value;
onChanged();
return this;
}
/**
* string lockName = 7;
* @return This builder for chaining.
*/
public Builder clearLockName() {
lockName_ = getDefaultInstance().getLockName();
onChanged();
return this;
}
/**
* string lockName = 7;
* @param value The bytes for lockName to set.
* @return This builder for chaining.
*/
public Builder setLockNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lockName_ = value;
onChanged();
return this;
}
private long lockOwnerId_ ;
/**
* int64 lockOwnerId = 8;
* @return The lockOwnerId.
*/
@java.lang.Override
public long getLockOwnerId() {
return lockOwnerId_;
}
/**
* int64 lockOwnerId = 8;
* @param value The lockOwnerId to set.
* @return This builder for chaining.
*/
public Builder setLockOwnerId(long value) {
lockOwnerId_ = value;
onChanged();
return this;
}
/**
* int64 lockOwnerId = 8;
* @return This builder for chaining.
*/
public Builder clearLockOwnerId() {
lockOwnerId_ = 0L;
onChanged();
return this;
}
private java.lang.Object lockOwnerName_ = "";
/**
* string lockOwnerName = 9;
* @return The lockOwnerName.
*/
public java.lang.String getLockOwnerName() {
java.lang.Object ref = lockOwnerName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lockOwnerName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string lockOwnerName = 9;
* @return The bytes for lockOwnerName.
*/
public com.google.protobuf.ByteString
getLockOwnerNameBytes() {
java.lang.Object ref = lockOwnerName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lockOwnerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string lockOwnerName = 9;
* @param value The lockOwnerName to set.
* @return This builder for chaining.
*/
public Builder setLockOwnerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lockOwnerName_ = value;
onChanged();
return this;
}
/**
* string lockOwnerName = 9;
* @return This builder for chaining.
*/
public Builder clearLockOwnerName() {
lockOwnerName_ = getDefaultInstance().getLockOwnerName();
onChanged();
return this;
}
/**
* string lockOwnerName = 9;
* @param value The bytes for lockOwnerName to set.
* @return This builder for chaining.
*/
public Builder setLockOwnerNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lockOwnerName_ = value;
onChanged();
return this;
}
private boolean inNative_ ;
/**
* bool inNative = 10;
* @return The inNative.
*/
@java.lang.Override
public boolean getInNative() {
return inNative_;
}
/**
* bool inNative = 10;
* @param value The inNative to set.
* @return This builder for chaining.
*/
public Builder setInNative(boolean value) {
inNative_ = value;
onChanged();
return this;
}
/**
* bool inNative = 10;
* @return This builder for chaining.
*/
public Builder clearInNative() {
inNative_ = false;
onChanged();
return this;
}
private boolean suspended_ ;
/**
* bool suspended = 11;
* @return The suspended.
*/
@java.lang.Override
public boolean getSuspended() {
return suspended_;
}
/**
* bool suspended = 11;
* @param value The suspended to set.
* @return This builder for chaining.
*/
public Builder setSuspended(boolean value) {
suspended_ = value;
onChanged();
return this;
}
/**
* bool suspended = 11;
* @return This builder for chaining.
*/
public Builder clearSuspended() {
suspended_ = false;
onChanged();
return this;
}
private int threadState_ = 0;
/**
* .v1.PThreadState threadState = 12;
* @return The enum numeric value on the wire for threadState.
*/
@java.lang.Override public int getThreadStateValue() {
return threadState_;
}
/**
* .v1.PThreadState threadState = 12;
* @param value The enum numeric value on the wire for threadState to set.
* @return This builder for chaining.
*/
public Builder setThreadStateValue(int value) {
threadState_ = value;
onChanged();
return this;
}
/**
* .v1.PThreadState threadState = 12;
* @return The threadState.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PThreadState getThreadState() {
@SuppressWarnings("deprecation")
com.navercorp.pinpoint.grpc.trace.PThreadState result = com.navercorp.pinpoint.grpc.trace.PThreadState.valueOf(threadState_);
return result == null ? com.navercorp.pinpoint.grpc.trace.PThreadState.UNRECOGNIZED : result;
}
/**
* .v1.PThreadState threadState = 12;
* @param value The threadState to set.
* @return This builder for chaining.
*/
public Builder setThreadState(com.navercorp.pinpoint.grpc.trace.PThreadState value) {
if (value == null) {
throw new NullPointerException();
}
threadState_ = value.getNumber();
onChanged();
return this;
}
/**
* .v1.PThreadState threadState = 12;
* @return This builder for chaining.
*/
public Builder clearThreadState() {
threadState_ = 0;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList stackTrace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureStackTraceIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
stackTrace_ = new com.google.protobuf.LazyStringArrayList(stackTrace_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string stackTrace = 13;
* @return A list containing the stackTrace.
*/
public com.google.protobuf.ProtocolStringList
getStackTraceList() {
return stackTrace_.getUnmodifiableView();
}
/**
* repeated string stackTrace = 13;
* @return The count of stackTrace.
*/
public int getStackTraceCount() {
return stackTrace_.size();
}
/**
* repeated string stackTrace = 13;
* @param index The index of the element to return.
* @return The stackTrace at the given index.
*/
public java.lang.String getStackTrace(int index) {
return stackTrace_.get(index);
}
/**
* repeated string stackTrace = 13;
* @param index The index of the value to return.
* @return The bytes of the stackTrace at the given index.
*/
public com.google.protobuf.ByteString
getStackTraceBytes(int index) {
return stackTrace_.getByteString(index);
}
/**
* repeated string stackTrace = 13;
* @param index The index to set the value at.
* @param value The stackTrace to set.
* @return This builder for chaining.
*/
public Builder setStackTrace(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceIsMutable();
stackTrace_.set(index, value);
onChanged();
return this;
}
/**
* repeated string stackTrace = 13;
* @param value The stackTrace to add.
* @return This builder for chaining.
*/
public Builder addStackTrace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceIsMutable();
stackTrace_.add(value);
onChanged();
return this;
}
/**
* repeated string stackTrace = 13;
* @param values The stackTrace to add.
* @return This builder for chaining.
*/
public Builder addAllStackTrace(
java.lang.Iterable values) {
ensureStackTraceIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stackTrace_);
onChanged();
return this;
}
/**
* repeated string stackTrace = 13;
* @return This builder for chaining.
*/
public Builder clearStackTrace() {
stackTrace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string stackTrace = 13;
* @param value The bytes of the stackTrace to add.
* @return This builder for chaining.
*/
public Builder addStackTraceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureStackTraceIsMutable();
stackTrace_.add(value);
onChanged();
return this;
}
private java.util.List lockedMonitor_ =
java.util.Collections.emptyList();
private void ensureLockedMonitorIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
lockedMonitor_ = new java.util.ArrayList(lockedMonitor_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PMonitorInfo, com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder, com.navercorp.pinpoint.grpc.trace.PMonitorInfoOrBuilder> lockedMonitorBuilder_;
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public java.util.List getLockedMonitorList() {
if (lockedMonitorBuilder_ == null) {
return java.util.Collections.unmodifiableList(lockedMonitor_);
} else {
return lockedMonitorBuilder_.getMessageList();
}
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public int getLockedMonitorCount() {
if (lockedMonitorBuilder_ == null) {
return lockedMonitor_.size();
} else {
return lockedMonitorBuilder_.getCount();
}
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PMonitorInfo getLockedMonitor(int index) {
if (lockedMonitorBuilder_ == null) {
return lockedMonitor_.get(index);
} else {
return lockedMonitorBuilder_.getMessage(index);
}
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder setLockedMonitor(
int index, com.navercorp.pinpoint.grpc.trace.PMonitorInfo value) {
if (lockedMonitorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedMonitorIsMutable();
lockedMonitor_.set(index, value);
onChanged();
} else {
lockedMonitorBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder setLockedMonitor(
int index, com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder builderForValue) {
if (lockedMonitorBuilder_ == null) {
ensureLockedMonitorIsMutable();
lockedMonitor_.set(index, builderForValue.build());
onChanged();
} else {
lockedMonitorBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder addLockedMonitor(com.navercorp.pinpoint.grpc.trace.PMonitorInfo value) {
if (lockedMonitorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedMonitorIsMutable();
lockedMonitor_.add(value);
onChanged();
} else {
lockedMonitorBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder addLockedMonitor(
int index, com.navercorp.pinpoint.grpc.trace.PMonitorInfo value) {
if (lockedMonitorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedMonitorIsMutable();
lockedMonitor_.add(index, value);
onChanged();
} else {
lockedMonitorBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder addLockedMonitor(
com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder builderForValue) {
if (lockedMonitorBuilder_ == null) {
ensureLockedMonitorIsMutable();
lockedMonitor_.add(builderForValue.build());
onChanged();
} else {
lockedMonitorBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder addLockedMonitor(
int index, com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder builderForValue) {
if (lockedMonitorBuilder_ == null) {
ensureLockedMonitorIsMutable();
lockedMonitor_.add(index, builderForValue.build());
onChanged();
} else {
lockedMonitorBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder addAllLockedMonitor(
java.lang.Iterable values) {
if (lockedMonitorBuilder_ == null) {
ensureLockedMonitorIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lockedMonitor_);
onChanged();
} else {
lockedMonitorBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder clearLockedMonitor() {
if (lockedMonitorBuilder_ == null) {
lockedMonitor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
lockedMonitorBuilder_.clear();
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public Builder removeLockedMonitor(int index) {
if (lockedMonitorBuilder_ == null) {
ensureLockedMonitorIsMutable();
lockedMonitor_.remove(index);
onChanged();
} else {
lockedMonitorBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder getLockedMonitorBuilder(
int index) {
return getLockedMonitorFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PMonitorInfoOrBuilder getLockedMonitorOrBuilder(
int index) {
if (lockedMonitorBuilder_ == null) {
return lockedMonitor_.get(index); } else {
return lockedMonitorBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public java.util.List
getLockedMonitorOrBuilderList() {
if (lockedMonitorBuilder_ != null) {
return lockedMonitorBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(lockedMonitor_);
}
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder addLockedMonitorBuilder() {
return getLockedMonitorFieldBuilder().addBuilder(
com.navercorp.pinpoint.grpc.trace.PMonitorInfo.getDefaultInstance());
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder addLockedMonitorBuilder(
int index) {
return getLockedMonitorFieldBuilder().addBuilder(
index, com.navercorp.pinpoint.grpc.trace.PMonitorInfo.getDefaultInstance());
}
/**
* repeated .v1.PMonitorInfo lockedMonitor = 14;
*/
public java.util.List
getLockedMonitorBuilderList() {
return getLockedMonitorFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PMonitorInfo, com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder, com.navercorp.pinpoint.grpc.trace.PMonitorInfoOrBuilder>
getLockedMonitorFieldBuilder() {
if (lockedMonitorBuilder_ == null) {
lockedMonitorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PMonitorInfo, com.navercorp.pinpoint.grpc.trace.PMonitorInfo.Builder, com.navercorp.pinpoint.grpc.trace.PMonitorInfoOrBuilder>(
lockedMonitor_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
lockedMonitor_ = null;
}
return lockedMonitorBuilder_;
}
private com.google.protobuf.LazyStringList lockedSynchronizer_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureLockedSynchronizerIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
lockedSynchronizer_ = new com.google.protobuf.LazyStringArrayList(lockedSynchronizer_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string lockedSynchronizer = 15;
* @return A list containing the lockedSynchronizer.
*/
public com.google.protobuf.ProtocolStringList
getLockedSynchronizerList() {
return lockedSynchronizer_.getUnmodifiableView();
}
/**
* repeated string lockedSynchronizer = 15;
* @return The count of lockedSynchronizer.
*/
public int getLockedSynchronizerCount() {
return lockedSynchronizer_.size();
}
/**
* repeated string lockedSynchronizer = 15;
* @param index The index of the element to return.
* @return The lockedSynchronizer at the given index.
*/
public java.lang.String getLockedSynchronizer(int index) {
return lockedSynchronizer_.get(index);
}
/**
* repeated string lockedSynchronizer = 15;
* @param index The index of the value to return.
* @return The bytes of the lockedSynchronizer at the given index.
*/
public com.google.protobuf.ByteString
getLockedSynchronizerBytes(int index) {
return lockedSynchronizer_.getByteString(index);
}
/**
* repeated string lockedSynchronizer = 15;
* @param index The index to set the value at.
* @param value The lockedSynchronizer to set.
* @return This builder for chaining.
*/
public Builder setLockedSynchronizer(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedSynchronizerIsMutable();
lockedSynchronizer_.set(index, value);
onChanged();
return this;
}
/**
* repeated string lockedSynchronizer = 15;
* @param value The lockedSynchronizer to add.
* @return This builder for chaining.
*/
public Builder addLockedSynchronizer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedSynchronizerIsMutable();
lockedSynchronizer_.add(value);
onChanged();
return this;
}
/**
* repeated string lockedSynchronizer = 15;
* @param values The lockedSynchronizer to add.
* @return This builder for chaining.
*/
public Builder addAllLockedSynchronizer(
java.lang.Iterable values) {
ensureLockedSynchronizerIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lockedSynchronizer_);
onChanged();
return this;
}
/**
* repeated string lockedSynchronizer = 15;
* @return This builder for chaining.
*/
public Builder clearLockedSynchronizer() {
lockedSynchronizer_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string lockedSynchronizer = 15;
* @param value The bytes of the lockedSynchronizer to add.
* @return This builder for chaining.
*/
public Builder addLockedSynchronizerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureLockedSynchronizerIsMutable();
lockedSynchronizer_.add(value);
onChanged();
return this;
}
@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.PThreadDump)
}
// @@protoc_insertion_point(class_scope:v1.PThreadDump)
private static final com.navercorp.pinpoint.grpc.trace.PThreadDump DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.navercorp.pinpoint.grpc.trace.PThreadDump();
}
public static com.navercorp.pinpoint.grpc.trace.PThreadDump getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PThreadDump parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PThreadDump(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.PThreadDump getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}