org.apache.hadoop.tracing.TraceAdminPB Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hadoop-apache Show documentation
Show all versions of hadoop-apache Show documentation
Shaded version of Apache Hadoop for Presto
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TraceAdmin.proto
package org.apache.hadoop.tracing;
public final class TraceAdminPB {
private TraceAdminPB() {}
public static void registerAllExtensions(
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistry registry) {
}
public interface ListSpanReceiversRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.common.ListSpanReceiversRequestProto}
*/
public static final class ListSpanReceiversRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements ListSpanReceiversRequestProtoOrBuilder {
// Use ListSpanReceiversRequestProto.newBuilder() to construct.
private ListSpanReceiversRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ListSpanReceiversRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ListSpanReceiversRequestProto defaultInstance;
public static ListSpanReceiversRequestProto getDefaultInstance() {
return defaultInstance;
}
public ListSpanReceiversRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListSpanReceiversRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.class, org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public ListSpanReceiversRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new ListSpanReceiversRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.ListSpanReceiversRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.class, org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversRequestProto_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto build() {
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.ListSpanReceiversRequestProto)
}
static {
defaultInstance = new ListSpanReceiversRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.ListSpanReceiversRequestProto)
}
public interface SpanReceiverListInfoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required int64 id = 1;
/**
* required int64 id = 1;
*/
boolean hasId();
/**
* required int64 id = 1;
*/
long getId();
// required string className = 2;
/**
* required string className = 2;
*/
boolean hasClassName();
/**
* required string className = 2;
*/
java.lang.String getClassName();
/**
* required string className = 2;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getClassNameBytes();
}
/**
* Protobuf type {@code hadoop.common.SpanReceiverListInfo}
*/
public static final class SpanReceiverListInfo extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements SpanReceiverListInfoOrBuilder {
// Use SpanReceiverListInfo.newBuilder() to construct.
private SpanReceiverListInfo(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SpanReceiverListInfo(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SpanReceiverListInfo defaultInstance;
public static SpanReceiverListInfo getDefaultInstance() {
return defaultInstance;
}
public SpanReceiverListInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SpanReceiverListInfo(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt64();
break;
}
case 18: {
bitField0_ |= 0x00000002;
className_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_SpanReceiverListInfo_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_SpanReceiverListInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.class, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public SpanReceiverListInfo parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new SpanReceiverListInfo(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int64 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* required int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 id = 1;
*/
public long getId() {
return id_;
}
// required string className = 2;
public static final int CLASSNAME_FIELD_NUMBER = 2;
private java.lang.Object className_;
/**
* required string className = 2;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string className = 2;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
className_ = s;
}
return s;
}
}
/**
* required string className = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
id_ = 0L;
className_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasClassName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getClassNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getClassNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo other = (org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo) obj;
boolean result = true;
result = result && (hasId() == other.hasId());
if (hasId()) {
result = result && (getId()
== other.getId());
}
result = result && (hasClassName() == other.hasClassName());
if (hasClassName()) {
result = result && getClassName()
.equals(other.getClassName());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getId());
}
if (hasClassName()) {
hash = (37 * hash) + CLASSNAME_FIELD_NUMBER;
hash = (53 * hash) + getClassName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.SpanReceiverListInfo}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_SpanReceiverListInfo_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_SpanReceiverListInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.class, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
className_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_SpanReceiverListInfo_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo build() {
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo result = new org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.className_ = className_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasClassName()) {
bitField0_ |= 0x00000002;
className_ = other.className_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
if (!hasClassName()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int64 id = 1;
private long id_ ;
/**
* required int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 id = 1;
*/
public long getId() {
return id_;
}
/**
* required int64 id = 1;
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* required int64 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
// required string className = 2;
private java.lang.Object className_ = "";
/**
* required string className = 2;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string className = 2;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
className_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string className = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string className = 2;
*/
public Builder setClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
className_ = value;
onChanged();
return this;
}
/**
* required string className = 2;
*/
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000002);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
/**
* required string className = 2;
*/
public Builder setClassNameBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
className_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.SpanReceiverListInfo)
}
static {
defaultInstance = new SpanReceiverListInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.SpanReceiverListInfo)
}
public interface ListSpanReceiversResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
java.util.List
getDescriptionsList();
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo getDescriptions(int index);
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
int getDescriptionsCount();
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
java.util.List extends org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder>
getDescriptionsOrBuilderList();
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder getDescriptionsOrBuilder(
int index);
}
/**
* Protobuf type {@code hadoop.common.ListSpanReceiversResponseProto}
*/
public static final class ListSpanReceiversResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements ListSpanReceiversResponseProtoOrBuilder {
// Use ListSpanReceiversResponseProto.newBuilder() to construct.
private ListSpanReceiversResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ListSpanReceiversResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ListSpanReceiversResponseProto defaultInstance;
public static ListSpanReceiversResponseProto getDefaultInstance() {
return defaultInstance;
}
public ListSpanReceiversResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListSpanReceiversResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
descriptions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
descriptions_.add(input.readMessage(org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
descriptions_ = java.util.Collections.unmodifiableList(descriptions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.class, org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public ListSpanReceiversResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new ListSpanReceiversResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
public static final int DESCRIPTIONS_FIELD_NUMBER = 1;
private java.util.List descriptions_;
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public java.util.List getDescriptionsList() {
return descriptions_;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public java.util.List extends org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder>
getDescriptionsOrBuilderList() {
return descriptions_;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public int getDescriptionsCount() {
return descriptions_.size();
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo getDescriptions(int index) {
return descriptions_.get(index);
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder getDescriptionsOrBuilder(
int index) {
return descriptions_.get(index);
}
private void initFields() {
descriptions_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getDescriptionsCount(); i++) {
if (!getDescriptions(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < descriptions_.size(); i++) {
output.writeMessage(1, descriptions_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < descriptions_.size(); i++) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, descriptions_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) obj;
boolean result = true;
result = result && getDescriptionsList()
.equals(other.getDescriptionsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getDescriptionsCount() > 0) {
hash = (37 * hash) + DESCRIPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getDescriptionsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.ListSpanReceiversResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.class, org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getDescriptionsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (descriptionsBuilder_ == null) {
descriptions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
descriptionsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ListSpanReceiversResponseProto_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto build() {
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto result = new org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto(this);
int from_bitField0_ = bitField0_;
if (descriptionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
descriptions_ = java.util.Collections.unmodifiableList(descriptions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.descriptions_ = descriptions_;
} else {
result.descriptions_ = descriptionsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance()) return this;
if (descriptionsBuilder_ == null) {
if (!other.descriptions_.isEmpty()) {
if (descriptions_.isEmpty()) {
descriptions_ = other.descriptions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDescriptionsIsMutable();
descriptions_.addAll(other.descriptions_);
}
onChanged();
}
} else {
if (!other.descriptions_.isEmpty()) {
if (descriptionsBuilder_.isEmpty()) {
descriptionsBuilder_.dispose();
descriptionsBuilder_ = null;
descriptions_ = other.descriptions_;
bitField0_ = (bitField0_ & ~0x00000001);
descriptionsBuilder_ =
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getDescriptionsFieldBuilder() : null;
} else {
descriptionsBuilder_.addAllMessages(other.descriptions_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getDescriptionsCount(); i++) {
if (!getDescriptions(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
private java.util.List descriptions_ =
java.util.Collections.emptyList();
private void ensureDescriptionsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
descriptions_ = new java.util.ArrayList(descriptions_);
bitField0_ |= 0x00000001;
}
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder> descriptionsBuilder_;
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public java.util.List getDescriptionsList() {
if (descriptionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(descriptions_);
} else {
return descriptionsBuilder_.getMessageList();
}
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public int getDescriptionsCount() {
if (descriptionsBuilder_ == null) {
return descriptions_.size();
} else {
return descriptionsBuilder_.getCount();
}
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo getDescriptions(int index) {
if (descriptionsBuilder_ == null) {
return descriptions_.get(index);
} else {
return descriptionsBuilder_.getMessage(index);
}
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder setDescriptions(
int index, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo value) {
if (descriptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDescriptionsIsMutable();
descriptions_.set(index, value);
onChanged();
} else {
descriptionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder setDescriptions(
int index, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder builderForValue) {
if (descriptionsBuilder_ == null) {
ensureDescriptionsIsMutable();
descriptions_.set(index, builderForValue.build());
onChanged();
} else {
descriptionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder addDescriptions(org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo value) {
if (descriptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDescriptionsIsMutable();
descriptions_.add(value);
onChanged();
} else {
descriptionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder addDescriptions(
int index, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo value) {
if (descriptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDescriptionsIsMutable();
descriptions_.add(index, value);
onChanged();
} else {
descriptionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder addDescriptions(
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder builderForValue) {
if (descriptionsBuilder_ == null) {
ensureDescriptionsIsMutable();
descriptions_.add(builderForValue.build());
onChanged();
} else {
descriptionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder addDescriptions(
int index, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder builderForValue) {
if (descriptionsBuilder_ == null) {
ensureDescriptionsIsMutable();
descriptions_.add(index, builderForValue.build());
onChanged();
} else {
descriptionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder addAllDescriptions(
java.lang.Iterable extends org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo> values) {
if (descriptionsBuilder_ == null) {
ensureDescriptionsIsMutable();
super.addAll(values, descriptions_);
onChanged();
} else {
descriptionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder clearDescriptions() {
if (descriptionsBuilder_ == null) {
descriptions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
descriptionsBuilder_.clear();
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public Builder removeDescriptions(int index) {
if (descriptionsBuilder_ == null) {
ensureDescriptionsIsMutable();
descriptions_.remove(index);
onChanged();
} else {
descriptionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder getDescriptionsBuilder(
int index) {
return getDescriptionsFieldBuilder().getBuilder(index);
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder getDescriptionsOrBuilder(
int index) {
if (descriptionsBuilder_ == null) {
return descriptions_.get(index); } else {
return descriptionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public java.util.List extends org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder>
getDescriptionsOrBuilderList() {
if (descriptionsBuilder_ != null) {
return descriptionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(descriptions_);
}
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder addDescriptionsBuilder() {
return getDescriptionsFieldBuilder().addBuilder(
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.getDefaultInstance());
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder addDescriptionsBuilder(
int index) {
return getDescriptionsFieldBuilder().addBuilder(
index, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.getDefaultInstance());
}
/**
* repeated .hadoop.common.SpanReceiverListInfo descriptions = 1;
*/
public java.util.List
getDescriptionsBuilderList() {
return getDescriptionsFieldBuilder().getBuilderList();
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder>
getDescriptionsFieldBuilder() {
if (descriptionsBuilder_ == null) {
descriptionsBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfo.Builder, org.apache.hadoop.tracing.TraceAdminPB.SpanReceiverListInfoOrBuilder>(
descriptions_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
descriptions_ = null;
}
return descriptionsBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.ListSpanReceiversResponseProto)
}
static {
defaultInstance = new ListSpanReceiversResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.ListSpanReceiversResponseProto)
}
public interface ConfigPairOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string key = 1;
/**
* required string key = 1;
*/
boolean hasKey();
/**
* required string key = 1;
*/
java.lang.String getKey();
/**
* required string key = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getKeyBytes();
// required string value = 2;
/**
* required string value = 2;
*/
boolean hasValue();
/**
* required string value = 2;
*/
java.lang.String getValue();
/**
* required string value = 2;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code hadoop.common.ConfigPair}
*/
public static final class ConfigPair extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements ConfigPairOrBuilder {
// Use ConfigPair.newBuilder() to construct.
private ConfigPair(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ConfigPair(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ConfigPair defaultInstance;
public static ConfigPair getDefaultInstance() {
return defaultInstance;
}
public ConfigPair getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigPair(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
key_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ConfigPair_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ConfigPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.class, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public ConfigPair parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new ConfigPair(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private java.lang.Object key_;
/**
* required string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* required string key = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
// required string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* required string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* required string value = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
key_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getKeyBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getKeyBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) obj;
boolean result = true;
result = result && (hasKey() == other.hasKey());
if (hasKey()) {
result = result && getKey()
.equals(other.getKey());
}
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && getValue()
.equals(other.getValue());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.ConfigPair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.ConfigPair}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ConfigPair_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ConfigPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.class, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_ConfigPair_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair build() {
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair result = new org.apache.hadoop.tracing.TraceAdminPB.ConfigPair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.ConfigPair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.ConfigPair other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasValue()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.ConfigPair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string key = 1;
private java.lang.Object key_ = "";
/**
* required string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string key = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string key = 1;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* required string key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* required string key = 1;
*/
public Builder setKeyBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
// required string value = 2;
private java.lang.Object value_ = "";
/**
* required string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string value = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* required string value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* required string value = 2;
*/
public Builder setValueBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.ConfigPair)
}
static {
defaultInstance = new ConfigPair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.ConfigPair)
}
public interface AddSpanReceiverRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string className = 1;
/**
* required string className = 1;
*/
boolean hasClassName();
/**
* required string className = 1;
*/
java.lang.String getClassName();
/**
* required string className = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getClassNameBytes();
// repeated .hadoop.common.ConfigPair config = 2;
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
java.util.List
getConfigList();
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair getConfig(int index);
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
int getConfigCount();
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
java.util.List extends org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder>
getConfigOrBuilderList();
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder getConfigOrBuilder(
int index);
}
/**
* Protobuf type {@code hadoop.common.AddSpanReceiverRequestProto}
*/
public static final class AddSpanReceiverRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements AddSpanReceiverRequestProtoOrBuilder {
// Use AddSpanReceiverRequestProto.newBuilder() to construct.
private AddSpanReceiverRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AddSpanReceiverRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AddSpanReceiverRequestProto defaultInstance;
public static AddSpanReceiverRequestProto getDefaultInstance() {
return defaultInstance;
}
public AddSpanReceiverRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddSpanReceiverRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
className_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
config_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
config_.add(input.readMessage(org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
config_ = java.util.Collections.unmodifiableList(config_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.class, org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public AddSpanReceiverRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new AddSpanReceiverRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string className = 1;
public static final int CLASSNAME_FIELD_NUMBER = 1;
private java.lang.Object className_;
/**
* required string className = 1;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string className = 1;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
className_ = s;
}
return s;
}
}
/**
* required string className = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
// repeated .hadoop.common.ConfigPair config = 2;
public static final int CONFIG_FIELD_NUMBER = 2;
private java.util.List config_;
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public java.util.List getConfigList() {
return config_;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public java.util.List extends org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder>
getConfigOrBuilderList() {
return config_;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public int getConfigCount() {
return config_.size();
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair getConfig(int index) {
return config_.get(index);
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder getConfigOrBuilder(
int index) {
return config_.get(index);
}
private void initFields() {
className_ = "";
config_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasClassName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getConfigCount(); i++) {
if (!getConfig(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getClassNameBytes());
}
for (int i = 0; i < config_.size(); i++) {
output.writeMessage(2, config_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getClassNameBytes());
}
for (int i = 0; i < config_.size(); i++) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, config_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) obj;
boolean result = true;
result = result && (hasClassName() == other.hasClassName());
if (hasClassName()) {
result = result && getClassName()
.equals(other.getClassName());
}
result = result && getConfigList()
.equals(other.getConfigList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasClassName()) {
hash = (37 * hash) + CLASSNAME_FIELD_NUMBER;
hash = (53 * hash) + getClassName().hashCode();
}
if (getConfigCount() > 0) {
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfigList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.AddSpanReceiverRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.class, org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getConfigFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
className_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (configBuilder_ == null) {
config_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
configBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverRequestProto_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto build() {
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.className_ = className_;
if (configBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
config_ = java.util.Collections.unmodifiableList(config_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.config_ = config_;
} else {
result.config_ = configBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance()) return this;
if (other.hasClassName()) {
bitField0_ |= 0x00000001;
className_ = other.className_;
onChanged();
}
if (configBuilder_ == null) {
if (!other.config_.isEmpty()) {
if (config_.isEmpty()) {
config_ = other.config_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureConfigIsMutable();
config_.addAll(other.config_);
}
onChanged();
}
} else {
if (!other.config_.isEmpty()) {
if (configBuilder_.isEmpty()) {
configBuilder_.dispose();
configBuilder_ = null;
config_ = other.config_;
bitField0_ = (bitField0_ & ~0x00000002);
configBuilder_ =
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getConfigFieldBuilder() : null;
} else {
configBuilder_.addAllMessages(other.config_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasClassName()) {
return false;
}
for (int i = 0; i < getConfigCount(); i++) {
if (!getConfig(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string className = 1;
private java.lang.Object className_ = "";
/**
* required string className = 1;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string className = 1;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
className_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string className = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string className = 1;
*/
public Builder setClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
className_ = value;
onChanged();
return this;
}
/**
* required string className = 1;
*/
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000001);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
/**
* required string className = 1;
*/
public Builder setClassNameBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
className_ = value;
onChanged();
return this;
}
// repeated .hadoop.common.ConfigPair config = 2;
private java.util.List config_ =
java.util.Collections.emptyList();
private void ensureConfigIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
config_ = new java.util.ArrayList(config_);
bitField0_ |= 0x00000002;
}
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder, org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder> configBuilder_;
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public java.util.List getConfigList() {
if (configBuilder_ == null) {
return java.util.Collections.unmodifiableList(config_);
} else {
return configBuilder_.getMessageList();
}
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public int getConfigCount() {
if (configBuilder_ == null) {
return config_.size();
} else {
return configBuilder_.getCount();
}
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair getConfig(int index) {
if (configBuilder_ == null) {
return config_.get(index);
} else {
return configBuilder_.getMessage(index);
}
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder setConfig(
int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) {
if (configBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigIsMutable();
config_.set(index, value);
onChanged();
} else {
configBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder setConfig(
int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder builderForValue) {
if (configBuilder_ == null) {
ensureConfigIsMutable();
config_.set(index, builderForValue.build());
onChanged();
} else {
configBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder addConfig(org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) {
if (configBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigIsMutable();
config_.add(value);
onChanged();
} else {
configBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder addConfig(
int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair value) {
if (configBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigIsMutable();
config_.add(index, value);
onChanged();
} else {
configBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder addConfig(
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder builderForValue) {
if (configBuilder_ == null) {
ensureConfigIsMutable();
config_.add(builderForValue.build());
onChanged();
} else {
configBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder addConfig(
int index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder builderForValue) {
if (configBuilder_ == null) {
ensureConfigIsMutable();
config_.add(index, builderForValue.build());
onChanged();
} else {
configBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder addAllConfig(
java.lang.Iterable extends org.apache.hadoop.tracing.TraceAdminPB.ConfigPair> values) {
if (configBuilder_ == null) {
ensureConfigIsMutable();
super.addAll(values, config_);
onChanged();
} else {
configBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder clearConfig() {
if (configBuilder_ == null) {
config_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
configBuilder_.clear();
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public Builder removeConfig(int index) {
if (configBuilder_ == null) {
ensureConfigIsMutable();
config_.remove(index);
onChanged();
} else {
configBuilder_.remove(index);
}
return this;
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder getConfigBuilder(
int index) {
return getConfigFieldBuilder().getBuilder(index);
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder getConfigOrBuilder(
int index) {
if (configBuilder_ == null) {
return config_.get(index); } else {
return configBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public java.util.List extends org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder>
getConfigOrBuilderList() {
if (configBuilder_ != null) {
return configBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(config_);
}
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder addConfigBuilder() {
return getConfigFieldBuilder().addBuilder(
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.getDefaultInstance());
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder addConfigBuilder(
int index) {
return getConfigFieldBuilder().addBuilder(
index, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.getDefaultInstance());
}
/**
* repeated .hadoop.common.ConfigPair config = 2;
*/
public java.util.List
getConfigBuilderList() {
return getConfigFieldBuilder().getBuilderList();
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder, org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder>
getConfigFieldBuilder() {
if (configBuilder_ == null) {
configBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.tracing.TraceAdminPB.ConfigPair, org.apache.hadoop.tracing.TraceAdminPB.ConfigPair.Builder, org.apache.hadoop.tracing.TraceAdminPB.ConfigPairOrBuilder>(
config_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
config_ = null;
}
return configBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.AddSpanReceiverRequestProto)
}
static {
defaultInstance = new AddSpanReceiverRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.AddSpanReceiverRequestProto)
}
public interface AddSpanReceiverResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required int64 id = 1;
/**
* required int64 id = 1;
*/
boolean hasId();
/**
* required int64 id = 1;
*/
long getId();
}
/**
* Protobuf type {@code hadoop.common.AddSpanReceiverResponseProto}
*/
public static final class AddSpanReceiverResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements AddSpanReceiverResponseProtoOrBuilder {
// Use AddSpanReceiverResponseProto.newBuilder() to construct.
private AddSpanReceiverResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AddSpanReceiverResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AddSpanReceiverResponseProto defaultInstance;
public static AddSpanReceiverResponseProto getDefaultInstance() {
return defaultInstance;
}
public AddSpanReceiverResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddSpanReceiverResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt64();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.class, org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public AddSpanReceiverResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new AddSpanReceiverResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int64 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* required int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 id = 1;
*/
public long getId() {
return id_;
}
private void initFields() {
id_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, id_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto) obj;
boolean result = true;
result = result && (hasId() == other.hasId());
if (hasId()) {
result = result && (getId()
== other.getId());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.AddSpanReceiverResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.class, org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_AddSpanReceiverResponseProto_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto build() {
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto result = new org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int64 id = 1;
private long id_ ;
/**
* required int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 id = 1;
*/
public long getId() {
return id_;
}
/**
* required int64 id = 1;
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* required int64 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.AddSpanReceiverResponseProto)
}
static {
defaultInstance = new AddSpanReceiverResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.AddSpanReceiverResponseProto)
}
public interface RemoveSpanReceiverRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required int64 id = 1;
/**
* required int64 id = 1;
*/
boolean hasId();
/**
* required int64 id = 1;
*/
long getId();
}
/**
* Protobuf type {@code hadoop.common.RemoveSpanReceiverRequestProto}
*/
public static final class RemoveSpanReceiverRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements RemoveSpanReceiverRequestProtoOrBuilder {
// Use RemoveSpanReceiverRequestProto.newBuilder() to construct.
private RemoveSpanReceiverRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RemoveSpanReceiverRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RemoveSpanReceiverRequestProto defaultInstance;
public static RemoveSpanReceiverRequestProto getDefaultInstance() {
return defaultInstance;
}
public RemoveSpanReceiverRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoveSpanReceiverRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt64();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.class, org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public RemoveSpanReceiverRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new RemoveSpanReceiverRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int64 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* required int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 id = 1;
*/
public long getId() {
return id_;
}
private void initFields() {
id_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, id_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto other = (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto) obj;
boolean result = true;
result = result && (hasId() == other.hasId());
if (hasId()) {
result = result && (getId()
== other.getId());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.RemoveSpanReceiverRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.class, org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverRequestProto_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto build() {
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto result = new org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int64 id = 1;
private long id_ ;
/**
* required int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 id = 1;
*/
public long getId() {
return id_;
}
/**
* required int64 id = 1;
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* required int64 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.RemoveSpanReceiverRequestProto)
}
static {
defaultInstance = new RemoveSpanReceiverRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.RemoveSpanReceiverRequestProto)
}
public interface RemoveSpanReceiverResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.common.RemoveSpanReceiverResponseProto}
*/
public static final class RemoveSpanReceiverResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements RemoveSpanReceiverResponseProtoOrBuilder {
// Use RemoveSpanReceiverResponseProto.newBuilder() to construct.
private RemoveSpanReceiverResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RemoveSpanReceiverResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RemoveSpanReceiverResponseProto defaultInstance;
public static RemoveSpanReceiverResponseProto getDefaultInstance() {
return defaultInstance;
}
public RemoveSpanReceiverResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoveSpanReceiverResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.class, org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public RemoveSpanReceiverResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new RemoveSpanReceiverResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.common.RemoveSpanReceiverResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.class, org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.tracing.TraceAdminPB.internal_static_hadoop_common_RemoveSpanReceiverResponseProto_descriptor;
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance();
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto build() {
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto buildPartial() {
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto result = new org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto) {
return mergeFrom((org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto other) {
if (other == org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.common.RemoveSpanReceiverResponseProto)
}
static {
defaultInstance = new RemoveSpanReceiverResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.common.RemoveSpanReceiverResponseProto)
}
/**
* Protobuf service {@code hadoop.common.TraceAdminService}
*/
public static abstract class TraceAdminService
implements io.prestosql.hadoop.$internal.com.google.protobuf.Service {
protected TraceAdminService() {}
public interface Interface {
/**
* rpc listSpanReceivers(.hadoop.common.ListSpanReceiversRequestProto) returns (.hadoop.common.ListSpanReceiversResponseProto);
*/
public abstract void listSpanReceivers(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done);
/**
* rpc addSpanReceiver(.hadoop.common.AddSpanReceiverRequestProto) returns (.hadoop.common.AddSpanReceiverResponseProto);
*/
public abstract void addSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done);
/**
* rpc removeSpanReceiver(.hadoop.common.RemoveSpanReceiverRequestProto) returns (.hadoop.common.RemoveSpanReceiverResponseProto);
*/
public abstract void removeSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new TraceAdminService() {
@java.lang.Override
public void listSpanReceivers(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) {
impl.listSpanReceivers(controller, request, done);
}
@java.lang.Override
public void addSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) {
impl.addSpanReceiver(controller, request, done);
}
@java.lang.Override
public void removeSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) {
impl.removeSpanReceiver(controller, request, done);
}
};
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new io.prestosql.hadoop.$internal.com.google.protobuf.BlockingService() {
public final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message callBlockingMethod(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
io.prestosql.hadoop.$internal.com.google.protobuf.Message request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.listSpanReceivers(controller, (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto)request);
case 1:
return impl.addSpanReceiver(controller, (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto)request);
case 2:
return impl.removeSpanReceiver(controller, (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message
getRequestPrototype(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message
getResponsePrototype(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc listSpanReceivers(.hadoop.common.ListSpanReceiversRequestProto) returns (.hadoop.common.ListSpanReceiversResponseProto);
*/
public abstract void listSpanReceivers(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done);
/**
* rpc addSpanReceiver(.hadoop.common.AddSpanReceiverRequestProto) returns (.hadoop.common.AddSpanReceiverResponseProto);
*/
public abstract void addSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done);
/**
* rpc removeSpanReceiver(.hadoop.common.RemoveSpanReceiverRequestProto) returns (.hadoop.common.RemoveSpanReceiverResponseProto);
*/
public abstract void removeSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done);
public static final
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.tracing.TraceAdminPB.getDescriptor().getServices().get(0);
}
public final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
io.prestosql.hadoop.$internal.com.google.protobuf.Message request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback<
io.prestosql.hadoop.$internal.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.listSpanReceivers(controller, (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto)request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.addSpanReceiver(controller, (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto)request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 2:
this.removeSpanReceiver(controller, (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto)request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message
getRequestPrototype(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final io.prestosql.hadoop.$internal.com.google.protobuf.Message
getResponsePrototype(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.tracing.TraceAdminPB.TraceAdminService implements Interface {
private Stub(io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel channel;
public io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void listSpanReceivers(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance(),
io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.class,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance()));
}
public void addSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance(),
io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.class,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance()));
}
public void removeSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto request,
io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance(),
io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.class,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
io.prestosql.hadoop.$internal.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto listSpanReceivers(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException;
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto addSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException;
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto removeSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(io.prestosql.hadoop.$internal.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto listSpanReceivers(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversRequestProto request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException {
return (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto.getDefaultInstance());
}
public org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto addSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverRequestProto request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException {
return (org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.tracing.TraceAdminPB.AddSpanReceiverResponseProto.getDefaultInstance());
}
public org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto removeSpanReceiver(
io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto request)
throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException {
return (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.common.TraceAdminService)
}
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_ListSpanReceiversRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_ListSpanReceiversRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_SpanReceiverListInfo_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_SpanReceiverListInfo_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_ListSpanReceiversResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_ListSpanReceiversResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_ConfigPair_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_ConfigPair_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_AddSpanReceiverRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_AddSpanReceiverRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_AddSpanReceiverResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_AddSpanReceiverResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_RemoveSpanReceiverRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_RemoveSpanReceiverRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_common_RemoveSpanReceiverResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_common_RemoveSpanReceiverResponseProto_fieldAccessorTable;
public static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\020TraceAdmin.proto\022\rhadoop.common\"\037\n\035Lis" +
"tSpanReceiversRequestProto\"5\n\024SpanReceiv" +
"erListInfo\022\n\n\002id\030\001 \002(\003\022\021\n\tclassName\030\002 \002(" +
"\t\"[\n\036ListSpanReceiversResponseProto\0229\n\014d" +
"escriptions\030\001 \003(\0132#.hadoop.common.SpanRe" +
"ceiverListInfo\"(\n\nConfigPair\022\013\n\003key\030\001 \002(" +
"\t\022\r\n\005value\030\002 \002(\t\"[\n\033AddSpanReceiverReque" +
"stProto\022\021\n\tclassName\030\001 \002(\t\022)\n\006config\030\002 \003" +
"(\0132\031.hadoop.common.ConfigPair\"*\n\034AddSpan" +
"ReceiverResponseProto\022\n\n\002id\030\001 \002(\003\",\n\036Rem",
"oveSpanReceiverRequestProto\022\n\n\002id\030\001 \002(\003\"" +
"!\n\037RemoveSpanReceiverResponseProto2\346\002\n\021T" +
"raceAdminService\022p\n\021listSpanReceivers\022,." +
"hadoop.common.ListSpanReceiversRequestPr" +
"oto\032-.hadoop.common.ListSpanReceiversRes" +
"ponseProto\022j\n\017addSpanReceiver\022*.hadoop.c" +
"ommon.AddSpanReceiverRequestProto\032+.hado" +
"op.common.AddSpanReceiverResponseProto\022s" +
"\n\022removeSpanReceiver\022-.hadoop.common.Rem" +
"oveSpanReceiverRequestProto\032..hadoop.com",
"mon.RemoveSpanReceiverResponseProtoB/\n\031o" +
"rg.apache.hadoop.tracingB\014TraceAdminPB\210\001" +
"\001\240\001\001"
};
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistry assignDescriptors(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_hadoop_common_ListSpanReceiversRequestProto_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_hadoop_common_ListSpanReceiversRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_ListSpanReceiversRequestProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_common_SpanReceiverListInfo_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_hadoop_common_SpanReceiverListInfo_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_SpanReceiverListInfo_descriptor,
new java.lang.String[] { "Id", "ClassName", });
internal_static_hadoop_common_ListSpanReceiversResponseProto_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_hadoop_common_ListSpanReceiversResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_ListSpanReceiversResponseProto_descriptor,
new java.lang.String[] { "Descriptions", });
internal_static_hadoop_common_ConfigPair_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_hadoop_common_ConfigPair_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_ConfigPair_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_hadoop_common_AddSpanReceiverRequestProto_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_hadoop_common_AddSpanReceiverRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_AddSpanReceiverRequestProto_descriptor,
new java.lang.String[] { "ClassName", "Config", });
internal_static_hadoop_common_AddSpanReceiverResponseProto_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_hadoop_common_AddSpanReceiverResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_AddSpanReceiverResponseProto_descriptor,
new java.lang.String[] { "Id", });
internal_static_hadoop_common_RemoveSpanReceiverRequestProto_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_hadoop_common_RemoveSpanReceiverRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_RemoveSpanReceiverRequestProto_descriptor,
new java.lang.String[] { "Id", });
internal_static_hadoop_common_RemoveSpanReceiverResponseProto_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_hadoop_common_RemoveSpanReceiverResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_common_RemoveSpanReceiverResponseProto_descriptor,
new java.lang.String[] { });
return null;
}
};
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}