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.PAgentInfo 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.PAgentInfo}
*/
public final class PAgentInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.PAgentInfo)
PAgentInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PAgentInfo.newBuilder() to construct.
private PAgentInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PAgentInfo() {
hostname_ = "";
ip_ = "";
ports_ = "";
agentVersion_ = "";
vmVersion_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PAgentInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PAgentInfo(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
hostname_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
ip_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
ports_ = s;
break;
}
case 32: {
serviceType_ = input.readInt32();
break;
}
case 40: {
pid_ = input.readInt32();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
agentVersion_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
vmVersion_ = s;
break;
}
case 64: {
endTimestamp_ = input.readInt64();
break;
}
case 72: {
endStatus_ = input.readInt32();
break;
}
case 82: {
com.navercorp.pinpoint.grpc.trace.PServerMetaData.Builder subBuilder = null;
if (serverMetaData_ != null) {
subBuilder = serverMetaData_.toBuilder();
}
serverMetaData_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PServerMetaData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serverMetaData_);
serverMetaData_ = subBuilder.buildPartial();
}
break;
}
case 90: {
com.navercorp.pinpoint.grpc.trace.PJvmInfo.Builder subBuilder = null;
if (jvmInfo_ != null) {
subBuilder = jvmInfo_.toBuilder();
}
jvmInfo_ = input.readMessage(com.navercorp.pinpoint.grpc.trace.PJvmInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(jvmInfo_);
jvmInfo_ = subBuilder.buildPartial();
}
break;
}
case 96: {
container_ = input.readBool();
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_PAgentInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PAgentInfo.class, com.navercorp.pinpoint.grpc.trace.PAgentInfo.Builder.class);
}
public static final int HOSTNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object hostname_;
/**
* string hostname = 1;
* @return The hostname.
*/
@java.lang.Override
public java.lang.String getHostname() {
java.lang.Object ref = hostname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hostname_ = s;
return s;
}
}
/**
* string hostname = 1;
* @return The bytes for hostname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostnameBytes() {
java.lang.Object ref = hostname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IP_FIELD_NUMBER = 2;
private volatile java.lang.Object ip_;
/**
* string ip = 2;
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
java.lang.Object ref = ip_;
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();
ip_ = s;
return s;
}
}
/**
* string ip = 2;
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORTS_FIELD_NUMBER = 3;
private volatile java.lang.Object ports_;
/**
* string ports = 3;
* @return The ports.
*/
@java.lang.Override
public java.lang.String getPorts() {
java.lang.Object ref = ports_;
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();
ports_ = s;
return s;
}
}
/**
* string ports = 3;
* @return The bytes for ports.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPortsBytes() {
java.lang.Object ref = ports_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ports_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICETYPE_FIELD_NUMBER = 4;
private int serviceType_;
/**
* int32 serviceType = 4;
* @return The serviceType.
*/
@java.lang.Override
public int getServiceType() {
return serviceType_;
}
public static final int PID_FIELD_NUMBER = 5;
private int pid_;
/**
* int32 pid = 5;
* @return The pid.
*/
@java.lang.Override
public int getPid() {
return pid_;
}
public static final int AGENTVERSION_FIELD_NUMBER = 6;
private volatile java.lang.Object agentVersion_;
/**
* string agentVersion = 6;
* @return The agentVersion.
*/
@java.lang.Override
public java.lang.String getAgentVersion() {
java.lang.Object ref = agentVersion_;
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();
agentVersion_ = s;
return s;
}
}
/**
* string agentVersion = 6;
* @return The bytes for agentVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAgentVersionBytes() {
java.lang.Object ref = agentVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VMVERSION_FIELD_NUMBER = 7;
private volatile java.lang.Object vmVersion_;
/**
* string vmVersion = 7;
* @return The vmVersion.
*/
@java.lang.Override
public java.lang.String getVmVersion() {
java.lang.Object ref = vmVersion_;
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();
vmVersion_ = s;
return s;
}
}
/**
* string vmVersion = 7;
* @return The bytes for vmVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVmVersionBytes() {
java.lang.Object ref = vmVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vmVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDTIMESTAMP_FIELD_NUMBER = 8;
private long endTimestamp_;
/**
* int64 endTimestamp = 8;
* @return The endTimestamp.
*/
@java.lang.Override
public long getEndTimestamp() {
return endTimestamp_;
}
public static final int ENDSTATUS_FIELD_NUMBER = 9;
private int endStatus_;
/**
* int32 endStatus = 9;
* @return The endStatus.
*/
@java.lang.Override
public int getEndStatus() {
return endStatus_;
}
public static final int SERVERMETADATA_FIELD_NUMBER = 10;
private com.navercorp.pinpoint.grpc.trace.PServerMetaData serverMetaData_;
/**
* .v1.PServerMetaData serverMetaData = 10;
* @return Whether the serverMetaData field is set.
*/
@java.lang.Override
public boolean hasServerMetaData() {
return serverMetaData_ != null;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
* @return The serverMetaData.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PServerMetaData getServerMetaData() {
return serverMetaData_ == null ? com.navercorp.pinpoint.grpc.trace.PServerMetaData.getDefaultInstance() : serverMetaData_;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PServerMetaDataOrBuilder getServerMetaDataOrBuilder() {
return getServerMetaData();
}
public static final int JVMINFO_FIELD_NUMBER = 11;
private com.navercorp.pinpoint.grpc.trace.PJvmInfo jvmInfo_;
/**
* .v1.PJvmInfo jvmInfo = 11;
* @return Whether the jvmInfo field is set.
*/
@java.lang.Override
public boolean hasJvmInfo() {
return jvmInfo_ != null;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
* @return The jvmInfo.
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmInfo getJvmInfo() {
return jvmInfo_ == null ? com.navercorp.pinpoint.grpc.trace.PJvmInfo.getDefaultInstance() : jvmInfo_;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PJvmInfoOrBuilder getJvmInfoOrBuilder() {
return getJvmInfo();
}
public static final int CONTAINER_FIELD_NUMBER = 12;
private boolean container_;
/**
* bool container = 12;
* @return The container.
*/
@java.lang.Override
public boolean getContainer() {
return container_;
}
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 (!getHostnameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_);
}
if (!getIpBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ip_);
}
if (!getPortsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ports_);
}
if (serviceType_ != 0) {
output.writeInt32(4, serviceType_);
}
if (pid_ != 0) {
output.writeInt32(5, pid_);
}
if (!getAgentVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, agentVersion_);
}
if (!getVmVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, vmVersion_);
}
if (endTimestamp_ != 0L) {
output.writeInt64(8, endTimestamp_);
}
if (endStatus_ != 0) {
output.writeInt32(9, endStatus_);
}
if (serverMetaData_ != null) {
output.writeMessage(10, getServerMetaData());
}
if (jvmInfo_ != null) {
output.writeMessage(11, getJvmInfo());
}
if (container_ != false) {
output.writeBool(12, container_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getHostnameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_);
}
if (!getIpBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ip_);
}
if (!getPortsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ports_);
}
if (serviceType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, serviceType_);
}
if (pid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, pid_);
}
if (!getAgentVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, agentVersion_);
}
if (!getVmVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, vmVersion_);
}
if (endTimestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, endTimestamp_);
}
if (endStatus_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, endStatus_);
}
if (serverMetaData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getServerMetaData());
}
if (jvmInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getJvmInfo());
}
if (container_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, container_);
}
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.PAgentInfo)) {
return super.equals(obj);
}
com.navercorp.pinpoint.grpc.trace.PAgentInfo other = (com.navercorp.pinpoint.grpc.trace.PAgentInfo) obj;
if (!getHostname()
.equals(other.getHostname())) return false;
if (!getIp()
.equals(other.getIp())) return false;
if (!getPorts()
.equals(other.getPorts())) return false;
if (getServiceType()
!= other.getServiceType()) return false;
if (getPid()
!= other.getPid()) return false;
if (!getAgentVersion()
.equals(other.getAgentVersion())) return false;
if (!getVmVersion()
.equals(other.getVmVersion())) return false;
if (getEndTimestamp()
!= other.getEndTimestamp()) return false;
if (getEndStatus()
!= other.getEndStatus()) return false;
if (hasServerMetaData() != other.hasServerMetaData()) return false;
if (hasServerMetaData()) {
if (!getServerMetaData()
.equals(other.getServerMetaData())) return false;
}
if (hasJvmInfo() != other.hasJvmInfo()) return false;
if (hasJvmInfo()) {
if (!getJvmInfo()
.equals(other.getJvmInfo())) return false;
}
if (getContainer()
!= other.getContainer()) 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) + HOSTNAME_FIELD_NUMBER;
hash = (53 * hash) + getHostname().hashCode();
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
hash = (37 * hash) + PORTS_FIELD_NUMBER;
hash = (53 * hash) + getPorts().hashCode();
hash = (37 * hash) + SERVICETYPE_FIELD_NUMBER;
hash = (53 * hash) + getServiceType();
hash = (37 * hash) + PID_FIELD_NUMBER;
hash = (53 * hash) + getPid();
hash = (37 * hash) + AGENTVERSION_FIELD_NUMBER;
hash = (53 * hash) + getAgentVersion().hashCode();
hash = (37 * hash) + VMVERSION_FIELD_NUMBER;
hash = (53 * hash) + getVmVersion().hashCode();
hash = (37 * hash) + ENDTIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndTimestamp());
hash = (37 * hash) + ENDSTATUS_FIELD_NUMBER;
hash = (53 * hash) + getEndStatus();
if (hasServerMetaData()) {
hash = (37 * hash) + SERVERMETADATA_FIELD_NUMBER;
hash = (53 * hash) + getServerMetaData().hashCode();
}
if (hasJvmInfo()) {
hash = (37 * hash) + JVMINFO_FIELD_NUMBER;
hash = (53 * hash) + getJvmInfo().hashCode();
}
hash = (37 * hash) + CONTAINER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getContainer());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo 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.PAgentInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo 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.PAgentInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo 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.PAgentInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo 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.PAgentInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo 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.PAgentInfo 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.PAgentInfo 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.PAgentInfo 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.PAgentInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.PAgentInfo)
com.navercorp.pinpoint.grpc.trace.PAgentInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PAgentInfo.class, com.navercorp.pinpoint.grpc.trace.PAgentInfo.Builder.class);
}
// Construct using com.navercorp.pinpoint.grpc.trace.PAgentInfo.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();
hostname_ = "";
ip_ = "";
ports_ = "";
serviceType_ = 0;
pid_ = 0;
agentVersion_ = "";
vmVersion_ = "";
endTimestamp_ = 0L;
endStatus_ = 0;
if (serverMetaDataBuilder_ == null) {
serverMetaData_ = null;
} else {
serverMetaData_ = null;
serverMetaDataBuilder_ = null;
}
if (jvmInfoBuilder_ == null) {
jvmInfo_ = null;
} else {
jvmInfo_ = null;
jvmInfoBuilder_ = null;
}
container_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.navercorp.pinpoint.grpc.trace.StatProto.internal_static_v1_PAgentInfo_descriptor;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentInfo getDefaultInstanceForType() {
return com.navercorp.pinpoint.grpc.trace.PAgentInfo.getDefaultInstance();
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentInfo build() {
com.navercorp.pinpoint.grpc.trace.PAgentInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PAgentInfo buildPartial() {
com.navercorp.pinpoint.grpc.trace.PAgentInfo result = new com.navercorp.pinpoint.grpc.trace.PAgentInfo(this);
result.hostname_ = hostname_;
result.ip_ = ip_;
result.ports_ = ports_;
result.serviceType_ = serviceType_;
result.pid_ = pid_;
result.agentVersion_ = agentVersion_;
result.vmVersion_ = vmVersion_;
result.endTimestamp_ = endTimestamp_;
result.endStatus_ = endStatus_;
if (serverMetaDataBuilder_ == null) {
result.serverMetaData_ = serverMetaData_;
} else {
result.serverMetaData_ = serverMetaDataBuilder_.build();
}
if (jvmInfoBuilder_ == null) {
result.jvmInfo_ = jvmInfo_;
} else {
result.jvmInfo_ = jvmInfoBuilder_.build();
}
result.container_ = container_;
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.PAgentInfo) {
return mergeFrom((com.navercorp.pinpoint.grpc.trace.PAgentInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.navercorp.pinpoint.grpc.trace.PAgentInfo other) {
if (other == com.navercorp.pinpoint.grpc.trace.PAgentInfo.getDefaultInstance()) return this;
if (!other.getHostname().isEmpty()) {
hostname_ = other.hostname_;
onChanged();
}
if (!other.getIp().isEmpty()) {
ip_ = other.ip_;
onChanged();
}
if (!other.getPorts().isEmpty()) {
ports_ = other.ports_;
onChanged();
}
if (other.getServiceType() != 0) {
setServiceType(other.getServiceType());
}
if (other.getPid() != 0) {
setPid(other.getPid());
}
if (!other.getAgentVersion().isEmpty()) {
agentVersion_ = other.agentVersion_;
onChanged();
}
if (!other.getVmVersion().isEmpty()) {
vmVersion_ = other.vmVersion_;
onChanged();
}
if (other.getEndTimestamp() != 0L) {
setEndTimestamp(other.getEndTimestamp());
}
if (other.getEndStatus() != 0) {
setEndStatus(other.getEndStatus());
}
if (other.hasServerMetaData()) {
mergeServerMetaData(other.getServerMetaData());
}
if (other.hasJvmInfo()) {
mergeJvmInfo(other.getJvmInfo());
}
if (other.getContainer() != false) {
setContainer(other.getContainer());
}
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.PAgentInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.navercorp.pinpoint.grpc.trace.PAgentInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object hostname_ = "";
/**
* string hostname = 1;
* @return The hostname.
*/
public java.lang.String getHostname() {
java.lang.Object ref = hostname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hostname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string hostname = 1;
* @return The bytes for hostname.
*/
public com.google.protobuf.ByteString
getHostnameBytes() {
java.lang.Object ref = hostname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string hostname = 1;
* @param value The hostname to set.
* @return This builder for chaining.
*/
public Builder setHostname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hostname_ = value;
onChanged();
return this;
}
/**
* string hostname = 1;
* @return This builder for chaining.
*/
public Builder clearHostname() {
hostname_ = getDefaultInstance().getHostname();
onChanged();
return this;
}
/**
* string hostname = 1;
* @param value The bytes for hostname to set.
* @return This builder for chaining.
*/
public Builder setHostnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hostname_ = value;
onChanged();
return this;
}
private java.lang.Object ip_ = "";
/**
* string ip = 2;
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ip = 2;
* @return The bytes for ip.
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ip = 2;
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ip_ = value;
onChanged();
return this;
}
/**
* string ip = 2;
* @return This builder for chaining.
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
onChanged();
return this;
}
/**
* string ip = 2;
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ip_ = value;
onChanged();
return this;
}
private java.lang.Object ports_ = "";
/**
* string ports = 3;
* @return The ports.
*/
public java.lang.String getPorts() {
java.lang.Object ref = ports_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ports_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ports = 3;
* @return The bytes for ports.
*/
public com.google.protobuf.ByteString
getPortsBytes() {
java.lang.Object ref = ports_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ports_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ports = 3;
* @param value The ports to set.
* @return This builder for chaining.
*/
public Builder setPorts(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ports_ = value;
onChanged();
return this;
}
/**
* string ports = 3;
* @return This builder for chaining.
*/
public Builder clearPorts() {
ports_ = getDefaultInstance().getPorts();
onChanged();
return this;
}
/**
* string ports = 3;
* @param value The bytes for ports to set.
* @return This builder for chaining.
*/
public Builder setPortsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ports_ = value;
onChanged();
return this;
}
private int serviceType_ ;
/**
* int32 serviceType = 4;
* @return The serviceType.
*/
@java.lang.Override
public int getServiceType() {
return serviceType_;
}
/**
* int32 serviceType = 4;
* @param value The serviceType to set.
* @return This builder for chaining.
*/
public Builder setServiceType(int value) {
serviceType_ = value;
onChanged();
return this;
}
/**
* int32 serviceType = 4;
* @return This builder for chaining.
*/
public Builder clearServiceType() {
serviceType_ = 0;
onChanged();
return this;
}
private int pid_ ;
/**
* int32 pid = 5;
* @return The pid.
*/
@java.lang.Override
public int getPid() {
return pid_;
}
/**
* int32 pid = 5;
* @param value The pid to set.
* @return This builder for chaining.
*/
public Builder setPid(int value) {
pid_ = value;
onChanged();
return this;
}
/**
* int32 pid = 5;
* @return This builder for chaining.
*/
public Builder clearPid() {
pid_ = 0;
onChanged();
return this;
}
private java.lang.Object agentVersion_ = "";
/**
* string agentVersion = 6;
* @return The agentVersion.
*/
public java.lang.String getAgentVersion() {
java.lang.Object ref = agentVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agentVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string agentVersion = 6;
* @return The bytes for agentVersion.
*/
public com.google.protobuf.ByteString
getAgentVersionBytes() {
java.lang.Object ref = agentVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string agentVersion = 6;
* @param value The agentVersion to set.
* @return This builder for chaining.
*/
public Builder setAgentVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agentVersion_ = value;
onChanged();
return this;
}
/**
* string agentVersion = 6;
* @return This builder for chaining.
*/
public Builder clearAgentVersion() {
agentVersion_ = getDefaultInstance().getAgentVersion();
onChanged();
return this;
}
/**
* string agentVersion = 6;
* @param value The bytes for agentVersion to set.
* @return This builder for chaining.
*/
public Builder setAgentVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agentVersion_ = value;
onChanged();
return this;
}
private java.lang.Object vmVersion_ = "";
/**
* string vmVersion = 7;
* @return The vmVersion.
*/
public java.lang.String getVmVersion() {
java.lang.Object ref = vmVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vmVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string vmVersion = 7;
* @return The bytes for vmVersion.
*/
public com.google.protobuf.ByteString
getVmVersionBytes() {
java.lang.Object ref = vmVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vmVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string vmVersion = 7;
* @param value The vmVersion to set.
* @return This builder for chaining.
*/
public Builder setVmVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vmVersion_ = value;
onChanged();
return this;
}
/**
* string vmVersion = 7;
* @return This builder for chaining.
*/
public Builder clearVmVersion() {
vmVersion_ = getDefaultInstance().getVmVersion();
onChanged();
return this;
}
/**
* string vmVersion = 7;
* @param value The bytes for vmVersion to set.
* @return This builder for chaining.
*/
public Builder setVmVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vmVersion_ = value;
onChanged();
return this;
}
private long endTimestamp_ ;
/**
* int64 endTimestamp = 8;
* @return The endTimestamp.
*/
@java.lang.Override
public long getEndTimestamp() {
return endTimestamp_;
}
/**
* int64 endTimestamp = 8;
* @param value The endTimestamp to set.
* @return This builder for chaining.
*/
public Builder setEndTimestamp(long value) {
endTimestamp_ = value;
onChanged();
return this;
}
/**
* int64 endTimestamp = 8;
* @return This builder for chaining.
*/
public Builder clearEndTimestamp() {
endTimestamp_ = 0L;
onChanged();
return this;
}
private int endStatus_ ;
/**
* int32 endStatus = 9;
* @return The endStatus.
*/
@java.lang.Override
public int getEndStatus() {
return endStatus_;
}
/**
* int32 endStatus = 9;
* @param value The endStatus to set.
* @return This builder for chaining.
*/
public Builder setEndStatus(int value) {
endStatus_ = value;
onChanged();
return this;
}
/**
* int32 endStatus = 9;
* @return This builder for chaining.
*/
public Builder clearEndStatus() {
endStatus_ = 0;
onChanged();
return this;
}
private com.navercorp.pinpoint.grpc.trace.PServerMetaData serverMetaData_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PServerMetaData, com.navercorp.pinpoint.grpc.trace.PServerMetaData.Builder, com.navercorp.pinpoint.grpc.trace.PServerMetaDataOrBuilder> serverMetaDataBuilder_;
/**
* .v1.PServerMetaData serverMetaData = 10;
* @return Whether the serverMetaData field is set.
*/
public boolean hasServerMetaData() {
return serverMetaDataBuilder_ != null || serverMetaData_ != null;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
* @return The serverMetaData.
*/
public com.navercorp.pinpoint.grpc.trace.PServerMetaData getServerMetaData() {
if (serverMetaDataBuilder_ == null) {
return serverMetaData_ == null ? com.navercorp.pinpoint.grpc.trace.PServerMetaData.getDefaultInstance() : serverMetaData_;
} else {
return serverMetaDataBuilder_.getMessage();
}
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
public Builder setServerMetaData(com.navercorp.pinpoint.grpc.trace.PServerMetaData value) {
if (serverMetaDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serverMetaData_ = value;
onChanged();
} else {
serverMetaDataBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
public Builder setServerMetaData(
com.navercorp.pinpoint.grpc.trace.PServerMetaData.Builder builderForValue) {
if (serverMetaDataBuilder_ == null) {
serverMetaData_ = builderForValue.build();
onChanged();
} else {
serverMetaDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
public Builder mergeServerMetaData(com.navercorp.pinpoint.grpc.trace.PServerMetaData value) {
if (serverMetaDataBuilder_ == null) {
if (serverMetaData_ != null) {
serverMetaData_ =
com.navercorp.pinpoint.grpc.trace.PServerMetaData.newBuilder(serverMetaData_).mergeFrom(value).buildPartial();
} else {
serverMetaData_ = value;
}
onChanged();
} else {
serverMetaDataBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
public Builder clearServerMetaData() {
if (serverMetaDataBuilder_ == null) {
serverMetaData_ = null;
onChanged();
} else {
serverMetaData_ = null;
serverMetaDataBuilder_ = null;
}
return this;
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
public com.navercorp.pinpoint.grpc.trace.PServerMetaData.Builder getServerMetaDataBuilder() {
onChanged();
return getServerMetaDataFieldBuilder().getBuilder();
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
public com.navercorp.pinpoint.grpc.trace.PServerMetaDataOrBuilder getServerMetaDataOrBuilder() {
if (serverMetaDataBuilder_ != null) {
return serverMetaDataBuilder_.getMessageOrBuilder();
} else {
return serverMetaData_ == null ?
com.navercorp.pinpoint.grpc.trace.PServerMetaData.getDefaultInstance() : serverMetaData_;
}
}
/**
* .v1.PServerMetaData serverMetaData = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PServerMetaData, com.navercorp.pinpoint.grpc.trace.PServerMetaData.Builder, com.navercorp.pinpoint.grpc.trace.PServerMetaDataOrBuilder>
getServerMetaDataFieldBuilder() {
if (serverMetaDataBuilder_ == null) {
serverMetaDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PServerMetaData, com.navercorp.pinpoint.grpc.trace.PServerMetaData.Builder, com.navercorp.pinpoint.grpc.trace.PServerMetaDataOrBuilder>(
getServerMetaData(),
getParentForChildren(),
isClean());
serverMetaData_ = null;
}
return serverMetaDataBuilder_;
}
private com.navercorp.pinpoint.grpc.trace.PJvmInfo jvmInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmInfo, com.navercorp.pinpoint.grpc.trace.PJvmInfo.Builder, com.navercorp.pinpoint.grpc.trace.PJvmInfoOrBuilder> jvmInfoBuilder_;
/**
* .v1.PJvmInfo jvmInfo = 11;
* @return Whether the jvmInfo field is set.
*/
public boolean hasJvmInfo() {
return jvmInfoBuilder_ != null || jvmInfo_ != null;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
* @return The jvmInfo.
*/
public com.navercorp.pinpoint.grpc.trace.PJvmInfo getJvmInfo() {
if (jvmInfoBuilder_ == null) {
return jvmInfo_ == null ? com.navercorp.pinpoint.grpc.trace.PJvmInfo.getDefaultInstance() : jvmInfo_;
} else {
return jvmInfoBuilder_.getMessage();
}
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
public Builder setJvmInfo(com.navercorp.pinpoint.grpc.trace.PJvmInfo value) {
if (jvmInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
jvmInfo_ = value;
onChanged();
} else {
jvmInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
public Builder setJvmInfo(
com.navercorp.pinpoint.grpc.trace.PJvmInfo.Builder builderForValue) {
if (jvmInfoBuilder_ == null) {
jvmInfo_ = builderForValue.build();
onChanged();
} else {
jvmInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
public Builder mergeJvmInfo(com.navercorp.pinpoint.grpc.trace.PJvmInfo value) {
if (jvmInfoBuilder_ == null) {
if (jvmInfo_ != null) {
jvmInfo_ =
com.navercorp.pinpoint.grpc.trace.PJvmInfo.newBuilder(jvmInfo_).mergeFrom(value).buildPartial();
} else {
jvmInfo_ = value;
}
onChanged();
} else {
jvmInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
public Builder clearJvmInfo() {
if (jvmInfoBuilder_ == null) {
jvmInfo_ = null;
onChanged();
} else {
jvmInfo_ = null;
jvmInfoBuilder_ = null;
}
return this;
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
public com.navercorp.pinpoint.grpc.trace.PJvmInfo.Builder getJvmInfoBuilder() {
onChanged();
return getJvmInfoFieldBuilder().getBuilder();
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
public com.navercorp.pinpoint.grpc.trace.PJvmInfoOrBuilder getJvmInfoOrBuilder() {
if (jvmInfoBuilder_ != null) {
return jvmInfoBuilder_.getMessageOrBuilder();
} else {
return jvmInfo_ == null ?
com.navercorp.pinpoint.grpc.trace.PJvmInfo.getDefaultInstance() : jvmInfo_;
}
}
/**
* .v1.PJvmInfo jvmInfo = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmInfo, com.navercorp.pinpoint.grpc.trace.PJvmInfo.Builder, com.navercorp.pinpoint.grpc.trace.PJvmInfoOrBuilder>
getJvmInfoFieldBuilder() {
if (jvmInfoBuilder_ == null) {
jvmInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.navercorp.pinpoint.grpc.trace.PJvmInfo, com.navercorp.pinpoint.grpc.trace.PJvmInfo.Builder, com.navercorp.pinpoint.grpc.trace.PJvmInfoOrBuilder>(
getJvmInfo(),
getParentForChildren(),
isClean());
jvmInfo_ = null;
}
return jvmInfoBuilder_;
}
private boolean container_ ;
/**
* bool container = 12;
* @return The container.
*/
@java.lang.Override
public boolean getContainer() {
return container_;
}
/**
* bool container = 12;
* @param value The container to set.
* @return This builder for chaining.
*/
public Builder setContainer(boolean value) {
container_ = value;
onChanged();
return this;
}
/**
* bool container = 12;
* @return This builder for chaining.
*/
public Builder clearContainer() {
container_ = false;
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.PAgentInfo)
}
// @@protoc_insertion_point(class_scope:v1.PAgentInfo)
private static final com.navercorp.pinpoint.grpc.trace.PAgentInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.navercorp.pinpoint.grpc.trace.PAgentInfo();
}
public static com.navercorp.pinpoint.grpc.trace.PAgentInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PAgentInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PAgentInfo(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.PAgentInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}