All Downloads are FREE. Search and download functionalities are using the official Maven repository.
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.PIntBooleanIntBooleanValue Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v1/Annotation.proto
package com.navercorp.pinpoint.grpc.trace;
/**
* Protobuf type {@code v1.PIntBooleanIntBooleanValue}
*/
public final class PIntBooleanIntBooleanValue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.PIntBooleanIntBooleanValue)
PIntBooleanIntBooleanValueOrBuilder {
private static final long serialVersionUID = 0L;
// Use PIntBooleanIntBooleanValue.newBuilder() to construct.
private PIntBooleanIntBooleanValue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PIntBooleanIntBooleanValue() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PIntBooleanIntBooleanValue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PIntBooleanIntBooleanValue(
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: {
intValue1_ = input.readInt32();
break;
}
case 16: {
boolValue1_ = input.readBool();
break;
}
case 24: {
intValue2_ = input.readInt32();
break;
}
case 32: {
boolValue2_ = 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.AnnotationProto.internal_static_v1_PIntBooleanIntBooleanValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PIntBooleanIntBooleanValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.class, com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.Builder.class);
}
public static final int INTVALUE1_FIELD_NUMBER = 1;
private int intValue1_;
/**
* int32 intValue1 = 1;
* @return The intValue1.
*/
@java.lang.Override
public int getIntValue1() {
return intValue1_;
}
public static final int BOOLVALUE1_FIELD_NUMBER = 2;
private boolean boolValue1_;
/**
* bool boolValue1 = 2;
* @return The boolValue1.
*/
@java.lang.Override
public boolean getBoolValue1() {
return boolValue1_;
}
public static final int INTVALUE2_FIELD_NUMBER = 3;
private int intValue2_;
/**
* int32 intValue2 = 3;
* @return The intValue2.
*/
@java.lang.Override
public int getIntValue2() {
return intValue2_;
}
public static final int BOOLVALUE2_FIELD_NUMBER = 4;
private boolean boolValue2_;
/**
* bool boolValue2 = 4;
* @return The boolValue2.
*/
@java.lang.Override
public boolean getBoolValue2() {
return boolValue2_;
}
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 (intValue1_ != 0) {
output.writeInt32(1, intValue1_);
}
if (boolValue1_ != false) {
output.writeBool(2, boolValue1_);
}
if (intValue2_ != 0) {
output.writeInt32(3, intValue2_);
}
if (boolValue2_ != false) {
output.writeBool(4, boolValue2_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (intValue1_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, intValue1_);
}
if (boolValue1_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, boolValue1_);
}
if (intValue2_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, intValue2_);
}
if (boolValue2_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, boolValue2_);
}
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.PIntBooleanIntBooleanValue)) {
return super.equals(obj);
}
com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue other = (com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue) obj;
if (getIntValue1()
!= other.getIntValue1()) return false;
if (getBoolValue1()
!= other.getBoolValue1()) return false;
if (getIntValue2()
!= other.getIntValue2()) return false;
if (getBoolValue2()
!= other.getBoolValue2()) 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) + INTVALUE1_FIELD_NUMBER;
hash = (53 * hash) + getIntValue1();
hash = (37 * hash) + BOOLVALUE1_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBoolValue1());
hash = (37 * hash) + INTVALUE2_FIELD_NUMBER;
hash = (53 * hash) + getIntValue2();
hash = (37 * hash) + BOOLVALUE2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBoolValue2());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue 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.PIntBooleanIntBooleanValue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.PIntBooleanIntBooleanValue)
com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PIntBooleanIntBooleanValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PIntBooleanIntBooleanValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.class, com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.Builder.class);
}
// Construct using com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.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();
intValue1_ = 0;
boolValue1_ = false;
intValue2_ = 0;
boolValue2_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PIntBooleanIntBooleanValue_descriptor;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue getDefaultInstanceForType() {
return com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.getDefaultInstance();
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue build() {
com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue buildPartial() {
com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue result = new com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue(this);
result.intValue1_ = intValue1_;
result.boolValue1_ = boolValue1_;
result.intValue2_ = intValue2_;
result.boolValue2_ = boolValue2_;
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.PIntBooleanIntBooleanValue) {
return mergeFrom((com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue other) {
if (other == com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue.getDefaultInstance()) return this;
if (other.getIntValue1() != 0) {
setIntValue1(other.getIntValue1());
}
if (other.getBoolValue1() != false) {
setBoolValue1(other.getBoolValue1());
}
if (other.getIntValue2() != 0) {
setIntValue2(other.getIntValue2());
}
if (other.getBoolValue2() != false) {
setBoolValue2(other.getBoolValue2());
}
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.PIntBooleanIntBooleanValue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int intValue1_ ;
/**
* int32 intValue1 = 1;
* @return The intValue1.
*/
@java.lang.Override
public int getIntValue1() {
return intValue1_;
}
/**
* int32 intValue1 = 1;
* @param value The intValue1 to set.
* @return This builder for chaining.
*/
public Builder setIntValue1(int value) {
intValue1_ = value;
onChanged();
return this;
}
/**
* int32 intValue1 = 1;
* @return This builder for chaining.
*/
public Builder clearIntValue1() {
intValue1_ = 0;
onChanged();
return this;
}
private boolean boolValue1_ ;
/**
* bool boolValue1 = 2;
* @return The boolValue1.
*/
@java.lang.Override
public boolean getBoolValue1() {
return boolValue1_;
}
/**
* bool boolValue1 = 2;
* @param value The boolValue1 to set.
* @return This builder for chaining.
*/
public Builder setBoolValue1(boolean value) {
boolValue1_ = value;
onChanged();
return this;
}
/**
* bool boolValue1 = 2;
* @return This builder for chaining.
*/
public Builder clearBoolValue1() {
boolValue1_ = false;
onChanged();
return this;
}
private int intValue2_ ;
/**
* int32 intValue2 = 3;
* @return The intValue2.
*/
@java.lang.Override
public int getIntValue2() {
return intValue2_;
}
/**
* int32 intValue2 = 3;
* @param value The intValue2 to set.
* @return This builder for chaining.
*/
public Builder setIntValue2(int value) {
intValue2_ = value;
onChanged();
return this;
}
/**
* int32 intValue2 = 3;
* @return This builder for chaining.
*/
public Builder clearIntValue2() {
intValue2_ = 0;
onChanged();
return this;
}
private boolean boolValue2_ ;
/**
* bool boolValue2 = 4;
* @return The boolValue2.
*/
@java.lang.Override
public boolean getBoolValue2() {
return boolValue2_;
}
/**
* bool boolValue2 = 4;
* @param value The boolValue2 to set.
* @return This builder for chaining.
*/
public Builder setBoolValue2(boolean value) {
boolValue2_ = value;
onChanged();
return this;
}
/**
* bool boolValue2 = 4;
* @return This builder for chaining.
*/
public Builder clearBoolValue2() {
boolValue2_ = 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.PIntBooleanIntBooleanValue)
}
// @@protoc_insertion_point(class_scope:v1.PIntBooleanIntBooleanValue)
private static final com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue();
}
public static com.navercorp.pinpoint.grpc.trace.PIntBooleanIntBooleanValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PIntBooleanIntBooleanValue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PIntBooleanIntBooleanValue(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.PIntBooleanIntBooleanValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}