Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
lightstep.com.google.protobuf.DescriptorProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: lightstep.lightstep.google.protobuf/descriptor.proto
package lightstep.com.lightstep.lightstep.google.protobuf;
public final class DescriptorProtos {
private DescriptorProtos() {}
public static void registerAllExtensions(
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FileDescriptorSetOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.FileDescriptorSet)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
java.util.List
getFileList();
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
int getFileCount();
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
getFileOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
int index);
}
/**
*
* The protocol compiler can output a FileDescriptorSet containing the .proto
* files it parses.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.FileDescriptorSet}
*/
public static final class FileDescriptorSet extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.FileDescriptorSet)
FileDescriptorSetOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileDescriptorSet.newBuilder() to construct.
private FileDescriptorSet(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FileDescriptorSet() {
file_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileDescriptorSet(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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)) {
file_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
file_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
file_ = java.util.Collections.unmodifiableList(file_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder.class);
}
public static final int FILE_FIELD_NUMBER = 1;
private java.util.List file_;
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public java.util.List getFileList() {
return file_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
getFileOrBuilderList() {
return file_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public int getFileCount() {
return file_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
return file_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
int index) {
return file_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getFileCount(); i++) {
if (!getFile(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < file_.size(); i++) {
output.writeMessage(1, file_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < file_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(1, file_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet) obj;
boolean result = true;
result = result && getFileList()
.equals(other.getFileList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFileCount() > 0) {
hash = (37 * hash) + FILE_FIELD_NUMBER;
hash = (53 * hash) + getFileList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* The protocol compiler can output a FileDescriptorSet containing the .proto
* files it parses.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.FileDescriptorSet}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.FileDescriptorSet)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFileFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (fileBuilder_ == null) {
file_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
fileBuilder_.clear();
}
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet(this);
int from_bitField0_ = bitField0_;
if (fileBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
file_ = java.util.Collections.unmodifiableList(file_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.file_ = file_;
} else {
result.file_ = fileBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance()) return this;
if (fileBuilder_ == null) {
if (!other.file_.isEmpty()) {
if (file_.isEmpty()) {
file_ = other.file_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFileIsMutable();
file_.addAll(other.file_);
}
onChanged();
}
} else {
if (!other.file_.isEmpty()) {
if (fileBuilder_.isEmpty()) {
fileBuilder_.dispose();
fileBuilder_ = null;
file_ = other.file_;
bitField0_ = (bitField0_ & ~0x00000001);
fileBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFileFieldBuilder() : null;
} else {
fileBuilder_.addAllMessages(other.file_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getFileCount(); i++) {
if (!getFile(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List file_ =
java.util.Collections.emptyList();
private void ensureFileIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
file_ = new java.util.ArrayList(file_);
bitField0_ |= 0x00000001;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> fileBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public java.util.List getFileList() {
if (fileBuilder_ == null) {
return java.util.Collections.unmodifiableList(file_);
} else {
return fileBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public int getFileCount() {
if (fileBuilder_ == null) {
return file_.size();
} else {
return fileBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
if (fileBuilder_ == null) {
return file_.get(index);
} else {
return fileBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder setFile(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
if (fileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileIsMutable();
file_.set(index, value);
onChanged();
} else {
fileBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder setFile(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
if (fileBuilder_ == null) {
ensureFileIsMutable();
file_.set(index, builderForValue.build());
onChanged();
} else {
fileBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder addFile(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
if (fileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileIsMutable();
file_.add(value);
onChanged();
} else {
fileBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder addFile(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
if (fileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileIsMutable();
file_.add(index, value);
onChanged();
} else {
fileBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder addFile(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
if (fileBuilder_ == null) {
ensureFileIsMutable();
file_.add(builderForValue.build());
onChanged();
} else {
fileBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder addFile(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
if (fileBuilder_ == null) {
ensureFileIsMutable();
file_.add(index, builderForValue.build());
onChanged();
} else {
fileBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder addAllFile(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto> values) {
if (fileBuilder_ == null) {
ensureFileIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, file_);
onChanged();
} else {
fileBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder clearFile() {
if (fileBuilder_ == null) {
file_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
fileBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public Builder removeFile(int index) {
if (fileBuilder_ == null) {
ensureFileIsMutable();
file_.remove(index);
onChanged();
} else {
fileBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder getFileBuilder(
int index) {
return getFileFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
int index) {
if (fileBuilder_ == null) {
return file_.get(index); } else {
return fileBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
getFileOrBuilderList() {
if (fileBuilder_ != null) {
return fileBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(file_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder addFileBuilder() {
return getFileFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder addFileBuilder(
int index) {
return getFileFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FileDescriptorProto file = 1;
*/
public java.util.List
getFileBuilderList() {
return getFileFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
getFileFieldBuilder() {
if (fileBuilder_ == null) {
fileBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>(
file_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
file_ = null;
}
return fileBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.FileDescriptorSet)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.FileDescriptorSet)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public FileDescriptorSet parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new FileDescriptorSet(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FileDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.FileDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
boolean hasName();
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
java.lang.String getName();
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
boolean hasPackage();
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
java.lang.String getPackage();
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPackageBytes();
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
java.util.List
getDependencyList();
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
int getDependencyCount();
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
java.lang.String getDependency(int index);
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getDependencyBytes(int index);
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
java.util.List getPublicDependencyList();
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
int getPublicDependencyCount();
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
int getPublicDependency(int index);
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
java.util.List getWeakDependencyList();
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
int getWeakDependencyCount();
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
int getWeakDependency(int index);
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
java.util.List
getMessageTypeList();
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index);
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
int getMessageTypeCount();
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeOrBuilderList();
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
java.util.List
getEnumTypeList();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
int getEnumTypeCount();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
java.util.List
getServiceList();
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
int getServiceCount();
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
java.util.List
getExtensionList();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
int getExtensionCount();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index);
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder();
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
boolean hasSourceCodeInfo();
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo();
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder();
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
boolean hasSyntax();
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
java.lang.String getSyntax();
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getSyntaxBytes();
}
/**
*
* Describes a complete .proto file.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.FileDescriptorProto}
*/
public static final class FileDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.FileDescriptorProto)
FileDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileDescriptorProto.newBuilder() to construct.
private FileDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FileDescriptorProto() {
name_ = "";
package_ = "";
dependency_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
publicDependency_ = java.util.Collections.emptyList();
weakDependency_ = java.util.Collections.emptyList();
messageType_ = java.util.Collections.emptyList();
enumType_ = java.util.Collections.emptyList();
service_ = java.util.Collections.emptyList();
extension_ = java.util.Collections.emptyList();
syntax_ = "";
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
package_ = bs;
break;
}
case 26: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
dependency_ = new lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
dependency_.add(bs);
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
messageType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
messageType_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
enumType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
enumType_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
service_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
service_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.PARSER, extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
extension_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
extension_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry));
break;
}
case 66: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 74: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = sourceCodeInfo_.toBuilder();
}
sourceCodeInfo_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sourceCodeInfo_);
sourceCodeInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 80: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
publicDependency_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
publicDependency_.add(input.readInt32());
break;
}
case 82: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
publicDependency_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
while (input.getBytesUntilLimit() > 0) {
publicDependency_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 88: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
weakDependency_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
weakDependency_.add(input.readInt32());
break;
}
case 90: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
weakDependency_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
weakDependency_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 98: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
syntax_ = bs;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
dependency_ = dependency_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
messageType_ = java.util.Collections.unmodifiableList(messageType_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
enumType_ = java.util.Collections.unmodifiableList(enumType_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
service_ = java.util.Collections.unmodifiableList(service_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
extension_ = java.util.Collections.unmodifiableList(extension_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
publicDependency_ = java.util.Collections.unmodifiableList(publicDependency_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
weakDependency_ = java.util.Collections.unmodifiableList(weakDependency_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int PACKAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object package_;
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public boolean hasPackage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public java.lang.String getPackage() {
java.lang.Object ref = package_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
package_ = s;
}
return s;
}
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPackageBytes() {
java.lang.Object ref = package_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
package_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int DEPENDENCY_FIELD_NUMBER = 3;
private lightstep.com.lightstep.lightstep.google.protobuf.LazyStringList dependency_;
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ProtocolStringList
getDependencyList() {
return dependency_;
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public int getDependencyCount() {
return dependency_.size();
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public java.lang.String getDependency(int index) {
return dependency_.get(index);
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getDependencyBytes(int index) {
return dependency_.getByteString(index);
}
public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER = 10;
private java.util.List publicDependency_;
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public java.util.List
getPublicDependencyList() {
return publicDependency_;
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public int getPublicDependencyCount() {
return publicDependency_.size();
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public int getPublicDependency(int index) {
return publicDependency_.get(index);
}
public static final int WEAK_DEPENDENCY_FIELD_NUMBER = 11;
private java.util.List weakDependency_;
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public java.util.List
getWeakDependencyList() {
return weakDependency_;
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public int getWeakDependencyCount() {
return weakDependency_.size();
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public int getWeakDependency(int index) {
return weakDependency_.get(index);
}
public static final int MESSAGE_TYPE_FIELD_NUMBER = 4;
private java.util.List messageType_;
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public java.util.List getMessageTypeList() {
return messageType_;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeOrBuilderList() {
return messageType_;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public int getMessageTypeCount() {
return messageType_.size();
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
return messageType_.get(index);
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
int index) {
return messageType_.get(index);
}
public static final int ENUM_TYPE_FIELD_NUMBER = 5;
private java.util.List enumType_;
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public java.util.List getEnumTypeList() {
return enumType_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList() {
return enumType_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public int getEnumTypeCount() {
return enumType_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
return enumType_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index) {
return enumType_.get(index);
}
public static final int SERVICE_FIELD_NUMBER = 6;
private java.util.List service_;
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public java.util.List getServiceList() {
return service_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceOrBuilderList() {
return service_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public int getServiceCount() {
return service_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
return service_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
int index) {
return service_.get(index);
}
public static final int EXTENSION_FIELD_NUMBER = 7;
private java.util.List extension_;
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public java.util.List getExtensionList() {
return extension_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList() {
return extension_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public int getExtensionCount() {
return extension_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
return extension_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index) {
return extension_.get(index);
}
public static final int OPTIONS_FIELD_NUMBER = 8;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_;
}
public static final int SOURCE_CODE_INFO_FIELD_NUMBER = 9;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_;
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public boolean hasSourceCodeInfo() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() {
return sourceCodeInfo_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_;
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() {
return sourceCodeInfo_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_;
}
public static final int SYNTAX_FIELD_NUMBER = 12;
private volatile java.lang.Object syntax_;
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public boolean hasSyntax() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public java.lang.String getSyntax() {
java.lang.Object ref = syntax_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
syntax_ = s;
}
return s;
}
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getSyntaxBytes() {
java.lang.Object ref = syntax_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syntax_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getMessageTypeCount(); i++) {
if (!getMessageType(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getEnumTypeCount(); i++) {
if (!getEnumType(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getServiceCount(); i++) {
if (!getService(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getExtensionCount(); i++) {
if (!getExtension(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 2, package_);
}
for (int i = 0; i < dependency_.size(); i++) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 3, dependency_.getRaw(i));
}
for (int i = 0; i < messageType_.size(); i++) {
output.writeMessage(4, messageType_.get(i));
}
for (int i = 0; i < enumType_.size(); i++) {
output.writeMessage(5, enumType_.get(i));
}
for (int i = 0; i < service_.size(); i++) {
output.writeMessage(6, service_.get(i));
}
for (int i = 0; i < extension_.size(); i++) {
output.writeMessage(7, extension_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(8, getOptions());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(9, getSourceCodeInfo());
}
for (int i = 0; i < publicDependency_.size(); i++) {
output.writeInt32(10, publicDependency_.get(i));
}
for (int i = 0; i < weakDependency_.size(); i++) {
output.writeInt32(11, weakDependency_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 12, syntax_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(2, package_);
}
{
int dataSize = 0;
for (int i = 0; i < dependency_.size(); i++) {
dataSize += computeStringSizeNoTag(dependency_.getRaw(i));
}
size += dataSize;
size += 1 * getDependencyList().size();
}
for (int i = 0; i < messageType_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(4, messageType_.get(i));
}
for (int i = 0; i < enumType_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(5, enumType_.get(i));
}
for (int i = 0; i < service_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(6, service_.get(i));
}
for (int i = 0; i < extension_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(7, extension_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(8, getOptions());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(9, getSourceCodeInfo());
}
{
int dataSize = 0;
for (int i = 0; i < publicDependency_.size(); i++) {
dataSize += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(publicDependency_.get(i));
}
size += dataSize;
size += 1 * getPublicDependencyList().size();
}
{
int dataSize = 0;
for (int i = 0; i < weakDependency_.size(); i++) {
dataSize += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(weakDependency_.get(i));
}
size += dataSize;
size += 1 * getWeakDependencyList().size();
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(12, syntax_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasPackage() == other.hasPackage());
if (hasPackage()) {
result = result && getPackage()
.equals(other.getPackage());
}
result = result && getDependencyList()
.equals(other.getDependencyList());
result = result && getPublicDependencyList()
.equals(other.getPublicDependencyList());
result = result && getWeakDependencyList()
.equals(other.getWeakDependencyList());
result = result && getMessageTypeList()
.equals(other.getMessageTypeList());
result = result && getEnumTypeList()
.equals(other.getEnumTypeList());
result = result && getServiceList()
.equals(other.getServiceList());
result = result && getExtensionList()
.equals(other.getExtensionList());
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && (hasSourceCodeInfo() == other.hasSourceCodeInfo());
if (hasSourceCodeInfo()) {
result = result && getSourceCodeInfo()
.equals(other.getSourceCodeInfo());
}
result = result && (hasSyntax() == other.hasSyntax());
if (hasSyntax()) {
result = result && getSyntax()
.equals(other.getSyntax());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasPackage()) {
hash = (37 * hash) + PACKAGE_FIELD_NUMBER;
hash = (53 * hash) + getPackage().hashCode();
}
if (getDependencyCount() > 0) {
hash = (37 * hash) + DEPENDENCY_FIELD_NUMBER;
hash = (53 * hash) + getDependencyList().hashCode();
}
if (getPublicDependencyCount() > 0) {
hash = (37 * hash) + PUBLIC_DEPENDENCY_FIELD_NUMBER;
hash = (53 * hash) + getPublicDependencyList().hashCode();
}
if (getWeakDependencyCount() > 0) {
hash = (37 * hash) + WEAK_DEPENDENCY_FIELD_NUMBER;
hash = (53 * hash) + getWeakDependencyList().hashCode();
}
if (getMessageTypeCount() > 0) {
hash = (37 * hash) + MESSAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMessageTypeList().hashCode();
}
if (getEnumTypeCount() > 0) {
hash = (37 * hash) + ENUM_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getEnumTypeList().hashCode();
}
if (getServiceCount() > 0) {
hash = (37 * hash) + SERVICE_FIELD_NUMBER;
hash = (53 * hash) + getServiceList().hashCode();
}
if (getExtensionCount() > 0) {
hash = (37 * hash) + EXTENSION_FIELD_NUMBER;
hash = (53 * hash) + getExtensionList().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
if (hasSourceCodeInfo()) {
hash = (37 * hash) + SOURCE_CODE_INFO_FIELD_NUMBER;
hash = (53 * hash) + getSourceCodeInfo().hashCode();
}
if (hasSyntax()) {
hash = (37 * hash) + SYNTAX_FIELD_NUMBER;
hash = (53 * hash) + getSyntax().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a complete .proto file.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.FileDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.FileDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMessageTypeFieldBuilder();
getEnumTypeFieldBuilder();
getServiceFieldBuilder();
getExtensionFieldBuilder();
getOptionsFieldBuilder();
getSourceCodeInfoFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
package_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
dependency_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
publicDependency_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
weakDependency_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
if (messageTypeBuilder_ == null) {
messageType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
messageTypeBuilder_.clear();
}
if (enumTypeBuilder_ == null) {
enumType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
enumTypeBuilder_.clear();
}
if (serviceBuilder_ == null) {
service_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
serviceBuilder_.clear();
}
if (extensionBuilder_ == null) {
extension_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
extensionBuilder_.clear();
}
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
if (sourceCodeInfoBuilder_ == null) {
sourceCodeInfo_ = null;
} else {
sourceCodeInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
syntax_ = "";
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.package_ = package_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
dependency_ = dependency_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.dependency_ = dependency_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
publicDependency_ = java.util.Collections.unmodifiableList(publicDependency_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.publicDependency_ = publicDependency_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
weakDependency_ = java.util.Collections.unmodifiableList(weakDependency_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.weakDependency_ = weakDependency_;
if (messageTypeBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
messageType_ = java.util.Collections.unmodifiableList(messageType_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.messageType_ = messageType_;
} else {
result.messageType_ = messageTypeBuilder_.build();
}
if (enumTypeBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
enumType_ = java.util.Collections.unmodifiableList(enumType_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.enumType_ = enumType_;
} else {
result.enumType_ = enumTypeBuilder_.build();
}
if (serviceBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
service_ = java.util.Collections.unmodifiableList(service_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.service_ = service_;
} else {
result.service_ = serviceBuilder_.build();
}
if (extensionBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
extension_ = java.util.Collections.unmodifiableList(extension_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.extension_ = extension_;
} else {
result.extension_ = extensionBuilder_.build();
}
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000004;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000008;
}
if (sourceCodeInfoBuilder_ == null) {
result.sourceCodeInfo_ = sourceCodeInfo_;
} else {
result.sourceCodeInfo_ = sourceCodeInfoBuilder_.build();
}
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000010;
}
result.syntax_ = syntax_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasPackage()) {
bitField0_ |= 0x00000002;
package_ = other.package_;
onChanged();
}
if (!other.dependency_.isEmpty()) {
if (dependency_.isEmpty()) {
dependency_ = other.dependency_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDependencyIsMutable();
dependency_.addAll(other.dependency_);
}
onChanged();
}
if (!other.publicDependency_.isEmpty()) {
if (publicDependency_.isEmpty()) {
publicDependency_ = other.publicDependency_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensurePublicDependencyIsMutable();
publicDependency_.addAll(other.publicDependency_);
}
onChanged();
}
if (!other.weakDependency_.isEmpty()) {
if (weakDependency_.isEmpty()) {
weakDependency_ = other.weakDependency_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureWeakDependencyIsMutable();
weakDependency_.addAll(other.weakDependency_);
}
onChanged();
}
if (messageTypeBuilder_ == null) {
if (!other.messageType_.isEmpty()) {
if (messageType_.isEmpty()) {
messageType_ = other.messageType_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureMessageTypeIsMutable();
messageType_.addAll(other.messageType_);
}
onChanged();
}
} else {
if (!other.messageType_.isEmpty()) {
if (messageTypeBuilder_.isEmpty()) {
messageTypeBuilder_.dispose();
messageTypeBuilder_ = null;
messageType_ = other.messageType_;
bitField0_ = (bitField0_ & ~0x00000020);
messageTypeBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMessageTypeFieldBuilder() : null;
} else {
messageTypeBuilder_.addAllMessages(other.messageType_);
}
}
}
if (enumTypeBuilder_ == null) {
if (!other.enumType_.isEmpty()) {
if (enumType_.isEmpty()) {
enumType_ = other.enumType_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureEnumTypeIsMutable();
enumType_.addAll(other.enumType_);
}
onChanged();
}
} else {
if (!other.enumType_.isEmpty()) {
if (enumTypeBuilder_.isEmpty()) {
enumTypeBuilder_.dispose();
enumTypeBuilder_ = null;
enumType_ = other.enumType_;
bitField0_ = (bitField0_ & ~0x00000040);
enumTypeBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEnumTypeFieldBuilder() : null;
} else {
enumTypeBuilder_.addAllMessages(other.enumType_);
}
}
}
if (serviceBuilder_ == null) {
if (!other.service_.isEmpty()) {
if (service_.isEmpty()) {
service_ = other.service_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureServiceIsMutable();
service_.addAll(other.service_);
}
onChanged();
}
} else {
if (!other.service_.isEmpty()) {
if (serviceBuilder_.isEmpty()) {
serviceBuilder_.dispose();
serviceBuilder_ = null;
service_ = other.service_;
bitField0_ = (bitField0_ & ~0x00000080);
serviceBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceFieldBuilder() : null;
} else {
serviceBuilder_.addAllMessages(other.service_);
}
}
}
if (extensionBuilder_ == null) {
if (!other.extension_.isEmpty()) {
if (extension_.isEmpty()) {
extension_ = other.extension_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureExtensionIsMutable();
extension_.addAll(other.extension_);
}
onChanged();
}
} else {
if (!other.extension_.isEmpty()) {
if (extensionBuilder_.isEmpty()) {
extensionBuilder_.dispose();
extensionBuilder_ = null;
extension_ = other.extension_;
bitField0_ = (bitField0_ & ~0x00000100);
extensionBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExtensionFieldBuilder() : null;
} else {
extensionBuilder_.addAllMessages(other.extension_);
}
}
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
if (other.hasSourceCodeInfo()) {
mergeSourceCodeInfo(other.getSourceCodeInfo());
}
if (other.hasSyntax()) {
bitField0_ |= 0x00000800;
syntax_ = other.syntax_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getMessageTypeCount(); i++) {
if (!getMessageType(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getEnumTypeCount(); i++) {
if (!getEnumType(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getServiceCount(); i++) {
if (!getService(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getExtensionCount(); i++) {
if (!getExtension(i).isInitialized()) {
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* file name, relative to root of source tree
*
*
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.lang.Object package_ = "";
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public boolean hasPackage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public java.lang.String getPackage() {
java.lang.Object ref = package_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
package_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPackageBytes() {
java.lang.Object ref = package_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
package_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public Builder setPackage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
package_ = value;
onChanged();
return this;
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public Builder clearPackage() {
bitField0_ = (bitField0_ & ~0x00000002);
package_ = getDefaultInstance().getPackage();
onChanged();
return this;
}
/**
*
* e.g. "foo", "foo.bar", etc.
*
*
* optional string package = 2;
*/
public Builder setPackageBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
package_ = value;
onChanged();
return this;
}
private lightstep.com.lightstep.lightstep.google.protobuf.LazyStringList dependency_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDependencyIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
dependency_ = new lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList(dependency_);
bitField0_ |= 0x00000004;
}
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ProtocolStringList
getDependencyList() {
return dependency_.getUnmodifiableView();
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public int getDependencyCount() {
return dependency_.size();
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public java.lang.String getDependency(int index) {
return dependency_.get(index);
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getDependencyBytes(int index) {
return dependency_.getByteString(index);
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public Builder setDependency(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDependencyIsMutable();
dependency_.set(index, value);
onChanged();
return this;
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public Builder addDependency(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDependencyIsMutable();
dependency_.add(value);
onChanged();
return this;
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public Builder addAllDependency(
java.lang.Iterable values) {
ensureDependencyIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dependency_);
onChanged();
return this;
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public Builder clearDependency() {
dependency_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Names of files imported by this file.
*
*
* repeated string dependency = 3;
*/
public Builder addDependencyBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureDependencyIsMutable();
dependency_.add(value);
onChanged();
return this;
}
private java.util.List publicDependency_ = java.util.Collections.emptyList();
private void ensurePublicDependencyIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
publicDependency_ = new java.util.ArrayList(publicDependency_);
bitField0_ |= 0x00000008;
}
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public java.util.List
getPublicDependencyList() {
return java.util.Collections.unmodifiableList(publicDependency_);
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public int getPublicDependencyCount() {
return publicDependency_.size();
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public int getPublicDependency(int index) {
return publicDependency_.get(index);
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public Builder setPublicDependency(
int index, int value) {
ensurePublicDependencyIsMutable();
publicDependency_.set(index, value);
onChanged();
return this;
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public Builder addPublicDependency(int value) {
ensurePublicDependencyIsMutable();
publicDependency_.add(value);
onChanged();
return this;
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public Builder addAllPublicDependency(
java.lang.Iterable extends java.lang.Integer> values) {
ensurePublicDependencyIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, publicDependency_);
onChanged();
return this;
}
/**
*
* Indexes of the public imported files in the dependency list above.
*
*
* repeated int32 public_dependency = 10;
*/
public Builder clearPublicDependency() {
publicDependency_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private java.util.List weakDependency_ = java.util.Collections.emptyList();
private void ensureWeakDependencyIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
weakDependency_ = new java.util.ArrayList(weakDependency_);
bitField0_ |= 0x00000010;
}
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public java.util.List
getWeakDependencyList() {
return java.util.Collections.unmodifiableList(weakDependency_);
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public int getWeakDependencyCount() {
return weakDependency_.size();
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public int getWeakDependency(int index) {
return weakDependency_.get(index);
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public Builder setWeakDependency(
int index, int value) {
ensureWeakDependencyIsMutable();
weakDependency_.set(index, value);
onChanged();
return this;
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public Builder addWeakDependency(int value) {
ensureWeakDependencyIsMutable();
weakDependency_.add(value);
onChanged();
return this;
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public Builder addAllWeakDependency(
java.lang.Iterable extends java.lang.Integer> values) {
ensureWeakDependencyIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, weakDependency_);
onChanged();
return this;
}
/**
*
* Indexes of the weak imported files in the dependency list.
* For Google-internal migration only. Do not use.
*
*
* repeated int32 weak_dependency = 11;
*/
public Builder clearWeakDependency() {
weakDependency_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private java.util.List messageType_ =
java.util.Collections.emptyList();
private void ensureMessageTypeIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
messageType_ = new java.util.ArrayList(messageType_);
bitField0_ |= 0x00000020;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> messageTypeBuilder_;
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public java.util.List getMessageTypeList() {
if (messageTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(messageType_);
} else {
return messageTypeBuilder_.getMessageList();
}
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public int getMessageTypeCount() {
if (messageTypeBuilder_ == null) {
return messageType_.size();
} else {
return messageTypeBuilder_.getCount();
}
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
if (messageTypeBuilder_ == null) {
return messageType_.get(index);
} else {
return messageTypeBuilder_.getMessage(index);
}
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder setMessageType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto value) {
if (messageTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMessageTypeIsMutable();
messageType_.set(index, value);
onChanged();
} else {
messageTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder setMessageType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
if (messageTypeBuilder_ == null) {
ensureMessageTypeIsMutable();
messageType_.set(index, builderForValue.build());
onChanged();
} else {
messageTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder addMessageType(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto value) {
if (messageTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMessageTypeIsMutable();
messageType_.add(value);
onChanged();
} else {
messageTypeBuilder_.addMessage(value);
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder addMessageType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto value) {
if (messageTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMessageTypeIsMutable();
messageType_.add(index, value);
onChanged();
} else {
messageTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder addMessageType(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
if (messageTypeBuilder_ == null) {
ensureMessageTypeIsMutable();
messageType_.add(builderForValue.build());
onChanged();
} else {
messageTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder addMessageType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
if (messageTypeBuilder_ == null) {
ensureMessageTypeIsMutable();
messageType_.add(index, builderForValue.build());
onChanged();
} else {
messageTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder addAllMessageType(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto> values) {
if (messageTypeBuilder_ == null) {
ensureMessageTypeIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, messageType_);
onChanged();
} else {
messageTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder clearMessageType() {
if (messageTypeBuilder_ == null) {
messageType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
messageTypeBuilder_.clear();
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public Builder removeMessageType(int index) {
if (messageTypeBuilder_ == null) {
ensureMessageTypeIsMutable();
messageType_.remove(index);
onChanged();
} else {
messageTypeBuilder_.remove(index);
}
return this;
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder(
int index) {
return getMessageTypeFieldBuilder().getBuilder(index);
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
int index) {
if (messageTypeBuilder_ == null) {
return messageType_.get(index); } else {
return messageTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeOrBuilderList() {
if (messageTypeBuilder_ != null) {
return messageTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(messageType_);
}
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder() {
return getMessageTypeFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder(
int index) {
return getMessageTypeFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
}
/**
*
* All top-level definitions in this file.
*
*
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto message_type = 4;
*/
public java.util.List
getMessageTypeBuilderList() {
return getMessageTypeFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeFieldBuilder() {
if (messageTypeBuilder_ == null) {
messageTypeBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
messageType_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
messageType_ = null;
}
return messageTypeBuilder_;
}
private java.util.List enumType_ =
java.util.Collections.emptyList();
private void ensureEnumTypeIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
enumType_ = new java.util.ArrayList(enumType_);
bitField0_ |= 0x00000040;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> enumTypeBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public java.util.List getEnumTypeList() {
if (enumTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(enumType_);
} else {
return enumTypeBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public int getEnumTypeCount() {
if (enumTypeBuilder_ == null) {
return enumType_.size();
} else {
return enumTypeBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
if (enumTypeBuilder_ == null) {
return enumType_.get(index);
} else {
return enumTypeBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder setEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
if (enumTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumTypeIsMutable();
enumType_.set(index, value);
onChanged();
} else {
enumTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder setEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.set(index, builderForValue.build());
onChanged();
} else {
enumTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder addEnumType(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
if (enumTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumTypeIsMutable();
enumType_.add(value);
onChanged();
} else {
enumTypeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder addEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
if (enumTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumTypeIsMutable();
enumType_.add(index, value);
onChanged();
} else {
enumTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder addEnumType(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.add(builderForValue.build());
onChanged();
} else {
enumTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder addEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.add(index, builderForValue.build());
onChanged();
} else {
enumTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder addAllEnumType(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, enumType_);
onChanged();
} else {
enumTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder clearEnumType() {
if (enumTypeBuilder_ == null) {
enumType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
enumTypeBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public Builder removeEnumType(int index) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.remove(index);
onChanged();
} else {
enumTypeBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(
int index) {
return getEnumTypeFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index) {
if (enumTypeBuilder_ == null) {
return enumType_.get(index); } else {
return enumTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList() {
if (enumTypeBuilder_ != null) {
return enumTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(enumType_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder() {
return getEnumTypeFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(
int index) {
return getEnumTypeFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 5;
*/
public java.util.List
getEnumTypeBuilderList() {
return getEnumTypeFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeFieldBuilder() {
if (enumTypeBuilder_ == null) {
enumTypeBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>(
enumType_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
enumType_ = null;
}
return enumTypeBuilder_;
}
private java.util.List service_ =
java.util.Collections.emptyList();
private void ensureServiceIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
service_ = new java.util.ArrayList(service_);
bitField0_ |= 0x00000080;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> serviceBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public java.util.List getServiceList() {
if (serviceBuilder_ == null) {
return java.util.Collections.unmodifiableList(service_);
} else {
return serviceBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public int getServiceCount() {
if (serviceBuilder_ == null) {
return service_.size();
} else {
return serviceBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
if (serviceBuilder_ == null) {
return service_.get(index);
} else {
return serviceBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder setService(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
if (serviceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIsMutable();
service_.set(index, value);
onChanged();
} else {
serviceBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder setService(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
if (serviceBuilder_ == null) {
ensureServiceIsMutable();
service_.set(index, builderForValue.build());
onChanged();
} else {
serviceBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder addService(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
if (serviceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIsMutable();
service_.add(value);
onChanged();
} else {
serviceBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder addService(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
if (serviceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIsMutable();
service_.add(index, value);
onChanged();
} else {
serviceBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder addService(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
if (serviceBuilder_ == null) {
ensureServiceIsMutable();
service_.add(builderForValue.build());
onChanged();
} else {
serviceBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder addService(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
if (serviceBuilder_ == null) {
ensureServiceIsMutable();
service_.add(index, builderForValue.build());
onChanged();
} else {
serviceBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder addAllService(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto> values) {
if (serviceBuilder_ == null) {
ensureServiceIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, service_);
onChanged();
} else {
serviceBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder clearService() {
if (serviceBuilder_ == null) {
service_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
serviceBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public Builder removeService(int index) {
if (serviceBuilder_ == null) {
ensureServiceIsMutable();
service_.remove(index);
onChanged();
} else {
serviceBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder getServiceBuilder(
int index) {
return getServiceFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
int index) {
if (serviceBuilder_ == null) {
return service_.get(index); } else {
return serviceBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceOrBuilderList() {
if (serviceBuilder_ != null) {
return serviceBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(service_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder() {
return getServiceFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder(
int index) {
return getServiceFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.ServiceDescriptorProto service = 6;
*/
public java.util.List
getServiceBuilderList() {
return getServiceFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceFieldBuilder() {
if (serviceBuilder_ == null) {
serviceBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>(
service_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
service_ = null;
}
return serviceBuilder_;
}
private java.util.List extension_ =
java.util.Collections.emptyList();
private void ensureExtensionIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
extension_ = new java.util.ArrayList(extension_);
bitField0_ |= 0x00000100;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> extensionBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public java.util.List getExtensionList() {
if (extensionBuilder_ == null) {
return java.util.Collections.unmodifiableList(extension_);
} else {
return extensionBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public int getExtensionCount() {
if (extensionBuilder_ == null) {
return extension_.size();
} else {
return extensionBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
if (extensionBuilder_ == null) {
return extension_.get(index);
} else {
return extensionBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder setExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (extensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionIsMutable();
extension_.set(index, value);
onChanged();
} else {
extensionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder setExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.set(index, builderForValue.build());
onChanged();
} else {
extensionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder addExtension(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (extensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionIsMutable();
extension_.add(value);
onChanged();
} else {
extensionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder addExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (extensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionIsMutable();
extension_.add(index, value);
onChanged();
} else {
extensionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder addExtension(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.add(builderForValue.build());
onChanged();
} else {
extensionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder addExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.add(index, builderForValue.build());
onChanged();
} else {
extensionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder addAllExtension(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, extension_);
onChanged();
} else {
extensionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder clearExtension() {
if (extensionBuilder_ == null) {
extension_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
extensionBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public Builder removeExtension(int index) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.remove(index);
onChanged();
} else {
extensionBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(
int index) {
return getExtensionFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index) {
if (extensionBuilder_ == null) {
return extension_.get(index); } else {
return extensionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList() {
if (extensionBuilder_ != null) {
return extensionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(extension_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder() {
return getExtensionFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(
int index) {
return getExtensionFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 7;
*/
public java.util.List
getExtensionBuilderList() {
return getExtensionFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionFieldBuilder() {
if (extensionBuilder_ == null) {
extensionBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>(
extension_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
extension_ = null;
}
return extensionBuilder_;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions options = 8;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder> sourceCodeInfoBuilder_;
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public boolean hasSourceCodeInfo() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() {
if (sourceCodeInfoBuilder_ == null) {
return sourceCodeInfo_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_;
} else {
return sourceCodeInfoBuilder_.getMessage();
}
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public Builder setSourceCodeInfo(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
if (sourceCodeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceCodeInfo_ = value;
onChanged();
} else {
sourceCodeInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public Builder setSourceCodeInfo(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder builderForValue) {
if (sourceCodeInfoBuilder_ == null) {
sourceCodeInfo_ = builderForValue.build();
onChanged();
} else {
sourceCodeInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
return this;
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public Builder mergeSourceCodeInfo(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
if (sourceCodeInfoBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400) &&
sourceCodeInfo_ != null &&
sourceCodeInfo_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance()) {
sourceCodeInfo_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.newBuilder(sourceCodeInfo_).mergeFrom(value).buildPartial();
} else {
sourceCodeInfo_ = value;
}
onChanged();
} else {
sourceCodeInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public Builder clearSourceCodeInfo() {
if (sourceCodeInfoBuilder_ == null) {
sourceCodeInfo_ = null;
onChanged();
} else {
sourceCodeInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getSourceCodeInfoFieldBuilder().getBuilder();
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() {
if (sourceCodeInfoBuilder_ != null) {
return sourceCodeInfoBuilder_.getMessageOrBuilder();
} else {
return sourceCodeInfo_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_;
}
}
/**
*
* This field contains optional information about the original source code.
* You may safely remove this entire field without harming runtime
* functionality of the descriptors -- the information is needed only by
* development tools.
*
*
* optional .lightstep.lightstep.google.protobuf.SourceCodeInfo source_code_info = 9;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder>
getSourceCodeInfoFieldBuilder() {
if (sourceCodeInfoBuilder_ == null) {
sourceCodeInfoBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder>(
getSourceCodeInfo(),
getParentForChildren(),
isClean());
sourceCodeInfo_ = null;
}
return sourceCodeInfoBuilder_;
}
private java.lang.Object syntax_ = "";
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public boolean hasSyntax() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public java.lang.String getSyntax() {
java.lang.Object ref = syntax_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
syntax_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getSyntaxBytes() {
java.lang.Object ref = syntax_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syntax_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public Builder setSyntax(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
syntax_ = value;
onChanged();
return this;
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public Builder clearSyntax() {
bitField0_ = (bitField0_ & ~0x00000800);
syntax_ = getDefaultInstance().getSyntax();
onChanged();
return this;
}
/**
*
* The syntax of the proto file.
* The supported values are "proto2" and "proto3".
*
*
* optional string syntax = 12;
*/
public Builder setSyntaxBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
syntax_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.FileDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.FileDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public FileDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new FileDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.DescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
java.util.List
getFieldList();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
int getFieldCount();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getFieldOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
java.util.List
getExtensionList();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
int getExtensionCount();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
java.util.List
getNestedTypeList();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
int getNestedTypeCount();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getNestedTypeOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
java.util.List
getEnumTypeList();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
int getEnumTypeCount();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
java.util.List
getExtensionRangeList();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
int getExtensionRangeCount();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
getExtensionRangeOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
int index);
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
java.util.List
getOneofDeclList();
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
int getOneofDeclCount();
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>
getOneofDeclOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(
int index);
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
java.util.List
getReservedRangeList();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
int getReservedRangeCount();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>
getReservedRangeOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(
int index);
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
java.util.List
getReservedNameList();
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
int getReservedNameCount();
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
java.lang.String getReservedName(int index);
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getReservedNameBytes(int index);
}
/**
*
* Describes a message type.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.DescriptorProto}
*/
public static final class DescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.DescriptorProto)
DescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescriptorProto.newBuilder() to construct.
private DescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescriptorProto() {
name_ = "";
field_ = java.util.Collections.emptyList();
extension_ = java.util.Collections.emptyList();
nestedType_ = java.util.Collections.emptyList();
enumType_ = java.util.Collections.emptyList();
extensionRange_ = java.util.Collections.emptyList();
oneofDecl_ = java.util.Collections.emptyList();
reservedRange_ = java.util.Collections.emptyList();
reservedName_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
field_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
field_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
nestedType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
nestedType_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
enumType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
enumType_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.PARSER, extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
extensionRange_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
extensionRange_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
extension_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
extension_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry));
break;
}
case 58: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
oneofDecl_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
oneofDecl_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.PARSER, extensionRegistry));
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
reservedRange_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
reservedRange_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.PARSER, extensionRegistry));
break;
}
case 82: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
reservedName_ = new lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000200;
}
reservedName_.add(bs);
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
field_ = java.util.Collections.unmodifiableList(field_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
nestedType_ = java.util.Collections.unmodifiableList(nestedType_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
enumType_ = java.util.Collections.unmodifiableList(enumType_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
extensionRange_ = java.util.Collections.unmodifiableList(extensionRange_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
extension_ = java.util.Collections.unmodifiableList(extension_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
oneofDecl_ = java.util.Collections.unmodifiableList(oneofDecl_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
reservedRange_ = java.util.Collections.unmodifiableList(reservedRange_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
reservedName_ = reservedName_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder.class);
}
public interface ExtensionRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional int32 start = 1;
*/
boolean hasStart();
/**
* optional int32 start = 1;
*/
int getStart();
/**
* optional int32 end = 2;
*/
boolean hasEnd();
/**
* optional int32 end = 2;
*/
int getEnd();
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder();
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange}
*/
public static final class ExtensionRange extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange)
ExtensionRangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExtensionRange.newBuilder() to construct.
private ExtensionRange(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExtensionRange() {
start_ = 0;
end_ = 0;
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExtensionRange(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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;
start_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
end_ = input.readInt32();
break;
}
case 26: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class);
}
private int bitField0_;
public static final int START_FIELD_NUMBER = 1;
private int start_;
/**
* optional int32 start = 1;
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 start = 1;
*/
public int getStart() {
return start_;
}
public static final int END_FIELD_NUMBER = 2;
private int end_;
/**
* optional int32 end = 2;
*/
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 end = 2;
*/
public int getEnd() {
return end_;
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, start_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, end_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, getOptions());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(1, start_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(2, end_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(3, getOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) obj;
boolean result = true;
result = result && (hasStart() == other.hasStart());
if (hasStart()) {
result = result && (getStart()
== other.getStart());
}
result = result && (hasEnd() == other.hasEnd());
if (hasEnd()) {
result = result && (getEnd()
== other.getEnd());
}
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStart()) {
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + getStart();
}
if (hasEnd()) {
hash = (37 * hash) + END_FIELD_NUMBER;
hash = (53 * hash) + getEnd();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
start_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
end_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.start_ = start_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.end_ = end_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance()) return this;
if (other.hasStart()) {
setStart(other.getStart());
}
if (other.hasEnd()) {
setEnd(other.getEnd());
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int start_ ;
/**
* optional int32 start = 1;
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 start = 1;
*/
public int getStart() {
return start_;
}
/**
* optional int32 start = 1;
*/
public Builder setStart(int value) {
bitField0_ |= 0x00000001;
start_ = value;
onChanged();
return this;
}
/**
* optional int32 start = 1;
*/
public Builder clearStart() {
bitField0_ = (bitField0_ & ~0x00000001);
start_ = 0;
onChanged();
return this;
}
private int end_ ;
/**
* optional int32 end = 2;
*/
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 end = 2;
*/
public int getEnd() {
return end_;
}
/**
* optional int32 end = 2;
*/
public Builder setEnd(int value) {
bitField0_ |= 0x00000002;
end_ = value;
onChanged();
return this;
}
/**
* optional int32 end = 2;
*/
public Builder clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 0;
onChanged();
return this;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.ExtensionRangeOptions options = 3;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public ExtensionRange parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new ExtensionRange(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ReservedRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
boolean hasStart();
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
int getStart();
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
boolean hasEnd();
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
int getEnd();
}
/**
*
* Range of reserved tag numbers. Reserved tag numbers may not be used by
* fields or extension ranges in the same message. Reserved ranges may
* not overlap.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange}
*/
public static final class ReservedRange extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange)
ReservedRangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReservedRange.newBuilder() to construct.
private ReservedRange(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReservedRange() {
start_ = 0;
end_ = 0;
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReservedRange(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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;
start_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
end_ = input.readInt32();
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder.class);
}
private int bitField0_;
public static final int START_FIELD_NUMBER = 1;
private int start_;
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
public int getStart() {
return start_;
}
public static final int END_FIELD_NUMBER = 2;
private int end_;
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
public int getEnd() {
return end_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, start_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, end_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(1, start_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(2, end_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) obj;
boolean result = true;
result = result && (hasStart() == other.hasStart());
if (hasStart()) {
result = result && (getStart()
== other.getStart());
}
result = result && (hasEnd() == other.hasEnd());
if (hasEnd()) {
result = result && (getEnd()
== other.getEnd());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStart()) {
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + getStart();
}
if (hasEnd()) {
hash = (37 * hash) + END_FIELD_NUMBER;
hash = (53 * hash) + getEnd();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Range of reserved tag numbers. Reserved tag numbers may not be used by
* fields or extension ranges in the same message. Reserved ranges may
* not overlap.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
start_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
end_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.start_ = start_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.end_ = end_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance()) return this;
if (other.hasStart()) {
setStart(other.getStart());
}
if (other.hasEnd()) {
setEnd(other.getEnd());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int start_ ;
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
public int getStart() {
return start_;
}
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
public Builder setStart(int value) {
bitField0_ |= 0x00000001;
start_ = value;
onChanged();
return this;
}
/**
*
* Inclusive.
*
*
* optional int32 start = 1;
*/
public Builder clearStart() {
bitField0_ = (bitField0_ & ~0x00000001);
start_ = 0;
onChanged();
return this;
}
private int end_ ;
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
public int getEnd() {
return end_;
}
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
public Builder setEnd(int value) {
bitField0_ |= 0x00000002;
end_ = value;
onChanged();
return this;
}
/**
*
* Exclusive.
*
*
* optional int32 end = 2;
*/
public Builder clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public ReservedRange parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new ReservedRange(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int FIELD_FIELD_NUMBER = 2;
private java.util.List field_;
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public java.util.List getFieldList() {
return field_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getFieldOrBuilderList() {
return field_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public int getFieldCount() {
return field_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) {
return field_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
int index) {
return field_.get(index);
}
public static final int EXTENSION_FIELD_NUMBER = 6;
private java.util.List extension_;
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public java.util.List getExtensionList() {
return extension_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList() {
return extension_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public int getExtensionCount() {
return extension_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
return extension_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index) {
return extension_.get(index);
}
public static final int NESTED_TYPE_FIELD_NUMBER = 3;
private java.util.List nestedType_;
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public java.util.List getNestedTypeList() {
return nestedType_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getNestedTypeOrBuilderList() {
return nestedType_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public int getNestedTypeCount() {
return nestedType_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) {
return nestedType_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
int index) {
return nestedType_.get(index);
}
public static final int ENUM_TYPE_FIELD_NUMBER = 4;
private java.util.List enumType_;
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public java.util.List getEnumTypeList() {
return enumType_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList() {
return enumType_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public int getEnumTypeCount() {
return enumType_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
return enumType_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index) {
return enumType_.get(index);
}
public static final int EXTENSION_RANGE_FIELD_NUMBER = 5;
private java.util.List extensionRange_;
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public java.util.List getExtensionRangeList() {
return extensionRange_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
getExtensionRangeOrBuilderList() {
return extensionRange_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public int getExtensionRangeCount() {
return extensionRange_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) {
return extensionRange_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
int index) {
return extensionRange_.get(index);
}
public static final int ONEOF_DECL_FIELD_NUMBER = 8;
private java.util.List oneofDecl_;
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public java.util.List getOneofDeclList() {
return oneofDecl_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>
getOneofDeclOrBuilderList() {
return oneofDecl_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public int getOneofDeclCount() {
return oneofDecl_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) {
return oneofDecl_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(
int index) {
return oneofDecl_.get(index);
}
public static final int OPTIONS_FIELD_NUMBER = 7;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_;
}
public static final int RESERVED_RANGE_FIELD_NUMBER = 9;
private java.util.List reservedRange_;
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public java.util.List getReservedRangeList() {
return reservedRange_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>
getReservedRangeOrBuilderList() {
return reservedRange_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public int getReservedRangeCount() {
return reservedRange_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) {
return reservedRange_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(
int index) {
return reservedRange_.get(index);
}
public static final int RESERVED_NAME_FIELD_NUMBER = 10;
private lightstep.com.lightstep.lightstep.google.protobuf.LazyStringList reservedName_;
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ProtocolStringList
getReservedNameList() {
return reservedName_;
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public int getReservedNameCount() {
return reservedName_.size();
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public java.lang.String getReservedName(int index) {
return reservedName_.get(index);
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getReservedNameBytes(int index) {
return reservedName_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getFieldCount(); i++) {
if (!getField(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getExtensionCount(); i++) {
if (!getExtension(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getNestedTypeCount(); i++) {
if (!getNestedType(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getEnumTypeCount(); i++) {
if (!getEnumType(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getExtensionRangeCount(); i++) {
if (!getExtensionRange(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getOneofDeclCount(); i++) {
if (!getOneofDecl(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < field_.size(); i++) {
output.writeMessage(2, field_.get(i));
}
for (int i = 0; i < nestedType_.size(); i++) {
output.writeMessage(3, nestedType_.get(i));
}
for (int i = 0; i < enumType_.size(); i++) {
output.writeMessage(4, enumType_.get(i));
}
for (int i = 0; i < extensionRange_.size(); i++) {
output.writeMessage(5, extensionRange_.get(i));
}
for (int i = 0; i < extension_.size(); i++) {
output.writeMessage(6, extension_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(7, getOptions());
}
for (int i = 0; i < oneofDecl_.size(); i++) {
output.writeMessage(8, oneofDecl_.get(i));
}
for (int i = 0; i < reservedRange_.size(); i++) {
output.writeMessage(9, reservedRange_.get(i));
}
for (int i = 0; i < reservedName_.size(); i++) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 10, reservedName_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < field_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(2, field_.get(i));
}
for (int i = 0; i < nestedType_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(3, nestedType_.get(i));
}
for (int i = 0; i < enumType_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(4, enumType_.get(i));
}
for (int i = 0; i < extensionRange_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(5, extensionRange_.get(i));
}
for (int i = 0; i < extension_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(6, extension_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(7, getOptions());
}
for (int i = 0; i < oneofDecl_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(8, oneofDecl_.get(i));
}
for (int i = 0; i < reservedRange_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(9, reservedRange_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < reservedName_.size(); i++) {
dataSize += computeStringSizeNoTag(reservedName_.getRaw(i));
}
size += dataSize;
size += 1 * getReservedNameList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && getFieldList()
.equals(other.getFieldList());
result = result && getExtensionList()
.equals(other.getExtensionList());
result = result && getNestedTypeList()
.equals(other.getNestedTypeList());
result = result && getEnumTypeList()
.equals(other.getEnumTypeList());
result = result && getExtensionRangeList()
.equals(other.getExtensionRangeList());
result = result && getOneofDeclList()
.equals(other.getOneofDeclList());
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && getReservedRangeList()
.equals(other.getReservedRangeList());
result = result && getReservedNameList()
.equals(other.getReservedNameList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getFieldCount() > 0) {
hash = (37 * hash) + FIELD_FIELD_NUMBER;
hash = (53 * hash) + getFieldList().hashCode();
}
if (getExtensionCount() > 0) {
hash = (37 * hash) + EXTENSION_FIELD_NUMBER;
hash = (53 * hash) + getExtensionList().hashCode();
}
if (getNestedTypeCount() > 0) {
hash = (37 * hash) + NESTED_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getNestedTypeList().hashCode();
}
if (getEnumTypeCount() > 0) {
hash = (37 * hash) + ENUM_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getEnumTypeList().hashCode();
}
if (getExtensionRangeCount() > 0) {
hash = (37 * hash) + EXTENSION_RANGE_FIELD_NUMBER;
hash = (53 * hash) + getExtensionRangeList().hashCode();
}
if (getOneofDeclCount() > 0) {
hash = (37 * hash) + ONEOF_DECL_FIELD_NUMBER;
hash = (53 * hash) + getOneofDeclList().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
if (getReservedRangeCount() > 0) {
hash = (37 * hash) + RESERVED_RANGE_FIELD_NUMBER;
hash = (53 * hash) + getReservedRangeList().hashCode();
}
if (getReservedNameCount() > 0) {
hash = (37 * hash) + RESERVED_NAME_FIELD_NUMBER;
hash = (53 * hash) + getReservedNameList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a message type.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.DescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.DescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFieldFieldBuilder();
getExtensionFieldBuilder();
getNestedTypeFieldBuilder();
getEnumTypeFieldBuilder();
getExtensionRangeFieldBuilder();
getOneofDeclFieldBuilder();
getOptionsFieldBuilder();
getReservedRangeFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (fieldBuilder_ == null) {
field_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
fieldBuilder_.clear();
}
if (extensionBuilder_ == null) {
extension_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
extensionBuilder_.clear();
}
if (nestedTypeBuilder_ == null) {
nestedType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
nestedTypeBuilder_.clear();
}
if (enumTypeBuilder_ == null) {
enumType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
enumTypeBuilder_.clear();
}
if (extensionRangeBuilder_ == null) {
extensionRange_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
extensionRangeBuilder_.clear();
}
if (oneofDeclBuilder_ == null) {
oneofDecl_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
oneofDeclBuilder_.clear();
}
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
if (reservedRangeBuilder_ == null) {
reservedRange_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
reservedRangeBuilder_.clear();
}
reservedName_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (fieldBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
field_ = java.util.Collections.unmodifiableList(field_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.field_ = field_;
} else {
result.field_ = fieldBuilder_.build();
}
if (extensionBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
extension_ = java.util.Collections.unmodifiableList(extension_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.extension_ = extension_;
} else {
result.extension_ = extensionBuilder_.build();
}
if (nestedTypeBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
nestedType_ = java.util.Collections.unmodifiableList(nestedType_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.nestedType_ = nestedType_;
} else {
result.nestedType_ = nestedTypeBuilder_.build();
}
if (enumTypeBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
enumType_ = java.util.Collections.unmodifiableList(enumType_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.enumType_ = enumType_;
} else {
result.enumType_ = enumTypeBuilder_.build();
}
if (extensionRangeBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
extensionRange_ = java.util.Collections.unmodifiableList(extensionRange_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.extensionRange_ = extensionRange_;
} else {
result.extensionRange_ = extensionRangeBuilder_.build();
}
if (oneofDeclBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
oneofDecl_ = java.util.Collections.unmodifiableList(oneofDecl_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.oneofDecl_ = oneofDecl_;
} else {
result.oneofDecl_ = oneofDeclBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000002;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
if (reservedRangeBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
reservedRange_ = java.util.Collections.unmodifiableList(reservedRange_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.reservedRange_ = reservedRange_;
} else {
result.reservedRange_ = reservedRangeBuilder_.build();
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
reservedName_ = reservedName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000200);
}
result.reservedName_ = reservedName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (fieldBuilder_ == null) {
if (!other.field_.isEmpty()) {
if (field_.isEmpty()) {
field_ = other.field_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFieldIsMutable();
field_.addAll(other.field_);
}
onChanged();
}
} else {
if (!other.field_.isEmpty()) {
if (fieldBuilder_.isEmpty()) {
fieldBuilder_.dispose();
fieldBuilder_ = null;
field_ = other.field_;
bitField0_ = (bitField0_ & ~0x00000002);
fieldBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFieldFieldBuilder() : null;
} else {
fieldBuilder_.addAllMessages(other.field_);
}
}
}
if (extensionBuilder_ == null) {
if (!other.extension_.isEmpty()) {
if (extension_.isEmpty()) {
extension_ = other.extension_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureExtensionIsMutable();
extension_.addAll(other.extension_);
}
onChanged();
}
} else {
if (!other.extension_.isEmpty()) {
if (extensionBuilder_.isEmpty()) {
extensionBuilder_.dispose();
extensionBuilder_ = null;
extension_ = other.extension_;
bitField0_ = (bitField0_ & ~0x00000004);
extensionBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExtensionFieldBuilder() : null;
} else {
extensionBuilder_.addAllMessages(other.extension_);
}
}
}
if (nestedTypeBuilder_ == null) {
if (!other.nestedType_.isEmpty()) {
if (nestedType_.isEmpty()) {
nestedType_ = other.nestedType_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureNestedTypeIsMutable();
nestedType_.addAll(other.nestedType_);
}
onChanged();
}
} else {
if (!other.nestedType_.isEmpty()) {
if (nestedTypeBuilder_.isEmpty()) {
nestedTypeBuilder_.dispose();
nestedTypeBuilder_ = null;
nestedType_ = other.nestedType_;
bitField0_ = (bitField0_ & ~0x00000008);
nestedTypeBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNestedTypeFieldBuilder() : null;
} else {
nestedTypeBuilder_.addAllMessages(other.nestedType_);
}
}
}
if (enumTypeBuilder_ == null) {
if (!other.enumType_.isEmpty()) {
if (enumType_.isEmpty()) {
enumType_ = other.enumType_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureEnumTypeIsMutable();
enumType_.addAll(other.enumType_);
}
onChanged();
}
} else {
if (!other.enumType_.isEmpty()) {
if (enumTypeBuilder_.isEmpty()) {
enumTypeBuilder_.dispose();
enumTypeBuilder_ = null;
enumType_ = other.enumType_;
bitField0_ = (bitField0_ & ~0x00000010);
enumTypeBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEnumTypeFieldBuilder() : null;
} else {
enumTypeBuilder_.addAllMessages(other.enumType_);
}
}
}
if (extensionRangeBuilder_ == null) {
if (!other.extensionRange_.isEmpty()) {
if (extensionRange_.isEmpty()) {
extensionRange_ = other.extensionRange_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureExtensionRangeIsMutable();
extensionRange_.addAll(other.extensionRange_);
}
onChanged();
}
} else {
if (!other.extensionRange_.isEmpty()) {
if (extensionRangeBuilder_.isEmpty()) {
extensionRangeBuilder_.dispose();
extensionRangeBuilder_ = null;
extensionRange_ = other.extensionRange_;
bitField0_ = (bitField0_ & ~0x00000020);
extensionRangeBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExtensionRangeFieldBuilder() : null;
} else {
extensionRangeBuilder_.addAllMessages(other.extensionRange_);
}
}
}
if (oneofDeclBuilder_ == null) {
if (!other.oneofDecl_.isEmpty()) {
if (oneofDecl_.isEmpty()) {
oneofDecl_ = other.oneofDecl_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureOneofDeclIsMutable();
oneofDecl_.addAll(other.oneofDecl_);
}
onChanged();
}
} else {
if (!other.oneofDecl_.isEmpty()) {
if (oneofDeclBuilder_.isEmpty()) {
oneofDeclBuilder_.dispose();
oneofDeclBuilder_ = null;
oneofDecl_ = other.oneofDecl_;
bitField0_ = (bitField0_ & ~0x00000040);
oneofDeclBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOneofDeclFieldBuilder() : null;
} else {
oneofDeclBuilder_.addAllMessages(other.oneofDecl_);
}
}
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
if (reservedRangeBuilder_ == null) {
if (!other.reservedRange_.isEmpty()) {
if (reservedRange_.isEmpty()) {
reservedRange_ = other.reservedRange_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureReservedRangeIsMutable();
reservedRange_.addAll(other.reservedRange_);
}
onChanged();
}
} else {
if (!other.reservedRange_.isEmpty()) {
if (reservedRangeBuilder_.isEmpty()) {
reservedRangeBuilder_.dispose();
reservedRangeBuilder_ = null;
reservedRange_ = other.reservedRange_;
bitField0_ = (bitField0_ & ~0x00000100);
reservedRangeBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReservedRangeFieldBuilder() : null;
} else {
reservedRangeBuilder_.addAllMessages(other.reservedRange_);
}
}
}
if (!other.reservedName_.isEmpty()) {
if (reservedName_.isEmpty()) {
reservedName_ = other.reservedName_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureReservedNameIsMutable();
reservedName_.addAll(other.reservedName_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getFieldCount(); i++) {
if (!getField(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getExtensionCount(); i++) {
if (!getExtension(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getNestedTypeCount(); i++) {
if (!getNestedType(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getEnumTypeCount(); i++) {
if (!getEnumType(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getExtensionRangeCount(); i++) {
if (!getExtensionRange(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getOneofDeclCount(); i++) {
if (!getOneofDecl(i).isInitialized()) {
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.util.List field_ =
java.util.Collections.emptyList();
private void ensureFieldIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
field_ = new java.util.ArrayList(field_);
bitField0_ |= 0x00000002;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> fieldBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public java.util.List getFieldList() {
if (fieldBuilder_ == null) {
return java.util.Collections.unmodifiableList(field_);
} else {
return fieldBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public int getFieldCount() {
if (fieldBuilder_ == null) {
return field_.size();
} else {
return fieldBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) {
if (fieldBuilder_ == null) {
return field_.get(index);
} else {
return fieldBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder setField(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (fieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldIsMutable();
field_.set(index, value);
onChanged();
} else {
fieldBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder setField(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (fieldBuilder_ == null) {
ensureFieldIsMutable();
field_.set(index, builderForValue.build());
onChanged();
} else {
fieldBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder addField(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (fieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldIsMutable();
field_.add(value);
onChanged();
} else {
fieldBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder addField(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (fieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldIsMutable();
field_.add(index, value);
onChanged();
} else {
fieldBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder addField(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (fieldBuilder_ == null) {
ensureFieldIsMutable();
field_.add(builderForValue.build());
onChanged();
} else {
fieldBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder addField(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (fieldBuilder_ == null) {
ensureFieldIsMutable();
field_.add(index, builderForValue.build());
onChanged();
} else {
fieldBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder addAllField(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
if (fieldBuilder_ == null) {
ensureFieldIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, field_);
onChanged();
} else {
fieldBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder clearField() {
if (fieldBuilder_ == null) {
field_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
fieldBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public Builder removeField(int index) {
if (fieldBuilder_ == null) {
ensureFieldIsMutable();
field_.remove(index);
onChanged();
} else {
fieldBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder getFieldBuilder(
int index) {
return getFieldFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
int index) {
if (fieldBuilder_ == null) {
return field_.get(index); } else {
return fieldBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getFieldOrBuilderList() {
if (fieldBuilder_ != null) {
return fieldBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(field_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addFieldBuilder() {
return getFieldFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addFieldBuilder(
int index) {
return getFieldFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto field = 2;
*/
public java.util.List
getFieldBuilderList() {
return getFieldFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getFieldFieldBuilder() {
if (fieldBuilder_ == null) {
fieldBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>(
field_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
field_ = null;
}
return fieldBuilder_;
}
private java.util.List extension_ =
java.util.Collections.emptyList();
private void ensureExtensionIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
extension_ = new java.util.ArrayList(extension_);
bitField0_ |= 0x00000004;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> extensionBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public java.util.List getExtensionList() {
if (extensionBuilder_ == null) {
return java.util.Collections.unmodifiableList(extension_);
} else {
return extensionBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public int getExtensionCount() {
if (extensionBuilder_ == null) {
return extension_.size();
} else {
return extensionBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
if (extensionBuilder_ == null) {
return extension_.get(index);
} else {
return extensionBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder setExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (extensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionIsMutable();
extension_.set(index, value);
onChanged();
} else {
extensionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder setExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.set(index, builderForValue.build());
onChanged();
} else {
extensionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder addExtension(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (extensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionIsMutable();
extension_.add(value);
onChanged();
} else {
extensionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder addExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
if (extensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionIsMutable();
extension_.add(index, value);
onChanged();
} else {
extensionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder addExtension(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.add(builderForValue.build());
onChanged();
} else {
extensionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder addExtension(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.add(index, builderForValue.build());
onChanged();
} else {
extensionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder addAllExtension(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, extension_);
onChanged();
} else {
extensionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder clearExtension() {
if (extensionBuilder_ == null) {
extension_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
extensionBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public Builder removeExtension(int index) {
if (extensionBuilder_ == null) {
ensureExtensionIsMutable();
extension_.remove(index);
onChanged();
} else {
extensionBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(
int index) {
return getExtensionFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index) {
if (extensionBuilder_ == null) {
return extension_.get(index); } else {
return extensionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList() {
if (extensionBuilder_ != null) {
return extensionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(extension_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder() {
return getExtensionFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(
int index) {
return getExtensionFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.FieldDescriptorProto extension = 6;
*/
public java.util.List
getExtensionBuilderList() {
return getExtensionFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionFieldBuilder() {
if (extensionBuilder_ == null) {
extensionBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>(
extension_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
extension_ = null;
}
return extensionBuilder_;
}
private java.util.List nestedType_ =
java.util.Collections.emptyList();
private void ensureNestedTypeIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
nestedType_ = new java.util.ArrayList(nestedType_);
bitField0_ |= 0x00000008;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> nestedTypeBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public java.util.List getNestedTypeList() {
if (nestedTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(nestedType_);
} else {
return nestedTypeBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public int getNestedTypeCount() {
if (nestedTypeBuilder_ == null) {
return nestedType_.size();
} else {
return nestedTypeBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) {
if (nestedTypeBuilder_ == null) {
return nestedType_.get(index);
} else {
return nestedTypeBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder setNestedType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto value) {
if (nestedTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNestedTypeIsMutable();
nestedType_.set(index, value);
onChanged();
} else {
nestedTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder setNestedType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
if (nestedTypeBuilder_ == null) {
ensureNestedTypeIsMutable();
nestedType_.set(index, builderForValue.build());
onChanged();
} else {
nestedTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder addNestedType(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto value) {
if (nestedTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNestedTypeIsMutable();
nestedType_.add(value);
onChanged();
} else {
nestedTypeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder addNestedType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto value) {
if (nestedTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNestedTypeIsMutable();
nestedType_.add(index, value);
onChanged();
} else {
nestedTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder addNestedType(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
if (nestedTypeBuilder_ == null) {
ensureNestedTypeIsMutable();
nestedType_.add(builderForValue.build());
onChanged();
} else {
nestedTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder addNestedType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
if (nestedTypeBuilder_ == null) {
ensureNestedTypeIsMutable();
nestedType_.add(index, builderForValue.build());
onChanged();
} else {
nestedTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder addAllNestedType(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto> values) {
if (nestedTypeBuilder_ == null) {
ensureNestedTypeIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, nestedType_);
onChanged();
} else {
nestedTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder clearNestedType() {
if (nestedTypeBuilder_ == null) {
nestedType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
nestedTypeBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public Builder removeNestedType(int index) {
if (nestedTypeBuilder_ == null) {
ensureNestedTypeIsMutable();
nestedType_.remove(index);
onChanged();
} else {
nestedTypeBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder getNestedTypeBuilder(
int index) {
return getNestedTypeFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
int index) {
if (nestedTypeBuilder_ == null) {
return nestedType_.get(index); } else {
return nestedTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getNestedTypeOrBuilderList() {
if (nestedTypeBuilder_ != null) {
return nestedTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nestedType_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder addNestedTypeBuilder() {
return getNestedTypeFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder addNestedTypeBuilder(
int index) {
return getNestedTypeFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto nested_type = 3;
*/
public java.util.List
getNestedTypeBuilderList() {
return getNestedTypeFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getNestedTypeFieldBuilder() {
if (nestedTypeBuilder_ == null) {
nestedTypeBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
nestedType_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
nestedType_ = null;
}
return nestedTypeBuilder_;
}
private java.util.List enumType_ =
java.util.Collections.emptyList();
private void ensureEnumTypeIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
enumType_ = new java.util.ArrayList(enumType_);
bitField0_ |= 0x00000010;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> enumTypeBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public java.util.List getEnumTypeList() {
if (enumTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(enumType_);
} else {
return enumTypeBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public int getEnumTypeCount() {
if (enumTypeBuilder_ == null) {
return enumType_.size();
} else {
return enumTypeBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
if (enumTypeBuilder_ == null) {
return enumType_.get(index);
} else {
return enumTypeBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder setEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
if (enumTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumTypeIsMutable();
enumType_.set(index, value);
onChanged();
} else {
enumTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder setEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.set(index, builderForValue.build());
onChanged();
} else {
enumTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder addEnumType(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
if (enumTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumTypeIsMutable();
enumType_.add(value);
onChanged();
} else {
enumTypeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder addEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
if (enumTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumTypeIsMutable();
enumType_.add(index, value);
onChanged();
} else {
enumTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder addEnumType(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.add(builderForValue.build());
onChanged();
} else {
enumTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder addEnumType(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.add(index, builderForValue.build());
onChanged();
} else {
enumTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder addAllEnumType(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, enumType_);
onChanged();
} else {
enumTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder clearEnumType() {
if (enumTypeBuilder_ == null) {
enumType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
enumTypeBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public Builder removeEnumType(int index) {
if (enumTypeBuilder_ == null) {
ensureEnumTypeIsMutable();
enumType_.remove(index);
onChanged();
} else {
enumTypeBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(
int index) {
return getEnumTypeFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index) {
if (enumTypeBuilder_ == null) {
return enumType_.get(index); } else {
return enumTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList() {
if (enumTypeBuilder_ != null) {
return enumTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(enumType_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder() {
return getEnumTypeFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(
int index) {
return getEnumTypeFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumDescriptorProto enum_type = 4;
*/
public java.util.List
getEnumTypeBuilderList() {
return getEnumTypeFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeFieldBuilder() {
if (enumTypeBuilder_ == null) {
enumTypeBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>(
enumType_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
enumType_ = null;
}
return enumTypeBuilder_;
}
private java.util.List extensionRange_ =
java.util.Collections.emptyList();
private void ensureExtensionRangeIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
extensionRange_ = new java.util.ArrayList(extensionRange_);
bitField0_ |= 0x00000020;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> extensionRangeBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public java.util.List getExtensionRangeList() {
if (extensionRangeBuilder_ == null) {
return java.util.Collections.unmodifiableList(extensionRange_);
} else {
return extensionRangeBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public int getExtensionRangeCount() {
if (extensionRangeBuilder_ == null) {
return extensionRange_.size();
} else {
return extensionRangeBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) {
if (extensionRangeBuilder_ == null) {
return extensionRange_.get(index);
} else {
return extensionRangeBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder setExtensionRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
if (extensionRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionRangeIsMutable();
extensionRange_.set(index, value);
onChanged();
} else {
extensionRangeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder setExtensionRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
if (extensionRangeBuilder_ == null) {
ensureExtensionRangeIsMutable();
extensionRange_.set(index, builderForValue.build());
onChanged();
} else {
extensionRangeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder addExtensionRange(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
if (extensionRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionRangeIsMutable();
extensionRange_.add(value);
onChanged();
} else {
extensionRangeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder addExtensionRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
if (extensionRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtensionRangeIsMutable();
extensionRange_.add(index, value);
onChanged();
} else {
extensionRangeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder addExtensionRange(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
if (extensionRangeBuilder_ == null) {
ensureExtensionRangeIsMutable();
extensionRange_.add(builderForValue.build());
onChanged();
} else {
extensionRangeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder addExtensionRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
if (extensionRangeBuilder_ == null) {
ensureExtensionRangeIsMutable();
extensionRange_.add(index, builderForValue.build());
onChanged();
} else {
extensionRangeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder addAllExtensionRange(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> values) {
if (extensionRangeBuilder_ == null) {
ensureExtensionRangeIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, extensionRange_);
onChanged();
} else {
extensionRangeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder clearExtensionRange() {
if (extensionRangeBuilder_ == null) {
extensionRange_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
extensionRangeBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public Builder removeExtensionRange(int index) {
if (extensionRangeBuilder_ == null) {
ensureExtensionRangeIsMutable();
extensionRange_.remove(index);
onChanged();
} else {
extensionRangeBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder getExtensionRangeBuilder(
int index) {
return getExtensionRangeFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
int index) {
if (extensionRangeBuilder_ == null) {
return extensionRange_.get(index); } else {
return extensionRangeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
getExtensionRangeOrBuilderList() {
if (extensionRangeBuilder_ != null) {
return extensionRangeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(extensionRange_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder addExtensionRangeBuilder() {
return getExtensionRangeFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder addExtensionRangeBuilder(
int index) {
return getExtensionRangeFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
*/
public java.util.List
getExtensionRangeBuilderList() {
return getExtensionRangeFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
getExtensionRangeFieldBuilder() {
if (extensionRangeBuilder_ == null) {
extensionRangeBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>(
extensionRange_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
extensionRange_ = null;
}
return extensionRangeBuilder_;
}
private java.util.List oneofDecl_ =
java.util.Collections.emptyList();
private void ensureOneofDeclIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
oneofDecl_ = new java.util.ArrayList(oneofDecl_);
bitField0_ |= 0x00000040;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> oneofDeclBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public java.util.List getOneofDeclList() {
if (oneofDeclBuilder_ == null) {
return java.util.Collections.unmodifiableList(oneofDecl_);
} else {
return oneofDeclBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public int getOneofDeclCount() {
if (oneofDeclBuilder_ == null) {
return oneofDecl_.size();
} else {
return oneofDeclBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) {
if (oneofDeclBuilder_ == null) {
return oneofDecl_.get(index);
} else {
return oneofDeclBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder setOneofDecl(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
if (oneofDeclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOneofDeclIsMutable();
oneofDecl_.set(index, value);
onChanged();
} else {
oneofDeclBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder setOneofDecl(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) {
if (oneofDeclBuilder_ == null) {
ensureOneofDeclIsMutable();
oneofDecl_.set(index, builderForValue.build());
onChanged();
} else {
oneofDeclBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder addOneofDecl(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
if (oneofDeclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOneofDeclIsMutable();
oneofDecl_.add(value);
onChanged();
} else {
oneofDeclBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder addOneofDecl(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
if (oneofDeclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOneofDeclIsMutable();
oneofDecl_.add(index, value);
onChanged();
} else {
oneofDeclBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder addOneofDecl(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) {
if (oneofDeclBuilder_ == null) {
ensureOneofDeclIsMutable();
oneofDecl_.add(builderForValue.build());
onChanged();
} else {
oneofDeclBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder addOneofDecl(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) {
if (oneofDeclBuilder_ == null) {
ensureOneofDeclIsMutable();
oneofDecl_.add(index, builderForValue.build());
onChanged();
} else {
oneofDeclBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder addAllOneofDecl(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto> values) {
if (oneofDeclBuilder_ == null) {
ensureOneofDeclIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, oneofDecl_);
onChanged();
} else {
oneofDeclBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder clearOneofDecl() {
if (oneofDeclBuilder_ == null) {
oneofDecl_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
oneofDeclBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public Builder removeOneofDecl(int index) {
if (oneofDeclBuilder_ == null) {
ensureOneofDeclIsMutable();
oneofDecl_.remove(index);
onChanged();
} else {
oneofDeclBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder getOneofDeclBuilder(
int index) {
return getOneofDeclFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(
int index) {
if (oneofDeclBuilder_ == null) {
return oneofDecl_.get(index); } else {
return oneofDeclBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>
getOneofDeclOrBuilderList() {
if (oneofDeclBuilder_ != null) {
return oneofDeclBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(oneofDecl_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder addOneofDeclBuilder() {
return getOneofDeclFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder addOneofDeclBuilder(
int index) {
return getOneofDeclFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.OneofDescriptorProto oneof_decl = 8;
*/
public java.util.List
getOneofDeclBuilderList() {
return getOneofDeclFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>
getOneofDeclFieldBuilder() {
if (oneofDeclBuilder_ == null) {
oneofDeclBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>(
oneofDecl_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
oneofDecl_ = null;
}
return oneofDeclBuilder_;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.MessageOptions options = 7;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
private java.util.List reservedRange_ =
java.util.Collections.emptyList();
private void ensureReservedRangeIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
reservedRange_ = new java.util.ArrayList(reservedRange_);
bitField0_ |= 0x00000100;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> reservedRangeBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public java.util.List getReservedRangeList() {
if (reservedRangeBuilder_ == null) {
return java.util.Collections.unmodifiableList(reservedRange_);
} else {
return reservedRangeBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public int getReservedRangeCount() {
if (reservedRangeBuilder_ == null) {
return reservedRange_.size();
} else {
return reservedRangeBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) {
if (reservedRangeBuilder_ == null) {
return reservedRange_.get(index);
} else {
return reservedRangeBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder setReservedRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
if (reservedRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReservedRangeIsMutable();
reservedRange_.set(index, value);
onChanged();
} else {
reservedRangeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder setReservedRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) {
if (reservedRangeBuilder_ == null) {
ensureReservedRangeIsMutable();
reservedRange_.set(index, builderForValue.build());
onChanged();
} else {
reservedRangeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder addReservedRange(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
if (reservedRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReservedRangeIsMutable();
reservedRange_.add(value);
onChanged();
} else {
reservedRangeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder addReservedRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
if (reservedRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReservedRangeIsMutable();
reservedRange_.add(index, value);
onChanged();
} else {
reservedRangeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder addReservedRange(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) {
if (reservedRangeBuilder_ == null) {
ensureReservedRangeIsMutable();
reservedRange_.add(builderForValue.build());
onChanged();
} else {
reservedRangeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder addReservedRange(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) {
if (reservedRangeBuilder_ == null) {
ensureReservedRangeIsMutable();
reservedRange_.add(index, builderForValue.build());
onChanged();
} else {
reservedRangeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder addAllReservedRange(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> values) {
if (reservedRangeBuilder_ == null) {
ensureReservedRangeIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, reservedRange_);
onChanged();
} else {
reservedRangeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder clearReservedRange() {
if (reservedRangeBuilder_ == null) {
reservedRange_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
reservedRangeBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public Builder removeReservedRange(int index) {
if (reservedRangeBuilder_ == null) {
ensureReservedRangeIsMutable();
reservedRange_.remove(index);
onChanged();
} else {
reservedRangeBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder getReservedRangeBuilder(
int index) {
return getReservedRangeFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(
int index) {
if (reservedRangeBuilder_ == null) {
return reservedRange_.get(index); } else {
return reservedRangeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>
getReservedRangeOrBuilderList() {
if (reservedRangeBuilder_ != null) {
return reservedRangeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(reservedRange_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder addReservedRangeBuilder() {
return getReservedRangeFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder addReservedRangeBuilder(
int index) {
return getReservedRangeFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
*/
public java.util.List
getReservedRangeBuilderList() {
return getReservedRangeFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>
getReservedRangeFieldBuilder() {
if (reservedRangeBuilder_ == null) {
reservedRangeBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>(
reservedRange_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
reservedRange_ = null;
}
return reservedRangeBuilder_;
}
private lightstep.com.lightstep.lightstep.google.protobuf.LazyStringList reservedName_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureReservedNameIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
reservedName_ = new lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList(reservedName_);
bitField0_ |= 0x00000200;
}
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ProtocolStringList
getReservedNameList() {
return reservedName_.getUnmodifiableView();
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public int getReservedNameCount() {
return reservedName_.size();
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public java.lang.String getReservedName(int index) {
return reservedName_.get(index);
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getReservedNameBytes(int index) {
return reservedName_.getByteString(index);
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public Builder setReservedName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureReservedNameIsMutable();
reservedName_.set(index, value);
onChanged();
return this;
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public Builder addReservedName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureReservedNameIsMutable();
reservedName_.add(value);
onChanged();
return this;
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public Builder addAllReservedName(
java.lang.Iterable values) {
ensureReservedNameIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, reservedName_);
onChanged();
return this;
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public Builder clearReservedName() {
reservedName_ = lightstep.com.lightstep.lightstep.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
*
* Reserved field names, which may not be used by fields in the same message.
* A given name may only be reserved once.
*
*
* repeated string reserved_name = 10;
*/
public Builder addReservedNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureReservedNameIsMutable();
reservedName_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.DescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.DescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public DescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new DescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExtensionRangeOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.ExtensionRangeOptions)
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.
ExtendableMessageOrBuilder {
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
java.util.List
getUninterpretedOptionList();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
int getUninterpretedOptionCount();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.ExtensionRangeOptions}
*/
public static final class ExtensionRangeOptions extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableMessage<
ExtensionRangeOptions> implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.ExtensionRangeOptions)
ExtensionRangeOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExtensionRangeOptions.newBuilder() to construct.
private ExtensionRangeOptions(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) {
super(builder);
}
private ExtensionRangeOptions() {
uninterpretedOption_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExtensionRangeOptions(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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 7994: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
uninterpretedOption_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder.class);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private java.util.List uninterpretedOption_;
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.ExtendableMessage.ExtensionWriter
extensionWriter = newExtensionWriter();
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions) obj;
boolean result = true;
result = result && getUninterpretedOptionList()
.equals(other.getUninterpretedOptionList());
result = result && unknownFields.equals(other.unknownFields);
result = result &&
getExtensionFields().equals(other.getExtensionFields());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getUninterpretedOptionCount() > 0) {
hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER;
hash = (53 * hash) + getUninterpretedOptionList().hashCode();
}
hash = hashFields(hash, getExtensionFields());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.ExtensionRangeOptions}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableBuilder<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.ExtensionRangeOptions)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions(this);
int from_bitField0_ = bitField0_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder setExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, Type> extension,
Type value) {
return (Builder) super.setExtension(extension, value);
}
public Builder setExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, java.util.List> extension,
int index, Type value) {
return (Builder) super.setExtension(extension, index, value);
}
public Builder addExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, java.util.List> extension,
Type value) {
return (Builder) super.addExtension(extension, value);
}
public Builder clearExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions, ?> extension) {
return (Builder) super.clearExtension(extension);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance()) return this;
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000001);
uninterpretedOptionBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00000001;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List getUninterpretedOptionList() {
if (uninterpretedOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
} else {
return uninterpretedOptionBuilder_.getMessageList();
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public int getUninterpretedOptionCount() {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.size();
} else {
return uninterpretedOptionBuilder_.getCount();
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index);
} else {
return uninterpretedOptionBuilder_.getMessage(index);
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder setUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder setUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(value);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, uninterpretedOption_);
onChanged();
} else {
uninterpretedOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder clearUninterpretedOption() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder removeUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
onChanged();
} else {
uninterpretedOptionBuilder_.remove(index);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().getBuilder(index);
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index); } else {
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
if (uninterpretedOptionBuilder_ != null) {
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
return getUninterpretedOptionFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List
getUninterpretedOptionBuilderList() {
return getUninterpretedOptionFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOptionBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
uninterpretedOption_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
uninterpretedOption_ = null;
}
return uninterpretedOptionBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.ExtensionRangeOptions)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.ExtensionRangeOptions)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public ExtensionRangeOptions parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new ExtensionRangeOptions(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FieldDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.FieldDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
* optional int32 number = 3;
*/
boolean hasNumber();
/**
* optional int32 number = 3;
*/
int getNumber();
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
boolean hasLabel();
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel();
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
boolean hasType();
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType();
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
boolean hasTypeName();
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
java.lang.String getTypeName();
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getTypeNameBytes();
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
boolean hasExtendee();
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
java.lang.String getExtendee();
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getExtendeeBytes();
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
boolean hasDefaultValue();
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
java.lang.String getDefaultValue();
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getDefaultValueBytes();
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
boolean hasOneofIndex();
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
int getOneofIndex();
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
boolean hasJsonName();
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
java.lang.String getJsonName();
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJsonNameBytes();
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder();
}
/**
*
* Describes a field within a message.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.FieldDescriptorProto}
*/
public static final class FieldDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.FieldDescriptorProto)
FieldDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FieldDescriptorProto.newBuilder() to construct.
private FieldDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FieldDescriptorProto() {
name_ = "";
number_ = 0;
label_ = 1;
type_ = 1;
typeName_ = "";
extendee_ = "";
defaultValue_ = "";
oneofIndex_ = 0;
jsonName_ = "";
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FieldDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
extendee_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000002;
number_ = input.readInt32();
break;
}
case 32: {
int rawValue = input.readEnum();
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label value = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(4, rawValue);
} else {
bitField0_ |= 0x00000004;
label_ = rawValue;
}
break;
}
case 40: {
int rawValue = input.readEnum();
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(5, rawValue);
} else {
bitField0_ |= 0x00000008;
type_ = rawValue;
}
break;
}
case 50: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
typeName_ = bs;
break;
}
case 58: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
defaultValue_ = bs;
break;
}
case 66: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000200;
break;
}
case 72: {
bitField0_ |= 0x00000080;
oneofIndex_ = input.readInt32();
break;
}
case 82: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
jsonName_ = bs;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder.class);
}
/**
* Protobuf enum {@code lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type}
*/
public enum Type
implements lightstep.com.lightstep.lightstep.google.protobuf.ProtocolMessageEnum {
/**
*
* 0 is reserved for errors.
* Order is weird for historical reasons.
*
*
* TYPE_DOUBLE = 1;
*/
TYPE_DOUBLE(1),
/**
* TYPE_FLOAT = 2;
*/
TYPE_FLOAT(2),
/**
*
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
* negative values are likely.
*
*
* TYPE_INT64 = 3;
*/
TYPE_INT64(3),
/**
* TYPE_UINT64 = 4;
*/
TYPE_UINT64(4),
/**
*
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
* negative values are likely.
*
*
* TYPE_INT32 = 5;
*/
TYPE_INT32(5),
/**
* TYPE_FIXED64 = 6;
*/
TYPE_FIXED64(6),
/**
* TYPE_FIXED32 = 7;
*/
TYPE_FIXED32(7),
/**
* TYPE_BOOL = 8;
*/
TYPE_BOOL(8),
/**
* TYPE_STRING = 9;
*/
TYPE_STRING(9),
/**
*
* Tag-delimited aggregate.
* Group type is deprecated and not supported in proto3. However, Proto3
* implementations should still be able to parse the group wire format and
* treat group fields as unknown fields.
*
*
* TYPE_GROUP = 10;
*/
TYPE_GROUP(10),
/**
*
* Length-delimited aggregate.
*
*
* TYPE_MESSAGE = 11;
*/
TYPE_MESSAGE(11),
/**
*
* New in version 2.
*
*
* TYPE_BYTES = 12;
*/
TYPE_BYTES(12),
/**
* TYPE_UINT32 = 13;
*/
TYPE_UINT32(13),
/**
* TYPE_ENUM = 14;
*/
TYPE_ENUM(14),
/**
* TYPE_SFIXED32 = 15;
*/
TYPE_SFIXED32(15),
/**
* TYPE_SFIXED64 = 16;
*/
TYPE_SFIXED64(16),
/**
*
* Uses ZigZag encoding.
*
*
* TYPE_SINT32 = 17;
*/
TYPE_SINT32(17),
/**
*
* Uses ZigZag encoding.
*
*
* TYPE_SINT64 = 18;
*/
TYPE_SINT64(18),
;
/**
*
* 0 is reserved for errors.
* Order is weird for historical reasons.
*
*
* TYPE_DOUBLE = 1;
*/
public static final int TYPE_DOUBLE_VALUE = 1;
/**
* TYPE_FLOAT = 2;
*/
public static final int TYPE_FLOAT_VALUE = 2;
/**
*
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
* negative values are likely.
*
*
* TYPE_INT64 = 3;
*/
public static final int TYPE_INT64_VALUE = 3;
/**
* TYPE_UINT64 = 4;
*/
public static final int TYPE_UINT64_VALUE = 4;
/**
*
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
* negative values are likely.
*
*
* TYPE_INT32 = 5;
*/
public static final int TYPE_INT32_VALUE = 5;
/**
* TYPE_FIXED64 = 6;
*/
public static final int TYPE_FIXED64_VALUE = 6;
/**
* TYPE_FIXED32 = 7;
*/
public static final int TYPE_FIXED32_VALUE = 7;
/**
* TYPE_BOOL = 8;
*/
public static final int TYPE_BOOL_VALUE = 8;
/**
* TYPE_STRING = 9;
*/
public static final int TYPE_STRING_VALUE = 9;
/**
*
* Tag-delimited aggregate.
* Group type is deprecated and not supported in proto3. However, Proto3
* implementations should still be able to parse the group wire format and
* treat group fields as unknown fields.
*
*
* TYPE_GROUP = 10;
*/
public static final int TYPE_GROUP_VALUE = 10;
/**
*
* Length-delimited aggregate.
*
*
* TYPE_MESSAGE = 11;
*/
public static final int TYPE_MESSAGE_VALUE = 11;
/**
*
* New in version 2.
*
*
* TYPE_BYTES = 12;
*/
public static final int TYPE_BYTES_VALUE = 12;
/**
* TYPE_UINT32 = 13;
*/
public static final int TYPE_UINT32_VALUE = 13;
/**
* TYPE_ENUM = 14;
*/
public static final int TYPE_ENUM_VALUE = 14;
/**
* TYPE_SFIXED32 = 15;
*/
public static final int TYPE_SFIXED32_VALUE = 15;
/**
* TYPE_SFIXED64 = 16;
*/
public static final int TYPE_SFIXED64_VALUE = 16;
/**
*
* Uses ZigZag encoding.
*
*
* TYPE_SINT32 = 17;
*/
public static final int TYPE_SINT32_VALUE = 17;
/**
*
* Uses ZigZag encoding.
*
*
* TYPE_SINT64 = 18;
*/
public static final int TYPE_SINT64_VALUE = 18;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
public static Type forNumber(int value) {
switch (value) {
case 1: return TYPE_DOUBLE;
case 2: return TYPE_FLOAT;
case 3: return TYPE_INT64;
case 4: return TYPE_UINT64;
case 5: return TYPE_INT32;
case 6: return TYPE_FIXED64;
case 7: return TYPE_FIXED32;
case 8: return TYPE_BOOL;
case 9: return TYPE_STRING;
case 10: return TYPE_GROUP;
case 11: return TYPE_MESSAGE;
case 12: return TYPE_BYTES;
case 13: return TYPE_UINT32;
case 14: return TYPE_ENUM;
case 15: return TYPE_SFIXED32;
case 16: return TYPE_SFIXED64;
case 17: return TYPE_SINT32;
case 18: return TYPE_SINT64;
default: return null;
}
}
public static lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type)
}
/**
* Protobuf enum {@code lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label}
*/
public enum Label
implements lightstep.com.lightstep.lightstep.google.protobuf.ProtocolMessageEnum {
/**
*
* 0 is reserved for errors
*
*
* LABEL_OPTIONAL = 1;
*/
LABEL_OPTIONAL(1),
/**
* LABEL_REQUIRED = 2;
*/
LABEL_REQUIRED(2),
/**
* LABEL_REPEATED = 3;
*/
LABEL_REPEATED(3),
;
/**
*
* 0 is reserved for errors
*
*
* LABEL_OPTIONAL = 1;
*/
public static final int LABEL_OPTIONAL_VALUE = 1;
/**
* LABEL_REQUIRED = 2;
*/
public static final int LABEL_REQUIRED_VALUE = 2;
/**
* LABEL_REPEATED = 3;
*/
public static final int LABEL_REPEATED_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Label valueOf(int value) {
return forNumber(value);
}
public static Label forNumber(int value) {
switch (value) {
case 1: return LABEL_OPTIONAL;
case 2: return LABEL_REQUIRED;
case 3: return LABEL_REPEATED;
default: return null;
}
}
public static lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap<
Label> internalValueMap =
new lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap() {
public Label findValueByNumber(int number) {
return Label.forNumber(number);
}
};
public final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDescriptor().getEnumTypes().get(1);
}
private static final Label[] VALUES = values();
public static Label valueOf(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Label(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label)
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int NUMBER_FIELD_NUMBER = 3;
private int number_;
/**
* optional int32 number = 3;
*/
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 number = 3;
*/
public int getNumber() {
return number_;
}
public static final int LABEL_FIELD_NUMBER = 4;
private int label_;
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label result = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.valueOf(label_);
return result == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL : result;
}
public static final int TYPE_FIELD_NUMBER = 5;
private int type_;
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type result = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.valueOf(type_);
return result == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE : result;
}
public static final int TYPE_NAME_FIELD_NUMBER = 6;
private volatile java.lang.Object typeName_;
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public boolean hasTypeName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public java.lang.String getTypeName() {
java.lang.Object ref = typeName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
typeName_ = s;
}
return s;
}
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getTypeNameBytes() {
java.lang.Object ref = typeName_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeName_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int EXTENDEE_FIELD_NUMBER = 2;
private volatile java.lang.Object extendee_;
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public boolean hasExtendee() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public java.lang.String getExtendee() {
java.lang.Object ref = extendee_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
extendee_ = s;
}
return s;
}
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getExtendeeBytes() {
java.lang.Object ref = extendee_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
extendee_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_VALUE_FIELD_NUMBER = 7;
private volatile java.lang.Object defaultValue_;
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public java.lang.String getDefaultValue() {
java.lang.Object ref = defaultValue_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultValue_ = s;
}
return s;
}
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getDefaultValueBytes() {
java.lang.Object ref = defaultValue_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultValue_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int ONEOF_INDEX_FIELD_NUMBER = 9;
private int oneofIndex_;
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
public boolean hasOneofIndex() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
public int getOneofIndex() {
return oneofIndex_;
}
public static final int JSON_NAME_FIELD_NUMBER = 10;
private volatile java.lang.Object jsonName_;
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public boolean hasJsonName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public java.lang.String getJsonName() {
java.lang.Object ref = jsonName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jsonName_ = s;
}
return s;
}
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJsonNameBytes() {
java.lang.Object ref = jsonName_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jsonName_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int OPTIONS_FIELD_NUMBER = 8;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 2, extendee_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(3, number_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeEnum(4, label_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeEnum(5, type_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 6, typeName_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 7, defaultValue_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeMessage(8, getOptions());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(9, oneofIndex_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 10, jsonName_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(2, extendee_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(3, number_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeEnumSize(4, label_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeEnumSize(5, type_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(6, typeName_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(7, defaultValue_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(8, getOptions());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(9, oneofIndex_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(10, jsonName_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasNumber() == other.hasNumber());
if (hasNumber()) {
result = result && (getNumber()
== other.getNumber());
}
result = result && (hasLabel() == other.hasLabel());
if (hasLabel()) {
result = result && label_ == other.label_;
}
result = result && (hasType() == other.hasType());
if (hasType()) {
result = result && type_ == other.type_;
}
result = result && (hasTypeName() == other.hasTypeName());
if (hasTypeName()) {
result = result && getTypeName()
.equals(other.getTypeName());
}
result = result && (hasExtendee() == other.hasExtendee());
if (hasExtendee()) {
result = result && getExtendee()
.equals(other.getExtendee());
}
result = result && (hasDefaultValue() == other.hasDefaultValue());
if (hasDefaultValue()) {
result = result && getDefaultValue()
.equals(other.getDefaultValue());
}
result = result && (hasOneofIndex() == other.hasOneofIndex());
if (hasOneofIndex()) {
result = result && (getOneofIndex()
== other.getOneofIndex());
}
result = result && (hasJsonName() == other.hasJsonName());
if (hasJsonName()) {
result = result && getJsonName()
.equals(other.getJsonName());
}
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasNumber()) {
hash = (37 * hash) + NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getNumber();
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + label_;
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasTypeName()) {
hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTypeName().hashCode();
}
if (hasExtendee()) {
hash = (37 * hash) + EXTENDEE_FIELD_NUMBER;
hash = (53 * hash) + getExtendee().hashCode();
}
if (hasDefaultValue()) {
hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultValue().hashCode();
}
if (hasOneofIndex()) {
hash = (37 * hash) + ONEOF_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getOneofIndex();
}
if (hasJsonName()) {
hash = (37 * hash) + JSON_NAME_FIELD_NUMBER;
hash = (53 * hash) + getJsonName().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a field within a message.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.FieldDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.FieldDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
number_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
label_ = 1;
bitField0_ = (bitField0_ & ~0x00000004);
type_ = 1;
bitField0_ = (bitField0_ & ~0x00000008);
typeName_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
extendee_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
defaultValue_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
oneofIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
jsonName_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.number_ = number_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.label_ = label_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.typeName_ = typeName_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.extendee_ = extendee_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.defaultValue_ = defaultValue_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.oneofIndex_ = oneofIndex_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.jsonName_ = jsonName_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasNumber()) {
setNumber(other.getNumber());
}
if (other.hasLabel()) {
setLabel(other.getLabel());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasTypeName()) {
bitField0_ |= 0x00000010;
typeName_ = other.typeName_;
onChanged();
}
if (other.hasExtendee()) {
bitField0_ |= 0x00000020;
extendee_ = other.extendee_;
onChanged();
}
if (other.hasDefaultValue()) {
bitField0_ |= 0x00000040;
defaultValue_ = other.defaultValue_;
onChanged();
}
if (other.hasOneofIndex()) {
setOneofIndex(other.getOneofIndex());
}
if (other.hasJsonName()) {
bitField0_ |= 0x00000100;
jsonName_ = other.jsonName_;
onChanged();
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private int number_ ;
/**
* optional int32 number = 3;
*/
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 number = 3;
*/
public int getNumber() {
return number_;
}
/**
* optional int32 number = 3;
*/
public Builder setNumber(int value) {
bitField0_ |= 0x00000002;
number_ = value;
onChanged();
return this;
}
/**
* optional int32 number = 3;
*/
public Builder clearNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
number_ = 0;
onChanged();
return this;
}
private int label_ = 1;
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label result = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.valueOf(label_);
return result == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL : result;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
public Builder setLabel(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
label_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Label label = 4;
*/
public Builder clearLabel() {
bitField0_ = (bitField0_ & ~0x00000004);
label_ = 1;
onChanged();
return this;
}
private int type_ = 1;
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type result = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.valueOf(type_);
return result == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE : result;
}
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
public Builder setType(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
type_ = value.getNumber();
onChanged();
return this;
}
/**
*
* If type_name is set, this need not be set. If both this and type_name
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
*
*
* optional .lightstep.lightstep.google.protobuf.FieldDescriptorProto.Type type = 5;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = 1;
onChanged();
return this;
}
private java.lang.Object typeName_ = "";
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public boolean hasTypeName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public java.lang.String getTypeName() {
java.lang.Object ref = typeName_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
typeName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getTypeNameBytes() {
java.lang.Object ref = typeName_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeName_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public Builder setTypeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
typeName_ = value;
onChanged();
return this;
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public Builder clearTypeName() {
bitField0_ = (bitField0_ & ~0x00000010);
typeName_ = getDefaultInstance().getTypeName();
onChanged();
return this;
}
/**
*
* For message and enum types, this is the name of the type. If the name
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
* rules are used to find the type (i.e. first the nested types within this
* message are searched, then within the parent, on up to the root
* namespace).
*
*
* optional string type_name = 6;
*/
public Builder setTypeNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
typeName_ = value;
onChanged();
return this;
}
private java.lang.Object extendee_ = "";
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public boolean hasExtendee() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public java.lang.String getExtendee() {
java.lang.Object ref = extendee_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
extendee_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getExtendeeBytes() {
java.lang.Object ref = extendee_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
extendee_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public Builder setExtendee(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
extendee_ = value;
onChanged();
return this;
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public Builder clearExtendee() {
bitField0_ = (bitField0_ & ~0x00000020);
extendee_ = getDefaultInstance().getExtendee();
onChanged();
return this;
}
/**
*
* For extensions, this is the name of the type being extended. It is
* resolved in the same manner as type_name.
*
*
* optional string extendee = 2;
*/
public Builder setExtendeeBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
extendee_ = value;
onChanged();
return this;
}
private java.lang.Object defaultValue_ = "";
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public java.lang.String getDefaultValue() {
java.lang.Object ref = defaultValue_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultValue_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getDefaultValueBytes() {
java.lang.Object ref = defaultValue_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultValue_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public Builder setDefaultValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
defaultValue_ = value;
onChanged();
return this;
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public Builder clearDefaultValue() {
bitField0_ = (bitField0_ & ~0x00000040);
defaultValue_ = getDefaultInstance().getDefaultValue();
onChanged();
return this;
}
/**
*
* For numeric types, contains the original text representation of the value.
* For booleans, "true" or "false".
* For strings, contains the default text contents (not escaped in any way).
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
* TODO(kenton): Base-64 encode?
*
*
* optional string default_value = 7;
*/
public Builder setDefaultValueBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
defaultValue_ = value;
onChanged();
return this;
}
private int oneofIndex_ ;
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
public boolean hasOneofIndex() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
public int getOneofIndex() {
return oneofIndex_;
}
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
public Builder setOneofIndex(int value) {
bitField0_ |= 0x00000080;
oneofIndex_ = value;
onChanged();
return this;
}
/**
*
* If set, gives the index of a oneof in the containing type's oneof_decl
* list. This field is a member of that oneof.
*
*
* optional int32 oneof_index = 9;
*/
public Builder clearOneofIndex() {
bitField0_ = (bitField0_ & ~0x00000080);
oneofIndex_ = 0;
onChanged();
return this;
}
private java.lang.Object jsonName_ = "";
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public boolean hasJsonName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public java.lang.String getJsonName() {
java.lang.Object ref = jsonName_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jsonName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJsonNameBytes() {
java.lang.Object ref = jsonName_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jsonName_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public Builder setJsonName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
jsonName_ = value;
onChanged();
return this;
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public Builder clearJsonName() {
bitField0_ = (bitField0_ & ~0x00000100);
jsonName_ = getDefaultInstance().getJsonName();
onChanged();
return this;
}
/**
*
* JSON name of this field. The value is set by protocol compiler. If the
* user has set a "json_name" option on this field, that option's value
* will be used. Otherwise, it's deduced from the field's name by converting
* it to camelCase.
*
*
* optional string json_name = 10;
*/
public Builder setJsonNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
jsonName_ = value;
onChanged();
return this;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.FieldOptions options = 8;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.FieldDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.FieldDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public FieldDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new FieldDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OneofDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.OneofDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder();
}
/**
*
* Describes a oneof.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.OneofDescriptorProto}
*/
public static final class OneofDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.OneofDescriptorProto)
OneofDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use OneofDescriptorProto.newBuilder() to construct.
private OneofDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OneofDescriptorProto() {
name_ = "";
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OneofDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int OPTIONS_FIELD_NUMBER = 2;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getOptions());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(2, getOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a oneof.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.OneofDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.OneofDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.OneofOptions options = 2;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.OneofDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.OneofDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public OneofDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new OneofDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EnumDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.EnumDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
java.util.List
getValueList();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
int getValueCount();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
getValueOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
int index);
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder();
}
/**
*
* Describes an enum type.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.EnumDescriptorProto}
*/
public static final class EnumDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.EnumDescriptorProto)
EnumDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use EnumDescriptorProto.newBuilder() to construct.
private EnumDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EnumDescriptorProto() {
name_ = "";
value_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnumDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
value_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
value_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.PARSER, extensionRegistry));
break;
}
case 26: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
value_ = java.util.Collections.unmodifiableList(value_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private java.util.List value_;
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public java.util.List getValueList() {
return value_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
getValueOrBuilderList() {
return value_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public int getValueCount() {
return value_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) {
return value_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
int index) {
return value_.get(index);
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getValueCount(); i++) {
if (!getValue(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < value_.size(); i++) {
output.writeMessage(2, value_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(3, getOptions());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < value_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(2, value_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(3, getOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && getValueList()
.equals(other.getValueList());
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getValueCount() > 0) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValueList().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes an enum type.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.EnumDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.EnumDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getValueFieldBuilder();
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (valueBuilder_ == null) {
value_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
valueBuilder_.clear();
}
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (valueBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
value_ = java.util.Collections.unmodifiableList(value_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.value_ = value_;
} else {
result.value_ = valueBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (valueBuilder_ == null) {
if (!other.value_.isEmpty()) {
if (value_.isEmpty()) {
value_ = other.value_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureValueIsMutable();
value_.addAll(other.value_);
}
onChanged();
}
} else {
if (!other.value_.isEmpty()) {
if (valueBuilder_.isEmpty()) {
valueBuilder_.dispose();
valueBuilder_ = null;
value_ = other.value_;
bitField0_ = (bitField0_ & ~0x00000002);
valueBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getValueFieldBuilder() : null;
} else {
valueBuilder_.addAllMessages(other.value_);
}
}
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getValueCount(); i++) {
if (!getValue(i).isInitialized()) {
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.util.List value_ =
java.util.Collections.emptyList();
private void ensureValueIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
value_ = new java.util.ArrayList(value_);
bitField0_ |= 0x00000002;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> valueBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public java.util.List getValueList() {
if (valueBuilder_ == null) {
return java.util.Collections.unmodifiableList(value_);
} else {
return valueBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public int getValueCount() {
if (valueBuilder_ == null) {
return value_.size();
} else {
return valueBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) {
if (valueBuilder_ == null) {
return value_.get(index);
} else {
return valueBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder setValue(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.set(index, value);
onChanged();
} else {
valueBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder setValue(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.set(index, builderForValue.build());
onChanged();
} else {
valueBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder addValue(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.add(value);
onChanged();
} else {
valueBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder addValue(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.add(index, value);
onChanged();
} else {
valueBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder addValue(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.add(builderForValue.build());
onChanged();
} else {
valueBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder addValue(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.add(index, builderForValue.build());
onChanged();
} else {
valueBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder addAllValue(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> values) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, value_);
onChanged();
} else {
valueBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
valueBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public Builder removeValue(int index) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.remove(index);
onChanged();
} else {
valueBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder getValueBuilder(
int index) {
return getValueFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
int index) {
if (valueBuilder_ == null) {
return value_.get(index); } else {
return valueBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
getValueOrBuilderList() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(value_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder addValueBuilder() {
return getValueFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder addValueBuilder(
int index) {
return getValueFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.EnumValueDescriptorProto value = 2;
*/
public java.util.List
getValueBuilderList() {
return getValueFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>(
value_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumOptions options = 3;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.EnumDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.EnumDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public EnumDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new EnumDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EnumValueDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.EnumValueDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
* optional int32 number = 2;
*/
boolean hasNumber();
/**
* optional int32 number = 2;
*/
int getNumber();
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder();
}
/**
*
* Describes a value within an enum.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.EnumValueDescriptorProto}
*/
public static final class EnumValueDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.EnumValueDescriptorProto)
EnumValueDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use EnumValueDescriptorProto.newBuilder() to construct.
private EnumValueDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EnumValueDescriptorProto() {
name_ = "";
number_ = 0;
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnumValueDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
number_ = input.readInt32();
break;
}
case 26: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int NUMBER_FIELD_NUMBER = 2;
private int number_;
/**
* optional int32 number = 2;
*/
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 number = 2;
*/
public int getNumber() {
return number_;
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, number_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, getOptions());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeInt32Size(2, number_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(3, getOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasNumber() == other.hasNumber());
if (hasNumber()) {
result = result && (getNumber()
== other.getNumber());
}
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasNumber()) {
hash = (37 * hash) + NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getNumber();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a value within an enum.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.EnumValueDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.EnumValueDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
number_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.number_ = number_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasNumber()) {
setNumber(other.getNumber());
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private int number_ ;
/**
* optional int32 number = 2;
*/
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 number = 2;
*/
public int getNumber() {
return number_;
}
/**
* optional int32 number = 2;
*/
public Builder setNumber(int value) {
bitField0_ |= 0x00000002;
number_ = value;
onChanged();
return this;
}
/**
* optional int32 number = 2;
*/
public Builder clearNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
number_ = 0;
onChanged();
return this;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.EnumValueOptions options = 3;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.EnumValueDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.EnumValueDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public EnumValueDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new EnumValueDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.ServiceDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
java.util.List
getMethodList();
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index);
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
int getMethodCount();
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
getMethodOrBuilderList();
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
int index);
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder();
}
/**
*
* Describes a service.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.ServiceDescriptorProto}
*/
public static final class ServiceDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.ServiceDescriptorProto)
ServiceDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceDescriptorProto.newBuilder() to construct.
private ServiceDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ServiceDescriptorProto() {
name_ = "";
method_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
method_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
method_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.PARSER, extensionRegistry));
break;
}
case 26: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
method_ = java.util.Collections.unmodifiableList(method_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_FIELD_NUMBER = 2;
private java.util.List method_;
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public java.util.List getMethodList() {
return method_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
getMethodOrBuilderList() {
return method_;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public int getMethodCount() {
return method_.size();
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) {
return method_.get(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
int index) {
return method_.get(index);
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getMethodCount(); i++) {
if (!getMethod(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < method_.size(); i++) {
output.writeMessage(2, method_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(3, getOptions());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < method_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(2, method_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(3, getOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && getMethodList()
.equals(other.getMethodList());
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getMethodCount() > 0) {
hash = (37 * hash) + METHOD_FIELD_NUMBER;
hash = (53 * hash) + getMethodList().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a service.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.ServiceDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.ServiceDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMethodFieldBuilder();
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (methodBuilder_ == null) {
method_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
methodBuilder_.clear();
}
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (methodBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
method_ = java.util.Collections.unmodifiableList(method_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.method_ = method_;
} else {
result.method_ = methodBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (methodBuilder_ == null) {
if (!other.method_.isEmpty()) {
if (method_.isEmpty()) {
method_ = other.method_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureMethodIsMutable();
method_.addAll(other.method_);
}
onChanged();
}
} else {
if (!other.method_.isEmpty()) {
if (methodBuilder_.isEmpty()) {
methodBuilder_.dispose();
methodBuilder_ = null;
method_ = other.method_;
bitField0_ = (bitField0_ & ~0x00000002);
methodBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMethodFieldBuilder() : null;
} else {
methodBuilder_.addAllMessages(other.method_);
}
}
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getMethodCount(); i++) {
if (!getMethod(i).isInitialized()) {
return false;
}
}
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.util.List method_ =
java.util.Collections.emptyList();
private void ensureMethodIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
method_ = new java.util.ArrayList(method_);
bitField0_ |= 0x00000002;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> methodBuilder_;
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public java.util.List getMethodList() {
if (methodBuilder_ == null) {
return java.util.Collections.unmodifiableList(method_);
} else {
return methodBuilder_.getMessageList();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public int getMethodCount() {
if (methodBuilder_ == null) {
return method_.size();
} else {
return methodBuilder_.getCount();
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) {
if (methodBuilder_ == null) {
return method_.get(index);
} else {
return methodBuilder_.getMessage(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder setMethod(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
if (methodBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodIsMutable();
method_.set(index, value);
onChanged();
} else {
methodBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder setMethod(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
if (methodBuilder_ == null) {
ensureMethodIsMutable();
method_.set(index, builderForValue.build());
onChanged();
} else {
methodBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder addMethod(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
if (methodBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodIsMutable();
method_.add(value);
onChanged();
} else {
methodBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder addMethod(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
if (methodBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodIsMutable();
method_.add(index, value);
onChanged();
} else {
methodBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder addMethod(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
if (methodBuilder_ == null) {
ensureMethodIsMutable();
method_.add(builderForValue.build());
onChanged();
} else {
methodBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder addMethod(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
if (methodBuilder_ == null) {
ensureMethodIsMutable();
method_.add(index, builderForValue.build());
onChanged();
} else {
methodBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder addAllMethod(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto> values) {
if (methodBuilder_ == null) {
ensureMethodIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, method_);
onChanged();
} else {
methodBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder clearMethod() {
if (methodBuilder_ == null) {
method_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
methodBuilder_.clear();
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public Builder removeMethod(int index) {
if (methodBuilder_ == null) {
ensureMethodIsMutable();
method_.remove(index);
onChanged();
} else {
methodBuilder_.remove(index);
}
return this;
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder getMethodBuilder(
int index) {
return getMethodFieldBuilder().getBuilder(index);
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
int index) {
if (methodBuilder_ == null) {
return method_.get(index); } else {
return methodBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
getMethodOrBuilderList() {
if (methodBuilder_ != null) {
return methodBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(method_);
}
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder addMethodBuilder() {
return getMethodFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder addMethodBuilder(
int index) {
return getMethodFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance());
}
/**
* repeated .lightstep.lightstep.google.protobuf.MethodDescriptorProto method = 2;
*/
public java.util.List
getMethodBuilderList() {
return getMethodFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
getMethodFieldBuilder() {
if (methodBuilder_ == null) {
methodBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>(
method_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
method_ = null;
}
return methodBuilder_;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.ServiceOptions options = 3;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.ServiceDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.ServiceDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public ServiceDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new ServiceDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MethodDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.MethodDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes();
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
boolean hasInputType();
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
java.lang.String getInputType();
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getInputTypeBytes();
/**
* optional string output_type = 3;
*/
boolean hasOutputType();
/**
* optional string output_type = 3;
*/
java.lang.String getOutputType();
/**
* optional string output_type = 3;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getOutputTypeBytes();
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
boolean hasOptions();
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions getOptions();
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder();
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
boolean hasClientStreaming();
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
boolean getClientStreaming();
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
boolean hasServerStreaming();
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
boolean getServerStreaming();
}
/**
*
* Describes a method of a service.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.MethodDescriptorProto}
*/
public static final class MethodDescriptorProto extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.MethodDescriptorProto)
MethodDescriptorProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use MethodDescriptorProto.newBuilder() to construct.
private MethodDescriptorProto(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MethodDescriptorProto() {
name_ = "";
inputType_ = "";
outputType_ = "";
clientStreaming_ = false;
serverStreaming_ = false;
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MethodDescriptorProto(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
inputType_ = bs;
break;
}
case 26: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
outputType_ = bs;
break;
}
case 34: {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 40: {
bitField0_ |= 0x00000010;
clientStreaming_ = input.readBool();
break;
}
case 48: {
bitField0_ |= 0x00000020;
serverStreaming_ = input.readBool();
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int INPUT_TYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object inputType_;
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public boolean hasInputType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public java.lang.String getInputType() {
java.lang.Object ref = inputType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
inputType_ = s;
}
return s;
}
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getInputTypeBytes() {
java.lang.Object ref = inputType_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
inputType_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int OUTPUT_TYPE_FIELD_NUMBER = 3;
private volatile java.lang.Object outputType_;
/**
* optional string output_type = 3;
*/
public boolean hasOutputType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string output_type = 3;
*/
public java.lang.String getOutputType() {
java.lang.Object ref = outputType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
outputType_ = s;
}
return s;
}
}
/**
* optional string output_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getOutputTypeBytes() {
java.lang.Object ref = outputType_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputType_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int OPTIONS_FIELD_NUMBER = 4;
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions options_;
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions getOptions() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_;
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_;
}
public static final int CLIENT_STREAMING_FIELD_NUMBER = 5;
private boolean clientStreaming_;
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
public boolean hasClientStreaming() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
public boolean getClientStreaming() {
return clientStreaming_;
}
public static final int SERVER_STREAMING_FIELD_NUMBER = 6;
private boolean serverStreaming_;
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
public boolean hasServerStreaming() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
public boolean getServerStreaming() {
return serverStreaming_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputType_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, getOptions());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, clientStreaming_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, serverStreaming_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputType_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(4, getOptions());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(5, clientStreaming_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(6, serverStreaming_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasInputType() == other.hasInputType());
if (hasInputType()) {
result = result && getInputType()
.equals(other.getInputType());
}
result = result && (hasOutputType() == other.hasOutputType());
if (hasOutputType()) {
result = result && getOutputType()
.equals(other.getOutputType());
}
result = result && (hasOptions() == other.hasOptions());
if (hasOptions()) {
result = result && getOptions()
.equals(other.getOptions());
}
result = result && (hasClientStreaming() == other.hasClientStreaming());
if (hasClientStreaming()) {
result = result && (getClientStreaming()
== other.getClientStreaming());
}
result = result && (hasServerStreaming() == other.hasServerStreaming());
if (hasServerStreaming()) {
result = result && (getServerStreaming()
== other.getServerStreaming());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasInputType()) {
hash = (37 * hash) + INPUT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getInputType().hashCode();
}
if (hasOutputType()) {
hash = (37 * hash) + OUTPUT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getOutputType().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
if (hasClientStreaming()) {
hash = (37 * hash) + CLIENT_STREAMING_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getClientStreaming());
}
if (hasServerStreaming()) {
hash = (37 * hash) + SERVER_STREAMING_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getServerStreaming());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a method of a service.
*
*
* Protobuf type {@code lightstep.lightstep.google.protobuf.MethodDescriptorProto}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.MethodDescriptorProto)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
inputType_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
outputType_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
clientStreaming_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
serverStreaming_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.inputType_ = inputType_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.outputType_ = outputType_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.clientStreaming_ = clientStreaming_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.serverStreaming_ = serverStreaming_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasInputType()) {
bitField0_ |= 0x00000002;
inputType_ = other.inputType_;
onChanged();
}
if (other.hasOutputType()) {
bitField0_ |= 0x00000004;
outputType_ = other.outputType_;
onChanged();
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
if (other.hasClientStreaming()) {
setClientStreaming(other.getClientStreaming());
}
if (other.hasServerStreaming()) {
setServerStreaming(other.getServerStreaming());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.lang.Object inputType_ = "";
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public boolean hasInputType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public java.lang.String getInputType() {
java.lang.Object ref = inputType_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
inputType_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getInputTypeBytes() {
java.lang.Object ref = inputType_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
inputType_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public Builder setInputType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
inputType_ = value;
onChanged();
return this;
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public Builder clearInputType() {
bitField0_ = (bitField0_ & ~0x00000002);
inputType_ = getDefaultInstance().getInputType();
onChanged();
return this;
}
/**
*
* Input and output type names. These are resolved in the same way as
* FieldDescriptorProto.type_name, but must refer to a message type.
*
*
* optional string input_type = 2;
*/
public Builder setInputTypeBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
inputType_ = value;
onChanged();
return this;
}
private java.lang.Object outputType_ = "";
/**
* optional string output_type = 3;
*/
public boolean hasOutputType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string output_type = 3;
*/
public java.lang.String getOutputType() {
java.lang.Object ref = outputType_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
outputType_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string output_type = 3;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getOutputTypeBytes() {
java.lang.Object ref = outputType_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputType_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
* optional string output_type = 3;
*/
public Builder setOutputType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
outputType_ = value;
onChanged();
return this;
}
/**
* optional string output_type = 3;
*/
public Builder clearOutputType() {
bitField0_ = (bitField0_ & ~0x00000004);
outputType_ = getDefaultInstance().getOutputType();
onChanged();
return this;
}
/**
* optional string output_type = 3;
*/
public Builder setOutputTypeBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
outputType_ = value;
onChanged();
return this;
}
private lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions options_ = null;
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder> optionsBuilder_;
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public Builder setOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public Builder setOptions(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public Builder mergeOptions(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
options_ != null &&
options_ != lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance()) {
options_ =
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_;
}
}
/**
* optional .lightstep.lightstep.google.protobuf.MethodOptions options = 4;
*/
private lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.SingleFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptions.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
private boolean clientStreaming_ ;
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
public boolean hasClientStreaming() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
public boolean getClientStreaming() {
return clientStreaming_;
}
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
public Builder setClientStreaming(boolean value) {
bitField0_ |= 0x00000010;
clientStreaming_ = value;
onChanged();
return this;
}
/**
*
* Identifies if client streams multiple client messages
*
*
* optional bool client_streaming = 5 [default = false];
*/
public Builder clearClientStreaming() {
bitField0_ = (bitField0_ & ~0x00000010);
clientStreaming_ = false;
onChanged();
return this;
}
private boolean serverStreaming_ ;
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
public boolean hasServerStreaming() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
public boolean getServerStreaming() {
return serverStreaming_;
}
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
public Builder setServerStreaming(boolean value) {
bitField0_ |= 0x00000020;
serverStreaming_ = value;
onChanged();
return this;
}
/**
*
* Identifies if server streams multiple server messages
*
*
* optional bool server_streaming = 6 [default = false];
*/
public Builder clearServerStreaming() {
bitField0_ = (bitField0_ & ~0x00000020);
serverStreaming_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.MethodDescriptorProto)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.MethodDescriptorProto)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public MethodDescriptorProto parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new MethodDescriptorProto(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FileOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.FileOptions)
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.
ExtendableMessageOrBuilder {
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
boolean hasJavaPackage();
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
java.lang.String getJavaPackage();
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJavaPackageBytes();
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
boolean hasJavaOuterClassname();
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
java.lang.String getJavaOuterClassname();
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJavaOuterClassnameBytes();
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
boolean hasJavaMultipleFiles();
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
boolean getJavaMultipleFiles();
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated boolean hasJavaGenerateEqualsAndHash();
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated boolean getJavaGenerateEqualsAndHash();
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
boolean hasJavaStringCheckUtf8();
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
boolean getJavaStringCheckUtf8();
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
boolean hasOptimizeFor();
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor();
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
boolean hasGoPackage();
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
java.lang.String getGoPackage();
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getGoPackageBytes();
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
boolean hasCcGenericServices();
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
boolean getCcGenericServices();
/**
* optional bool java_generic_services = 17 [default = false];
*/
boolean hasJavaGenericServices();
/**
* optional bool java_generic_services = 17 [default = false];
*/
boolean getJavaGenericServices();
/**
* optional bool py_generic_services = 18 [default = false];
*/
boolean hasPyGenericServices();
/**
* optional bool py_generic_services = 18 [default = false];
*/
boolean getPyGenericServices();
/**
* optional bool php_generic_services = 19 [default = false];
*/
boolean hasPhpGenericServices();
/**
* optional bool php_generic_services = 19 [default = false];
*/
boolean getPhpGenericServices();
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
boolean hasDeprecated();
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
boolean getDeprecated();
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
boolean hasCcEnableArenas();
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
boolean getCcEnableArenas();
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
boolean hasObjcClassPrefix();
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
java.lang.String getObjcClassPrefix();
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getObjcClassPrefixBytes();
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
boolean hasCsharpNamespace();
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
java.lang.String getCsharpNamespace();
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getCsharpNamespaceBytes();
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
boolean hasSwiftPrefix();
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
java.lang.String getSwiftPrefix();
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getSwiftPrefixBytes();
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
boolean hasPhpClassPrefix();
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
java.lang.String getPhpClassPrefix();
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPhpClassPrefixBytes();
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
boolean hasPhpNamespace();
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
java.lang.String getPhpNamespace();
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPhpNamespaceBytes();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
java.util.List
getUninterpretedOptionList();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
int getUninterpretedOptionCount();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.FileOptions}
*/
public static final class FileOptions extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableMessage<
FileOptions> implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.FileOptions)
FileOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileOptions.newBuilder() to construct.
private FileOptions(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) {
super(builder);
}
private FileOptions() {
javaPackage_ = "";
javaOuterClassname_ = "";
javaMultipleFiles_ = false;
javaGenerateEqualsAndHash_ = false;
javaStringCheckUtf8_ = false;
optimizeFor_ = 1;
goPackage_ = "";
ccGenericServices_ = false;
javaGenericServices_ = false;
pyGenericServices_ = false;
phpGenericServices_ = false;
deprecated_ = false;
ccEnableArenas_ = false;
objcClassPrefix_ = "";
csharpNamespace_ = "";
swiftPrefix_ = "";
phpClassPrefix_ = "";
phpNamespace_ = "";
uninterpretedOption_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileOptions(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
javaPackage_ = bs;
break;
}
case 66: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
javaOuterClassname_ = bs;
break;
}
case 72: {
int rawValue = input.readEnum();
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode value = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(9, rawValue);
} else {
bitField0_ |= 0x00000020;
optimizeFor_ = rawValue;
}
break;
}
case 80: {
bitField0_ |= 0x00000004;
javaMultipleFiles_ = input.readBool();
break;
}
case 90: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
goPackage_ = bs;
break;
}
case 128: {
bitField0_ |= 0x00000080;
ccGenericServices_ = input.readBool();
break;
}
case 136: {
bitField0_ |= 0x00000100;
javaGenericServices_ = input.readBool();
break;
}
case 144: {
bitField0_ |= 0x00000200;
pyGenericServices_ = input.readBool();
break;
}
case 152: {
bitField0_ |= 0x00000400;
phpGenericServices_ = input.readBool();
break;
}
case 160: {
bitField0_ |= 0x00000008;
javaGenerateEqualsAndHash_ = input.readBool();
break;
}
case 184: {
bitField0_ |= 0x00000800;
deprecated_ = input.readBool();
break;
}
case 216: {
bitField0_ |= 0x00000010;
javaStringCheckUtf8_ = input.readBool();
break;
}
case 248: {
bitField0_ |= 0x00001000;
ccEnableArenas_ = input.readBool();
break;
}
case 290: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00002000;
objcClassPrefix_ = bs;
break;
}
case 298: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00004000;
csharpNamespace_ = bs;
break;
}
case 314: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
swiftPrefix_ = bs;
break;
}
case 322: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00010000;
phpClassPrefix_ = bs;
break;
}
case 330: {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
phpNamespace_ = bs;
break;
}
case 7994: {
if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00040000;
}
uninterpretedOption_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder.class);
}
/**
*
* Generated classes can be optimized for speed or code size.
*
*
* Protobuf enum {@code lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode}
*/
public enum OptimizeMode
implements lightstep.com.lightstep.lightstep.google.protobuf.ProtocolMessageEnum {
/**
*
* Generate complete code for parsing, serialization,
*
*
* SPEED = 1;
*/
SPEED(1),
/**
*
* etc.
*
*
* CODE_SIZE = 2;
*/
CODE_SIZE(2),
/**
*
* Generate code using MessageLite and the lite runtime.
*
*
* LITE_RUNTIME = 3;
*/
LITE_RUNTIME(3),
;
/**
*
* Generate complete code for parsing, serialization,
*
*
* SPEED = 1;
*/
public static final int SPEED_VALUE = 1;
/**
*
* etc.
*
*
* CODE_SIZE = 2;
*/
public static final int CODE_SIZE_VALUE = 2;
/**
*
* Generate code using MessageLite and the lite runtime.
*
*
* LITE_RUNTIME = 3;
*/
public static final int LITE_RUNTIME_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OptimizeMode valueOf(int value) {
return forNumber(value);
}
public static OptimizeMode forNumber(int value) {
switch (value) {
case 1: return SPEED;
case 2: return CODE_SIZE;
case 3: return LITE_RUNTIME;
default: return null;
}
}
public static lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap<
OptimizeMode> internalValueMap =
new lightstep.com.lightstep.lightstep.google.protobuf.Internal.EnumLiteMap() {
public OptimizeMode findValueByNumber(int number) {
return OptimizeMode.forNumber(number);
}
};
public final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDescriptor().getEnumTypes().get(0);
}
private static final OptimizeMode[] VALUES = values();
public static OptimizeMode valueOf(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private OptimizeMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode)
}
private int bitField0_;
public static final int JAVA_PACKAGE_FIELD_NUMBER = 1;
private volatile java.lang.Object javaPackage_;
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public boolean hasJavaPackage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public java.lang.String getJavaPackage() {
java.lang.Object ref = javaPackage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
javaPackage_ = s;
}
return s;
}
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJavaPackageBytes() {
java.lang.Object ref = javaPackage_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaPackage_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER = 8;
private volatile java.lang.Object javaOuterClassname_;
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public boolean hasJavaOuterClassname() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public java.lang.String getJavaOuterClassname() {
java.lang.Object ref = javaOuterClassname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
javaOuterClassname_ = s;
}
return s;
}
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJavaOuterClassnameBytes() {
java.lang.Object ref = javaOuterClassname_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaOuterClassname_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int JAVA_MULTIPLE_FILES_FIELD_NUMBER = 10;
private boolean javaMultipleFiles_;
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
public boolean hasJavaMultipleFiles() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
public boolean getJavaMultipleFiles() {
return javaMultipleFiles_;
}
public static final int JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER = 20;
private boolean javaGenerateEqualsAndHash_;
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated public boolean hasJavaGenerateEqualsAndHash() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated public boolean getJavaGenerateEqualsAndHash() {
return javaGenerateEqualsAndHash_;
}
public static final int JAVA_STRING_CHECK_UTF8_FIELD_NUMBER = 27;
private boolean javaStringCheckUtf8_;
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
public boolean hasJavaStringCheckUtf8() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
public boolean getJavaStringCheckUtf8() {
return javaStringCheckUtf8_;
}
public static final int OPTIMIZE_FOR_FIELD_NUMBER = 9;
private int optimizeFor_;
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
public boolean hasOptimizeFor() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode result = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.valueOf(optimizeFor_);
return result == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED : result;
}
public static final int GO_PACKAGE_FIELD_NUMBER = 11;
private volatile java.lang.Object goPackage_;
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public boolean hasGoPackage() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public java.lang.String getGoPackage() {
java.lang.Object ref = goPackage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
goPackage_ = s;
}
return s;
}
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getGoPackageBytes() {
java.lang.Object ref = goPackage_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
goPackage_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int CC_GENERIC_SERVICES_FIELD_NUMBER = 16;
private boolean ccGenericServices_;
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
public boolean hasCcGenericServices() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
public boolean getCcGenericServices() {
return ccGenericServices_;
}
public static final int JAVA_GENERIC_SERVICES_FIELD_NUMBER = 17;
private boolean javaGenericServices_;
/**
* optional bool java_generic_services = 17 [default = false];
*/
public boolean hasJavaGenericServices() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool java_generic_services = 17 [default = false];
*/
public boolean getJavaGenericServices() {
return javaGenericServices_;
}
public static final int PY_GENERIC_SERVICES_FIELD_NUMBER = 18;
private boolean pyGenericServices_;
/**
* optional bool py_generic_services = 18 [default = false];
*/
public boolean hasPyGenericServices() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool py_generic_services = 18 [default = false];
*/
public boolean getPyGenericServices() {
return pyGenericServices_;
}
public static final int PHP_GENERIC_SERVICES_FIELD_NUMBER = 19;
private boolean phpGenericServices_;
/**
* optional bool php_generic_services = 19 [default = false];
*/
public boolean hasPhpGenericServices() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional bool php_generic_services = 19 [default = false];
*/
public boolean getPhpGenericServices() {
return phpGenericServices_;
}
public static final int DEPRECATED_FIELD_NUMBER = 23;
private boolean deprecated_;
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
public boolean getDeprecated() {
return deprecated_;
}
public static final int CC_ENABLE_ARENAS_FIELD_NUMBER = 31;
private boolean ccEnableArenas_;
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
public boolean hasCcEnableArenas() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
public boolean getCcEnableArenas() {
return ccEnableArenas_;
}
public static final int OBJC_CLASS_PREFIX_FIELD_NUMBER = 36;
private volatile java.lang.Object objcClassPrefix_;
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public boolean hasObjcClassPrefix() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public java.lang.String getObjcClassPrefix() {
java.lang.Object ref = objcClassPrefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
objcClassPrefix_ = s;
}
return s;
}
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getObjcClassPrefixBytes() {
java.lang.Object ref = objcClassPrefix_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
objcClassPrefix_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int CSHARP_NAMESPACE_FIELD_NUMBER = 37;
private volatile java.lang.Object csharpNamespace_;
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public boolean hasCsharpNamespace() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public java.lang.String getCsharpNamespace() {
java.lang.Object ref = csharpNamespace_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
csharpNamespace_ = s;
}
return s;
}
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getCsharpNamespaceBytes() {
java.lang.Object ref = csharpNamespace_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
csharpNamespace_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int SWIFT_PREFIX_FIELD_NUMBER = 39;
private volatile java.lang.Object swiftPrefix_;
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public boolean hasSwiftPrefix() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public java.lang.String getSwiftPrefix() {
java.lang.Object ref = swiftPrefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
swiftPrefix_ = s;
}
return s;
}
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getSwiftPrefixBytes() {
java.lang.Object ref = swiftPrefix_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
swiftPrefix_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int PHP_CLASS_PREFIX_FIELD_NUMBER = 40;
private volatile java.lang.Object phpClassPrefix_;
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public boolean hasPhpClassPrefix() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public java.lang.String getPhpClassPrefix() {
java.lang.Object ref = phpClassPrefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
phpClassPrefix_ = s;
}
return s;
}
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPhpClassPrefixBytes() {
java.lang.Object ref = phpClassPrefix_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phpClassPrefix_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int PHP_NAMESPACE_FIELD_NUMBER = 41;
private volatile java.lang.Object phpNamespace_;
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public boolean hasPhpNamespace() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public java.lang.String getPhpNamespace() {
java.lang.Object ref = phpNamespace_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
phpNamespace_ = s;
}
return s;
}
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPhpNamespaceBytes() {
java.lang.Object ref = phpNamespace_;
if (ref instanceof java.lang.String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phpNamespace_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private java.util.List uninterpretedOption_;
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.ExtendableMessage.ExtensionWriter
extensionWriter = newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, javaPackage_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 8, javaOuterClassname_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeEnum(9, optimizeFor_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(10, javaMultipleFiles_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 11, goPackage_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBool(16, ccGenericServices_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(17, javaGenericServices_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBool(18, pyGenericServices_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBool(19, phpGenericServices_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(20, javaGenerateEqualsAndHash_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeBool(23, deprecated_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(27, javaStringCheckUtf8_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeBool(31, ccEnableArenas_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 36, objcClassPrefix_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 37, csharpNamespace_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 39, swiftPrefix_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 40, phpClassPrefix_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 41, phpNamespace_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, javaPackage_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(8, javaOuterClassname_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeEnumSize(9, optimizeFor_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(10, javaMultipleFiles_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(11, goPackage_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(16, ccGenericServices_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(17, javaGenericServices_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(18, pyGenericServices_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(19, phpGenericServices_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(20, javaGenerateEqualsAndHash_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(23, deprecated_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(27, javaStringCheckUtf8_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(31, ccEnableArenas_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(36, objcClassPrefix_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(37, csharpNamespace_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(39, swiftPrefix_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(40, phpClassPrefix_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(41, phpNamespace_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions) obj;
boolean result = true;
result = result && (hasJavaPackage() == other.hasJavaPackage());
if (hasJavaPackage()) {
result = result && getJavaPackage()
.equals(other.getJavaPackage());
}
result = result && (hasJavaOuterClassname() == other.hasJavaOuterClassname());
if (hasJavaOuterClassname()) {
result = result && getJavaOuterClassname()
.equals(other.getJavaOuterClassname());
}
result = result && (hasJavaMultipleFiles() == other.hasJavaMultipleFiles());
if (hasJavaMultipleFiles()) {
result = result && (getJavaMultipleFiles()
== other.getJavaMultipleFiles());
}
result = result && (hasJavaGenerateEqualsAndHash() == other.hasJavaGenerateEqualsAndHash());
if (hasJavaGenerateEqualsAndHash()) {
result = result && (getJavaGenerateEqualsAndHash()
== other.getJavaGenerateEqualsAndHash());
}
result = result && (hasJavaStringCheckUtf8() == other.hasJavaStringCheckUtf8());
if (hasJavaStringCheckUtf8()) {
result = result && (getJavaStringCheckUtf8()
== other.getJavaStringCheckUtf8());
}
result = result && (hasOptimizeFor() == other.hasOptimizeFor());
if (hasOptimizeFor()) {
result = result && optimizeFor_ == other.optimizeFor_;
}
result = result && (hasGoPackage() == other.hasGoPackage());
if (hasGoPackage()) {
result = result && getGoPackage()
.equals(other.getGoPackage());
}
result = result && (hasCcGenericServices() == other.hasCcGenericServices());
if (hasCcGenericServices()) {
result = result && (getCcGenericServices()
== other.getCcGenericServices());
}
result = result && (hasJavaGenericServices() == other.hasJavaGenericServices());
if (hasJavaGenericServices()) {
result = result && (getJavaGenericServices()
== other.getJavaGenericServices());
}
result = result && (hasPyGenericServices() == other.hasPyGenericServices());
if (hasPyGenericServices()) {
result = result && (getPyGenericServices()
== other.getPyGenericServices());
}
result = result && (hasPhpGenericServices() == other.hasPhpGenericServices());
if (hasPhpGenericServices()) {
result = result && (getPhpGenericServices()
== other.getPhpGenericServices());
}
result = result && (hasDeprecated() == other.hasDeprecated());
if (hasDeprecated()) {
result = result && (getDeprecated()
== other.getDeprecated());
}
result = result && (hasCcEnableArenas() == other.hasCcEnableArenas());
if (hasCcEnableArenas()) {
result = result && (getCcEnableArenas()
== other.getCcEnableArenas());
}
result = result && (hasObjcClassPrefix() == other.hasObjcClassPrefix());
if (hasObjcClassPrefix()) {
result = result && getObjcClassPrefix()
.equals(other.getObjcClassPrefix());
}
result = result && (hasCsharpNamespace() == other.hasCsharpNamespace());
if (hasCsharpNamespace()) {
result = result && getCsharpNamespace()
.equals(other.getCsharpNamespace());
}
result = result && (hasSwiftPrefix() == other.hasSwiftPrefix());
if (hasSwiftPrefix()) {
result = result && getSwiftPrefix()
.equals(other.getSwiftPrefix());
}
result = result && (hasPhpClassPrefix() == other.hasPhpClassPrefix());
if (hasPhpClassPrefix()) {
result = result && getPhpClassPrefix()
.equals(other.getPhpClassPrefix());
}
result = result && (hasPhpNamespace() == other.hasPhpNamespace());
if (hasPhpNamespace()) {
result = result && getPhpNamespace()
.equals(other.getPhpNamespace());
}
result = result && getUninterpretedOptionList()
.equals(other.getUninterpretedOptionList());
result = result && unknownFields.equals(other.unknownFields);
result = result &&
getExtensionFields().equals(other.getExtensionFields());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasJavaPackage()) {
hash = (37 * hash) + JAVA_PACKAGE_FIELD_NUMBER;
hash = (53 * hash) + getJavaPackage().hashCode();
}
if (hasJavaOuterClassname()) {
hash = (37 * hash) + JAVA_OUTER_CLASSNAME_FIELD_NUMBER;
hash = (53 * hash) + getJavaOuterClassname().hashCode();
}
if (hasJavaMultipleFiles()) {
hash = (37 * hash) + JAVA_MULTIPLE_FILES_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getJavaMultipleFiles());
}
if (hasJavaGenerateEqualsAndHash()) {
hash = (37 * hash) + JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getJavaGenerateEqualsAndHash());
}
if (hasJavaStringCheckUtf8()) {
hash = (37 * hash) + JAVA_STRING_CHECK_UTF8_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getJavaStringCheckUtf8());
}
if (hasOptimizeFor()) {
hash = (37 * hash) + OPTIMIZE_FOR_FIELD_NUMBER;
hash = (53 * hash) + optimizeFor_;
}
if (hasGoPackage()) {
hash = (37 * hash) + GO_PACKAGE_FIELD_NUMBER;
hash = (53 * hash) + getGoPackage().hashCode();
}
if (hasCcGenericServices()) {
hash = (37 * hash) + CC_GENERIC_SERVICES_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getCcGenericServices());
}
if (hasJavaGenericServices()) {
hash = (37 * hash) + JAVA_GENERIC_SERVICES_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getJavaGenericServices());
}
if (hasPyGenericServices()) {
hash = (37 * hash) + PY_GENERIC_SERVICES_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getPyGenericServices());
}
if (hasPhpGenericServices()) {
hash = (37 * hash) + PHP_GENERIC_SERVICES_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getPhpGenericServices());
}
if (hasDeprecated()) {
hash = (37 * hash) + DEPRECATED_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getDeprecated());
}
if (hasCcEnableArenas()) {
hash = (37 * hash) + CC_ENABLE_ARENAS_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getCcEnableArenas());
}
if (hasObjcClassPrefix()) {
hash = (37 * hash) + OBJC_CLASS_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getObjcClassPrefix().hashCode();
}
if (hasCsharpNamespace()) {
hash = (37 * hash) + CSHARP_NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getCsharpNamespace().hashCode();
}
if (hasSwiftPrefix()) {
hash = (37 * hash) + SWIFT_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getSwiftPrefix().hashCode();
}
if (hasPhpClassPrefix()) {
hash = (37 * hash) + PHP_CLASS_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getPhpClassPrefix().hashCode();
}
if (hasPhpNamespace()) {
hash = (37 * hash) + PHP_NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getPhpNamespace().hashCode();
}
if (getUninterpretedOptionCount() > 0) {
hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER;
hash = (53 * hash) + getUninterpretedOptionList().hashCode();
}
hash = hashFields(hash, getExtensionFields());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.FileOptions}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableBuilder<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.FileOptions)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptionsOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
public Builder clear() {
super.clear();
javaPackage_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
javaOuterClassname_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
javaMultipleFiles_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
javaGenerateEqualsAndHash_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
javaStringCheckUtf8_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
optimizeFor_ = 1;
bitField0_ = (bitField0_ & ~0x00000020);
goPackage_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
ccGenericServices_ = false;
bitField0_ = (bitField0_ & ~0x00000080);
javaGenericServices_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
pyGenericServices_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
phpGenericServices_ = false;
bitField0_ = (bitField0_ & ~0x00000400);
deprecated_ = false;
bitField0_ = (bitField0_ & ~0x00000800);
ccEnableArenas_ = false;
bitField0_ = (bitField0_ & ~0x00001000);
objcClassPrefix_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
csharpNamespace_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
swiftPrefix_ = "";
bitField0_ = (bitField0_ & ~0x00008000);
phpClassPrefix_ = "";
bitField0_ = (bitField0_ & ~0x00010000);
phpNamespace_ = "";
bitField0_ = (bitField0_ & ~0x00020000);
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00040000);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.javaPackage_ = javaPackage_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.javaOuterClassname_ = javaOuterClassname_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.javaMultipleFiles_ = javaMultipleFiles_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.javaGenerateEqualsAndHash_ = javaGenerateEqualsAndHash_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.javaStringCheckUtf8_ = javaStringCheckUtf8_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.optimizeFor_ = optimizeFor_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.goPackage_ = goPackage_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.ccGenericServices_ = ccGenericServices_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.javaGenericServices_ = javaGenericServices_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.pyGenericServices_ = pyGenericServices_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.phpGenericServices_ = phpGenericServices_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.deprecated_ = deprecated_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
result.ccEnableArenas_ = ccEnableArenas_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.objcClassPrefix_ = objcClassPrefix_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.csharpNamespace_ = csharpNamespace_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00008000;
}
result.swiftPrefix_ = swiftPrefix_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00010000;
}
result.phpClassPrefix_ = phpClassPrefix_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00020000;
}
result.phpNamespace_ = phpNamespace_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00040000) == 0x00040000)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00040000);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder setExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, Type> extension,
Type value) {
return (Builder) super.setExtension(extension, value);
}
public Builder setExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, java.util.List> extension,
int index, Type value) {
return (Builder) super.setExtension(extension, index, value);
}
public Builder addExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, java.util.List> extension,
Type value) {
return (Builder) super.addExtension(extension, value);
}
public Builder clearExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions, ?> extension) {
return (Builder) super.clearExtension(extension);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) return this;
if (other.hasJavaPackage()) {
bitField0_ |= 0x00000001;
javaPackage_ = other.javaPackage_;
onChanged();
}
if (other.hasJavaOuterClassname()) {
bitField0_ |= 0x00000002;
javaOuterClassname_ = other.javaOuterClassname_;
onChanged();
}
if (other.hasJavaMultipleFiles()) {
setJavaMultipleFiles(other.getJavaMultipleFiles());
}
if (other.hasJavaGenerateEqualsAndHash()) {
setJavaGenerateEqualsAndHash(other.getJavaGenerateEqualsAndHash());
}
if (other.hasJavaStringCheckUtf8()) {
setJavaStringCheckUtf8(other.getJavaStringCheckUtf8());
}
if (other.hasOptimizeFor()) {
setOptimizeFor(other.getOptimizeFor());
}
if (other.hasGoPackage()) {
bitField0_ |= 0x00000040;
goPackage_ = other.goPackage_;
onChanged();
}
if (other.hasCcGenericServices()) {
setCcGenericServices(other.getCcGenericServices());
}
if (other.hasJavaGenericServices()) {
setJavaGenericServices(other.getJavaGenericServices());
}
if (other.hasPyGenericServices()) {
setPyGenericServices(other.getPyGenericServices());
}
if (other.hasPhpGenericServices()) {
setPhpGenericServices(other.getPhpGenericServices());
}
if (other.hasDeprecated()) {
setDeprecated(other.getDeprecated());
}
if (other.hasCcEnableArenas()) {
setCcEnableArenas(other.getCcEnableArenas());
}
if (other.hasObjcClassPrefix()) {
bitField0_ |= 0x00002000;
objcClassPrefix_ = other.objcClassPrefix_;
onChanged();
}
if (other.hasCsharpNamespace()) {
bitField0_ |= 0x00004000;
csharpNamespace_ = other.csharpNamespace_;
onChanged();
}
if (other.hasSwiftPrefix()) {
bitField0_ |= 0x00008000;
swiftPrefix_ = other.swiftPrefix_;
onChanged();
}
if (other.hasPhpClassPrefix()) {
bitField0_ |= 0x00010000;
phpClassPrefix_ = other.phpClassPrefix_;
onChanged();
}
if (other.hasPhpNamespace()) {
bitField0_ |= 0x00020000;
phpNamespace_ = other.phpNamespace_;
onChanged();
}
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00040000);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00040000);
uninterpretedOptionBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object javaPackage_ = "";
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public boolean hasJavaPackage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public java.lang.String getJavaPackage() {
java.lang.Object ref = javaPackage_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
javaPackage_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJavaPackageBytes() {
java.lang.Object ref = javaPackage_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaPackage_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public Builder setJavaPackage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
javaPackage_ = value;
onChanged();
return this;
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public Builder clearJavaPackage() {
bitField0_ = (bitField0_ & ~0x00000001);
javaPackage_ = getDefaultInstance().getJavaPackage();
onChanged();
return this;
}
/**
*
* Sets the Java package where classes generated from this .proto will be
* placed. By default, the proto package is used, but this is often
* inappropriate because proto packages do not normally start with backwards
* domain names.
*
*
* optional string java_package = 1;
*/
public Builder setJavaPackageBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
javaPackage_ = value;
onChanged();
return this;
}
private java.lang.Object javaOuterClassname_ = "";
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public boolean hasJavaOuterClassname() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public java.lang.String getJavaOuterClassname() {
java.lang.Object ref = javaOuterClassname_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
javaOuterClassname_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getJavaOuterClassnameBytes() {
java.lang.Object ref = javaOuterClassname_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaOuterClassname_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public Builder setJavaOuterClassname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
javaOuterClassname_ = value;
onChanged();
return this;
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public Builder clearJavaOuterClassname() {
bitField0_ = (bitField0_ & ~0x00000002);
javaOuterClassname_ = getDefaultInstance().getJavaOuterClassname();
onChanged();
return this;
}
/**
*
* If set, all the classes from the .proto file are wrapped in a single
* outer class with the given name. This applies to both Proto1
* (equivalent to the old "--one_java_file" option) and Proto2 (where
* a .proto always translates to a single class, but you may want to
* explicitly choose the class name).
*
*
* optional string java_outer_classname = 8;
*/
public Builder setJavaOuterClassnameBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
javaOuterClassname_ = value;
onChanged();
return this;
}
private boolean javaMultipleFiles_ ;
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
public boolean hasJavaMultipleFiles() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
public boolean getJavaMultipleFiles() {
return javaMultipleFiles_;
}
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
public Builder setJavaMultipleFiles(boolean value) {
bitField0_ |= 0x00000004;
javaMultipleFiles_ = value;
onChanged();
return this;
}
/**
*
* If set true, then the Java code generator will generate a separate .java
* file for each top-level message, enum, and service defined in the .proto
* file. Thus, these types will *not* be nested inside the outer class
* named by java_outer_classname. However, the outer class will still be
* generated to contain the file's getDescriptor() method as well as any
* top-level extensions defined in the file.
*
*
* optional bool java_multiple_files = 10 [default = false];
*/
public Builder clearJavaMultipleFiles() {
bitField0_ = (bitField0_ & ~0x00000004);
javaMultipleFiles_ = false;
onChanged();
return this;
}
private boolean javaGenerateEqualsAndHash_ ;
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated public boolean hasJavaGenerateEqualsAndHash() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated public boolean getJavaGenerateEqualsAndHash() {
return javaGenerateEqualsAndHash_;
}
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated public Builder setJavaGenerateEqualsAndHash(boolean value) {
bitField0_ |= 0x00000008;
javaGenerateEqualsAndHash_ = value;
onChanged();
return this;
}
/**
*
* This option does nothing.
*
*
* optional bool java_generate_equals_and_hash = 20 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearJavaGenerateEqualsAndHash() {
bitField0_ = (bitField0_ & ~0x00000008);
javaGenerateEqualsAndHash_ = false;
onChanged();
return this;
}
private boolean javaStringCheckUtf8_ ;
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
public boolean hasJavaStringCheckUtf8() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
public boolean getJavaStringCheckUtf8() {
return javaStringCheckUtf8_;
}
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
public Builder setJavaStringCheckUtf8(boolean value) {
bitField0_ |= 0x00000010;
javaStringCheckUtf8_ = value;
onChanged();
return this;
}
/**
*
* If set true, then the Java2 code generator will generate code that
* throws an exception whenever an attempt is made to assign a non-UTF-8
* byte sequence to a string field.
* Message reflection will do the same.
* However, an extension field still accepts non-UTF-8 byte sequences.
* This option has no effect on when used with the lite runtime.
*
*
* optional bool java_string_check_utf8 = 27 [default = false];
*/
public Builder clearJavaStringCheckUtf8() {
bitField0_ = (bitField0_ & ~0x00000010);
javaStringCheckUtf8_ = false;
onChanged();
return this;
}
private int optimizeFor_ = 1;
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
public boolean hasOptimizeFor() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode result = lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.valueOf(optimizeFor_);
return result == null ? lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED : result;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
public Builder setOptimizeFor(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
optimizeFor_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .lightstep.lightstep.google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
*/
public Builder clearOptimizeFor() {
bitField0_ = (bitField0_ & ~0x00000020);
optimizeFor_ = 1;
onChanged();
return this;
}
private java.lang.Object goPackage_ = "";
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public boolean hasGoPackage() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public java.lang.String getGoPackage() {
java.lang.Object ref = goPackage_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
goPackage_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getGoPackageBytes() {
java.lang.Object ref = goPackage_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
goPackage_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public Builder setGoPackage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
goPackage_ = value;
onChanged();
return this;
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public Builder clearGoPackage() {
bitField0_ = (bitField0_ & ~0x00000040);
goPackage_ = getDefaultInstance().getGoPackage();
onChanged();
return this;
}
/**
*
* Sets the Go package where structs generated from this .proto will be
* placed. If omitted, the Go package will be derived from the following:
* - The basename of the package import path, if provided.
* - Otherwise, the package statement in the .proto file, if present.
* - Otherwise, the basename of the .proto file, without extension.
*
*
* optional string go_package = 11;
*/
public Builder setGoPackageBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
goPackage_ = value;
onChanged();
return this;
}
private boolean ccGenericServices_ ;
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
public boolean hasCcGenericServices() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
public boolean getCcGenericServices() {
return ccGenericServices_;
}
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
public Builder setCcGenericServices(boolean value) {
bitField0_ |= 0x00000080;
ccGenericServices_ = value;
onChanged();
return this;
}
/**
*
* Should generic services be generated in each language? "Generic" services
* are not specific to any particular RPC system. They are generated by the
* main code generators in each language (without additional plugins).
* Generic services were the only kind of service generation supported by
* early versions of lightstep.lightstep.google.protobuf.
* Generic services are now considered deprecated in favor of using plugins
* that generate code specific to your particular RPC system. Therefore,
* these default to false. Old code which depends on generic services should
* explicitly set them to true.
*
*
* optional bool cc_generic_services = 16 [default = false];
*/
public Builder clearCcGenericServices() {
bitField0_ = (bitField0_ & ~0x00000080);
ccGenericServices_ = false;
onChanged();
return this;
}
private boolean javaGenericServices_ ;
/**
* optional bool java_generic_services = 17 [default = false];
*/
public boolean hasJavaGenericServices() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool java_generic_services = 17 [default = false];
*/
public boolean getJavaGenericServices() {
return javaGenericServices_;
}
/**
* optional bool java_generic_services = 17 [default = false];
*/
public Builder setJavaGenericServices(boolean value) {
bitField0_ |= 0x00000100;
javaGenericServices_ = value;
onChanged();
return this;
}
/**
* optional bool java_generic_services = 17 [default = false];
*/
public Builder clearJavaGenericServices() {
bitField0_ = (bitField0_ & ~0x00000100);
javaGenericServices_ = false;
onChanged();
return this;
}
private boolean pyGenericServices_ ;
/**
* optional bool py_generic_services = 18 [default = false];
*/
public boolean hasPyGenericServices() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool py_generic_services = 18 [default = false];
*/
public boolean getPyGenericServices() {
return pyGenericServices_;
}
/**
* optional bool py_generic_services = 18 [default = false];
*/
public Builder setPyGenericServices(boolean value) {
bitField0_ |= 0x00000200;
pyGenericServices_ = value;
onChanged();
return this;
}
/**
* optional bool py_generic_services = 18 [default = false];
*/
public Builder clearPyGenericServices() {
bitField0_ = (bitField0_ & ~0x00000200);
pyGenericServices_ = false;
onChanged();
return this;
}
private boolean phpGenericServices_ ;
/**
* optional bool php_generic_services = 19 [default = false];
*/
public boolean hasPhpGenericServices() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional bool php_generic_services = 19 [default = false];
*/
public boolean getPhpGenericServices() {
return phpGenericServices_;
}
/**
* optional bool php_generic_services = 19 [default = false];
*/
public Builder setPhpGenericServices(boolean value) {
bitField0_ |= 0x00000400;
phpGenericServices_ = value;
onChanged();
return this;
}
/**
* optional bool php_generic_services = 19 [default = false];
*/
public Builder clearPhpGenericServices() {
bitField0_ = (bitField0_ & ~0x00000400);
phpGenericServices_ = false;
onChanged();
return this;
}
private boolean deprecated_ ;
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
public boolean getDeprecated() {
return deprecated_;
}
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
public Builder setDeprecated(boolean value) {
bitField0_ |= 0x00000800;
deprecated_ = value;
onChanged();
return this;
}
/**
*
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for everything in the file, or it will be completely ignored; in the very
* least, this is a formalization for deprecating files.
*
*
* optional bool deprecated = 23 [default = false];
*/
public Builder clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000800);
deprecated_ = false;
onChanged();
return this;
}
private boolean ccEnableArenas_ ;
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
public boolean hasCcEnableArenas() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
public boolean getCcEnableArenas() {
return ccEnableArenas_;
}
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
public Builder setCcEnableArenas(boolean value) {
bitField0_ |= 0x00001000;
ccEnableArenas_ = value;
onChanged();
return this;
}
/**
*
* Enables the use of arenas for the proto messages in this file. This applies
* only to generated classes for C++.
*
*
* optional bool cc_enable_arenas = 31 [default = false];
*/
public Builder clearCcEnableArenas() {
bitField0_ = (bitField0_ & ~0x00001000);
ccEnableArenas_ = false;
onChanged();
return this;
}
private java.lang.Object objcClassPrefix_ = "";
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public boolean hasObjcClassPrefix() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public java.lang.String getObjcClassPrefix() {
java.lang.Object ref = objcClassPrefix_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
objcClassPrefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getObjcClassPrefixBytes() {
java.lang.Object ref = objcClassPrefix_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
objcClassPrefix_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public Builder setObjcClassPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
objcClassPrefix_ = value;
onChanged();
return this;
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public Builder clearObjcClassPrefix() {
bitField0_ = (bitField0_ & ~0x00002000);
objcClassPrefix_ = getDefaultInstance().getObjcClassPrefix();
onChanged();
return this;
}
/**
*
* Sets the objective c class prefix which is prepended to all objective c
* generated classes from this .proto. There is no default.
*
*
* optional string objc_class_prefix = 36;
*/
public Builder setObjcClassPrefixBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
objcClassPrefix_ = value;
onChanged();
return this;
}
private java.lang.Object csharpNamespace_ = "";
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public boolean hasCsharpNamespace() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public java.lang.String getCsharpNamespace() {
java.lang.Object ref = csharpNamespace_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
csharpNamespace_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getCsharpNamespaceBytes() {
java.lang.Object ref = csharpNamespace_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
csharpNamespace_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public Builder setCsharpNamespace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
csharpNamespace_ = value;
onChanged();
return this;
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public Builder clearCsharpNamespace() {
bitField0_ = (bitField0_ & ~0x00004000);
csharpNamespace_ = getDefaultInstance().getCsharpNamespace();
onChanged();
return this;
}
/**
*
* Namespace for generated classes; defaults to the package.
*
*
* optional string csharp_namespace = 37;
*/
public Builder setCsharpNamespaceBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
csharpNamespace_ = value;
onChanged();
return this;
}
private java.lang.Object swiftPrefix_ = "";
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public boolean hasSwiftPrefix() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public java.lang.String getSwiftPrefix() {
java.lang.Object ref = swiftPrefix_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
swiftPrefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getSwiftPrefixBytes() {
java.lang.Object ref = swiftPrefix_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
swiftPrefix_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public Builder setSwiftPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
swiftPrefix_ = value;
onChanged();
return this;
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public Builder clearSwiftPrefix() {
bitField0_ = (bitField0_ & ~0x00008000);
swiftPrefix_ = getDefaultInstance().getSwiftPrefix();
onChanged();
return this;
}
/**
*
* By default Swift generators will take the proto package and CamelCase it
* replacing '.' with underscore and use that to prefix the types/symbols
* defined. When this options is provided, they will use this value instead
* to prefix the types/symbols defined.
*
*
* optional string swift_prefix = 39;
*/
public Builder setSwiftPrefixBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
swiftPrefix_ = value;
onChanged();
return this;
}
private java.lang.Object phpClassPrefix_ = "";
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public boolean hasPhpClassPrefix() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public java.lang.String getPhpClassPrefix() {
java.lang.Object ref = phpClassPrefix_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
phpClassPrefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPhpClassPrefixBytes() {
java.lang.Object ref = phpClassPrefix_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phpClassPrefix_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public Builder setPhpClassPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
phpClassPrefix_ = value;
onChanged();
return this;
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public Builder clearPhpClassPrefix() {
bitField0_ = (bitField0_ & ~0x00010000);
phpClassPrefix_ = getDefaultInstance().getPhpClassPrefix();
onChanged();
return this;
}
/**
*
* Sets the php class prefix which is prepended to all php generated classes
* from this .proto. Default is empty.
*
*
* optional string php_class_prefix = 40;
*/
public Builder setPhpClassPrefixBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
phpClassPrefix_ = value;
onChanged();
return this;
}
private java.lang.Object phpNamespace_ = "";
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public boolean hasPhpNamespace() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public java.lang.String getPhpNamespace() {
java.lang.Object ref = phpNamespace_;
if (!(ref instanceof java.lang.String)) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
phpNamespace_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.ByteString
getPhpNamespaceBytes() {
java.lang.Object ref = phpNamespace_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phpNamespace_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public Builder setPhpNamespace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
phpNamespace_ = value;
onChanged();
return this;
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public Builder clearPhpNamespace() {
bitField0_ = (bitField0_ & ~0x00020000);
phpNamespace_ = getDefaultInstance().getPhpNamespace();
onChanged();
return this;
}
/**
*
* Use this option to change the namespace of php generated classes. Default
* is empty. When this option is empty, the package name will be used for
* determining the namespace.
*
*
* optional string php_namespace = 41;
*/
public Builder setPhpNamespaceBytes(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
phpNamespace_ = value;
onChanged();
return this;
}
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00040000) == 0x00040000)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00040000;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List getUninterpretedOptionList() {
if (uninterpretedOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
} else {
return uninterpretedOptionBuilder_.getMessageList();
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public int getUninterpretedOptionCount() {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.size();
} else {
return uninterpretedOptionBuilder_.getCount();
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index);
} else {
return uninterpretedOptionBuilder_.getMessage(index);
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder setUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder setUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(value);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addUninterpretedOption(
int index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
lightstep.com.lightstep.lightstep.google.protobuf.AbstractMessageLite.Builder.addAll(
values, uninterpretedOption_);
onChanged();
} else {
uninterpretedOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder clearUninterpretedOption() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00040000);
onChanged();
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public Builder removeUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
onChanged();
} else {
uninterpretedOptionBuilder_.remove(index);
}
return this;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().getBuilder(index);
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index); } else {
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
if (uninterpretedOptionBuilder_ != null) {
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
}
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
return getUninterpretedOptionFieldBuilder().addBuilder(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().addBuilder(
index, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List
getUninterpretedOptionBuilderList() {
return getUninterpretedOptionFieldBuilder().getBuilderList();
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOptionBuilder_ = new lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
uninterpretedOption_,
((bitField0_ & 0x00040000) == 0x00040000),
getParentForChildren(),
isClean());
uninterpretedOption_ = null;
}
return uninterpretedOptionBuilder_;
}
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:lightstep.lightstep.google.protobuf.FileOptions)
}
// @@protoc_insertion_point(class_scope:lightstep.lightstep.google.protobuf.FileOptions)
private static final lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions();
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final lightstep.com.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.google.protobuf.AbstractParser() {
public FileOptions parsePartialFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new FileOptions(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public lightstep.com.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.FileOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MessageOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.lightstep.google.protobuf.MessageOptions)
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.
ExtendableMessageOrBuilder {
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
boolean hasMessageSetWireFormat();
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
boolean getMessageSetWireFormat();
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
boolean hasNoStandardDescriptorAccessor();
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
boolean getNoStandardDescriptorAccessor();
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
boolean hasDeprecated();
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
boolean getDeprecated();
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
boolean hasMapEntry();
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
boolean getMapEntry();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
java.util.List
getUninterpretedOptionList();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
int getUninterpretedOptionCount();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.MessageOptions}
*/
public static final class MessageOptions extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableMessage<
MessageOptions> implements
// @@protoc_insertion_point(message_implements:lightstep.lightstep.google.protobuf.MessageOptions)
MessageOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use MessageOptions.newBuilder() to construct.
private MessageOptions(lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) {
super(builder);
}
private MessageOptions() {
messageSetWireFormat_ = false;
noStandardDescriptorAccessor_ = false;
deprecated_ = false;
mapEntry_ = false;
uninterpretedOption_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MessageOptions(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.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;
messageSetWireFormat_ = input.readBool();
break;
}
case 16: {
bitField0_ |= 0x00000002;
noStandardDescriptorAccessor_ = input.readBool();
break;
}
case 24: {
bitField0_ |= 0x00000004;
deprecated_ = input.readBool();
break;
}
case 56: {
bitField0_ |= 0x00000008;
mapEntry_ = input.readBool();
break;
}
case 7994: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
uninterpretedOption_.add(
input.readMessage(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder.class);
}
private int bitField0_;
public static final int MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER = 1;
private boolean messageSetWireFormat_;
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
public boolean hasMessageSetWireFormat() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
public boolean getMessageSetWireFormat() {
return messageSetWireFormat_;
}
public static final int NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER = 2;
private boolean noStandardDescriptorAccessor_;
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
public boolean hasNoStandardDescriptorAccessor() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
public boolean getNoStandardDescriptorAccessor() {
return noStandardDescriptorAccessor_;
}
public static final int DEPRECATED_FIELD_NUMBER = 3;
private boolean deprecated_;
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
public boolean getDeprecated() {
return deprecated_;
}
public static final int MAP_ENTRY_FIELD_NUMBER = 7;
private boolean mapEntry_;
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
public boolean hasMapEntry() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
public boolean getMapEntry() {
return mapEntry_;
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private java.util.List uninterpretedOption_;
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public java.util.List extends lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
*
* The parser stores options it doesn't recognize here. See above.
*
*
* repeated .lightstep.lightstep.google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.ExtendableMessage.ExtensionWriter
extensionWriter = newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(1, messageSetWireFormat_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, noStandardDescriptorAccessor_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, deprecated_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(7, mapEntry_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(1, messageSetWireFormat_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(2, noStandardDescriptorAccessor_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(3, deprecated_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeBoolSize(7, mapEntry_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += lightstep.com.lightstep.lightstep.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions)) {
return super.equals(obj);
}
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions other = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions) obj;
boolean result = true;
result = result && (hasMessageSetWireFormat() == other.hasMessageSetWireFormat());
if (hasMessageSetWireFormat()) {
result = result && (getMessageSetWireFormat()
== other.getMessageSetWireFormat());
}
result = result && (hasNoStandardDescriptorAccessor() == other.hasNoStandardDescriptorAccessor());
if (hasNoStandardDescriptorAccessor()) {
result = result && (getNoStandardDescriptorAccessor()
== other.getNoStandardDescriptorAccessor());
}
result = result && (hasDeprecated() == other.hasDeprecated());
if (hasDeprecated()) {
result = result && (getDeprecated()
== other.getDeprecated());
}
result = result && (hasMapEntry() == other.hasMapEntry());
if (hasMapEntry()) {
result = result && (getMapEntry()
== other.getMapEntry());
}
result = result && getUninterpretedOptionList()
.equals(other.getUninterpretedOptionList());
result = result && unknownFields.equals(other.unknownFields);
result = result &&
getExtensionFields().equals(other.getExtensionFields());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMessageSetWireFormat()) {
hash = (37 * hash) + MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getMessageSetWireFormat());
}
if (hasNoStandardDescriptorAccessor()) {
hash = (37 * hash) + NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getNoStandardDescriptorAccessor());
}
if (hasDeprecated()) {
hash = (37 * hash) + DEPRECATED_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getDeprecated());
}
if (hasMapEntry()) {
hash = (37 * hash) + MAP_ENTRY_FIELD_NUMBER;
hash = (53 * hash) + lightstep.com.lightstep.lightstep.google.protobuf.Internal.hashBoolean(
getMapEntry());
}
if (getUninterpretedOptionCount() > 0) {
hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER;
hash = (53 * hash) + getUninterpretedOptionList().hashCode();
}
hash = hashFields(hash, getExtensionFields());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code lightstep.lightstep.google.protobuf.MessageOptions}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.ExtendableBuilder<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:lightstep.lightstep.google.protobuf.MessageOptions)
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder {
public static final lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_descriptor;
}
protected lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.class, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.Builder.class);
}
// Construct using lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
public Builder clear() {
super.clear();
messageSetWireFormat_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
noStandardDescriptorAccessor_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
deprecated_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
mapEntry_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_descriptor;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstanceForType() {
return lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions build() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions buildPartial() {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions result = new lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.messageSetWireFormat_ = messageSetWireFormat_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.noStandardDescriptorAccessor_ = noStandardDescriptorAccessor_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.deprecated_ = deprecated_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.mapEntry_ = mapEntry_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder setExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, Type> extension,
Type value) {
return (Builder) super.setExtension(extension, value);
}
public Builder setExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, java.util.List> extension,
int index, Type value) {
return (Builder) super.setExtension(extension, index, value);
}
public Builder addExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, java.util.List> extension,
Type value) {
return (Builder) super.addExtension(extension, value);
}
public Builder clearExtension(
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessage.GeneratedExtension<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions, ?> extension) {
return (Builder) super.clearExtension(extension);
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions) {
return mergeFrom((lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions other) {
if (other == lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) return this;
if (other.hasMessageSetWireFormat()) {
setMessageSetWireFormat(other.getMessageSetWireFormat());
}
if (other.hasNoStandardDescriptorAccessor()) {
setNoStandardDescriptorAccessor(other.getNoStandardDescriptorAccessor());
}
if (other.hasDeprecated()) {
setDeprecated(other.getDeprecated());
}
if (other.hasMapEntry()) {
setMapEntry(other.getMapEntry());
}
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000010);
uninterpretedOptionBuilder_ =
lightstep.com.lightstep.lightstep.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.MessageOptions) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean messageSetWireFormat_ ;
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
public boolean hasMessageSetWireFormat() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
public boolean getMessageSetWireFormat() {
return messageSetWireFormat_;
}
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
public Builder setMessageSetWireFormat(boolean value) {
bitField0_ |= 0x00000001;
messageSetWireFormat_ = value;
onChanged();
return this;
}
/**
*
* Set true to use the old proto1 MessageSet wire format for extensions.
* This is provided for backwards-compatibility with the MessageSet wire
* format. You should not use this for any other reason: It's less
* efficient, has fewer features, and is more complicated.
* The message must be defined exactly as follows:
* message Foo {
* option message_set_wire_format = true;
* extensions 4 to max;
* }
* Note that the message cannot have any defined fields; MessageSets only
* have extensions.
* All extensions of your type must be singular messages; e.g. they cannot
* be int32s, enums, or repeated messages.
* Because this is an option, the above two restrictions are not enforced by
* the protocol compiler.
*
*
* optional bool message_set_wire_format = 1 [default = false];
*/
public Builder clearMessageSetWireFormat() {
bitField0_ = (bitField0_ & ~0x00000001);
messageSetWireFormat_ = false;
onChanged();
return this;
}
private boolean noStandardDescriptorAccessor_ ;
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
public boolean hasNoStandardDescriptorAccessor() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
public boolean getNoStandardDescriptorAccessor() {
return noStandardDescriptorAccessor_;
}
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
public Builder setNoStandardDescriptorAccessor(boolean value) {
bitField0_ |= 0x00000002;
noStandardDescriptorAccessor_ = value;
onChanged();
return this;
}
/**
*
* Disables the generation of the standard "descriptor()" accessor, which can
* conflict with a field of the same name. This is meant to make migration
* from proto1 easier; new code should avoid fields named "descriptor".
*
*
* optional bool no_standard_descriptor_accessor = 2 [default = false];
*/
public Builder clearNoStandardDescriptorAccessor() {
bitField0_ = (bitField0_ & ~0x00000002);
noStandardDescriptorAccessor_ = false;
onChanged();
return this;
}
private boolean deprecated_ ;
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
public boolean getDeprecated() {
return deprecated_;
}
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
public Builder setDeprecated(boolean value) {
bitField0_ |= 0x00000004;
deprecated_ = value;
onChanged();
return this;
}
/**
*
* Is this message deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for the message, or it will be completely ignored; in the very least,
* this is a formalization for deprecating messages.
*
*
* optional bool deprecated = 3 [default = false];
*/
public Builder clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000004);
deprecated_ = false;
onChanged();
return this;
}
private boolean mapEntry_ ;
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
public boolean hasMapEntry() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
public boolean getMapEntry() {
return mapEntry_;
}
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
public Builder setMapEntry(boolean value) {
bitField0_ |= 0x00000008;
mapEntry_ = value;
onChanged();
return this;
}
/**
*
* Whether the message is an automatically generated map entry type for the
* maps field.
* For maps fields:
* map<KeyType, ValueType> map_field = 1;
* The parsed descriptor looks like:
* message MapFieldEntry {
* option map_entry = true;
* optional KeyType key = 1;
* optional ValueType value = 2;
* }
* repeated MapFieldEntry map_field = 1;
* Implementations may choose not to generate the map_entry=true message, but
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementions still need to work as
* if the field is a repeated message field.
* NOTE: Do not set the option in .proto files. Always use the maps syntax
* instead. The option should only be implicitly set by the proto compiler
* parser.
*
*
* optional bool map_entry = 7;
*/
public Builder clearMapEntry() {
bitField0_ = (bitField0_ & ~0x00000008);
mapEntry_ = false;
onChanged();
return this;
}
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00000010;
}
}
private lightstep.com.lightstep.lightstep.google.protobuf.RepeatedFieldBuilderV3<
lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, lightstep.com.lightstep.lightstep.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
*