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.PJvmGc 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.PJvmGc}
*/
public final class PJvmGc extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.PJvmGc)
PJvmGcOrBuilder {
private static final long serialVersionUID = 0L;
// Use PJvmGc.newBuilder() to construct.
private PJvmGc(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PJvmGc() {
type_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PJvmGc();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PJvmGc(
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: {
int rawValue = input.readEnum();
type_ = rawValue;
break;
}
case 16: {
jvmMemoryHeapUsed_ = input.readInt64();
break;
}
case 24: {
jvmMemoryHeapMax_ = input.readInt64();
break;
}
case 32: {
jvmMemoryNonHeapUsed_ = input.readInt64();
break;
}
case 40: {
jvmMemoryNonHeapMax_ = input.readInt64();
break;
}
case 48: {
jvmGcOldCount_ = input.readInt64();
break;
}
case 56: {
jvmGcOldTime_ = input.readInt64();
break;
}
case 66: {
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.Builder subBuilder = null;
if (jvmGcDetailed_ != null) {
subBuilder = jvmGcDetailed_.toBuilder();
}
jvmGcDetailed_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(jvmGcDetailed_);
jvmGcDetailed_ = 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_PJvmGc_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PJvmGc_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PJvmGc.class, com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .v1.PJvmGcType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.PJvmGcType type = 1;
* @return The type.
*/
@java.lang.Override public com.navercorp.pinpoint.grpc.trace.PJvmGcType getType() {
@SuppressWarnings("deprecation")
com.navercorp.pinpoint.grpc.trace.PJvmGcType result = com.navercorp.pinpoint.grpc.trace.PJvmGcType.valueOf(type_);
return result == null ? com.navercorp.pinpoint.grpc.trace.PJvmGcType.UNRECOGNIZED : result;
}
public static final int JVMMEMORYHEAPUSED_FIELD_NUMBER = 2;
private long jvmMemoryHeapUsed_;
/**
* int64 jvmMemoryHeapUsed = 2;
* @return The jvmMemoryHeapUsed.
*/
@java.lang.Override
public long getJvmMemoryHeapUsed() {
return jvmMemoryHeapUsed_;
}
public static final int JVMMEMORYHEAPMAX_FIELD_NUMBER = 3;
private long jvmMemoryHeapMax_;
/**
* int64 jvmMemoryHeapMax = 3;
* @return The jvmMemoryHeapMax.
*/
@java.lang.Override
public long getJvmMemoryHeapMax() {
return jvmMemoryHeapMax_;
}
public static final int JVMMEMORYNONHEAPUSED_FIELD_NUMBER = 4;
private long jvmMemoryNonHeapUsed_;
/**
* int64 jvmMemoryNonHeapUsed = 4;
* @return The jvmMemoryNonHeapUsed.
*/
@java.lang.Override
public long getJvmMemoryNonHeapUsed() {
return jvmMemoryNonHeapUsed_;
}
public static final int JVMMEMORYNONHEAPMAX_FIELD_NUMBER = 5;
private long jvmMemoryNonHeapMax_;
/**
* int64 jvmMemoryNonHeapMax = 5;
* @return The jvmMemoryNonHeapMax.
*/
@java.lang.Override
public long getJvmMemoryNonHeapMax() {
return jvmMemoryNonHeapMax_;
}
public static final int JVMGCOLDCOUNT_FIELD_NUMBER = 6;
private long jvmGcOldCount_;
/**
* int64 jvmGcOldCount = 6;
* @return The jvmGcOldCount.
*/
@java.lang.Override
public long getJvmGcOldCount() {
return jvmGcOldCount_;
}
public static final int JVMGCOLDTIME_FIELD_NUMBER = 7;
private long jvmGcOldTime_;
/**
* int64 jvmGcOldTime = 7;
* @return The jvmGcOldTime.
*/
@java.lang.Override
public long getJvmGcOldTime() {
return jvmGcOldTime_;
}
public static final int JVMGCDETAILED_FIELD_NUMBER = 8;
private com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed jvmGcDetailed_;
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
* @return Whether the jvmGcDetailed field is set.
*/
@java.lang.Override
public boolean hasJvmGcDetailed() {
return jvmGcDetailed_ != null;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
* @return The jvmGcDetailed.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed getJvmGcDetailed() {
return jvmGcDetailed_ == null ? com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.getDefaultInstance() : jvmGcDetailed_;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGcDetailedOrBuilder getJvmGcDetailedOrBuilder() {
return getJvmGcDetailed();
}
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 (type_ != com.navercorp.pinpoint.grpc.trace.PJvmGcType.JVM_GC_TYPE_UNKNOWN.getNumber()) {
output.writeEnum(1, type_);
}
if (jvmMemoryHeapUsed_ != 0L) {
output.writeInt64(2, jvmMemoryHeapUsed_);
}
if (jvmMemoryHeapMax_ != 0L) {
output.writeInt64(3, jvmMemoryHeapMax_);
}
if (jvmMemoryNonHeapUsed_ != 0L) {
output.writeInt64(4, jvmMemoryNonHeapUsed_);
}
if (jvmMemoryNonHeapMax_ != 0L) {
output.writeInt64(5, jvmMemoryNonHeapMax_);
}
if (jvmGcOldCount_ != 0L) {
output.writeInt64(6, jvmGcOldCount_);
}
if (jvmGcOldTime_ != 0L) {
output.writeInt64(7, jvmGcOldTime_);
}
if (jvmGcDetailed_ != null) {
output.writeMessage(8, getJvmGcDetailed());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != com.navercorp.pinpoint.grpc.trace.PJvmGcType.JVM_GC_TYPE_UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (jvmMemoryHeapUsed_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, jvmMemoryHeapUsed_);
}
if (jvmMemoryHeapMax_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, jvmMemoryHeapMax_);
}
if (jvmMemoryNonHeapUsed_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, jvmMemoryNonHeapUsed_);
}
if (jvmMemoryNonHeapMax_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, jvmMemoryNonHeapMax_);
}
if (jvmGcOldCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, jvmGcOldCount_);
}
if (jvmGcOldTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, jvmGcOldTime_);
}
if (jvmGcDetailed_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getJvmGcDetailed());
}
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.PJvmGc)) {
return super.equals(obj);
}
com.navercorp.pinpoint.grpc.trace.PJvmGc other = (com.navercorp.pinpoint.grpc.trace.PJvmGc) obj;
if (type_ != other.type_) return false;
if (getJvmMemoryHeapUsed()
!= other.getJvmMemoryHeapUsed()) return false;
if (getJvmMemoryHeapMax()
!= other.getJvmMemoryHeapMax()) return false;
if (getJvmMemoryNonHeapUsed()
!= other.getJvmMemoryNonHeapUsed()) return false;
if (getJvmMemoryNonHeapMax()
!= other.getJvmMemoryNonHeapMax()) return false;
if (getJvmGcOldCount()
!= other.getJvmGcOldCount()) return false;
if (getJvmGcOldTime()
!= other.getJvmGcOldTime()) return false;
if (hasJvmGcDetailed() != other.hasJvmGcDetailed()) return false;
if (hasJvmGcDetailed()) {
if (!getJvmGcDetailed()
.equals(other.getJvmGcDetailed())) 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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
hash = (37 * hash) + JVMMEMORYHEAPUSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmMemoryHeapUsed());
hash = (37 * hash) + JVMMEMORYHEAPMAX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmMemoryHeapMax());
hash = (37 * hash) + JVMMEMORYNONHEAPUSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmMemoryNonHeapUsed());
hash = (37 * hash) + JVMMEMORYNONHEAPMAX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmMemoryNonHeapMax());
hash = (37 * hash) + JVMGCOLDCOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmGcOldCount());
hash = (37 * hash) + JVMGCOLDTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmGcOldTime());
if (hasJvmGcDetailed()) {
hash = (37 * hash) + JVMGCDETAILED_FIELD_NUMBER;
hash = (53 * hash) + getJvmGcDetailed().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc 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.PJvmGc parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc 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.PJvmGc parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc 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.PJvmGc parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc 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.PJvmGc parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc 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.PJvmGc 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.PJvmGc 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.PJvmGc 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.PJvmGc}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.PJvmGc)
com.navercorp.pinpoint.grpc.trace.PJvmGcOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PJvmGc_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PJvmGc_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PJvmGc.class, com.navercorp.pinpoint.grpc.trace.PJvmGc.Builder.class);
}
// Construct using com.navercorp.pinpoint.grpc.trace.PJvmGc.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();
type_ = 0;
jvmMemoryHeapUsed_ = 0L;
jvmMemoryHeapMax_ = 0L;
jvmMemoryNonHeapUsed_ = 0L;
jvmMemoryNonHeapMax_ = 0L;
jvmGcOldCount_ = 0L;
jvmGcOldTime_ = 0L;
if (jvmGcDetailedBuilder_ == null) {
jvmGcDetailed_ = null;
} else {
jvmGcDetailed_ = null;
jvmGcDetailedBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PJvmGc_descriptor;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGc getDefaultInstanceForType() {
return com.navercorp.pinpoint.grpc.trace.PJvmGc.getDefaultInstance();
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGc build() {
com.navercorp.pinpoint.grpc.trace.PJvmGc result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGc buildPartial() {
com.navercorp.pinpoint.grpc.trace.PJvmGc result = new com.navercorp.pinpoint.grpc.trace.PJvmGc(this);
result.type_ = type_;
result.jvmMemoryHeapUsed_ = jvmMemoryHeapUsed_;
result.jvmMemoryHeapMax_ = jvmMemoryHeapMax_;
result.jvmMemoryNonHeapUsed_ = jvmMemoryNonHeapUsed_;
result.jvmMemoryNonHeapMax_ = jvmMemoryNonHeapMax_;
result.jvmGcOldCount_ = jvmGcOldCount_;
result.jvmGcOldTime_ = jvmGcOldTime_;
if (jvmGcDetailedBuilder_ == null) {
result.jvmGcDetailed_ = jvmGcDetailed_;
} else {
result.jvmGcDetailed_ = jvmGcDetailedBuilder_.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.PJvmGc) {
return mergeFrom((com.navercorp.pinpoint.grpc.trace.PJvmGc)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.navercorp.pinpoint.grpc.trace.PJvmGc other) {
if (other == com.navercorp.pinpoint.grpc.trace.PJvmGc.getDefaultInstance()) return this;
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (other.getJvmMemoryHeapUsed() != 0L) {
setJvmMemoryHeapUsed(other.getJvmMemoryHeapUsed());
}
if (other.getJvmMemoryHeapMax() != 0L) {
setJvmMemoryHeapMax(other.getJvmMemoryHeapMax());
}
if (other.getJvmMemoryNonHeapUsed() != 0L) {
setJvmMemoryNonHeapUsed(other.getJvmMemoryNonHeapUsed());
}
if (other.getJvmMemoryNonHeapMax() != 0L) {
setJvmMemoryNonHeapMax(other.getJvmMemoryNonHeapMax());
}
if (other.getJvmGcOldCount() != 0L) {
setJvmGcOldCount(other.getJvmGcOldCount());
}
if (other.getJvmGcOldTime() != 0L) {
setJvmGcOldTime(other.getJvmGcOldTime());
}
if (other.hasJvmGcDetailed()) {
mergeJvmGcDetailed(other.getJvmGcDetailed());
}
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.PJvmGc parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.navercorp.pinpoint.grpc.trace.PJvmGc) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int type_ = 0;
/**
* .v1.PJvmGcType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.PJvmGcType type = 1;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .v1.PJvmGcType type = 1;
* @return The type.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmGcType getType() {
@SuppressWarnings("deprecation")
com.navercorp.pinpoint.grpc.trace.PJvmGcType result = com.navercorp.pinpoint.grpc.trace.PJvmGcType.valueOf(type_);
return result == null ? com.navercorp.pinpoint.grpc.trace.PJvmGcType.UNRECOGNIZED : result;
}
/**
* .v1.PJvmGcType type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(com.navercorp.pinpoint.grpc.trace.PJvmGcType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .v1.PJvmGcType type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private long jvmMemoryHeapUsed_ ;
/**
* int64 jvmMemoryHeapUsed = 2;
* @return The jvmMemoryHeapUsed.
*/
@java.lang.Override
public long getJvmMemoryHeapUsed() {
return jvmMemoryHeapUsed_;
}
/**
* int64 jvmMemoryHeapUsed = 2;
* @param value The jvmMemoryHeapUsed to set.
* @return This builder for chaining.
*/
public Builder setJvmMemoryHeapUsed(long value) {
jvmMemoryHeapUsed_ = value;
onChanged();
return this;
}
/**
* int64 jvmMemoryHeapUsed = 2;
* @return This builder for chaining.
*/
public Builder clearJvmMemoryHeapUsed() {
jvmMemoryHeapUsed_ = 0L;
onChanged();
return this;
}
private long jvmMemoryHeapMax_ ;
/**
* int64 jvmMemoryHeapMax = 3;
* @return The jvmMemoryHeapMax.
*/
@java.lang.Override
public long getJvmMemoryHeapMax() {
return jvmMemoryHeapMax_;
}
/**
* int64 jvmMemoryHeapMax = 3;
* @param value The jvmMemoryHeapMax to set.
* @return This builder for chaining.
*/
public Builder setJvmMemoryHeapMax(long value) {
jvmMemoryHeapMax_ = value;
onChanged();
return this;
}
/**
* int64 jvmMemoryHeapMax = 3;
* @return This builder for chaining.
*/
public Builder clearJvmMemoryHeapMax() {
jvmMemoryHeapMax_ = 0L;
onChanged();
return this;
}
private long jvmMemoryNonHeapUsed_ ;
/**
* int64 jvmMemoryNonHeapUsed = 4;
* @return The jvmMemoryNonHeapUsed.
*/
@java.lang.Override
public long getJvmMemoryNonHeapUsed() {
return jvmMemoryNonHeapUsed_;
}
/**
* int64 jvmMemoryNonHeapUsed = 4;
* @param value The jvmMemoryNonHeapUsed to set.
* @return This builder for chaining.
*/
public Builder setJvmMemoryNonHeapUsed(long value) {
jvmMemoryNonHeapUsed_ = value;
onChanged();
return this;
}
/**
* int64 jvmMemoryNonHeapUsed = 4;
* @return This builder for chaining.
*/
public Builder clearJvmMemoryNonHeapUsed() {
jvmMemoryNonHeapUsed_ = 0L;
onChanged();
return this;
}
private long jvmMemoryNonHeapMax_ ;
/**
* int64 jvmMemoryNonHeapMax = 5;
* @return The jvmMemoryNonHeapMax.
*/
@java.lang.Override
public long getJvmMemoryNonHeapMax() {
return jvmMemoryNonHeapMax_;
}
/**
* int64 jvmMemoryNonHeapMax = 5;
* @param value The jvmMemoryNonHeapMax to set.
* @return This builder for chaining.
*/
public Builder setJvmMemoryNonHeapMax(long value) {
jvmMemoryNonHeapMax_ = value;
onChanged();
return this;
}
/**
* int64 jvmMemoryNonHeapMax = 5;
* @return This builder for chaining.
*/
public Builder clearJvmMemoryNonHeapMax() {
jvmMemoryNonHeapMax_ = 0L;
onChanged();
return this;
}
private long jvmGcOldCount_ ;
/**
* int64 jvmGcOldCount = 6;
* @return The jvmGcOldCount.
*/
@java.lang.Override
public long getJvmGcOldCount() {
return jvmGcOldCount_;
}
/**
* int64 jvmGcOldCount = 6;
* @param value The jvmGcOldCount to set.
* @return This builder for chaining.
*/
public Builder setJvmGcOldCount(long value) {
jvmGcOldCount_ = value;
onChanged();
return this;
}
/**
* int64 jvmGcOldCount = 6;
* @return This builder for chaining.
*/
public Builder clearJvmGcOldCount() {
jvmGcOldCount_ = 0L;
onChanged();
return this;
}
private long jvmGcOldTime_ ;
/**
* int64 jvmGcOldTime = 7;
* @return The jvmGcOldTime.
*/
@java.lang.Override
public long getJvmGcOldTime() {
return jvmGcOldTime_;
}
/**
* int64 jvmGcOldTime = 7;
* @param value The jvmGcOldTime to set.
* @return This builder for chaining.
*/
public Builder setJvmGcOldTime(long value) {
jvmGcOldTime_ = value;
onChanged();
return this;
}
/**
* int64 jvmGcOldTime = 7;
* @return This builder for chaining.
*/
public Builder clearJvmGcOldTime() {
jvmGcOldTime_ = 0L;
onChanged();
return this;
}
private com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed jvmGcDetailed_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed, com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.Builder, com.navercorp.pinpoint.grpc.trace.PJvmGcDetailedOrBuilder> jvmGcDetailedBuilder_;
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
* @return Whether the jvmGcDetailed field is set.
*/
public boolean hasJvmGcDetailed() {
return jvmGcDetailedBuilder_ != null || jvmGcDetailed_ != null;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
* @return The jvmGcDetailed.
*/
public com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed getJvmGcDetailed() {
if (jvmGcDetailedBuilder_ == null) {
return jvmGcDetailed_ == null ? com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.getDefaultInstance() : jvmGcDetailed_;
} else {
return jvmGcDetailedBuilder_.getMessage();
}
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
public Builder setJvmGcDetailed(com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed value) {
if (jvmGcDetailedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
jvmGcDetailed_ = value;
onChanged();
} else {
jvmGcDetailedBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
public Builder setJvmGcDetailed(
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.Builder builderForValue) {
if (jvmGcDetailedBuilder_ == null) {
jvmGcDetailed_ = builderForValue.build();
onChanged();
} else {
jvmGcDetailedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
public Builder mergeJvmGcDetailed(com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed value) {
if (jvmGcDetailedBuilder_ == null) {
if (jvmGcDetailed_ != null) {
jvmGcDetailed_ =
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.newBuilder(jvmGcDetailed_).mergeFrom(value).buildPartial();
} else {
jvmGcDetailed_ = value;
}
onChanged();
} else {
jvmGcDetailedBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
public Builder clearJvmGcDetailed() {
if (jvmGcDetailedBuilder_ == null) {
jvmGcDetailed_ = null;
onChanged();
} else {
jvmGcDetailed_ = null;
jvmGcDetailedBuilder_ = null;
}
return this;
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
public com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.Builder getJvmGcDetailedBuilder() {
onChanged();
return getJvmGcDetailedFieldBuilder().getBuilder();
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
public com.navercorp.pinpoint.grpc.trace.PJvmGcDetailedOrBuilder getJvmGcDetailedOrBuilder() {
if (jvmGcDetailedBuilder_ != null) {
return jvmGcDetailedBuilder_.getMessageOrBuilder();
} else {
return jvmGcDetailed_ == null ?
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.getDefaultInstance() : jvmGcDetailed_;
}
}
/**
* .v1.PJvmGcDetailed jvmGcDetailed = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed, com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.Builder, com.navercorp.pinpoint.grpc.trace.PJvmGcDetailedOrBuilder>
getJvmGcDetailedFieldBuilder() {
if (jvmGcDetailedBuilder_ == null) {
jvmGcDetailedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed, com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed.Builder, com.navercorp.pinpoint.grpc.trace.PJvmGcDetailedOrBuilder>(
getJvmGcDetailed(),
getParentForChildren(),
isClean());
jvmGcDetailed_ = null;
}
return jvmGcDetailedBuilder_;
}
@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.PJvmGc)
}
// @@protoc_insertion_point(class_scope:v1.PJvmGc)
private static final com.navercorp.pinpoint.grpc.trace.PJvmGc DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.navercorp.pinpoint.grpc.trace.PJvmGc();
}
public static com.navercorp.pinpoint.grpc.trace.PJvmGc getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PJvmGc parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PJvmGc(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.PJvmGc getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}